Enable support for next generation AMD Zen CPU, via -march=znver2.
[gcc.git] / libgcc / ChangeLog
1 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
2
3 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
4 * config/i386/cpuinfo.h (processor_types): Add znver2.
5
6 2018-11-01 Paul Koning <ni1d@arrl.net>
7
8 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
9 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
10
11 2018-10-31 Joseph Myers <joseph@codesourcery.com>
12
13 PR bootstrap/82856
14 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
15 * configure: Regenerate.
16
17 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
18
19 * config/arc/lib1funcs.S (_muldi3): New function.
20 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
21
22 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
23
24 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
25
26 2018-10-25 Martin Liska <mliska@suse.cz>
27
28 PR other/87735
29 * libgcov-profiler.c: Revert.
30
31 2018-10-24 Martin Liska <mliska@suse.cz>
32
33 * libgcov-profiler.c: Start from 1 in order to distinguish
34 functions which were seen and these that were not.
35
36 2018-10-18 Paul Koning <ni1d@arrl.net>
37
38 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
39 standard.
40 * divmod.c: Update references to __udivmodsi4.
41 * udivmod.c: Ditto.
42 * udivhi3.c: New file.
43 * udivmodhi4.c: New file.
44 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
45
46 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
47
48 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
49
50 2018-10-12 Olivier Hainque <hainque@adacore.com>
51
52 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
53 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
54
55 2018-10-08 Paul Koning <ni1d@arrl.net>
56
57 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
58
59 2018-10-04 Martin Liska <mliska@suse.cz>
60
61 PR gcov-profile/84107
62 * libgcov-profiler.c (__gcov_indirect_call):
63 Change type to indirect_call_tuple.
64 (struct indirect_call_tuple): New struct.
65 (__gcov_indirect_call_topn_profiler): Change type.
66 (__gcov_indirect_call_profiler_v2): Use the new
67 variables.
68 * libgcov.h (struct indirect_call_tuple): New struct
69 definition.
70
71 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
72
73 * libgcc2.c (isnan): Use __builtin_isnan.
74 (isfinite): Use __builtin_isfinite.
75 (isinf): Use __builtin_isinf.
76
77 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
78
79 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
80
81 2018-09-21 Alexandre Oliva <oliva@adacore.com>
82
83 * config/vxcache.c: New file. Provide __clear_cache, based on
84 the cacheTextUpdate VxWorks service.
85 * config/t-vxworks (LIB2ADD): Add vxcache.c.
86 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
87 * config/t-vxwoks7: Likewise.
88
89 2018-09-21 Martin Liska <mliska@suse.cz>
90
91 * libgcov-driver.c (crc32_unsigned): Remove.
92 (gcov_histogram_insert): Likewise.
93 (gcov_compute_histogram): Likewise.
94 (compute_summary): Simplify rapidly.
95 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
96 (merge_summary): Rapidly simplify.
97 (dump_one_gcov): Ignore gcov_summary.
98 (gcov_do_dump): Do not handle program summary, it's not
99 used.
100 * libgcov-util.c (tag_summary): Remove.
101 (read_gcda_finalize): Fix coding style.
102 (read_gcda_file): Initialize curr_object_summary.
103 (compute_summary): Remove.
104 (calculate_overlap): Remove settings of run_max.
105
106 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
107
108 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
109 ucontext_t type instead.
110 (nds32_fallback_frame_state): Remove struct _sigframe statement.
111
112 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
113
114 * config/nds32/t-nds32-glibc: New file.
115
116 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
117
118 * configure.ac (solaris_ld_v2_maps): New test.
119 * configure: Regenerate.
120 * Makefile.in (solaris_ld_v2_maps): New variable.
121 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
122 if supported.
123
124 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
125
126 PR target/86951
127 * config/arm/lib1funcs.asm (speculation_barrier): New function.
128 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
129 to build.
130
131 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
132
133 * config/unwind-dw2-fde-darwin.c
134 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
135 * config/darwin10-unwind-find-enc-func.c: … to here.
136 * config/t-darwin: Build Darwin10 unwinder shim crt.
137 * libgcc/config.host: Add the Darwin10 unwinder shim.
138
139 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
140
141 * config.host: Add crtbegin.o and crtend.o for
142 powerpc-wrs-vxworks target.
143
144 2018-08-17 Jojo <jijie_rong@c-sky.com>
145 Huibin Wang <huibin_wang@c-sky.com>
146 Sandra Loosemore <sandra@codesourcery.com>
147 Chung-Lin Tang <cltang@codesourcery.com>
148
149 C-SKY port: libgcc
150
151 * config.host: Add C-SKY support.
152 * config/csky/*: New.
153
154 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
155
156 * config/nds32/t-nds32-isr: Rearrange object dependency.
157 * config/nds32/initfini.c: Add dwarf2 unwinding support.
158 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
159 and registers usage.
160 * config/nds32/isr-library/excp_isr.S: Ditto.
161 * config/nds32/isr-library/intr_isr.S: Ditto.
162 * config/nds32/isr-library/reset.S: Ditto.
163 * config/nds32/isr-library/restore_all.inc: Ditto.
164 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
165 * config/nds32/isr-library/restore_partial.inc: Ditto.
166 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
167 * config/nds32/isr-library/save_all.inc: Ditto.
168 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
169 * config/nds32/isr-library/save_partial.inc: Ditto.
170 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
171 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
172
173 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
174
175 * config/pa/linux-atomic.c: Update comment.
176 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
177 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
178 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
179 __ATOMIC_RELAXED for atomic loads.
180 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
181 unordered store to release lock.
182 (__sync_lock_release_8): Likewise.
183 (SYNC_LOCK_RELEASE_2): Remove define.
184
185 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
186
187 PR libgcc/86512
188 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
189 exponent goes negative. Update my email address.
190 * config/arm/ieee754-sf.S: Likewise.
191
192 2018-08-01 Martin Liska <mliska@suse.cz>
193
194 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
195 check that __gcov_indirect_call_callee is non-null.
196
197 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
198
199 * config/arm/ieee754-df.S: Fix comment for code working on
200 architectures >= 4.
201 * config/arm/ieee754-sf.S: Likewise.
202
203 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
204
205 PR libgcc/85334
206 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
207 Removed.
208
209 2018-07-05 James Clarke <jrtc27@jrtc27.com>
210
211 * configure: Regenerated.
212
213 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
214
215 * Makefile.in (install_leaf): Use enable_gcov instead of
216 enable_libgcov.
217
218 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
219
220 * configure.ac: Add --disable-gcov option.
221 * configure: Regenerate.
222 * Makefile.in: Honour @enable_gcov@.
223
224 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
225
226 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
227 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
228 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
229 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
230 __ARM_ARCH__.
231 * config/arm/ieee754-sf.S: Likewise.
232 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
233
234 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
235
236 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
237 longer supported.
238 * config/arm/ieee754-sf.S: Likewise.
239
240 2018-06-20 Than McIntosh <thanm@google.com>
241
242 PR libgcc/86213
243 * generic-morestack.c (allocate_segment): Move calls to getenv and
244 getpagesize to __morestack_load_mmap.
245 (__morestack_load_mmap) Initialize static_pagesize and
246 use_guard_page here so as to avoid clobbering SSE regs during a
247 __morestack call.
248
249 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
250
251 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
252 support modules with -mno-gnu-attribute.
253 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
254
255 2018-06-07 Olivier Hainque <hainque@adacore.com>
256
257 * config/t-vxworks (LIBGCC_INCLUDES): Add
258 -I$(MULTIBUILDTOP)../../gcc/include.
259 * config/t-vxworks7: Likewise. Reformat a bit to match
260 the t-vxworks layout.
261
262 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
263
264 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
265
266 2018-06-07 Martin Liska <mliska@suse.cz>
267
268 * libgcov-driver.c: Rename cs_all to all and assign it from
269 all_prg.
270
271 2018-06-07 Martin Liska <mliska@suse.cz>
272
273 PR bootstrap/86057
274 * libgcov-driver-system.c (replace_filename_variables): Use
275 memcpy instead of mempcpy.
276 (allocate_filename_struct): Do not allocate filename, allocate
277 prefix and set it.
278 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
279 here and properly copy content into it.
280 * libgcov-driver.c (struct gcov_filename): Remove max_length
281 field, change prefix from size_t into char *.
282 (compute_summary): Do not calculate longest filename.
283 (gcov_do_dump): Release memory of gf.filename after each file.
284 * libgcov-util.c (compute_summary): Use new signature of
285 compute_summary.
286 (calculate_overlap): Likewise.
287
288 2018-06-05 Martin Liska <mliska@suse.cz>
289
290 PR gcov-profile/47618
291 * libgcov-driver-system.c (replace_filename_variables): New
292 function.
293 (gcov_exit_open_gcda_file): Use it.
294
295 2018-06-05 Martin Liska <mliska@suse.cz>
296
297 * libgcov-driver.c (gcov_compute_histogram): Remove usage
298 of gcov_ctr_summary.
299 (compute_summary): Do it just for a single summary.
300 (merge_one_data): Likewise.
301 (merge_summary): Simplify as we read just single summary.
302 (dump_one_gcov): Pass proper argument.
303 * libgcov-util.c (compute_one_gcov): Simplify as we have just
304 single summary.
305 (gcov_info_count_all_cold): Likewise.
306 (calculate_overlap): Likewise.
307
308 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
309 Monk Chiang <sh.chiang04@gmail.com>
310
311 * config.host (nds32*-linux*): New.
312 * config/nds32/linux-atomic.c: New file.
313 * config/nds32/linux-unwind.h: New file.
314
315 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
316
317 PR target/85591
318 * config/i386/cpuinfo.c (get_amd_cpu): Return
319 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
320
321 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
322
323 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
324
325 2018-05-29 Martin Liska <mliska@suse.cz>
326
327 PR gcov-profile/85759
328 * libgcov-driver-system.c (gcov_error): Introduce usage of
329 GCOV_EXIT_AT_ERROR env. variable.
330 * libgcov-driver.c (merge_one_data): Print error that we
331 overwrite a gcov file with a different timestamp.
332
333 2018-05-23 Kalamatee <kalamatee@gmail.com>
334
335 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
336 path to Lf$finfty.
337
338 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
339 Monk Chiang <sh.chiang04@gmail.com>
340 Jim Wilson <jimw@sifive.com>
341
342 * config/riscv/save-restore.S: Add support for rv32e.
343
344 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
345
346 * config/arm/libunwind.S: Update comment relating to armv5.
347
348 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
349
350 * config/arm/cmse.c (cmse_check_address_range): Replace
351 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
352
353 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
354
355 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
356 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
357
358 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
359
360 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
361 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
362
363 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
364
365 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
366
367 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
368 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
369
370 PR libgcc/84292
371 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
372 op_and_fetch to return the right result.
373
374 2018-04-27 Alan Modra <amodra@gmail.com>
375
376 PR libgcc/85532
377 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
378 -fno-asynchronous-unwind-tables.
379
380 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
381
382 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
383 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
384
385 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
386
387 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
388 when including "config/i386/shadow-stack-unwind.h".
389
390 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
391
392 * configure: Regenerated.
393
394 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
395
396 PR target/85456
397 * config/rs6000/_powikf2.c: New file. Add support for the
398 __builtin_powil function when long double is IEEE 128-bit floating
399 point.
400 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
401 __powikf2 support.
402 (__powikf2): Likewise.
403 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
404 (__powikf2_hw): Likewise.
405 (__powikf2): Likewise.
406 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
407 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
408 (_powikf2-hw.c): Likewise.
409
410 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
411
412 PR libgcc/85334
413 * unwind-generic.h (_Unwind_Frames_Increment): New.
414 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
415 Likewise.
416 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
417 count with _Unwind_Frames_Increment.
418 (_Unwind_ForcedUnwind_Phase2): Likewise.
419
420 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
421
422 PR libgcc/85379
423 * config/i386/morestack.S (__stack_split_initialize): Add
424 _CET_ENDBR.
425
426 2018-04-19 Jakub Jelinek <jakub@redhat.com>
427
428 * configure: Regenerated.
429
430 2018-04-18 David Malcolm <dmalcolm@redhat.com>
431
432 PR jit/85384
433 * configure: Regenerate.
434
435 2018-04-16 Jakub Jelinek <jakub@redhat.com>
436
437 PR target/84945
438 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
439 -Wdangling-else warnings. Mask shift counts to avoid
440 -Wshift-count-negative and -Wshift-count-overflow false positives.
441
442 2018-04-06 Ruslan Bukin <br@bsdpad.com>
443
444 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
445
446 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
447
448 PR target/85100
449 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
450 (XSTATE_FP): Likewise.
451 (XSTATE_SSE): Likewise.
452 (XSTATE_YMM): Likewise.
453 (XSTATE_OPMASK): Likewise.
454 (XSTATE_ZMM): Likewise.
455 (XSTATE_HI_ZMM): Likewise.
456 (XCR_AVX_ENABLED_MASK): Likewise.
457 (XCR_AVX512F_ENABLED_MASK): Likewise.
458 (get_available_features): Enable AVX and AVX512 features only
459 if their states are supported by OSXSAVE.
460
461 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
462
463 PR target/85025
464 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
465 Fix a typo, tmp => 255.
466
467 2018-03-20 Jakub Jelinek <jakub@redhat.com>
468
469 PR target/84945
470 * config/i386/cpuinfo.h (__cpu_features2): Declare.
471 * config/i386/cpuinfo.c (__cpu_features2): New variable for
472 ifndef SHARED only.
473 (set_feature): Define.
474 (get_available_features): Use set_feature macro. Set __cpu_features2
475 to the second word of features ifndef SHARED.
476
477 2018-03-15 Julia Koval <julia.koval@intel.com>
478
479 * config/i386/cpuinfo.c (get_available_features): Add
480 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
481 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
482 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
483 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
484 FEATURE_AVX512BITALG.
485
486 2018-03-14 Julia Koval <julia.koval@intel.com>
487
488 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
489 icelake client and icelake server.
490
491 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
492
493 * config/pa/fptr.c (_dl_read_access_allowed): New.
494 (__canonicalize_funcptr_for_compare): Use it.
495
496 2018-02-28 Jakub Jelinek <jakub@redhat.com>
497
498 PR debug/83917
499 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
500 $asm_hidden_op if visibility ("hidden") attribute works.
501 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
502 * config/i386/i386-asm.h: Don't include auto-host.h.
503 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
504 PACKAGE_URL): Don't undefine.
505 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
506 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
507 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
508 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
509 definition instead of hardcoded .hidden.
510 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
511 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
512 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
513 (USE_GAS_CFI_DIRECTIVES): Don't define.
514 * configure: Regenerated.
515 * config.in: Likewise.
516
517 2018-02-26 Jakub Jelinek <jakub@redhat.com>
518
519 PR debug/83917
520 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
521 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
522 inclusion of auto-target.h and auto-host.h.
523 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
524 __GCC_HAVE_DWARF2_CFI_ASM.
525 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
526 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
527 cfi_pop): Define.
528 * config/i386/cygwin.S: Don't include auto-host.h here, just
529 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
530 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
531 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
532 * config/i386/resms64fx.h: Add cfi_* directives.
533 * config/i386/resms64x.h: Likewise.
534
535 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
536
537 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
538 .literal_position directive.
539 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
540
541 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
542
543 PR target/84148
544 * configure: Regenerate.
545
546 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
547
548 PR target/84239
549 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
550 Include cetintrin.h not x86intrin.h.
551
552 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
553
554 PR target/84239
555 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
556 Use new _get_ssp and _inc_ssp intrinsics.
557
558 2018-02-02 Julia Koval <julia.koval@intel.com>
559
560 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
561
562 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
563
564 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
565 option.
566 (__divsi3): Use RF16 safe registers.
567 (__modsi3): Likewise.
568
569 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
570
571 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
572 (__divsf3): Make NaN return value quiet.
573 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
574 (__divdf3): Make NaN return value quiet.
575
576 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
577
578 * config/rl78/anddi3.S: New assembly file.
579 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
580
581 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
582
583 * config/rl78/umindi3.S: New assembly file.
584 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
585
586 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
587
588 * config/rl78/smindi3.S: New assembly file.
589 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
590
591 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
592
593 * config/rl78/smaxdi3.S: New assembly file.
594 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
595
596 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
597
598 * config/rl78/umaxdi3.S: New assembly file.
599 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
600
601 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
602
603 PR lto/83452
604 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
605 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
606
607 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
608
609 * config/aarch64/value-unwind.h (aarch64_vg): New function.
610 (DWARF_LAZY_REGISTER_VALUE): Define.
611 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
612 to provide a fallback register value.
613
614 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
615
616 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
617 __ibm128, instead of trying to use long double.
618 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
619 accomidate -mabi=ieeelongdouble multilibs.
620 (CVT_IBM128_TO_FLOAT128): Likewise.
621 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
622 the appropriate IBM extended double type.
623 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
624 (__gcc_qsub): Likewise.
625 (__gcc_qmul): Likewise.
626 (__gcc_qdiv): Likewise.
627 (pack_ldouble): Likewise.
628 (__gcc_qneg): Likewise.
629 (__gcc_qeq): Likewise.
630 (__gcc_qne): Likewise.
631 (__gcc_qge): Likewise.
632 (__gcc_qle): Likewise.
633 (__gcc_stoq): Likewise.
634 (__gcc_dtoq): Likewise.
635 (__gcc_itoq): Likewise.
636 (__gcc_utoq): Likewise.
637 (__gcc_qunord): Likewise.
638 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
639 quad-float128.h for the definitions.
640 (COPYSIGN): Use the f128 version instead of the q version.
641 (INFINITY): Likewise.
642 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
643 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
644 quad-float128.h for the definitions.
645 (COPYSIGN): Use the f128 version instead of the q version.
646 (INFINITY): Likewise.
647 (FABS): Likewise.
648 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
649 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
650 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
651
652 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
653
654 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
655 configuration.
656
657 2018-01-03 Jakub Jelinek <jakub@redhat.com>
658
659 Update copyright years.
660
661 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
662
663 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
664 * config/riscv/multi3.c: New file.
665 * config/riscv/multi3.S: Remove.
666
667 2017-12-08 Jim Wilson <jimw@sifive.com>
668
669 * config/riscv/div.S: Use FUNC_* macros.
670 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
671 * config/riscv/save-restore.S: Likewise.
672 * config/riscv/riscv-asm.h: New.
673
674 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
675
676 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
677 * config/rs6000/_divkc3.c (__divkc3): Likewise.
678
679 PR libgcc/83112
680 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
681 correct type for all ifunc resolvers to silence -Wattribute-alias
682 warnings. Eliminate the forward declaration of the resolver
683 functions which is no longer needed.
684 (__subkf3_resolve): Likewise.
685 (__mulkf3_resolve): Likewise.
686 (__divkf3_resolve): Likewise.
687 (__negkf2_resolve): Likewise.
688 (__eqkf2_resolve): Likewise.
689 (__nekf2_resolve): Likewise.
690 (__gekf2_resolve): Likewise.
691 (__gtkf2_resolve): Likewise.
692 (__lekf2_resolve): Likewise.
693 (__ltkf2_resolve): Likewise.
694 (__unordkf2_resolve): Likewise.
695 (__extendsfkf2_resolve): Likewise.
696 (__extenddfkf2_resolve): Likewise.
697 (__trunckfsf2_resolve): Likewise.
698 (__trunckfdf2_resolve): Likewise.
699 (__fixkfsi_resolve): Likewise.
700 (__fixkfdi_resolve): Likewise.
701 (__fixunskfsi_resolve): Likewise.
702 (__fixunskfdi_resolve): Likewise.
703 (__floatsikf_resolve): Likewise.
704 (__floatdikf_resolve): Likewise.
705 (__floatunsikf_resolve): Likewise.
706 (__floatundikf_resolve): Likewise.
707 (__extendkftf2_resolve): Likewise.
708 (__trunctfkf2_resolve): Likewise.
709
710 PR libgcc/83103
711 * config/rs6000/quad-float128.h (TF): Don't define if long double
712 is IEEE 128-bit floating point.
713 (TCtype): Define as either TCmode or KCmode, depending on whether
714 long double is IEEE 128-bit floating point.
715 (__mulkc3_sw): Add declarations for software/hardware versions of
716 complex multiply/divide.
717 (__divkc3_sw): Likewise.
718 (__mulkc3_hw): Likewise.
719 (__divkc3_hw): Likewise.
720 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
721 handlers to switch between using software emulation and hardware
722 float128 instructions, build the complex multiply/divide functions
723 for both software and hardware support.
724 * config/rs6000/_divkc3.c (_divkc3): Likewise.
725 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
726 (__divkc3_resolve): Likewise.
727 (__mulkc3): Likewise.
728 (__divkc3): Likewise.
729 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
730 (fp128_hw_src): Likewise.
731 (fp128_hw_static_obj): Likewise.
732 (fp128_hw_shared_obj): Likewise.
733 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
734 _mulkc3.c and _divkc3.c, changing the function name.
735 (_divkc3-hw.c): Likewise.
736 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
737 and _divkc3-hw.c.
738
739 2017-11-26 Julia Koval <julia.koval@intel.com>
740
741 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
742 * config/i386/cpuinfo.h (processor_subtypes): Add
743 INTEL_COREI7_CANNONLAKE.
744
745 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
746
747 PR bootstrap/83015
748 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
749 parameter.
750 * config/xtensa/unwind-dw2-xtensa.c: Likewise
751 * config/ia64/unwind-ia64.c: Add frames parameter.
752 * unwind-sjlj.c: Likewise.
753
754 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
755
756 * config/i386/linux-unwind.h: Include
757 config/i386/shadow-stack-unwind.h.
758 * config/i386/shadow-stack-unwind.h: New file.
759 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
760 pass it to _Unwind_Frames_Extra.
761 * unwind-generic.h (_Unwind_Frames_Extra): New.
762 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
763 parameter. Add local variable frames to count number of frames.
764 (_Unwind_ForcedUnwind_Phase2): Likewise.
765 (_Unwind_RaiseException): Add local variable frames to count
766 number of frames, pass it to _Unwind_RaiseException_Phase2 and
767 uw_install_context.
768 (_Unwind_ForcedUnwind): Likewise.
769 (_Unwind_Resume): Likewise.
770 (_Unwind_Resume_or_Rethrow): Likewise.
771
772 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
773
774 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
775 (CET_FLAGS): New.
776 * config/i386/morestack.S: Include <cet.h>.
777 (__morestack_large_model): Add _CET_ENDBR at function entrance.
778 * config/i386/resms64.h: Include <cet.h>.
779 * config/i386/resms64f.h: Likewise.
780 * config/i386/resms64fx.h: Likewise.
781 * config/i386/resms64x.h: Likewise.
782 * config/i386/savms64.h: Likewise.
783 * config/i386/savms64f.h: Likewise.
784 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
785 (CRTSTUFF_T_CFLAGS): Likewise.
786 * configure.ac: Include ../config/cet.m4.
787 Set and substitute CET_FLAGS.
788 * configure: Regenerated.
789
790 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
791
792 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
793 renaming.
794 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
795 * configure.ac (libgcc_cv_solaris_crts): Likewise.
796 * configure: Regenerate.
797
798 2017-11-07 Tom de Vries <tom@codesourcery.com>
799
800 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
801 after "do {} while (0)".
802
803 2017-11-07 Tom de Vries <tom@codesourcery.com>
804
805 PR other/82784
806 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
807 semicolon after "do {} while (0)".
808 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
809 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
810 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
811 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
812
813 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
814
815 PR libgcc/82635
816 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
817 sysctl to determine whether we're in a trampoline.
818 Keep the pattern matching method for systems without
819 KERN_PROC_SIGTRAMP sysctl.
820
821 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
822 Vineet Gupta <vgupta@synopsys.com>
823
824 * config.host (arc*-*-linux*): Set md_unwind_header variable.
825 * config/arc/linux-unwind-reg.def: New file.
826 * config/arc/linux-unwind-reg.h: Likewise.
827
828 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
829
830 * config/rl78/subdi3.S: New assembly file.
831 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
832
833 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
834
835 * config/rl78/adddi3.S: New assembly file.
836 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
837
838 2017-10-13 Jakub Jelinek <jakub@redhat.com>
839
840 PR target/82274
841 * libgcc2.c (__mulvDI3): If both operands have
842 the same highpart of -1 and the topmost bit of lowpart is 0,
843 multiplication overflows even if both lowparts are 0.
844
845 2017-09-28 James Bowman <james.bowman@ftdichip.com>
846
847 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
848
849 2017-09-26 Joseph Myers <joseph@codesourcery.com>
850
851 * config/microblaze/crti.S, config/microblaze/crtn.S,
852 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
853 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
854 config/microblaze/mulsi3.S,
855 config/microblaze/stack_overflow_exit.S,
856 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
857 config/pa/milli64.S: Add .note.GNU-stack section.
858
859 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
860
861 * configure.ac: Add Check for HAVE_AS_AVX.
862 * config.in: Regenerate.
863 * configure: Likewise.
864 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
865 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
866 Correct out-of-date comments.
867
868 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
869
870 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
871 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
872
873 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
874
875 * config/i386/i386-asm.h (PASTE2): New macro.
876 (ASMNAME): Modify to use PASTE2.
877 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
878 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
879 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
880 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
881 * config/i386/resms64f.S: Likewise.
882 * config/i386/resms64fx.S: Likewise.
883 * config/i386/resms64x.S: Likewise.
884 * config/i386/savms64.S: Likewise.
885 * config/i386/savms64f.S: Likewise.
886 * config/i386/avx_resms64.S: New file that only defines a macro and
887 includes it's corresponding header file.
888 * config/i386/avx_resms64f.S: Likewise.
889 * config/i386/avx_resms64fx.S: Likewise.
890 * config/i386/avx_resms64x.S: Likewise.
891 * config/i386/avx_savms64.S: Likewise.
892 * config/i386/avx_savms64f.S: Likewise.
893 * config/i386/sse_resms64.S: Likewise.
894 * config/i386/sse_resms64f.S: Likewise.
895 * config/i386/sse_resms64fx.S: Likewise.
896 * config/i386/sse_resms64x.S: Likewise.
897 * config/i386/sse_savms64.S: Likewise.
898 * config/i386/sse_savms64f.S: Likewise.
899 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
900
901 2017-09-01 Olivier Hainque <hainque@adacore.com>
902 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
903
904 2017-08-31 Olivier Hainque <hainque@adacore.com>
905
906 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
907 match as powerpc-wrs-vxworks*.
908
909 2017-08-07 Jonathan Yong <10walls@gmail.com>
910
911 * config.host (*-cygwin): Include file from mingw
912 config/i386/enable-execute-stack-mingw32.c
913
914 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
915 Doug Rupp <rupp@adacore.com>
916 Olivier Hainque <hainque@adacore.com>
917
918 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
919 as well as arm-wrs-vxworks.
920 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
921 LIB2ADDEH.
922 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
923 __exidx_start and __exidx_end for downloadable modules.
924
925 2017-08-01 Olivier Hainque <hainque@adacore.com>
926
927 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
928 * config/t-vxworks7: Likewise.
929
930 2017-08-01 Olivier Hainque <hainque@adacore.com>
931
932 * config/t-vxworks: Instead of redefining LIB2ADD,
933 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
934
935 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
936
937 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
938
939 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
940
941 PR testsuite/80759
942 * config.host: include i386/t-msabi for darwin and solaris.
943 * config/i386/i386-asm.h
944 (ELFFN): Rename to FN_TYPE.
945 (FN_SIZE): New macro.
946 (FN_HIDDEN): Likewise.
947 (ASMNAME): Likewise.
948 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
949 .globl.
950 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
951 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
952 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
953 .macro.
954 * config/i386/resms64f.S: Likewise.
955 * config/i386/resms64fx.S: Likewise.
956 * config/i386/resms64x.S: Likewise.
957 * config/i386/savms64.S: Likewise.
958 * config/i386/savms64f.S: Likewise.
959
960 2017-07-19 John Marino <gnugcc@marino.st>
961
962 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
963
964 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
965
966 PR target/81193
967 * configure.ac (PowerPC float128 hardware support): Test whether
968 we can use __builtin_cpu_supports before enabling the ifunc
969 handler.
970 * configure: Regenerate.
971
972 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
973
974 * config.host: Remove uclibc from arc target spec.
975
976 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
977
978 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
979
980 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
981
982 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
983 (have_ieee_hw_p): Delete function.
984 (SW_OR_HW) Use __builtin_cpu_supports().
985
986 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
987
988 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
989
990 2017-07-03 Olivier Hainque <hainque@adacore.com>
991
992 * config/t-vxworks7: New file, really.
993
994 2017-06-28 Joseph Myers <joseph@codesourcery.com>
995
996 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
997 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
998 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
999 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1000 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1001 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1002 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1003 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1004 config/sh/linux-unwind.h (sh_fallback_frame_state),
1005 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1006 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1007 ucontext_t instead of struct ucontext.
1008
1009 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
1010
1011 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1012 (x86_64-wrs-vxworks7): Likewise.
1013
1014 2017-06-27 Olivier Hainque <hainque@adacore.com>
1015
1016 * config/t-vxworks7: New file.
1017 * config.host (*-*-vxworks7): Use it.
1018
1019 2017-06-22 Matt Turner <mattst88@gmail.com>
1020
1021 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1022 skylake case.
1023
1024 2017-06-21 Richard Biener <rguenther@suse.de>
1025
1026 PR gcov-profile/81080
1027 * configure.ac: Add AC_SYS_LARGEFILE.
1028 * libgcov.h: Include auto-target.h before tsystem.h to pick
1029 up _FILE_OFFSET_BITS which might differ for multilibs.
1030 * config.in: Regenerate.
1031 * configure: Likewise.
1032
1033 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
1034
1035 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1036
1037 2017-06-09 Martin Liska <mliska@suse.cz>
1038
1039 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1040 Reset __gcov_indirect_call_callee to NULL.
1041
1042 2017-06-08 Olivier Hainque <hainque@adacore.com>
1043
1044 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1045 the set of -I options, support for direct inclusions of net/uio.h
1046 by VxWorks header files via ioLib.h.
1047
1048 2017-06-07 Tony Reix <tony.reix@atos.net>
1049 Matthieu Sarter <matthieu.sarter.external@atos.net>
1050 David Edelsohn <dje.gcc@gmail.com>
1051
1052 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1053 unconditionally.
1054 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1055 AIX 7.2 support.
1056
1057 2017-06-02 Olivier Hainque <hainque@adacore.com>
1058
1059 * config/vxlib.c (__gthread_once): Add missing value to
1060 return statement.
1061
1062 2017-05-30 Olivier Hainque <hainque@adacore.com>
1063
1064 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1065 dollar sign before $(MULTIDIR).
1066
1067 2017-05-26 Richard Henderson <rth@redhat.com>
1068
1069 PR libgcc/80037
1070 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1071
1072 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1073
1074 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1075 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1076 * config/arm/unwind-arm.c: Implement the above.
1077
1078 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1079
1080 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1081 section for a non-executable stack.
1082
1083 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1084
1085 PR target/80600
1086 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1087
1088 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
1089
1090 * config.host: Add i386/t-msabi to i386/t-linux file list.
1091 * config/i386/i386-asm.h: New file.
1092 * config/i386/resms64.S: New file.
1093 * config/i386/resms64f.S: New file.
1094 * config/i386/resms64fx.S: New file.
1095 * config/i386/resms64x.S: New file.
1096 * config/i386/savms64.S: New file.
1097 * config/i386/savms64f.S: New file.
1098 * config/i386/t-msabi: New file.
1099
1100 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1101
1102 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1103 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1104
1105 2017-05-05 Joshua Conner <joshconner@google.com>
1106
1107 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1108 pc-relative indirect handling for fuchsia.
1109 * config/t-slibgcc-fuchsia: New file.
1110 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
1111 x86_64-*-fuchsia*): Add definitions.
1112
1113 2017-04-19 Martin Liska <mliska@suse.cz>
1114
1115 PR gcov-profile/80435
1116 * Makefile.in: Install gcov.h.
1117 * gcov.h: New file.
1118 * libgcov.h: Use the header and make __gcov_flush publicly
1119 visible.
1120
1121 2017-04-18 Martin Liska <mliska@suse.cz>
1122
1123 PR gcov-profile/78783
1124 * libgcov-driver.c (gcov_get_filename): New function.
1125
1126 2017-04-07 Jeff Law <law@redhat.com>
1127
1128 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1129 target makefile fragment.
1130 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1131
1132 2017-04-07 Alan Modra <amodra@gmail.com>
1133
1134 PR target/45053
1135 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1136
1137 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
1138
1139 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1140
1141 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1142
1143 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1144
1145 2017-03-10 John Marino <gnugcc@marino.st>
1146
1147 * config/aarch64/freebsd-unwind.h: New file.
1148 * config.host: Add aarch64-*-freebsd unwinder.
1149
1150 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1151
1152 * config/rs6000/crtrestvr.s: Use .machine altivec.
1153 * config/rs6000/crtsavevr.s: Ditto.
1154
1155 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1156
1157 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1158 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1159 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1160 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1161 * configure: Regenerate.
1162 * config.in: Regenerate.
1163
1164 2017-03-02 Jonathan Yong <10walls@gmail.com>
1165
1166 * config/i386/gthr-win32.h: Define NOGDI before
1167 windows.h include to prevent w32api CC_NONE macro
1168 clash with libgfortran.
1169
1170 2017-03-02 Jonathan Yong <10walls@gmail.com>
1171
1172 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1173
1174 2017-02-16 Andrew Pinski <apinski@cavium.com>
1175
1176 * config/aarch64/value-unwind.h: New file.
1177 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1178 to tm_file.
1179
1180 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1181
1182 * config.host: Add RISC-V tuples.
1183 * config/riscv/atomic.c: New file.
1184 * config/riscv/crti.S: Likewise.
1185 * config/riscv/crtn.S: Likewise.
1186 * config/riscv/div.S: Likewise.
1187 * config/riscv/linux-unwind.h: Likewise.
1188 * config/riscv/muldi3.S: Likewise.
1189 * config/riscv/multi3.S: Likewise.
1190 * config/riscv/save-restore.S: Likewise.
1191 * config/riscv/sfp-machine.h: Likewise.
1192 * config/riscv/t-elf: Likewise.
1193 * config/riscv/t-elf32: Likewise.
1194 * config/riscv/t-elf64: Likewise.
1195 * config/riscv/t-softfp32: Likewise.
1196 * config/riscv/t-softfp64: Likewise.
1197
1198 2017-01-24 Jakub Jelinek <jakub@redhat.com>
1199
1200 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1201 /* FALLTHRU */ comments.
1202
1203 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1204
1205 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1206
1207 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1208
1209 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1210 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1211 DW_CFA_GNU_window_save for AArch64 and LP64.
1212
1213 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1214
1215 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1216
1217 2017-01-19 Jiong Wang <jiong.wang@arm.com>
1218
1219 * config/aarch64/aarch64-unwind.h: New file.
1220 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1221 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1222 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1223 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1224 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1225 (aarch64_post_extract_frame_addr): New function.
1226 (aarch64_post_frob_eh_handler_addr): New function.
1227 (aarch64_frob_update_context): New function.
1228 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1229 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1230 aarch64*-*-freebsd*):
1231 Initialize md_unwind_header to include aarch64-unwind.h.
1232 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1233 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1234 __aarch64__.
1235 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1236 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1237 (uw_frob_return_addr): New function.
1238 (uw_install_context): Use uw_frob_return_addr.
1239
1240 2017-01-17 Jakub Jelinek <jakub@redhat.com>
1241
1242 PR other/79046
1243 * configure.ac: Add GCC_BASE_VER.
1244 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1245 version from BASE-VER file.
1246 * configure: Regenerated.
1247
1248 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
1249
1250 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1251 libmul_f5.a): Filter archived prerequisites.
1252
1253 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1254
1255 * config/i386/cpuinfo.h (processor_features): Add
1256 FEATURE_AVX512VPOPCNTDQ.
1257 * config/i386/cpuinfo.c (get_available_features): Habdle new
1258 feature.
1259
1260 2017-01-04 Joseph Myers <joseph@codesourcery.com>
1261
1262 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1263 payload if [__mips_nan2008].
1264
1265 2017-01-04 Alan Modra <amodra@gmail.com>
1266
1267 * Makefile.in (configure_deps): Update.
1268 * configure: Regenerate.
1269
1270 2017-01-01 Jakub Jelinek <jakub@redhat.com>
1271
1272 Update copyright years.
1273
1274 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1275
1276 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1277 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1278 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1279
1280 2016-12-17 Matthias Klose <doko@ubuntu.com>
1281
1282 * config/arc/gmon: Remove empty directory.
1283
1284 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1285
1286 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1287 crtgend.
1288 (arc*-*-elf*): Likewise.
1289 * config/arc/t-arc: Remove old gmon lib targets.
1290 * config/arc/crtg.S: Remove.
1291 * config/arc/crtgend.S: Likewise.
1292 * config/arc/gmon/atomic.h: Likewise.
1293 * config/arc/gmon/auxreg.h: Likewise.
1294 * config/arc/gmon/dcache_linesz.S: Likewise.
1295 * config/arc/gmon/gmon.c: Likewise.
1296 * config/arc/gmon/machine-gmon.h: Likewise.
1297 * config/arc/gmon/mcount.c: Likewise.
1298 * config/arc/gmon/prof-freq-stub.S: Likewise.
1299 * config/arc/gmon/prof-freq.c: Likewise.
1300 * config/arc/gmon/profil.S: Likewise.
1301 * config/arc/gmon/sys/gmon.h: Likewise.
1302 * config/arc/gmon/sys/gmon_out.h: Likewise.
1303 * config/arc/t-arc-newlib: Likewise.
1304 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1305
1306 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1307
1308 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1309
1310 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1311
1312 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1313 R16 instead of push + pop.
1314 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1315
1316 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1317
1318 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1319 tmake_file.
1320
1321 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1322
1323 * config.host (arc*-*-linux-uclibc*): Use default extra
1324 objects. Include linux-android header.
1325 * config/arc/crti.S (_init): Declare symbol as function.
1326 (_fini): Likewise.
1327
1328 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1329
1330 PR fortran/78379
1331 * config/i386/cpuinfo.c: Move denums for processor vendors,
1332 processor type, processor subtypes and declaration of
1333 struct __processor_model into
1334 * config/i386/cpuinfo.h: New header file.
1335
1336 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1337 Thomas Preud'homme <thomas.preudhomme@arm.com>
1338
1339 * config/arm/cmse_nonsecure_call.S: New.
1340 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1341
1342 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1343 Thomas Preud'homme <thomas.preudhomme@arm.com>
1344
1345 * config/arm/t-arm (HAVE_CMSE): New.
1346 * config/arm/cmse.c: New.
1347
1348 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1349
1350 PR gcc/74748
1351 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1352 use generic linker version information on Blackfin.
1353
1354 PR gcc/74748
1355 * libgcc/mkmap-symver.awk: add support for skip_underscore
1356
1357 2016-11-27 Iain Sandoe <iain@codesourcery.com>
1358 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1359
1360 PR target/67710
1361 * config/t-darwin: Default builds to 10.5 codegen.
1362
1363 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1364
1365 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1366 (_FP_NANSIGN_H): Likewise.
1367 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1368 (softfp_truncations): Add tfhf.
1369 (softfp_extras): Add required conversion functions.
1370
1371 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1372 Matthew Wahab <matthew.wahab@arm.com>
1373
1374 * config/arm/fp16.c (binary64): New.
1375 (__gnu_d2h_internal): New.
1376 (__gnu_d2h_ieee): New.
1377 (__gnu_d2h_alternative): New.
1378
1379 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1380 Matthew Wahab <matthew.wahab@arm.com>
1381
1382 * config/arm/fp16.c (struct format): New.
1383 (binary32): New.
1384 (__gnu_float2h_internal): New. Body moved from
1385 __gnu_f2h_internal and generalize.
1386 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1387 Call it with binary32.
1388
1389 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1390
1391 * soft-fp/extendhftf2.c: Update from glibc.
1392 * soft-fp/fixhfti.c: Likewise.
1393 * soft-fp/fixunshfti.c: Likewise.
1394 * soft-fp/floattihf.c: Likewise.
1395 * soft-fp/floatuntihf.c: Likewise.
1396 * soft-fp/half.h: Likewise.
1397 * soft-fp/trunctfhf2.c: Likewise.
1398
1399 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
1400
1401 PR libgcc/77813
1402 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1403 __TMC_END__ behind a passthrough asm.
1404
1405 2016-11-18 Walter Lee <walt@tilera.com>
1406
1407 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1408
1409 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1410
1411 * config/i386/cpuinfo.c (processor_features): Add
1412 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1413
1414 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1415
1416 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1417 (__ARC_NORM__): Use instead ARC_OPTFPE.
1418 * config/arc/fp-hack.h: Likewise.
1419 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1420 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1421
1422 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
1423
1424 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1425 * config/nvptx/mgomp.c: New file.
1426 * config/nvptx/t-nvptx: Add mgomp.c
1427
1428 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1429
1430 PR libgcc/68468
1431 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1432
1433 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1434
1435 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1436 of checking for cpus.
1437 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1438 (__modsi3, __clzsi2): Likewise.
1439
1440 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1441
1442 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1443 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1444 * config/i386/t-cpuinfo-static: New.
1445
1446 2016-11-03 Martin Liska <mliska@suse.cz>
1447
1448 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1449 (__gcov_time_profiler_atomic): Likewise.
1450
1451 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1452
1453 PR libgcc/78067
1454 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1455 count_leading_zeros.
1456
1457 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
1458
1459 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1460 * libgcc2.c (__divmoddi4): New function.
1461 * libgcc2.h (__divmoddi4): Declare.
1462 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1463 and __PFX_divmodti4.
1464
1465 2016-10-24 Florian Weimer <fweimer@redhat.com>
1466
1467 PR libgcc/78064
1468 * unwind-c.c: Include auto-target.h.
1469
1470 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
1471
1472 * config/pa/pa64-hpux-lib.h: New file.
1473 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1474 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1475 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1476 hppa*64*-*-hpux11*.
1477
1478 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1479
1480 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1481 definition.
1482 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1483 definition.
1484 * config/xtensa/t-windowed (LIB2ADDEH): Use
1485 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1486 or xtensa/t-linux.
1487
1488 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1489
1490 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1491 __ieee754_sqrt): New functions.
1492 (__divdf3): Add implementation with new FPU instructions under
1493 #if XCHAL_HAVE_DFP_DIV.
1494 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1495 __ieee754_sqrtf): New functions.
1496 (__divsf3): Add implementation with new FPU instructions under
1497 #if XCHAL_HAVE_FP_DIV.
1498 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1499 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1500
1501 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1502
1503 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1504 equivalent.
1505 * config/tilepro/atomic.c: Likewise and stop casting model to
1506 enum memmodel.
1507
1508 2016-10-10 Joseph Myers <joseph@codesourcery.com>
1509
1510 PR target/77586
1511 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1512 soft-fp.
1513
1514 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1515
1516 * config.host: Add support for aarch64-*-freebsd*.
1517
1518 2016-10-05 Andreas Schwab <schwab@suse.de>
1519
1520 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1521 (.section .init_array): Don't call __do_jv_register_classes.
1522 (.section .init): Likewise.
1523
1524 2016-10-04 Jakub Jelinek <jakub@redhat.com>
1525
1526 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1527 (__JCR_LIST__): Remove.
1528 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1529 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1530 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1531 * config/ia64/crtend.S (__JCR_END__): Remove.
1532 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1533 conditionals.
1534 (__JCR_LIST__, __JCR_END__): Remove.
1535 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1536 (__do_global_ctors_1): Likewise.
1537
1538 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
1539
1540 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1541 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1542
1543 2016-09-27 Martin Liska <mliska@suse.cz>
1544
1545 PR gcov-profile/7970
1546 PR gcov-profile/16855
1547 PR gcov-profile/44779
1548 * libgcov-driver.c (__gcov_init): Do not register a atexit
1549 handler.
1550 (__gcov_exit): Rename from gcov_exit.
1551 * libgcov.h (__gcov_exit): Declare.
1552
1553 2016-09-27 Martin Liska <mliska@suse.cz>
1554
1555 PR bootstrap/77749
1556 * Makefile.in: Remove _gcov_merge_delta.
1557 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1558 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1559 * libgcov.h: Remove declaration of __gcov_merge_delta.
1560
1561 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1562
1563 * configure.ac: Do not create links, only substitute the filenames.
1564 * configure: Regenerate.
1565 * Makefile.in: Assign the substitution results to variables.
1566 (LIBGCC_LINKS): Define.
1567 (enable-execute-stack.c): New rule.
1568 (unwind.h): Likewise.
1569 (md-unwind-support.h): Likewise.
1570 (sfp-machine.h): Likewise.
1571 (gthr-default.h): Likewise.
1572 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1573 unwind.h as prerequisite of install-unwind_h-forbuild.
1574
1575 2016-09-16 Jakub Jelinek <jakub@redhat.com>
1576
1577 PR libgcc/71744
1578 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1579 is not the primary registry and atomics are available.
1580 (any_objects_registered): New variable.
1581 (__register_frame_info_bases, __register_frame_info_table_bases):
1582 Atomically store 1 to any_objects_registered after registering first
1583 unwind info.
1584 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1585
1586 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1587
1588 PR target/63250
1589 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1590 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1591 (HFtype): Likewise.
1592 (HCtype): Likewise.
1593 (__divhc3): Likewise.
1594 (__mulhc3): Likewise.
1595 * libgcc2.c: Support _mulhc3 and _divhc3.
1596
1597 2016-09-07 Joseph Myers <joseph@codesourcery.com>
1598
1599 PR libgcc/77519
1600 * libgcc2.c (NOTRUNC): Invert settings.
1601
1602 2016-09-06 Martin Liska <mliska@suse.cz>
1603
1604 PR gcov-profile/77378
1605 PR gcov-profile/77466
1606 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1607 conditionaly enable/disable *_atomic functions.
1608
1609 2016-08-26 Joseph Myers <joseph@codesourcery.com>
1610
1611 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1612 where not already enabled.
1613
1614 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1615
1616 * config/mips/linux-unwind.h: Use sys/syscall.h.
1617
1618 2016-08-16 Joseph Myers <joseph@codesourcery.com>
1619
1620 PR libgcc/77265
1621 * soft-fp/adddf3.c: Update from glibc.
1622 * soft-fp/addsf3.c: Likewise.
1623 * soft-fp/addtf3.c: Likewise.
1624 * soft-fp/divdf3.c: Likewise.
1625 * soft-fp/divsf3.c: Likewise.
1626 * soft-fp/divtf3.c: Likewise.
1627 * soft-fp/double.h: Likewise.
1628 * soft-fp/eqdf2.c: Likewise.
1629 * soft-fp/eqsf2.c: Likewise.
1630 * soft-fp/eqtf2.c: Likewise.
1631 * soft-fp/extenddftf2.c: Likewise.
1632 * soft-fp/extended.h: Likewise.
1633 * soft-fp/extendsfdf2.c: Likewise.
1634 * soft-fp/extendsftf2.c: Likewise.
1635 * soft-fp/extendxftf2.c: Likewise.
1636 * soft-fp/fixdfdi.c: Likewise.
1637 * soft-fp/fixdfsi.c: Likewise.
1638 * soft-fp/fixdfti.c: Likewise.
1639 * soft-fp/fixsfdi.c: Likewise.
1640 * soft-fp/fixsfsi.c: Likewise.
1641 * soft-fp/fixsfti.c: Likewise.
1642 * soft-fp/fixtfdi.c: Likewise.
1643 * soft-fp/fixtfsi.c: Likewise.
1644 * soft-fp/fixtfti.c: Likewise.
1645 * soft-fp/fixunsdfdi.c: Likewise.
1646 * soft-fp/fixunsdfsi.c: Likewise.
1647 * soft-fp/fixunsdfti.c: Likewise.
1648 * soft-fp/fixunssfdi.c: Likewise.
1649 * soft-fp/fixunssfsi.c: Likewise.
1650 * soft-fp/fixunssfti.c: Likewise.
1651 * soft-fp/fixunstfdi.c: Likewise.
1652 * soft-fp/fixunstfsi.c: Likewise.
1653 * soft-fp/fixunstfti.c: Likewise.
1654 * soft-fp/floatdidf.c: Likewise.
1655 * soft-fp/floatdisf.c: Likewise.
1656 * soft-fp/floatditf.c: Likewise.
1657 * soft-fp/floatsidf.c: Likewise.
1658 * soft-fp/floatsisf.c: Likewise.
1659 * soft-fp/floatsitf.c: Likewise.
1660 * soft-fp/floattidf.c: Likewise.
1661 * soft-fp/floattisf.c: Likewise.
1662 * soft-fp/floattitf.c: Likewise.
1663 * soft-fp/floatundidf.c: Likewise.
1664 * soft-fp/floatundisf.c: Likewise.
1665 * soft-fp/floatunditf.c: Likewise.
1666 * soft-fp/floatunsidf.c: Likewise.
1667 * soft-fp/floatunsisf.c: Likewise.
1668 * soft-fp/floatunsitf.c: Likewise.
1669 * soft-fp/floatuntidf.c: Likewise.
1670 * soft-fp/floatuntisf.c: Likewise.
1671 * soft-fp/floatuntitf.c: Likewise.
1672 * soft-fp/gedf2.c: Likewise.
1673 * soft-fp/gesf2.c: Likewise.
1674 * soft-fp/getf2.c: Likewise.
1675 * soft-fp/ledf2.c: Likewise.
1676 * soft-fp/lesf2.c: Likewise.
1677 * soft-fp/letf2.c: Likewise.
1678 * soft-fp/muldf3.c: Likewise.
1679 * soft-fp/mulsf3.c: Likewise.
1680 * soft-fp/multf3.c: Likewise.
1681 * soft-fp/negdf2.c: Likewise.
1682 * soft-fp/negsf2.c: Likewise.
1683 * soft-fp/negtf2.c: Likewise.
1684 * soft-fp/op-1.h: Likewise.
1685 * soft-fp/op-2.h: Likewise.
1686 * soft-fp/op-4.h: Likewise.
1687 * soft-fp/op-8.h: Likewise.
1688 * soft-fp/op-common.h: Likewise.
1689 * soft-fp/quad.h: Likewise.
1690 * soft-fp/single.h: Likewise.
1691 * soft-fp/soft-fp.h: Likewise.
1692 * soft-fp/subdf3.c: Likewise.
1693 * soft-fp/subsf3.c: Likewise.
1694 * soft-fp/subtf3.c: Likewise.
1695 * soft-fp/truncdfsf2.c: Likewise.
1696 * soft-fp/trunctfdf2.c: Likewise.
1697 * soft-fp/trunctfsf2.c: Likewise.
1698 * soft-fp/trunctfxf2.c: Likewise.
1699 * soft-fp/unorddf2.c: Likewise.
1700 * soft-fp/unordsf2.c: Likewise.
1701 * soft-fp/unordtf2.c: Likewise.
1702
1703 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1704
1705 PR gcov-profile/67097
1706 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1707
1708 2016-08-10 Martin Liska <mliska@suse.cz>
1709
1710 PR gcov-profile/58306
1711 * Makefile.in: New functions (modules) are added.
1712 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1713 function.
1714 (__gcov_pow2_profiler_atomic): New function.
1715 (__gcov_one_value_profiler_body): New argument is instroduced.
1716 (__gcov_one_value_profiler): Call with the new argument.
1717 (__gcov_one_value_profiler_atomic): Likewise.
1718 (__gcov_indirect_call_profiler_v2): Likewise.
1719 (__gcov_time_profiler_atomic): New function.
1720 (__gcov_average_profiler_atomic): Likewise.
1721 (__gcov_ior_profiler_atomic): Likewise.
1722 * libgcov.h: Declare the aforementioned functions.
1723
1724 2016-08-09 Martin Liska <mliska@suse.cz>
1725
1726 * libgcov-util.c: Fix typo and GNU coding style.
1727
1728 2016-08-09 Martin Liska <mliska@suse.cz>
1729
1730 * Makefile.in: Remove __gcov_indirect_call_profiler.
1731 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1732 function.
1733 * libgcov.h: And the declaration of the function.
1734
1735 2016-08-09 Martin Liska <mliska@suse.cz>
1736
1737 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1738 power of two.
1739
1740 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1741
1742 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1743 * config/rs6000/_mulkc3.c: Likewise.
1744
1745 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
1746
1747 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1748 zero_reg as previous call to __umulhisi3 already cleared it.
1749
1750 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1751
1752 PR target/59833
1753 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1754
1755 2016-07-19 Nick Clifton <nickc@redhat.com>
1756
1757 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1758 Add crtinit.o and crtfini.o to extra_parts.
1759
1760 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1761
1762 * config/rs6000/_divkc3.c: New.
1763 * config/rs6000/_mulkc3.c: New.
1764 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1765 and _divkc3.
1766 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1767 fp128_ppc_funcs.
1768
1769 2016-07-11 Hale Wang <hale.wang@arm.com>
1770 Andre Vieira <andre.simoesdiasvieira@arm.com>
1771
1772 * config/arm/lib1funcs.S: Add new wrapper.
1773
1774 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1775
1776 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1777
1778 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1779
1780 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1781 and ARMv5t* rather than for a fixed list of architectures.
1782
1783 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1784
1785 * config/arm/bpabi-v6m.S: Clarify what architectures is the
1786 implementation suitable for.
1787 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1788 for all Thumb-1 only targets.
1789 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1790 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1791 __ARM_ARCH_6M__.
1792 (EQUIV): Likewise.
1793 (ARM_FUNC_ALIAS): Likewise.
1794 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1795 version.
1796 (modsi3): Likewise.
1797 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1798 (clzdi2): Likewise.
1799 (ctzsi2): Likewise.
1800 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1801 __ARM_ARCH_6M__ in guard for checking whether it is defined.
1802 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1803 __ARM_ARCH_6M__ and add comment to indicate the connection between
1804 this condition and the one in gcc/config/arm/elf.h.
1805 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1806 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1807 * config/arm/t-softfp: Likewise.
1808
1809 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1810
1811 * libgcc2.c (SYMBOL__MAIN): Remove checks for
1812 CTOR_LISTS_DEFINED_EXTERNALLY.
1813
1814 2016-06-28 Walter Lee <walt@tilera.com>
1815
1816 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1817 asm/unistd.h.
1818 (SPR_CMPEXCH_VALUE): Define for tilegx.
1819 (__NR_FAST_cmpxchg): Define for tilepro.
1820 (__NR_FAST_atomic_update): Define for tilepro.
1821 (__NR_FAST_cmpxchg64): Define for tilepro.
1822
1823 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
1824
1825 * config.host: Add suport for arm*-*-phoenix* targets.
1826
1827 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1828
1829 * config.host: Remove support for mep-*.
1830 * config/mep/lib1funcs.S: Remove.
1831 * config/mep/lib2funcs.c: Remove.
1832 * config/mep/t-mep: Remove.
1833 * config/mep/tramp.c: Remove.
1834
1835 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1836
1837 * config.host: Remove support for avr-rtems.
1838 * config/avr/t-rtems: Remove.
1839
1840 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1841
1842 * config.host: Remove m32r-rtems support.
1843
1844 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1845
1846 * config.host: Remove h8300-rtems support.
1847
1848 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1849
1850 * config.host: Remove support for knetbsd.
1851
1852 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1853
1854 * config.host: Remove support for openbsd 2 and 3.
1855
1856 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1857
1858 * config.host: Remove interix support.
1859 * config/i386/t-interix: Remove.
1860
1861 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
1862
1863 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1864 least-significant bit in function pointer for fixup.
1865
1866 2016-06-05 Aaron Conole <aconole@redhat.com>
1867 Nathan Sidwell <nathan@acm.org>
1868
1869 PR libgcc/71400
1870 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1871 (get_gcov_error_file): Check __gcov_error_file before trying to
1872 initialize it.
1873 (gcov_error): Always use get_gcov_error_file.
1874
1875 2016-06-02 Aaron Conole <aconole@redhat.com>
1876
1877 * libgcov-driver-system.c (__gcov_error_file): New.
1878 (get_gcov_error_file): New.
1879 (gcov_error): Use and set __gcov_error_file.
1880 (gcov_error_exit): New.
1881 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1882
1883 2016-05-26 Nathan Sidwell <nathan@acm.org>
1884
1885 * config/nvptx/free.asm: Delete.
1886 * config/nvptx/malloc.asm: Delete.
1887 * config/nvptx/realloc.c: Delete.
1888 * t-nvptx: Update.
1889
1890 2016-05-25 Nathan Sidwell <nathan@acm.org>
1891
1892 * config/nvptx/crt0.s: Delete.
1893 * config/nvptx/crt0.c: New.
1894 * t-nvptx: Update.
1895
1896 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
1897
1898 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
1899 dw2/seh configuration.
1900 [x86_64-*-mingw*]: Likewise.
1901
1902 2016-05-10 Joel Sherrill <joel@rtems.org>
1903
1904 PR libgcc/70720
1905 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
1906 targets so the same extra_parts are built. Also have tmake_file add
1907 on to its value rather than override.
1908
1909 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
1910
1911 * config.host: Remove SH5 support.
1912 * configure: Likewise.
1913
1914 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
1915
1916 * config/sh/crt1.S: Remove SH5 support.
1917 * config/sh/crti.S: Likewise.
1918 * config/sh/crtn.S: Likewise.
1919 * config/sh/lib1funcs-4-300.S: Likewise.
1920 * config/sh/lib1funcs-Os-4-200.S: Likewise.
1921 * config/sh/lib1funcs.S: Likewise.
1922 * config/sh/linux-unwind.h: Likewise.
1923 * config/sh/t-sh64: Delete.
1924
1925 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
1926
1927 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
1928
1929 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
1930 Joern Rennecke <joern.rennecke@embecosm.com>
1931
1932 * config/arc/crttls.S: New file.
1933 * config/arc/t-arc: New rule.
1934 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
1935
1936 2016-04-25 Nick Clifton <nickc@redhat.com>
1937
1938 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
1939 (__mspabi_cmpd): Likewise.
1940 * config/msp430/floathidf.c (__floathidf): Likewise.
1941 * config/msp430/floathisf.c (__floathisf): Likewise
1942 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
1943 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
1944 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
1945 second parameter.
1946 (__ashrsi3): Likewise.
1947
1948 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
1949
1950 * config/m68k/linux-atomic.c: Do not include unistd.h
1951
1952 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
1953
1954 * config/arm/ieee754-df.S: Fix typos in comments.
1955
1956 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
1957
1958 PR target/70381
1959 * configure.ac (powerpc*-*-linux*): Rework tests to build
1960 __float128 emulation routines to not depend on using #pragma GCC
1961 target to enable -mfloat128.
1962 * configure: Regnerate.
1963
1964 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
1965
1966 PR target/67172
1967 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1968 __MINGW32__ is defined.
1969
1970 2016-03-28 James Bowman <james.bowman@ftdichip.com>
1971
1972 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
1973
1974 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
1975
1976 PR libgcc/70363
1977 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1978 built with an assembler that does not support ISA 3.0
1979 instructions, rename __extendkftf2_sw to __extendkftf2.
1980
1981 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1982
1983 PR target/38239
1984 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1985 call-clobbered registers.
1986 (internal_mcount): Remove __i386__ handling.
1987
1988 2016-02-26 Joel Sherrill <joel@rtems.org>
1989
1990 * config.host: Add x86_64-*-rtems*.
1991
1992 2016-02-26 Joel Sherrill <joel@rtems.org>
1993
1994 * libgcc/config.host: Add aarch64-*-rtems*.
1995
1996 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1997 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1998
1999 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2000 union of u64 and double.
2001 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2002 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2003 value.
2004 (FP_ROUNDMODE): Update the usage of _fpscr.
2005
2006 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2007
2008 PR driver/68463
2009 * Makefile.in (crtoffloadtable$(objext)): New rule.
2010 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2011 enable_offload_targets is not empty.
2012 * configure: Regenerate.
2013 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2014 crtoffloadtable.
2015
2016 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2017
2018 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2019 .literal_position before the function.
2020 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2021 Likewise.
2022
2023 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2024
2025 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2026 * config/s390/morestack.S: New file.
2027 * config/s390/t-stack-s390: New file.
2028 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2029
2030 2016-02-12 Walter Lee <walt@tilera.com>
2031
2032 * config.host (tilegx*-*-linux*): remove ti from
2033 softfp_int_modes for 32-bit configs.
2034
2035 2016-02-10 Ian Lance Taylor <iant@google.com>
2036
2037 PR go/68562
2038 * config/i386/morestack.S (__stack_split_initialize): Align
2039 stack.
2040
2041 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2042
2043 PR bootstrap/69611
2044 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2045 __FLOAT128__ to compile only for __float128 capable targets.
2046
2047 2016-01-25 Jakub Jelinek <jakub@redhat.com>
2048
2049 PR target/69444
2050 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2051 instead of ___NO_FPRS__.
2052
2053 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
2054 Steven Munroe <munroesj@linux.vnet.ibm.com>
2055 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2056
2057 * config/rs6000/float128-sed: New files to convert TF names to KF
2058 names for PowerPC IEEE 128-bit floating point support.
2059 * config/rs6000/float128-sed-hw: Likewise.
2060
2061 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2062 floating point hardware support.
2063
2064 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2065 128-bit floating point software emulation or use ISA 3.0 hardware
2066 support if it is available.
2067
2068 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2069 floating point.
2070
2071 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2072 floating point to IBM extended double.
2073
2074 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2075 double to IEEE 128-bit floating point.
2076
2077 * config/rs6000/t-float128: New Makefile fragments to enable
2078 building __float128 emulation support.
2079 * config/rs6000/t-float128-hw: Likewise.
2080
2081 * config/rs6000/sfp-exceptions.c: New file to provide exception
2082 support for IEEE 128-bit floating point.
2083
2084 * config/rs6000/floattikf.c: New files for converting between IEEE
2085 128-bit floating point and signed/unsigned 128-bit integers.
2086 * config/rs6000/fixunskfti.c: Likewise.
2087 * config/rs6000/fixkfti.c: Likewise.
2088 * config/rs6000/floatuntikf.c: Likewise.
2089
2090 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2091 when building on 64-bit systems, or when VSX is enabled.
2092 (_FP_W_TYPE): Likewise.
2093 (_FP_WS_TYPE): Likewise.
2094 (_FP_I_TYPE): Likewise.
2095 (TItype): Define on 64-bit systems.
2096 (UTItype): Likewise.
2097 (TI_BITS): Likewise.
2098 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2099 (_FP_MUL_MEAT_Q): Likewise.
2100 (_FP_DIV_MEAT_D): Likewise.
2101 (_FP_DIV_MEAT_Q): Likewise.
2102 (_FP_NANFRAC_D): Likewise.
2103 (_FP_NANFRAC_Q): Likewise.
2104 (ISA_BIT): Add exception support if we are being compiled on a
2105 machine with hardware floating point support to build the IEEE
2106 128-bit emulation functions.
2107 (FP_EX_INVALID): Likewise.
2108 (FP_EX_OVERFLOW): Likewise.
2109 (FP_EX_UNDERFLOW): Likewise.
2110 (FP_EX_DIVZERO): Likewise.
2111 (FP_EX_INEXACT): Likewise.
2112 (FP_EX_ALL): Likewise.
2113 (__sfp_handle_exceptions): Likewise.
2114 (FP_HANDLE_EXCEPTIONS): Likewise.
2115 (FP_RND_NEAREST): Likewise.
2116 (FP_RND_ZERO): Likewise.
2117 (FP_RND_PINF): Likewise.
2118 (FP_RND_MINF): Likewise.
2119 (FP_RND_MASK): Likewise.
2120 (_FP_DECL_EX): Likewise.
2121 (FP_INIT_ROUNDMODE): Likewise.
2122 (FP_ROUNDMODE): Likewise.
2123
2124 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2125 VSX code, enable IEEE 128-bit floating point. If the compiler can
2126 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2127 floating point hardware instructions and it supports declaring
2128 functions with the ifunc attribute, enable ifunc functions to
2129 switch between software and hardware support.
2130 * configure.ac (powerpc*-*-linux*): Likewise.
2131 * configure: Regenerate.
2132
2133 2016-01-15 Nick Clifton <nickc@redhat.com>
2134
2135 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2136 dependency as the source file to be compiled.
2137 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2138 (lib2hw_mul_f5.o): Likewise.
2139
2140 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2141
2142 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2143 * libgcc/config/rs6000/fixkfti.c: Likewise.
2144 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2145 * libgcc/config/rs6000/float128-hw.c: Likewise.
2146 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2147 * libgcc/config/rs6000/float128-sed: Likewise.
2148 * libgcc/config/rs6000/floattikf.c: Likewise.
2149 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2150 * libgcc/config/rs6000/quad-float128.h: Likewise.
2151 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2152 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2153 * libgcc/config/rs6000/t-float128: Likewise.
2154 * libgcc/config/rs6000/t-float128-hw: Likewise.
2155 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2156 * libgcc/config.host: Likewise.
2157 * libgcc/configure: Likewise.
2158 * libgcc/configure.ac: Likewise.
2159
2160 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2161 Steven Munroe <munroesj@linux.vnet.ibm.com>
2162 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2163
2164 * config/rs6000/sfp-exceptions.c: New file to provide exception
2165 support for IEEE 128-bit floating point.
2166
2167 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2168 floating point hardware support.
2169
2170 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2171 point conversions.
2172 * config/rs6000/fixunskfti.c: Likewise.
2173 * config/rs6000/fixkfti.c: Likewise.
2174 * config/rs6000/floatuntikf.c: Likewise.
2175 * config/rs6000/extendkftf2-sw.c: Likewise.
2176 * config/rs6000/trunctfkf2-sw.c: Likewise.
2177
2178 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2179 128-bit floating point software emulation or use ISA 3.0 hardware
2180 support if it is available.
2181
2182 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2183 floating point.
2184
2185 * config/rs6000/t-float128: New Makefile fragments to enable
2186 building __float128 emulation support.
2187 * config/rs6000/t-float128-hw: Likewise.
2188
2189 * config/rs6000/float128-sed: New file to convert TF names to KF
2190 names for PowerPC IEEE 128-bit floating point support.
2191
2192 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2193 when building on 64-bit systems, or when VSX is enabled.
2194 (_FP_W_TYPE): Likewise.
2195 (_FP_WS_TYPE): Likewise.
2196 (_FP_I_TYPE): Likewise.
2197 (TItype): Define on 64-bit systems.
2198 (UTItype): Likewise.
2199 (TI_BITS): Likewise.
2200 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2201 (_FP_MUL_MEAT_Q): Likewise.
2202 (_FP_DIV_MEAT_D): Likewise.
2203 (_FP_DIV_MEAT_Q): Likewise.
2204 (_FP_NANFRAC_D): Likewise.
2205 (_FP_NANFRAC_Q): Likewise.
2206 (ISA_BIT): Add exception support if we are being compiled on a
2207 machine with hardware floating point support to build the IEEE
2208 128-bit emulation functions.
2209 (FP_EX_INVALID): Likewise.
2210 (FP_EX_OVERFLOW): Likewise.
2211 (FP_EX_UNDERFLOW): Likewise.
2212 (FP_EX_DIVZERO): Likewise.
2213 (FP_EX_INEXACT): Likewise.
2214 (FP_EX_ALL): Likewise.
2215 (__sfp_handle_exceptions): Likewise.
2216 (FP_HANDLE_EXCEPTIONS): Likewise.
2217 (FP_RND_NEAREST): Likewise.
2218 (FP_RND_ZERO): Likewise.
2219 (FP_RND_PINF): Likewise.
2220 (FP_RND_MINF): Likewise.
2221 (FP_RND_MASK): Likewise.
2222 (_FP_DECL_EX): Likewise.
2223 (FP_INIT_ROUNDMODE): Likewise.
2224 (FP_ROUNDMODE): Likewise.
2225
2226 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2227 compiler can do __float128.
2228 * configure: Regenerate.
2229
2230 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2231 VSX code, enable IEEE 128-bit floating point.
2232
2233 2016-01-05 Olivier Hainque <hainque@adacore.com>
2234
2235 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
2236 specificities.
2237
2238 2016-01-04 Jakub Jelinek <jakub@redhat.com>
2239
2240 Update copyright years.
2241
2242 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2243
2244 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2245 soft-fp targets.
2246
2247 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2248
2249 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2250 instead of abort to avoid dependency on stdlib.h.
2251
2252 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
2253
2254 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2255 to initialize call to __dl_fixup once.
2256
2257 2015-12-04 Nick Clifton <nickc@redhat.com>
2258
2259 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2260 Allow for the second argument being negative.
2261 * config.host (extra_parts): Define for MSP430. Create separate
2262 libraries for each of the hardware multiply formats.
2263 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2264 that are needed.
2265 * config/msp430/lib2mul.c: Likewise.
2266 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2267 Add rules to build hardware multiply libraries.
2268 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2269 __mspabi_divul function.
2270 (__mspabi_divllu): New stub function.
2271
2272 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
2273
2274 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2275 fixup values if saved GOT address doesn't match runtime address.
2276 (fixup_branch_offset): Reorder list.
2277
2278 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2279
2280 * Makefile.in (VTV_CFLAGS): New variable.
2281 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2282 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2283 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2284 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2285 to extra_parts if $enable_vtable_verify = yes.
2286
2287 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2288
2289 PR target/68059
2290 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2291 (write): ...this and fix the return type.
2292
2293 2015-11-19 DJ Delorie <dj@redhat.com>
2294
2295 * config/msp430/lib2hw_mul.S: Fix alignment.
2296
2297 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2298
2299 * config/nvptx/reduction.c: New.
2300 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2301
2302 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
2303
2304 * config/rs6000/on_exit.c: New file.
2305 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2306 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2307
2308 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2309
2310 * config/arc/dp-hack.h: Add support for ARCHS.
2311 * config/arc/ieee-754/divdf3.S: Likewise.
2312 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2313 * config/arc/ieee-754/muldf3.S: Likewise.
2314 * config/arc/ieee-754/mulsf3.S: Likewise
2315 * config/arc/lib1funcs.S: Likewise
2316 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2317 for ARCv2 cores.
2318 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2319 for ARCv2 cores.
2320 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2321 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2322 cores.
2323
2324 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2325
2326 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2327 value.
2328 * config/ia64/crtend.S: Likewise.
2329
2330 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2331
2332 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2333 __CHAR_BIT__ instead of BITS_PER_UNIT.
2334 * fixed-bit.h: Likewise.
2335 * fp-bit.h: Likewise.
2336 * libgcc2.c (__popcountSI2): Likewise.
2337 (__popcountDI2): Likewise.
2338 * libgcc2.h: Likewise.
2339 * libgcov.h: Likewise.
2340
2341 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
2342
2343 * config/rs6000/atexit.c: New file.
2344 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2345 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2346 * config/rs6000/cxa_finalize.c
2347 (catomic_compare_and_exchange_bool_acq): Negate return value.
2348
2349 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2350
2351 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2352 (processor_subtypes): Add znver1.
2353 (get_amd_cpu): Detect znver1.
2354
2355 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2356
2357 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2358 Include crtfastmath.o.
2359
2360 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2361
2362 PR libgcc/66883
2363 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
2364
2365 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2366
2367 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2368 * config/rl78/divmodsi.S: Update return register to r8.
2369 * config/rl78/divmodhi.S: Update return register to r8,r9.
2370 Branch to main_loop_done_himode to pop registers before return.
2371
2372 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2373
2374 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2375 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2376
2377 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2378
2379 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2380
2381 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2382
2383 * config.host (xtensa*-*-uclinux*): New configuration.
2384
2385 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2386
2387 * config/i386/cpuinfo.c (processor_features): Add
2388 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2389
2390 2015-09-28 Joseph Myers <joseph@codesourcery.com>
2391
2392 * soft-fp/adddf3.c: Update from glibc.
2393 * soft-fp/addsf3.c: Likewise.
2394 * soft-fp/addtf3.c: Likewise.
2395 * soft-fp/divdf3.c: Likewise.
2396 * soft-fp/divsf3.c: Likewise.
2397 * soft-fp/divtf3.c: Likewise.
2398 * soft-fp/double.h: Likewise.
2399 * soft-fp/eqdf2.c: Likewise.
2400 * soft-fp/eqsf2.c: Likewise.
2401 * soft-fp/eqtf2.c: Likewise.
2402 * soft-fp/extenddftf2.c: Likewise.
2403 * soft-fp/extended.h: Likewise.
2404 * soft-fp/extendsfdf2.c: Likewise.
2405 * soft-fp/extendsftf2.c: Likewise.
2406 * soft-fp/extendxftf2.c: Likewise.
2407 * soft-fp/fixdfdi.c: Likewise.
2408 * soft-fp/fixdfsi.c: Likewise.
2409 * soft-fp/fixdfti.c: Likewise.
2410 * soft-fp/fixsfdi.c: Likewise.
2411 * soft-fp/fixsfsi.c: Likewise.
2412 * soft-fp/fixsfti.c: Likewise.
2413 * soft-fp/fixtfdi.c: Likewise.
2414 * soft-fp/fixtfsi.c: Likewise.
2415 * soft-fp/fixtfti.c: Likewise.
2416 * soft-fp/fixunsdfdi.c: Likewise.
2417 * soft-fp/fixunsdfsi.c: Likewise.
2418 * soft-fp/fixunsdfti.c: Likewise.
2419 * soft-fp/fixunssfdi.c: Likewise.
2420 * soft-fp/fixunssfsi.c: Likewise.
2421 * soft-fp/fixunssfti.c: Likewise.
2422 * soft-fp/fixunstfdi.c: Likewise.
2423 * soft-fp/fixunstfsi.c: Likewise.
2424 * soft-fp/fixunstfti.c: Likewise.
2425 * soft-fp/floatdidf.c: Likewise.
2426 * soft-fp/floatdisf.c: Likewise.
2427 * soft-fp/floatditf.c: Likewise.
2428 * soft-fp/floatsidf.c: Likewise.
2429 * soft-fp/floatsisf.c: Likewise.
2430 * soft-fp/floatsitf.c: Likewise.
2431 * soft-fp/floattidf.c: Likewise.
2432 * soft-fp/floattisf.c: Likewise.
2433 * soft-fp/floattitf.c: Likewise.
2434 * soft-fp/floatundidf.c: Likewise.
2435 * soft-fp/floatundisf.c: Likewise.
2436 * soft-fp/floatunditf.c: Likewise.
2437 * soft-fp/floatunsidf.c: Likewise.
2438 * soft-fp/floatunsisf.c: Likewise.
2439 * soft-fp/floatunsitf.c: Likewise.
2440 * soft-fp/floatuntidf.c: Likewise.
2441 * soft-fp/floatuntisf.c: Likewise.
2442 * soft-fp/floatuntitf.c: Likewise.
2443 * soft-fp/gedf2.c: Likewise.
2444 * soft-fp/gesf2.c: Likewise.
2445 * soft-fp/getf2.c: Likewise.
2446 * soft-fp/ledf2.c: Likewise.
2447 * soft-fp/lesf2.c: Likewise.
2448 * soft-fp/letf2.c: Likewise.
2449 * soft-fp/muldf3.c: Likewise.
2450 * soft-fp/mulsf3.c: Likewise.
2451 * soft-fp/multf3.c: Likewise.
2452 * soft-fp/negdf2.c: Likewise.
2453 * soft-fp/negsf2.c: Likewise.
2454 * soft-fp/negtf2.c: Likewise.
2455 * soft-fp/op-1.h: Likewise.
2456 * soft-fp/op-2.h: Likewise.
2457 * soft-fp/op-4.h: Likewise.
2458 * soft-fp/op-8.h: Likewise.
2459 * soft-fp/op-common.h: Likewise.
2460 * soft-fp/quad.h: Likewise.
2461 * soft-fp/single.h: Likewise.
2462 * soft-fp/soft-fp.h: Likewise.
2463 * soft-fp/subdf3.c: Likewise.
2464 * soft-fp/subsf3.c: Likewise.
2465 * soft-fp/subtf3.c: Likewise.
2466 * soft-fp/truncdfsf2.c: Likewise.
2467 * soft-fp/trunctfdf2.c: Likewise.
2468 * soft-fp/trunctfsf2.c: Likewise.
2469 * soft-fp/trunctfxf2.c: Likewise.
2470 * soft-fp/unorddf2.c: Likewise.
2471 * soft-fp/unordsf2.c: Likewise.
2472 * soft-fp/unordtf2.c: Likewise.
2473
2474 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
2475
2476 PR libgcc/67624
2477 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2478
2479 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2480
2481 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2482 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2483 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2484 messages.
2485 (internal_mcount): Likewise.
2486 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2487 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2488
2489 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2490
2491 * configure.ac (libgcc_cv_solaris_crts): New test.
2492 * configure: Regenerate.
2493 * config.in: Regenerate.
2494 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2495 * config/gmon-sol2.c: Rename to ...
2496 * config/sol2/gmon.c: ... this.
2497 Include auto-target.h.
2498 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2499 * config/t-sol2: Rename to ...
2500 * config/sol2/t-sol2: ... this.
2501 (gmon.o): Reflect renaming.
2502 (crtp.o, crtpg.o): New rules.
2503 * config.host (*-*-solaris2*): Reflect renaming.
2504 Use system CRTs if present.
2505 Remove default CRT case.
2506
2507 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
2508
2509 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2510 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2511 __kernel_cmpxchg2.
2512 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2513 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2514 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2515 (__sync_lock_test_and_set_##WIDTH): Likewise.
2516 (__sync_lock_release_##WIDTH): Likewise.
2517 (__sync_fetch_and_##OP##_4): Change result to match type of
2518 __kernel_cmpxchg.
2519 (__sync_##OP##_and_fetch_4): Likewise.
2520 (__sync_val_compare_and_swap_4): Likewise.
2521 (__sync_bool_compare_and_swap_4): likewise.
2522 (__sync_lock_test_and_set_4): Likewise.
2523 (__sync_lock_release_4): Likewise.
2524 (FETCH_AND_OP_2): Add long long variants.
2525 (OP_AND_FETCH_2): Likewise.
2526 (COMPARE_AND_SWAP_2 ): Likewise.
2527 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2528 (SYNC_LOCK_RELEASE_2): Likewise.
2529 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2530
2531 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
2532
2533 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2534 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2535 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2536 (get_available_features): Habdle new features.
2537
2538 2015-09-21 James Bowman <james.bowman@ftdichip.com>
2539
2540 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2541 memory layout. Deal correctly with BSS region larger than 32K.
2542 Handle a watchdog reset like a power-on reset. Clean up unused
2543 code.
2544
2545 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
2546 David Edelsohn <dje.gcc@gmail.com>
2547
2548 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2549 * config/rs6000/crtdbase.S: New file.
2550 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2551
2552 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2553
2554 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2555 Add support for call0 ABI.
2556
2557 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
2558
2559 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2560
2561 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2562
2563 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2564 (__GTHREAD_HAS_COND): Likewise.
2565 (__gthread_t): Likewise.
2566 (__gthread_cond_t): Likewise.
2567 (__gthread_time_t): Likewise.
2568 (__GTHREAD_MUTEX_INIT): Likewise.
2569 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2570 (__GTHREAD_COND_INIT): Likewise.
2571 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2572 (__GTHREAD_TIME_INIT): Likewise.
2573 (__gthread_create): Likewise.
2574 (__gthread_join): Likewise.
2575 (__gthread_detach): Likewise.
2576 (__gthread_equal): Likewise.
2577 (__gthread_self): Likewise.
2578 (__gthread_yield): Likewise.
2579 (__gthread_cond_broadcast): Likewise.
2580 (__gthread_cond_signal): Likewise.
2581 (__gthread_cond_wait): Likewise.
2582 (__gthread_cond_timedwait): Likewise.
2583 (__gthread_cond_wait_recursive): Likewise.
2584 (__gthread_cond_destroy): Likewise.
2585 (rtems_gxx_once): Delete.
2586 (rtems_gxx_key_create): Likewise.
2587 (rtems_gxx_key_delete): Likewise.
2588 (rtems_gxx_getspecific): Likewise.
2589 (rtems_gxx_setspecific): Likewise.
2590 (rtems_gxx_mutex_init): Likewise.
2591 (rtems_gxx_mutex_destroy): Likewise.
2592 (rtems_gxx_mutex_lock): Likewise.
2593 (rtems_gxx_mutex_trylock): Likewise.
2594 (rtems_gxx_mutex_unlock): Likewise.
2595 (rtems_gxx_recursive_mutex_init): Likewise.
2596 (rtems_gxx_recursive_mutex_lock): Likewise.
2597 (rtems_gxx_recursive_mutex_trylock): Likewise.
2598 (rtems_gxx_recursive_mutex_unlock): Likewise.
2599 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2600 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2601 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2602 (__gthread_once): Likewise.
2603 (__gthread_key_create): Likewise.
2604 (__gthread_key_delete): Likewise.
2605 (__gthread_getspecific): Likewise.
2606 (__gthread_setspecific): Likewise.
2607 (__gthread_key_t): Use <pthread.h> type.
2608 (__gthread_once_t): Likewise
2609 (__gthread_mutex_t): Use <sys/lock.h> type.
2610 (__gthread_recursive_mutex_t): Likewise
2611 (__gthread_mutex_lock): Use <sys/lock.h> function.
2612 (__gthread_mutex_trylock): Likewise.
2613 (__gthread_mutex_timedlock): Likewise.
2614 (__gthread_mutex_unlock): Likewise.
2615 (__gthread_mutex_destroy): Likewise.
2616 (__gthread_recursive_mutex_lock): Likewise.
2617 (__gthread_recursive_mutex_trylock): Likewise.
2618 (__gthread_recursive_mutex_timedlock): Likewise.
2619 (__gthread_recursive_mutex_unlock): Likewise.
2620 (__gthread_recursive_mutex_destroy): Likewise.
2621
2622 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2623
2624 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2625 context->sp instead of context->cfa.
2626
2627 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2628
2629 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2630 with unwind-dw2-fde-dip.
2631
2632 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2633
2634 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2635 CALL12 followed by series of ENTRY to spill windowed registers.
2636 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2637 instead of making linux spill syscall.
2638
2639 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2640
2641 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2642 (get_intel_cpu): Likewise.
2643
2644 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2645
2646 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2647 (get_intel_cpu): Add Knights Landing support.
2648
2649 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
2650
2651 PR target/66954
2652 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2653 (get_available_features): Handle FEATURE_PCLMUL.
2654
2655 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2656
2657 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2658 Broadwell.
2659
2660 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
2661
2662 PR target/66954
2663 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2664 (get_available_features): Handle FEATURE_AES.
2665
2666 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2667
2668 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2669 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2670
2671 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2672
2673 * offloadstuff.c: Constify host data.
2674
2675 2015-07-17 Jan Beulich <jbeulich@suse.com>
2676
2677 * config/t-softfp: Split up "else ifneq".
2678
2679 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2680 Cesar Philippidis <cesar@codesourcery.com>
2681 Chung-Lin Tang <cltang@codesourcery.com>
2682
2683 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2684 for __nios2_arch__ level.
2685
2686 2015-07-13 John Marino <gnugcc@marino.st>
2687
2688 * config/i386/t-dragonfly: New.
2689
2690 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
2691
2692 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2693 better match light-weight syscall argument order.
2694 (__kernel_cmpxchg2): Likewise.
2695 Adjust callers.
2696
2697 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2698
2699 * config.host: Support i[34567]86-*-elfiamcu target.
2700 * config/t-softfp-sfdftf: New file.
2701 * config/i386/32/t-iamcu: Likewise.
2702 * configure: Regenerated.
2703
2704 2015-06-23 James Lemke <jwlemke@codesourcery.com>
2705
2706 libgcc/config/arm/
2707 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2708
2709 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2710
2711 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2712
2713 2015-05-27 John Marino <gnugcc@marino.st>
2714
2715 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2716 md_unwind_header
2717 * config/i386/freebsd-unwind.h: New.
2718
2719 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
2720
2721 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2722 i386/t-crtfm to tmake_file.
2723 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2724 (set_fast_math): Use set_fast_math_sse for SSE targets.
2725 * config/i386/t-crtfm: Remove.
2726
2727 2015-05-21 Alan Modra <amodra@gmail.com>
2728
2729 PR libgcc/66225
2730 * config/rs6000/morestack.S: Remove ".abiversion 1".
2731
2732 2015-05-20 Alan Modra <amodra@gmail.com>
2733
2734 * config/rs6000/morestack.S: New.
2735 * config/rs6000/t-stack-rs6000: New.
2736 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2737 to tmake_file.
2738 * generic-morestack.c: Don't build for powerpc 32-bit.
2739
2740 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
2741
2742 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2743 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2744
2745 2015-05-16 James Bowman <james.bowman@ftdichip.com>
2746
2747 * config.host: FT32 target added.
2748 * config/ft32/*: New files for FT32 target.
2749
2750 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2751
2752 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2753 New macros.
2754 * config/arm/ieee754-df.S: Add CFI directives.
2755 * config/arm/ieee754-sf.S: Add CFI directives.
2756
2757 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2758
2759 * configure.ac: Include config/sjlj.m4.
2760 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2761 * config.in: Regenerate.
2762 * configure: Likewise.
2763 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2764
2765 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
2766
2767 * libgcov-util.c: Add space between string literal and macro name.
2768
2769 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
2770 Chris Jones <chrisj@nvidia.com>
2771 Joshua Conner <jconner@nvidia.com>
2772
2773 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2774 (arm*-*-uclinux*): Likewise.
2775 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2776 * config/arm/crtfastmath.c: New file.
2777
2778 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
2779
2780 * Makefile.in (real_host_noncanonical): New variable.
2781 (libsubdir): Use it.
2782 * configure.ac (real_host_noncanonical): Compute. Remove special
2783 case for intelmicemul.
2784 * configure: Regenerate.
2785
2786 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
2787
2788 * config/frv/elf-lib.h: New file.
2789 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2790 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2791 to tm_file.
2792
2793 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
2794
2795 * config/frv/frvbengin.c: Do not include defaults.h
2796 * config/frv/frvend.c: Ditto.
2797
2798 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
2799
2800 * config.host: Add h8300-*-linux
2801 * config/h8300/t-linux: New file.
2802 * config/h8300/lib1funs.s: Change symbol prefix.
2803 * config/h8300/sfp-machine.h: 64bit double support.
2804
2805 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
2806 Szabolcs Nagy <szabolcs.nagy@arm.com>
2807
2808 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2809 Linux if target provides dl_iterate_phdr.
2810
2811 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
2812
2813 PR target/65612
2814 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2815 * config/i386/cpuinfo.c (__cpu_model): Initialize.
2816 (__cpu_indicator_init@GCC_4.8.0): New.
2817 (__cpu_model@GCC_4.8.0): Likewise.
2818 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2819 -DUSE_ELF_SYMVER.
2820
2821 2015-04-16 Nick Clifton <nickc@redhat.com>
2822
2823 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2824 and __modhi3 functions.
2825 * config/rl78/divmodso.S: Add G14 and G13 versions of the
2826 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2827
2828 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
2829
2830 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2831 do-while loop as macro body to avoid warnings.
2832
2833 2015-04-10 Jakub Jelinek <jakub@redhat.com>
2834 Iain Sandoe <iain@codesourcery.com>
2835
2836 PR target/65351
2837 * configure: Regenerate.
2838
2839 2015-04-07 Jakub Jelinek <jakub@redhat.com>
2840 Iain Sandoe <iain@codesourcery.com>
2841
2842 PR target/65351
2843 * configure: Regenerate.
2844
2845 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
2846
2847 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2848
2849 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
2850
2851 Implement call0 ABI for xtensa
2852 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2853 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2854 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2855 use ret in call0 ABI.
2856 * config/xtensa/t-windowed: New file.
2857 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2858 * libgcc/configure: Regenerated.
2859 * libgcc/configure.ac: Check if xtensa target is configured for
2860 windowed ABI and thus needs to use custom unwind code.
2861
2862 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
2863
2864 PR libgcc/64885
2865 * gthr-single.h: Use __unused__ attribute instead of unused.
2866 * config/gthr-vxworks.h: Likewise.
2867 * config/i386/gthr-win32.h: Likewise.
2868
2869 2015-02-27 Kai Tietz <ktietz@redhat.com>
2870
2871 PR target/65038
2872 * config.in: Regenerated.
2873 * configure: Likewise.
2874 * configure.ac (AC_HEADER_STDC): Added explicit.
2875 (AC_CHECK_HEADERS): Check for default headers plus
2876 for ftw.h header.
2877 * libgcov-util.c (gcov_read_profile_dir): Disable use
2878 of ftw-function, if header is not found.
2879 (ftw_read_file): Likewise.
2880
2881 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
2882
2883 PR target/65181
2884 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2885 -Dinhibit_libc.
2886
2887 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
2888
2889 * config/arm/bpabi.S (test_div_by_zero): Make label names
2890 consistent between thumb2 and arm mode cases. Separate the
2891 signed comparison on the high word of the numerator from the
2892 unsigned comparison on the low word.
2893 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2894 signed comparison.
2895
2896 2015-02-17 Joseph Myers <joseph@codesourcery.com>
2897
2898 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2899 and <string.h>.
2900 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2901
2902 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
2903
2904 PR gcov-profile/61889
2905 * libgcov-driver-system.c: undefine clashing macro for mkdir.
2906
2907 2015-02-02 Nick Clifton <nickc@redhat.com>
2908
2909 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
2910 rounding up the fraction.
2911
2912 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
2913
2914 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
2915 oldval and newval to const void *. Fix typo.
2916 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
2917 (FETCH_AND_OP_WORD): Likewise.
2918 (OP_AND_FETCH_WORD): Likewise.
2919 (COMPARE_AND_SWAP_2): Likewise.
2920 (__sync_val_compare_and_swap_4): Likewise.
2921 (__sync_lock_test_and_set_4): Likewise.
2922 (SYNC_LOCK_RELEASE_2): Likewise.
2923 Remove support for long long atomic operations.
2924
2925 2015-01-27 Caroline Tice <cmtice@google.com>
2926
2927 Committing VTV Cywin/Ming patch for Patrick Wollgast
2928 * Makefile.in: Move rules to build vtv_*.o out of the check
2929 for CUSTOM_CRTSTUFF.
2930 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
2931 i[34567]86-*-mingw*)
2932 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
2933 enable_vtable_verify.
2934
2935 2015-01-27 Nick Clifton <nickc@redhat.com>
2936
2937 * config/rl78/cmpsi2.S: Use function start and end macros.
2938 (__gcc_bcmp): New function.
2939 * config/rl78/lshrsi3.S: Use function start and end macros.
2940 * config/rl78/mulsi3.S: Add support for G10.
2941 (__mulqi3): New function for G10.
2942 * config/rl78/signbit.S: Use function start and end macros.
2943 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
2944 fpmath-sf.S.
2945 (LIB2FUNCS_EXCLUDE): Define.
2946 (LIB2FUNCS_ST): Define.
2947 * config/rl78/trampoline.S: Use function start and end macros.
2948 * config/rl78/vregs.h (START_FUNC): New macro.
2949 (START_ANOTHER_FUNC): New macro.
2950 (END_FUNC): New macro.
2951 (END_ANOTHER_FUNC): New macro.
2952 * config/rl78/bit-count.S: New file. Contains assembler
2953 implementations of the bit counting functions: ___clzhi2,
2954 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
2955 __paritysi2, __popcounthi2 and __popcountsi2.
2956 * config/rl78/fpbit-sf.S: New file. Contains assembler
2957 implementationas of the math functions: __negsf2, __cmpsf2,
2958 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
2959 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
2960 * config/rl78/fpmath-sf.S: New file. Contains assembler
2961 implementations of the math functions: __subsf3, __addsf3,
2962 __mulsf3 and __divsf3
2963
2964 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2965
2966 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2967 Add i386/elf-lib.h to tm_file.
2968 * config/i386/elf-lib.h: Fix comment.
2969 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2970 && __sun__ && __svr4__]: Remove workaround.
2971
2972 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
2973
2974 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2975 FEATURE_BMI2.
2976 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2977
2978 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
2979
2980 * config/i386/cpuinfo.c (processor_subtypes): Add
2981 INTEL_COREI7_BROADWELL.
2982 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2983 model numbers.
2984
2985 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
2986
2987 * config/i386/elf-lib.h: New file.
2988 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2989 Wrap definition in #ifdef __i386__.
2990 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2991 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2992 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2993 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2994 to tm_file.
2995
2996 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
2997
2998 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2999 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3000
3001 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3002
3003 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3004 Update rt_sigframe format and address for current Nios II
3005 Linux conventions.
3006
3007 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3008
3009 * config.host (arm*-*-freebsd*): Add new configuration for
3010 arm*-*-freebsd*.
3011 * config/arm/freebsd-atomic.c: New file.
3012 * config/arm/t-freebsd: Likewise.
3013 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3014 'PC-relative indirect' OS's.
3015
3016 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3017
3018 * config.host: Add Visium support.
3019 * config/visium: New directory.
3020
3021 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3022
3023 Update copyright years.
3024
3025 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3026
3027 * config.host: Support mipsisa32r6 and mipsisa64r6.
3028 * config/mips/mips16.S: Do not build for R6.
3029
3030 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3031
3032 * config/sh/crt.h: New.
3033 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3034 symbols.
3035 * config/sh/crt1.S: Likewise.
3036
3037 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
3038
3039 PR libgcc/63832
3040 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3041 func_ptr *dtor_list temporary variable to avoid "array subscript
3042 is above array bounds" warnings.
3043
3044 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
3045
3046 * Makefile.in (with_aix_soname): Define.
3047 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3048 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3049 * configure: Recreate.
3050
3051 2014-12-05 Olivier Hainque <hainque@adacore.com>
3052
3053 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3054 now provided by defaults.h.
3055
3056 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3057
3058 PR target/55351
3059 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3060 whether it's defined.
3061
3062 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3063
3064 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3065 * config/i386/cpuinfo.c (get_available_features): Detect it.
3066
3067 2014-11-27 Tony Wang <tony.wang@arm.com>
3068
3069 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3070 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3071 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3072
3073 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3074
3075 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3076
3077 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
3078
3079 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3080 instead.
3081
3082 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3083 John David Anglin <danglin@gcc.gnu.org>
3084
3085 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3086 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3087 (OP_AND_FETCH_2): Likewise.
3088 (COMPARE_AND_SWAP_2): Likewise.
3089 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3090 (SYNC_LOCK_RELEASE_2): Likewise.
3091 (SUBWORD_SYNC_OP): Remove.
3092 (SUBWORD_VAL_CAS): Likewise.
3093 (SUBWORD_BOOL_CAS): Likewise.
3094 (FETCH_AND_OP_WORD): Update.
3095 Consistently use signed types.
3096
3097 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3098 Thomas Schwinge <thomas@codesourcery.com>
3099 Ilya Verbin <ilya.verbin@intel.com>
3100 Andrey Turetskiy <andrey.turetskiy@intel.com>
3101
3102 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3103 (crtoffloadend$(objext)): Likewise.
3104 * configure: Regenerate.
3105 * configure.ac (accel_dir_suffix): Compute new variable.
3106 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3107 if enable_offload_targets is not empty.
3108 * offloadstuff.c: New file.
3109
3110 2014-11-13 Nick Clifton <nickc@redhat.com>
3111
3112 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3113 Use START_FUNC and END_FUNC macros to enable linker garbage
3114 collection.
3115 * config/rl78/divmodqi.S: Likewise.
3116 * config/rl78/divmodsi.S: Likewise.
3117 * config/rl78/mulsi3.S: Likewise.
3118 * config/rl78/lib2div.c: Remove G10 functions.
3119 * config/rl78/lib2muls.c: Likewise.
3120 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3121 * config/rl78/vregs.h (START_FUNC): New macro.
3122 (END_FUNC): New macro.
3123
3124 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3125
3126 * config/mips/mips16.S: Set .module when supported. Update O32
3127 FP64 calling convention and use for FPXX when possible. Add FPXX
3128 calling convention fallback case.
3129
3130 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3131
3132 * config.host: Handle nvptx-*-*.
3133 * shared-object.mk (as-flags-$o): Define.
3134 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3135 -xassembler-with-cpp.
3136 * static-object.mk: Identical changes.
3137 * config/nvptx/t-nvptx: New file.
3138 * config/nvptx/crt0.s: New file.
3139 * config/nvptx/free.asm: New file.
3140 * config/nvptx/malloc.asm: New file.
3141 * config/nvptx/realloc.c: New file.
3142
3143 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3144
3145 * Makefile.in (libgcc.map.in): New target.
3146 (libgcc.map): Use libgcc.map.in.
3147 * config/t-softfp (softfp_compat): New variable to be set by
3148 users.
3149 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3150 variables.
3151 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3152 directory.
3153 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3154 that use compat symbols and disable all code unless [SHARED].
3155 * config/t-softfp-compat: New file.
3156 * find-symver.awk: New file.
3157 * configure.ac (--with-glibc-version): New configure option.
3158 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3159 * configure: Regenerate.
3160 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3161 soft-float and e500.
3162
3163 2014-10-29 Joseph Myers <joseph@codesourcery.com>
3164
3165 * config/t-hardfp (hardfp_exclusions): Document new variable for
3166 user to define.
3167 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3168 * config/t-softfp (softfp_extras): Document new variable for user
3169 to define.
3170 (softfp_func_list): Add functions from $(softfp_extras).
3171 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3172 * config.host (powerpc*-*-linux*): For e500v1, use
3173 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3174 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3175 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3176
3177 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
3178
3179 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3180 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3181 memory read accesses are ok.
3182
3183 2014-10-25 Joseph Myers <joseph@codesourcery.com>
3184
3185 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3186 * configure: Regenerate.
3187 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3188 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3189 of soft-fp for 32-bit classic hard float. Do not use
3190 t-softfp-excl for soft float.
3191
3192 2014-10-22 Joseph Myers <joseph@codesourcery.com>
3193
3194 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3195 configurations.
3196 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3197 Remove variables.
3198
3199 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
3200
3201 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3202 introduced with 2014-10-21 trunk r216525.
3203
3204 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
3205 Vidya Praveen <vidya.praveen@atmel.com>
3206 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3207 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3208 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
3209
3210 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3211 order.
3212
3213 Updated library functions for AVRTINY arch.
3214 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3215 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3216 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3217 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3218 wsubi/wadi macors.
3219 (__mulsi3_helper): Update stack, preserve callee saved regs and
3220 argument from stack. Restore callee save registers.
3221 (__mulpsi3): Likewise.
3222 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3223 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
3224 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
3225 AVRTINY.
3226 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3227 (__do_copy_data): Added new definition for AVRTINY.
3228 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3229 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3230 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3231 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3232 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3233 macors.
3234 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
3235 AVRTINY.
3236
3237 Fix broken long multiplication on tiny arch.
3238
3239 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3240
3241 * soft-fp/double.h: Update from glibc.
3242 * soft-fp/eqdf2.c: Likewise.
3243 * soft-fp/eqsf2.c: Likewise.
3244 * soft-fp/eqtf2.c: Likewise.
3245 * soft-fp/extenddftf2.c: Likewise.
3246 * soft-fp/extended.h: Likewise.
3247 * soft-fp/extendsfdf2.c: Likewise.
3248 * soft-fp/extendsftf2.c: Likewise.
3249 * soft-fp/extendxftf2.c: Likewise.
3250 * soft-fp/gedf2.c: Likewise.
3251 * soft-fp/gesf2.c: Likewise.
3252 * soft-fp/getf2.c: Likewise.
3253 * soft-fp/ledf2.c: Likewise.
3254 * soft-fp/lesf2.c: Likewise.
3255 * soft-fp/letf2.c: Likewise.
3256 * soft-fp/op-1.h: Likewise.
3257 * soft-fp/op-2.h: Likewise.
3258 * soft-fp/op-4.h: Likewise.
3259 * soft-fp/op-8.h: Likewise.
3260 * soft-fp/op-common.h: Likewise.
3261 * soft-fp/quad.h: Likewise.
3262 * soft-fp/single.h: Likewise.
3263 * soft-fp/soft-fp.h: Likewise.
3264 * soft-fp/unorddf2.c: Likewise.
3265 * soft-fp/unordsf2.c: Likewise.
3266 * soft-fp/unordtf2.c: Likewise.
3267 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3268 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3269 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3270 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3271 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3272 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3273 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3274 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3275 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3276 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3277
3278 2014-10-08 Rong Xu <xur@google.com>
3279
3280 * libgcov-util.c (read_gcda_file): Fix format.
3281 (find_match_gcov_info): Ditto.
3282 (calculate_2_entries): New.
3283 (compute_one_gcov): Ditto.
3284 (gcov_info_count_all_cold): Ditto.
3285 (gcov_info_count_all_zero): Ditto.
3286 (extract_file_basename): Ditto.
3287 (get_file_basename): Ditto.
3288 (set_flag): Ditto.
3289 (matched_gcov_info): Ditto.
3290 (calculate_overlap): Ditto.
3291 (gcov_profile_overlap): Ditto.
3292 * libgcov-driver.c (compute_summary): Make
3293 it avavilable for external calls.
3294
3295 2014-10-06 Rong Xu <xur@google.com>
3296
3297 * Makefile.in: Ditto.
3298 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3299 (gcov_sort_icall_topn_counter): Ditto.
3300 (gcov_sort_topn_counter_arrays): Ditto.
3301 (dump_one_gcov): Sort indirect_call topn counters.
3302 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3303 function.
3304 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3305 utility function.
3306 (__gcov_indirect_call_topn_profiler): New profiler function.
3307 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3308 * libgcov.h: New decls.
3309
3310 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3311
3312 * config.host: Remove support for score-*.
3313
3314 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3315
3316 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3317 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3318 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3319 __LIBGCC_XF_MANT_DIG__.
3320 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3321 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3322 __LIBGCC_TF_MANT_DIG__.
3323 * libgcc2.c (NOTRUNC): Define in terms of
3324 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3325 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3326
3327 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3328
3329 PR target/63312
3330 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3331 New macros.
3332
3333 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
3334
3335 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3336 override USE_PT_GNU_EH_FRAME.
3337 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3338 check USE_EH_FRAME_REGISTRY_ALWAYS against
3339 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3340 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3341 variable for substituted force_explicit_eh_registry.
3342 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3343 * configure.ac (explicit-exception-frame-registration):
3344 New AC_ARG_ENABLE.
3345 * configure: Regenerate.
3346
3347 2014-09-19 Olivier Hainque <hainque@adacore.com>
3348
3349 * config.host (powerpc-wrs-vxworksmils): New configuration,
3350 same as vxworksae.
3351
3352 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3353
3354 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3355
3356 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3357
3358 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3359 bits not set bits as indicating trapping exceptions.
3360
3361 2014-09-17 Nathan sidwell <nathan@acm.org>
3362
3363 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3364 (LIBGCOV_DRIVER): ... here.
3365 * libgcov-driver.c (gcov_master): New.
3366 (gcov_exit): Remove from master chain.
3367 (__gcov_init): Add to master chain if version compatible. Don't
3368 clear the version.
3369 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3370 (gcov_reset_int): Clear master chain, if compatible.
3371 (gcov_dump_int): New internal interface. Dump master chain, if
3372 compatible.
3373 (gcov_dump): Alias for gcov_dump_int.
3374 * libgcov.h (struct gcov_root): Add next and prev fields.
3375 (struct gcov_master): New struct.
3376 (__gcov_master): New.
3377 (gcov_dump_int): Declare.
3378
3379 2014-09-17 Olivier Hainque <hainque@adacore.com>
3380
3381 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3382 and crtbegin.o + crtend.o to extra_parts.
3383
3384 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3385
3386 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3387 __LIBGCC_HAS_SF_MODE__.
3388 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3389 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3390 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3391 * config/libbid/bid_gcc_intrinsics.h
3392 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3393 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3394 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3395 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3396 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3397 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3398
3399 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
3400
3401 PR target/63223
3402 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3403 and R24 as needed. Make work for all devices and .text locations.
3404 (__do_global_ctors, __do_global_dtors): Use word addresses.
3405 (__tablejump__, __tablejump_elpm__): Remove functions.
3406 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3407 Add _tablejump2.
3408 (XICALL, XIJMP): New macros.
3409
3410 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3411 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3412
3413 * config.host (aarch64*): Include crtfastmath.o and
3414 t-crtfm.
3415 * config/aarch64/crtfastmath.c: New file.
3416
3417 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3418
3419 * config.host: Remove picochip support.
3420 * config/picochip/adddi3.S: Remove.
3421 * config/picochip/ashlsi3.S: Remove.
3422 * config/picochip/ashlsi3.c: Remove.
3423 * config/picochip/ashrsi3.S: Remove.
3424 * config/picochip/ashrsi3.c: Remove.
3425 * config/picochip/clzsi2.S: Remove.
3426 * config/picochip/cmpsi2.S: Remove.
3427 * config/picochip/divmod15.S: Remove.
3428 * config/picochip/divmodhi4.S: Remove.
3429 * config/picochip/divmodsi4.S: Remove.
3430 * config/picochip/lib1funcs.S: Remove.
3431 * config/picochip/longjmp.S: Remove.
3432 * config/picochip/lshrsi3.S: Remove.
3433 * config/picochip/lshrsi3.c: Remove.
3434 * config/picochip/parityhi2.S: Remove.
3435 * config/picochip/popcounthi2.S: Remove.
3436 * config/picochip/setjmp.S: Remove.
3437 * config/picochip/subdi3.S: Remove.
3438 * config/picochip/t-picochip: Remove.
3439 * config/picochip/ucmpsi2.S: Remove.
3440 * config/picochip/udivmodhi4.S: Remove.
3441 * config/picochip/udivmodsi4.S: Remove.
3442
3443 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3444
3445 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3446 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3447 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3448 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3449 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3450 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3451 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3452 defined and LIBGCC2_HAS_DF_MODE is defined.
3453 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3454 defined and LIBGCC2_HAS_XF_MODE is defined.
3455 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3456 defined and LIBGCC2_HAS_TF_MODE is defined.
3457
3458 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3459
3460 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3461 and ROUND_TOWARDS_ZERO conditionals.
3462
3463 2014-09-07 Nathan sidwell <nathan@acm.org>
3464
3465 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3466 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3467
3468 2014-09-05 Joseph Myers <joseph@codesourcery.com>
3469
3470 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3471 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3472 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3473 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3474 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3475 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3476 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3477 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3478 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3479 (DWARF_FRAME_REGISTERS): Change all uses to
3480 __LIBGCC_DWARF_FRAME_REGISTERS__.
3481 (EH_RETURN_STACKADJ_RTX): Change all uses to
3482 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3483 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3484 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3485 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3486 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3487 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3488 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3489 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3490 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3491 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3492 __LIBGCC_STACK_POINTER_REGNUM__.
3493 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3494 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3495 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3496 to __LIBGCC_STACK_POINTER_REGNUM__.
3497 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3498 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3499 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3500 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3501 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3502 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3503 (STACK_POINTER_REGNUM): Change all uses to
3504 __LIBGCC_STACK_POINTER_REGNUM__.
3505 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3506 use to __LIBGCC_STACK_POINTER_REGNUM__.
3507 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3508 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3509 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3510 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3511 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3512 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3513 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3514 to __LIBGCC_STACK_POINTER_REGNUM__.
3515 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3516 Remove conditional definition.
3517 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3518 __LIBGCC_TEXT_SECTION_ASM_OP__.
3519 (EH_FRAME_SECTION_NAME): Change all uses to
3520 __LIBGCC_EH_FRAME_SECTION_NAME__.
3521 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3522 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3523 (CTORS_SECTION_ASM_OP): Change all uses to
3524 __LIBGCC_CTORS_SECTION_ASM_OP__.
3525 (DTORS_SECTION_ASM_OP): Change all uses to
3526 __LIBGCC_DTORS_SECTION_ASM_OP__.
3527 (JCR_SECTION_NAME): Change all uses to
3528 __LIBGCC_JCR_SECTION_NAME__.
3529 (INIT_SECTION_ASM_OP): Change all uses to
3530 __LIBGCC_INIT_SECTION_ASM_OP__.
3531 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3532 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3533 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3534 __LIBGCC_STACK_GROWS_DOWNWARD__.
3535 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3536 __LIBGCC_INIT_SECTION_ASM_OP__.
3537 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3538 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3539 (EH_FRAME_SECTION_NAME): Change all uses to
3540 __LIBGCC_EH_FRAME_SECTION_NAME__.
3541 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3542 definitions. Change all uses to
3543 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3544 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3545 __LIBGCC_STACK_GROWS_DOWNWARD__.
3546 (DWARF_FRAME_REGISTERS): Change all uses to
3547 __LIBGCC_DWARF_FRAME_REGISTERS__.
3548 (EH_RETURN_STACKADJ_RTX): Change all uses to
3549 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3550 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3551 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3552 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3553 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3554 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3555
3556 2014-09-02 Nathan sidwell <nathan@acm.org>
3557
3558 * libgcov-interface.c (STRONG_ALIAS): New.
3559 (__gcov_flush): Call __gcov_reset_int.
3560 (__gcov_reset): Strong alias for ...
3561 (__gcov_reset_ing): ... this renamed hidden version.
3562 * libgcov.h (__gcov_reset_int): New declaration.
3563
3564 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3565
3566 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3567 call from here...
3568 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3569 (__dso_handle): Define on Cygwin.
3570 * config/i386/t-cygming (crtbeginS.o): New rule.
3571 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3572
3573 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3574 declaration syntax.
3575
3576 2014-08-13 Steve Ellcey <sellcey@mips.com>
3577
3578 * crtstuff.c: Undef caddr_t.
3579
3580 2014-08-12 Steve Ellcey <sellcey@mips.com>
3581
3582 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3583
3584 2014-08-07 Nathan Sidwell <nathan@acm.org>
3585
3586 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3587 (LIBGCOV_DRIVER): ... to here.
3588 * libgcov.h (gcov_do_dump): New #define.
3589 (struct gcov_root): New.
3590 (__gcov_root): New declaration.
3591 (__gcov_dump_one): Declare.
3592 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3593 run_accounted): Delete.
3594 (gcov_compute_histogram): Add LIST argument, adjust.
3595 (compute_summary): Adjust gcov_compute_histogram call.
3596 (gcov_do_dump): Not hidden, static in libgcov.
3597 (gcov_clear): Move to interface.c.
3598 (__gcov_dump_one): New, broken out of ...
3599 (gcov_exit): ... here. Make static.
3600 (__gcov_root): New.
3601 (__gcov_init): Adjust.
3602 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3603 declarations.
3604 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3605 (gcov_clear): Moved from driver.c. Add LIST argument.
3606 (__gcov_reset): Adjust for changed interfaces.
3607 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3608
3609 2014-08-04 Rohit <rohitarulraj@freescale.com>
3610
3611 PR target/60102
3612 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
3613 based on change in SPE high register numbers and 3 HTM registers.
3614
3615 2014-08-01 Nathan Sidwell <nathan@acm.org>
3616
3617 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3618 LIBGCOV_INTERFACE): Reformat.
3619 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3620 IN_GCOV_TOOL.
3621 * libgcov-interface.c: Reformat some comments.
3622 (__gcov_flush_mx): Add declaration. Tidy up definition.
3623
3624 2014-07-31 Alan Modra <amodra@gmail.com>
3625 Peter Bergner <bergner@vnet.ibm.com>
3626
3627 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3628 (pack_ldouble): New function.
3629 (__gcc_qadd): Use it.
3630 (__gcc_qmul): Likewise.
3631 (__gcc_qdiv): Likewise.
3632 (__gcc_qneg): Likewise.
3633 (__gcc_stoq): Likewise.
3634 (__gcc_dtoq): Likewise.
3635
3636 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3637
3638 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3639 (__tpf_eh_return): Add original return address as second parameter.
3640 Handle cases where unwinder routines were called directly, instead
3641 of from within the C++ library.
3642
3643 2014-07-29 Nathan Sidwell <nathan@acm.org>
3644
3645 * libgcov.h: Move renaming of entry points to lib gcov specific
3646 portion.
3647 (gcov_do_dump): New rename.
3648 (gcov_rewrite): Remove inline, make HIDDEN.
3649 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3650 (gcov_exit_compute_summary): Rename to ...
3651 (compute_summary): ... here. Add LIST argument.
3652 (gcov_exit_merge_gcda): Rename to ...
3653 (merge_one_data): ... here.
3654 (gcov_exit_write_gcda): Rename to ...
3655 (write_one_data): ... here.
3656 (gcov_exit_merge_summary): Rename to ...
3657 (merge_summary): Add RUN_COUNTED argument.
3658 (gcov_exit_dump_gcov): Rename to ...
3659 (dump_one_gcov): Add RUN_COUNTED argument.
3660 (gcov_do_dump): New function, broken out of ...
3661 (gcov_exit): ... here. Call it.
3662
3663 2014-07-27 Anthony Green <green@moxielogic.com>
3664
3665 * config.host: Add moxiebox configuration suppport.
3666
3667 2014-07-27 Nathan Sidwell <nathan@acm.org>
3668
3669 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3670 (struct gcov_filename): ... here. Include buffer and max length
3671 fields.
3672 (gcov_max_filename): Remove.
3673 (gi_filename): Remove.
3674 (gcov_exit_compute_summary): Compute max filename here.
3675 (gcov_exit_merge_gcda): Add filename parm, adjust.
3676 (gcov_exit_merge_summary): Likewise.
3677 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3678 (gcov_exit): Likewise.
3679 (__gcov_init): Don't calculate max length here.
3680 * libgcov_util.c (max_filename_len): Remove.
3681 (read_gcda_file): Don't calculate max length here.
3682 (gcov_read_profile_dir): Don't propagate here.
3683 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3684 struct gcov_filename changes.
3685 (gcov_exit_open_gcda_file): Likewise.
3686
3687 2014-07-25 Nathan Sidwell <nathan@acm.org>
3688
3689 * libgcov-driver.c (set_gcov_dump_complete,
3690 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3691 functions polluting user's namespace.
3692 (gcov_exit): Set variable directly.
3693 (gcov_clear): Reset variable directly.
3694 * libgcov-interface.c (get_gcov_dymp_complete,
3695 reset_gov_dump_complete): Remove declarations.
3696 (__gcov_reset, __gcov_dump): Don't call them.
3697
3698 2014-07-24 DJ Delorie <dj@redhat.com>
3699
3700 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
3701 (__gcc_deregister_frame): Move logic to detect deregister function
3702 to ...
3703 (__gcc_register_frame): here, so it's consistent with the register
3704 logic.
3705
3706 2014-07-23 Nathan Sidwell <nathan@acm.org>
3707
3708 * libgcov-driver.c (set_gcov_list): Remove.
3709 (gcov_list): Make non-static in GCOV_TOOL.
3710 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3711
3712 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
3713
3714 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3715 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3716 Don't use SYNC_LOCK_RELEASE for int type.
3717
3718 2014-07-14 Richard Biener <rguenther@suse.de>
3719
3720 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3721
3722 2014-07-11 Rong Xu <xur@google.com>
3723
3724 * libgcov-util.c (gcov_max_filename): Fix declartion.
3725
3726 2014-07-10 Rong Xu <xur@google.com>
3727
3728 Add gcov-tool: an offline gcda profile processing tool
3729 Support.
3730 * libgcov-driver.c (gcov_max_filename): Make available
3731 to gcov-tool.
3732 * libgcov-merge.c (__gcov_merge_add): Replace
3733 gcov_read_counter() with a Macro.
3734 (__gcov_merge_ior): Ditto.
3735 (__gcov_merge_time_profile): Ditto.
3736 (__gcov_merge_single): Ditto.
3737 (__gcov_merge_delta): Ditto.
3738 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3739 in the utility functions.
3740 (set_fn_ctrs): Utility function for reading gcda files to in-memory
3741 gcov_list object link lists.
3742 (tag_function): Ditto.
3743 (tag_blocks): Ditto.
3744 (tag_arcs): Ditto.
3745 (tag_lines): Ditto.
3746 (tag_counters): Ditto.
3747 (tag_summary): Ditto.
3748 (read_gcda_finalize): Ditto.
3749 (read_gcda_file): Ditto.
3750 (ftw_read_file): Ditto.
3751 (read_profile_dir_init): Ditto.
3752 (gcov_read_profile_dir): Ditto.
3753 (gcov_read_counter_mem): Ditto.
3754 (gcov_get_merge_weight): Ditto.
3755 (merge_wrapper): A wrapper function that calls merging handler.
3756 (gcov_merge): Merge two gcov_info objects with weights.
3757 (find_match_gcov_info): Find the matched gcov_info in the list.
3758 (gcov_profile_merge): Merge two gcov_info object lists.
3759 (__gcov_add_counter_op): Process edge profile counter values.
3760 (__gcov_ior_counter_op): Process IOR profile counter values.
3761 (__gcov_delta_counter_op): Process delta profile counter values.
3762 (__gcov_single_counter_op): Process single profile counter values.
3763 (fp_scale): Callback function for float-point scaling.
3764 (int_scale): Callback function for integer fraction scaling.
3765 (gcov_profile_scale): Scaling profile counters.
3766 (gcov_profile_normalize): Normalize profile counters.
3767 * libgcov.h: Add headers and functions for gcov-tool use.
3768 (gcov_get_counter): New.
3769 (gcov_get_counter_target): Ditto.
3770 (struct gcov_info): Make the functions field mutable in gcov-tool
3771 compilation.
3772
3773 2014-06-23 Kai Tietz <ktietz@redhat.com>
3774
3775 PR libgcc/61585
3776 * unwind-seh.c (_Unwind_GetGR): Check for proper
3777 index range.
3778 (_Unwind_SetGR): Likewise.
3779
3780 2014-05-22 Nick Clifton <nickc@redhat.com>
3781
3782 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3783 -mhwmult=none.
3784
3785 2014-05-22 Teresa Johnson <tejohnson@google.com>
3786
3787 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3788 include.
3789
3790 2014-05-20 John Marino <gnugcc@marino.st>
3791
3792 * config.host (*-*-dragonfly*): New target.
3793 * crtstuff.c: Make dl_iterate_support generic on *bsd.
3794 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3795 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3796 * config/i386/dragonfly-unwind.h: New.
3797
3798 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3799
3800 PR libgcc/60166
3801 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3802 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3803
3804 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
3805
3806 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3807 implementation.
3808
3809 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
3810
3811 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3812
3813 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3814
3815 PR libgcc/61097
3816 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3817 if --enable-shared.
3818
3819 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
3820
3821 Work around for current cygwin32 build problems.
3822 * config/i386/cygming-crtbegin.c (__register_frame_info,
3823 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3824 functions only for 64-bit systems.
3825
3826 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3827
3828 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3829 (sigill_caught, sigill_hdlr): Remove.
3830
3831 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3832
3833 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3834 check.
3835 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3836 Solaris 9 single-threaded support.
3837 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3838 Solaris 9 single-threaded support. Add call_user_handler code
3839 sequences.
3840 (sparc_is_sighandler): Likewise.
3841
3842 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3843
3844 * config.host: Append t-floattodi to tmake_file depending on
3845 host_address.
3846
3847 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
3848
3849 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
3850
3851 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
3852
3853 PR libgcc/60472
3854 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
3855 variable to avoid "array subscript is above array bounds" warnings.
3856 Use __builtin_expect when checking *jcr_list for NULL.
3857
3858 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3859
3860 PR libgcc/59339
3861 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3862 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3863 vtv_*.o to extra_parts if enable_vtable_verify.
3864
3865 2014-03-06 Nick Clifton <nickc@redhat.com>
3866
3867 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3868 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3869
3870 2014-02-28 Joey Ye <joey.ye@arm.com>
3871
3872 PR libgcc/60166
3873 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3874 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3875 Set to zero.
3876
3877 2014-02-24 Walter Lee <walt@tilera.com>
3878
3879 * config.host: Support "tilegx*" and "tilepro*" triplets.
3880 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3881 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3882
3883 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
3884 Chung-Lin Tang <cltang@codesourcery.com>
3885
3886 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3887 * config/nios2/crti.S: Remove .file directive.
3888 * config/nios2/crtn.S: Likewise.
3889
3890 2014-02-18 Kai Tietz <ktietz@redhat.com>
3891 Jonathan Schleifer <js@webkeks.org>
3892
3893 PR objc/56870
3894 * unwind-seh.c (_GCC_specific_handler): Pass proper
3895 value to unwind-handler.
3896
3897 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3898
3899 * soft-fp/adddf3.c: Update from glibc.
3900 * soft-fp/addsf3.c: Likewise.
3901 * soft-fp/addtf3.c: Likewise.
3902 * soft-fp/divdf3.c: Likewise.
3903 * soft-fp/divsf3.c: Likewise.
3904 * soft-fp/divtf3.c: Likewise.
3905 * soft-fp/double.h: Likewise.
3906 * soft-fp/eqdf2.c: Likewise.
3907 * soft-fp/eqsf2.c: Likewise.
3908 * soft-fp/eqtf2.c: Likewise.
3909 * soft-fp/extenddftf2.c: Likewise.
3910 * soft-fp/extended.h: Likewise.
3911 * soft-fp/extendsfdf2.c: Likewise.
3912 * soft-fp/extendsftf2.c: Likewise.
3913 * soft-fp/extendxftf2.c: Likewise.
3914 * soft-fp/fixdfdi.c: Likewise.
3915 * soft-fp/fixdfsi.c: Likewise.
3916 * soft-fp/fixdfti.c: Likewise.
3917 * soft-fp/fixsfdi.c: Likewise.
3918 * soft-fp/fixsfsi.c: Likewise.
3919 * soft-fp/fixsfti.c: Likewise.
3920 * soft-fp/fixtfdi.c: Likewise.
3921 * soft-fp/fixtfsi.c: Likewise.
3922 * soft-fp/fixtfti.c: Likewise.
3923 * soft-fp/fixunsdfdi.c: Likewise.
3924 * soft-fp/fixunsdfsi.c: Likewise.
3925 * soft-fp/fixunsdfti.c: Likewise.
3926 * soft-fp/fixunssfdi.c: Likewise.
3927 * soft-fp/fixunssfsi.c: Likewise.
3928 * soft-fp/fixunssfti.c: Likewise.
3929 * soft-fp/fixunstfdi.c: Likewise.
3930 * soft-fp/fixunstfsi.c: Likewise.
3931 * soft-fp/fixunstfti.c: Likewise.
3932 * soft-fp/floatdidf.c: Likewise.
3933 * soft-fp/floatdisf.c: Likewise.
3934 * soft-fp/floatditf.c: Likewise.
3935 * soft-fp/floatsidf.c: Likewise.
3936 * soft-fp/floatsisf.c: Likewise.
3937 * soft-fp/floatsitf.c: Likewise.
3938 * soft-fp/floattidf.c: Likewise.
3939 * soft-fp/floattisf.c: Likewise.
3940 * soft-fp/floattitf.c: Likewise.
3941 * soft-fp/floatundidf.c: Likewise.
3942 * soft-fp/floatundisf.c: Likewise.
3943 * soft-fp/floatunditf.c: Likewise.
3944 * soft-fp/floatunsidf.c: Likewise.
3945 * soft-fp/floatunsisf.c: Likewise.
3946 * soft-fp/floatunsitf.c: Likewise.
3947 * soft-fp/floatuntidf.c: Likewise.
3948 * soft-fp/floatuntisf.c: Likewise.
3949 * soft-fp/floatuntitf.c: Likewise.
3950 * soft-fp/gedf2.c: Likewise.
3951 * soft-fp/gesf2.c: Likewise.
3952 * soft-fp/getf2.c: Likewise.
3953 * soft-fp/ledf2.c: Likewise.
3954 * soft-fp/lesf2.c: Likewise.
3955 * soft-fp/letf2.c: Likewise.
3956 * soft-fp/muldf3.c: Likewise.
3957 * soft-fp/mulsf3.c: Likewise.
3958 * soft-fp/multf3.c: Likewise.
3959 * soft-fp/negdf2.c: Likewise.
3960 * soft-fp/negsf2.c: Likewise.
3961 * soft-fp/negtf2.c: Likewise.
3962 * soft-fp/op-1.h: Likewise.
3963 * soft-fp/op-2.h: Likewise.
3964 * soft-fp/op-4.h: Likewise.
3965 * soft-fp/op-8.h: Likewise.
3966 * soft-fp/op-common.h: Likewise.
3967 * soft-fp/quad.h: Likewise.
3968 * soft-fp/single.h: Likewise.
3969 * soft-fp/soft-fp.h: Likewise.
3970 * soft-fp/subdf3.c: Likewise.
3971 * soft-fp/subsf3.c: Likewise.
3972 * soft-fp/subtf3.c: Likewise.
3973 * soft-fp/truncdfsf2.c: Likewise.
3974 * soft-fp/trunctfdf2.c: Likewise.
3975 * soft-fp/trunctfsf2.c: Likewise.
3976 * soft-fp/trunctfxf2.c: Likewise.
3977 * soft-fp/unorddf2.c: Likewise.
3978 * soft-fp/unordsf2.c: Likewise.
3979 * soft-fp/unordtf2.c: Likewise.
3980 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3981 macro.
3982 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3983 Likewise.
3984 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3985 Likewise.
3986 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3987 Likewise.
3988 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3989 Likewise.
3990 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3991 Likewise.
3992 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3993 Likewise.
3994 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3995 Likewise.
3996 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3997 Likewise.
3998 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3999 Likewise.
4000 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4001 Likewise.
4002 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4003 Likewise.
4004 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4005 Likewise.
4006 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4007 Likewise.
4008 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4009 Likewise.
4010 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4011 Likewise.
4012
4013 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4014
4015 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4016 cannot be represented.
4017 * config/s390/32/_fixsfdi.c: Likewise.
4018 * config/s390/32/_fixtfdi.c: Likewise.
4019 * config/s390/32/_fixunsdfdi.c: Likewise.
4020 * config/s390/32/_fixunssfdi.c: Likewise.
4021 * config/s390/32/_fixunstfdi.c: Likewise.
4022
4023 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4024
4025 * configure.ac (libgcc_cv_mips_hard_float): New.
4026 * configure: Regenerate.
4027 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4028 t-softfp-sfdf for hard-float targets.
4029 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4030 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4031 (softfp_truncations, softfp_exclude_libgcc2): New.
4032 * config/t-hardfp: New file.
4033 * config/t-hardfp-sfdf: Likewise.
4034 * config/hardfp.c: Likewise.
4035
4036 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4037
4038 * config.host: Include t-floattodi also for s390x.
4039 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4040 * config/s390/32/_fixsfdi.c: Likewise.
4041 * config/s390/32/_fixtfdi.c: Likewise.
4042 * config/s390/32/_fixunsdfdi.c: Likewise.
4043 * config/s390/32/_fixunssfdi.c: Likewise.
4044 * config/s390/32/_fixunstfdi.c: Likewise.
4045
4046 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4047
4048 PR target/59788
4049 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4050 (install-libgcc-unwind-map-forbuild): New target.
4051 (all): Depend on install-libgcc-unwind-map-forbuild.
4052 (install-libgcc-unwind-map): New target.
4053 (install): Depend on install-libgcc-unwind-map.
4054
4055 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4056
4057 * config/nios2/crti.S (_init): Initialize GOT pointer from
4058 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4059
4060 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4061
4062 * configure.ac: Check __mips64 when setting host_address.
4063 * configure: Regenerate.
4064 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4065 mips/t-mips64 and t-softfp.
4066 (mips*-*-linux*): Don't add mips/t-tpbit.
4067 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4068 (DPBIT, DPBIT_CFLAGS): Delete.
4069 * config/mips/sfp-machine.h: New file.
4070 * config/mips/t-mips64: Likewise.
4071 * config/mips/t-softfp-tf: Likewise.
4072 * config/mips/t-tpbit: Delete.
4073
4074 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4075
4076 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4077 as long long.
4078
4079 2014-01-25 Walter Lee <walt@tilera.com>
4080
4081 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4082 config.h or system.h.
4083 (bool) Define.
4084
4085 2014-01-25 Walter Lee <walt@tilera.com>
4086
4087 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4088 (post_atomic_barrier): Ditto.
4089 (__fetch_and_do): New macro.
4090 (__atomic_fetch_and_do): Use __fetch_and_do.
4091 (__sync_fetch_and_do): New macro.
4092 (__sync_fetch_and_add_4): New function.
4093 (__sync_fetch_and_sub_4): New function.
4094 (__sync_fetch_and_or_4): New function.
4095 (__sync_fetch_and_and_4): New function.
4096 (__sync_fetch_and_xor_4): New function.
4097 (__sync_fetch_and_nand_4): New function.
4098 (__sync_fetch_and_add_8): New function.
4099 (__sync_fetch_and_sub_8): New function.
4100 (__sync_fetch_and_or_8): New function.
4101 (__sync_fetch_and_and_8): New function.
4102 (__sync_fetch_and_xor_8): New function.
4103 (__sync_fetch_and_nand_8): New function.
4104 (__do_and_fetch): New macro.
4105 (__atomic_do_and_fetch): Use __do_and_fetch.
4106 (__sync_do_and_fetch): New macro.
4107 (__sync_add_and_fetch_4): New function.
4108 (__sync_sub_and_fetch_4): New function.
4109 (__sync_or_and_fetch_4): New function.
4110 (__sync_and_and_fetch_4): New function.
4111 (__sync_xor_and_fetch_4): New function.
4112 (__sync_nand_and_fetch_4): New function.
4113 (__sync_add_and_fetch_8): New function.
4114 (__sync_sub_and_fetch_8): New function.
4115 (__sync_or_and_fetch_8): New function.
4116 (__sync_and_and_fetch_8): New function.
4117 (__sync_xor_and_fetch_8): New function.
4118 (__sync_nand_and_fetch_8): New function.
4119 (__sync_exchange_methods): New macro.
4120 (__sync_val_compare_and_swap_4): New function.
4121 (__sync_bool_compare_and_swap_4): New function.
4122 (__sync_lock_test_and_test_4): New function.
4123 (__sync_val_compare_and_swap_8): New function.
4124 (__sync_bool_compare_and_swap_8): New function.
4125 (__sync_lock_test_and_test_8): New function.
4126 (__subword_cmpxchg_body): New macro.
4127 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4128 (__atomic_compare_exchange_2): Ditto.
4129 (__sync_subword_cmpxchg): New macro.
4130 (__sync_val_compare_and_swap_1): New function.
4131 (__sync_bool_compare_and_swap_1): New function.
4132 (__sync_val_compare_and_swap_2): New function.
4133 (__sync_bool_compare_and_swap_2): New function.
4134 (__atomic_subword): Rename to ...
4135 (__subword): ... New name.
4136 (__atomic_subword_fetch): Use __subword.
4137 (__sync_subword_fetch): New macro.
4138 (__sync_fetch_and_add_1): New function.
4139 (__sync_fetch_and_sub_1): New function.
4140 (__sync_fetch_and_or_1): New function.
4141 (__sync_fetch_and_and_1): New function.
4142 (__sync_fetch_and_xor_1): New function.
4143 (__sync_fetch_and_nand_1): New function.
4144 (__sync_fetch_and_add_2): New function.
4145 (__sync_fetch_and_sub_2): New function.
4146 (__sync_fetch_and_or_2): New function.
4147 (__sync_fetch_and_and_2): New function.
4148 (__sync_fetch_and_xor_2): New function.
4149 (__sync_fetch_and_nand_2): New function.
4150 (__sync_add_and_fetch_1): New function.
4151 (__sync_sub_and_fetch_1): New function.
4152 (__sync_or_and_fetch_1): New function.
4153 (__sync_and_and_fetch_1): New function.
4154 (__sync_xor_and_fetch_1): New function.
4155 (__sync_nand_and_fetch_1): New function.
4156 (__sync_add_and_fetch_2): New function.
4157 (__sync_sub_and_fetch_2): New function.
4158 (__sync_or_and_fetch_2): New function.
4159 (__sync_and_and_fetch_2): New function.
4160 (__sync_xor_and_fetch_2): New function.
4161 (__sync_nand_and_fetch_2): New function.
4162 (__atomic_subword_lock): Use __subword.
4163 (__sync_subword_lock): New macro.
4164 (__sync_lock_test_and_set_1): New function.
4165 (__sync_lock_test_and_set_2): New function.
4166
4167 2014-01-25 Walter Lee <walt@tilera.com>
4168
4169 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4170 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4171 (__atomic_subword): Ditto.
4172
4173 2014-01-25 Walter Lee <walt@tilera.com>
4174
4175 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4176 a prefix op argument.
4177 (__atomic_nand_fetch_4): Add prefix op.
4178 (__atomic_nand_fetch_8): Ditto.
4179
4180 2014-01-21 Baruch Siach <barch@tkos.co.il>
4181
4182 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4183
4184 2014-01-09 Rong Xu <xur@google.com>
4185
4186 * libgcov-driver.c (this_prg): make it local to save
4187 bss space.
4188 (gcov_exit_compute_summary): Ditto.
4189 (gcov_exit_merge_gcda): Ditto.
4190 (gcov_exit_merge_summary): Ditto.
4191 (gcov_exit_dump_gcov): Ditto.
4192
4193 2014-01-08 Rong Xu <xur@google.com>
4194
4195 * libgcov-driver.c: Use libgcov.h.
4196 (buffer_fn_data): Use xmalloc instead of malloc.
4197 (gcov_exit_merge_gcda): Ditto.
4198 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4199 * libgcov.h: New common header files for libgcov-*.h.
4200 * libgcov-interface.c: Use libgcov.h
4201 * libgcov-merge.c: Ditto.
4202 * libgcov-profiler.c: Ditto.
4203 * Makefile.in: Add dependence to libgcov.h
4204
4205 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4206
4207 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4208 case of small numerator and finite nonzero result.
4209
4210 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4211
4212 Update copyright years
4213
4214 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4215
4216 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4217 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4218 config/arc/dp-hack.h, config/arc/fp-hack.h,
4219 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4220 config/arc/ieee-754/arc600-dsp/divdf3.S,
4221 config/arc/ieee-754/arc600-dsp/divsf3.S,
4222 config/arc/ieee-754/arc600-dsp/muldf3.S,
4223 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4224 config/arc/ieee-754/arc600-mul64/divdf3.S,
4225 config/arc/ieee-754/arc600-mul64/divsf3.S,
4226 config/arc/ieee-754/arc600-mul64/muldf3.S,
4227 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4228 config/arc/ieee-754/arc600/divsf3.S,
4229 config/arc/ieee-754/arc600/mulsf3.S,
4230 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4231 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4232 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4233 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4234 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4235 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4236 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4237 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4238 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4239 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4240 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4241 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4242 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4243 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4244 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4245 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4246 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4247 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4248 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4249 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4250 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4251 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4252 vtv_start_preinit.c: Use the standard form for the copyright notice.
4253
4254 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4255 Chung-Lin Tang <cltang@codesourcery.com>
4256 Based on patches from Altera Corporation
4257
4258 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4259 * config/nios2/lib2-nios2.h: New file.
4260 * config/nios2/lib2-divmod-hi.c: New file.
4261 * config/nios2/linux-unwind.h: New file.
4262 * config/nios2/lib2-divmod.c: New file.
4263 * config/nios2/linux-atomic.c: New file.
4264 * config/nios2/t-nios2: New file.
4265 * config/nios2/crti.asm: New file.
4266 * config/nios2/t-linux: New file.
4267 * config/nios2/lib2-divtable.c: New file.
4268 * config/nios2/lib2-mul.c: New file.
4269 * config/nios2/tramp.c: New file.
4270 * config/nios2/crtn.asm: New file.
4271
4272 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
4273
4274 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4275 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4276 from cpuid.h to check vendor signatures.
4277
4278 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4279
4280 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4281 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4282 (get_amd_cpu): Likewise.
4283
4284 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4285
4286 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4287 Haswell.
4288
4289 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4290 H.J. Lu <hongjiu.lu@intel.com>
4291
4292 PR target/59422
4293 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
4294 and AMD_JAGUAR.
4295 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4296 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4297 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4298 FEATURE_XOP and FEATURE_FMA.
4299 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4300 AMDFAM15H_BDVER3.
4301 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
4302 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
4303 FEATURE_FMA4 and FEATURE_XOP.
4304
4305 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4306
4307 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4308 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4309 (get_intel_cpu): Updated.
4310
4311 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4312
4313 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4314
4315 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
4316
4317 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4318 instructions when __SSE_MATH__ is defined.
4319
4320 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4321
4322 * config.host (microblaze-*-rtems*): New.
4323
4324 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4325
4326 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4327 architectures that do not have hardware divide instruction.
4328 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4329
4330 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4331
4332 * longlong.h: Delete (moved to include/).
4333
4334 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4335
4336 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4337 of normal number and qNaN to not raise an inexact exception.
4338
4339 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
4340
4341 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4342
4343 2013-11-28 Matthew Leach <matthew.leach@arm.com>
4344
4345 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4346 for correct opcodes on BE.
4347
4348 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
4349
4350 * soft-fp/op-4.h: Update from glibc.
4351
4352 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4353
4354 * libgcc2.c (__udivmoddi4): Define new implementation when
4355 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4356 divide instructions.
4357
4358 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4359
4360 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4361
4362 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4363
4364 * config/t-softfp (soft-fp-objects-base): New variable.
4365 (soft-fp-objects): Use it.
4366
4367 2013-11-23 David Edelson <dje.gcc@gmail.com>
4368 Andrew Dixie <andrewd@gentrack.com>
4369
4370 PR target/33704
4371 * config/rs6000/aixinitfini.c: New file.
4372 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4373 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4374 symbols.
4375
4376 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4377
4378 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
4379
4380 2013-11-18 Jan Hubicka <jh@suse.cz>
4381
4382 * libgcov-driver.c (run_accounted): Make global level static.
4383 (gcov_exit_merge_summary): Silence warning; do not clear
4384 run_accounted here.
4385 (gcov_exit): Clear it here.
4386
4387 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4388 run_accounted.
4389
4390 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4391 (all_prg, crc32): Remove static vars.
4392 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4393 all_prg.
4394 (gcov_exit_merge_gcda): Add crc32 parameter.
4395 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4396 do not account run if it was already accounted.
4397 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4398 (gcov_exit): Initialize all_prg; update.
4399
4400 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4401
4402 * configure: Regenerate.
4403
4404 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4405 Alan Modra <amodra@gmail.com>
4406
4407 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4408 (frob_update_context): Use it.
4409
4410 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4411 Alan Modra <amodra@gmail.com>
4412
4413 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4414 (trampoline_initial): Provide ELFv2 variant.
4415 (__trampoline_setup): Likewise.
4416
4417 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4418 check for AIX indirect function call sequence if _CALL_ELF == 2.
4419
4420 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4421 Alan Modra <amodra@gmail.com>
4422
4423 * config/rs6000/linux-unwind.h (get_regs): Do not support
4424 old kernel versions if _CALL_ELF == 2.
4425 (frob_update_context): Do not support PLT stub variants only
4426 generated by old linkers if _CALL_ELF == 2.
4427
4428 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4429 Alan Modra <amodra@gmail.com>
4430
4431 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4432 location of CR save area for 64-bit little-endian systems.
4433
4434 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4435
4436 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4437 in tmake_file.
4438 * config/arm/t-vxworks: Delete.
4439
4440 2013-11-10 Kai Tietz <ktietz@redhat.com>
4441
4442 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4443 Increment load-count on use of LIBGCC_SONAME DLL.
4444 (hmod_libgcc): New static variable to hold handle of
4445 LIBGCC_SONAME DLL.
4446 (__gcc_deregister_frame): Decrement load-count of
4447 LIBGCC_SONAME DLL.
4448
4449 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4450
4451 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4452 availability.
4453 * configure: Regenerate
4454
4455 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
4456
4457 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4458 FP_EX_DENORM. Store result to volatile location after SSE division
4459 to close interrupt window. Remove unneeded fwait after x87
4460 division since interrupt window will be closed by emitted fstp.
4461 Rewrite FP_EX_INEXACT handling.
4462
4463 2013-11-06 Joseph Myers <joseph@codesourcery.com>
4464
4465 * soft-fp/README: Update.
4466 * soft-fp/adddf3.c: Update from glibc.
4467 * soft-fp/addsf3.c: Likewise.
4468 * soft-fp/addtf3.c: Likewise.
4469 * soft-fp/divdf3.c: Likewise.
4470 * soft-fp/divsf3.c: Likewise.
4471 * soft-fp/divtf3.c: Likewise.
4472 * soft-fp/double.h: Likewise.
4473 * soft-fp/eqdf2.c: Likewise.
4474 * soft-fp/eqsf2.c: Likewise.
4475 * soft-fp/eqtf2.c: Likewise.
4476 * soft-fp/extenddftf2.c: Likewise.
4477 * soft-fp/extended.h: Likewise.
4478 * soft-fp/extendsfdf2.c: Likewise.
4479 * soft-fp/extendsftf2.c: Likewise.
4480 * soft-fp/extendxftf2.c: Likewise.
4481 * soft-fp/fixdfdi.c: Likewise.
4482 * soft-fp/fixdfsi.c: Likewise.
4483 * soft-fp/fixdfti.c: Likewise.
4484 * soft-fp/fixsfdi.c: Likewise.
4485 * soft-fp/fixsfsi.c: Likewise.
4486 * soft-fp/fixsfti.c: Likewise.
4487 * soft-fp/fixtfdi.c: Likewise.
4488 * soft-fp/fixtfsi.c: Likewise.
4489 * soft-fp/fixtfti.c: Likewise.
4490 * soft-fp/fixunsdfdi.c: Likewise.
4491 * soft-fp/fixunsdfsi.c: Likewise.
4492 * soft-fp/fixunsdfti.c: Likewise.
4493 * soft-fp/fixunssfdi.c: Likewise.
4494 * soft-fp/fixunssfsi.c: Likewise.
4495 * soft-fp/fixunssfti.c: Likewise.
4496 * soft-fp/fixunstfdi.c: Likewise.
4497 * soft-fp/fixunstfsi.c: Likewise.
4498 * soft-fp/fixunstfti.c: Likewise.
4499 * soft-fp/floatdidf.c: Likewise.
4500 * soft-fp/floatdisf.c: Likewise.
4501 * soft-fp/floatditf.c: Likewise.
4502 * soft-fp/floatsidf.c: Likewise.
4503 * soft-fp/floatsisf.c: Likewise.
4504 * soft-fp/floatsitf.c: Likewise.
4505 * soft-fp/floattidf.c: Likewise.
4506 * soft-fp/floattisf.c: Likewise.
4507 * soft-fp/floattitf.c: Likewise.
4508 * soft-fp/floatundidf.c: Likewise.
4509 * soft-fp/floatundisf.c: Likewise.
4510 * soft-fp/floatunditf.c: Likewise.
4511 * soft-fp/floatunsidf.c: Likewise.
4512 * soft-fp/floatunsisf.c: Likewise.
4513 * soft-fp/floatunsitf.c: Likewise.
4514 * soft-fp/floatuntidf.c: Likewise.
4515 * soft-fp/floatuntisf.c: Likewise.
4516 * soft-fp/floatuntitf.c: Likewise.
4517 * soft-fp/gedf2.c: Likewise.
4518 * soft-fp/gesf2.c: Likewise.
4519 * soft-fp/getf2.c: Likewise.
4520 * soft-fp/ledf2.c: Likewise.
4521 * soft-fp/lesf2.c: Likewise.
4522 * soft-fp/letf2.c: Likewise.
4523 * soft-fp/muldf3.c: Likewise.
4524 * soft-fp/mulsf3.c: Likewise.
4525 * soft-fp/multf3.c: Likewise.
4526 * soft-fp/negdf2.c: Likewise.
4527 * soft-fp/negsf2.c: Likewise.
4528 * soft-fp/negtf2.c: Likewise.
4529 * soft-fp/op-1.h: Likewise.
4530 * soft-fp/op-2.h: Likewise.
4531 * soft-fp/op-4.h: Likewise.
4532 * soft-fp/op-8.h: Likewise.
4533 * soft-fp/op-common.h: Likewise.
4534 * soft-fp/quad.h: Likewise.
4535 * soft-fp/single.h: Likewise.
4536 * soft-fp/soft-fp.h: Likewise.
4537 * soft-fp/subdf3.c: Likewise.
4538 * soft-fp/subsf3.c: Likewise.
4539 * soft-fp/subtf3.c: Likewise.
4540 * soft-fp/truncdfsf2.c: Likewise.
4541 * soft-fp/trunctfdf2.c: Likewise.
4542 * soft-fp/trunctfsf2.c: Likewise.
4543 * soft-fp/trunctfxf2.c: Likewise.
4544 * soft-fp/unorddf2.c: Likewise.
4545 * soft-fp/unordsf2.c: Likewise.
4546 * soft-fp/unordtf2.c: Likewise.
4547
4548 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
4549
4550 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4551 (_FP_MUL_MEAT_D): Ditto.
4552 (_FP_DIV_MEAT_S): Ditto.
4553 (_FP_DIV_MEAT_D): Ditto.
4554 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4555 t-softfp-sfdf and t-softfp to tmake_file.
4556
4557 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
4558
4559 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4560 * config/i386/crtprec.c: Ditto.
4561
4562 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4563 Shiva Chen <shiva0217@gmail.com>
4564
4565 * config.host (nds32*-elf*): Add nds32 target.
4566 * config/nds32 : New directory and files.
4567
4568 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
4569
4570 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4571 * config.host (cpu_type) <Setting default>: Add entry for
4572 crisv32-*-*.
4573 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4574 <crisv32-*-linux*>: Adjust.
4575 * longlong.h: Wrap the whole CRIS section in a single
4576 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4577 and sub_ddmmss.
4578 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4579 defined.
4580 [__CRIS__] (__umulsidi3): Define.
4581 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4582 * config/cris/sfp-machine.h: New file.
4583 * config/cris/umulsidi3.S: New file.
4584 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4585 * config/cris/arit.c (SIGNMULT): New macro.
4586 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4587 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4588 saving 3 out of originally 33 cycles from the fastest
4589 path, 3 out of 54 from the medium path and one from the longest
4590 path. Improve comments.
4591
4592 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4593
4594 * sync.c: Remove static aliases and define each function directly
4595 under its real name.
4596
4597 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
4598
4599 * config.host (hppa*64*-*-linux*): Define extra_parts.
4600 (hppa*-*-linux*): Likewise.
4601
4602 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4603
4604 * config/arc/crtgend.S: Add 2013 to Copyright years.
4605 * config/arc/gmon/atomic.h: Likewise.
4606 * config/arc/gmon/auxreg.h: Likewise.
4607 * config/arc/gmon/sys/gmon_out.h: Likewise.
4608 * config/arc/gmon/sys/gmon.h: Likewise.
4609 * config/arc/gmon/prof-freq.c: Likewise.
4610 * config/arc/gmon/mcount.c: Likewise.
4611 * config/arc/gmon/prof-freq-stub.S: Likewise.
4612 * config/arc/gmon/gmon.c: Likewise.
4613 * config/arc/gmon/machine-gmon.h: Likewise.
4614 * config/arc/gmon/profil.S: Likewise.
4615 * config/arc/gmon/dcache_linesz.S: Likewise.
4616 * config/arc/crtg.S: Likewise.
4617 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4618 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4619 * config/arc/ieee-754/adddf3.S: Likewise.
4620 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4621 * config/arc/ieee-754/fixsfsi.S: Likewise.
4622 * config/arc/ieee-754/gtsf2.S: Likewise.
4623 * config/arc/ieee-754/floatsisf.S: Likewise.
4624 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4625 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4626 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4627 * config/arc/ieee-754/fixdfsi.S: Likewise.
4628 * config/arc/ieee-754/addsf3.S: Likewise.
4629 * config/arc/ieee-754/gesf2.S: Likewise.
4630 * config/arc/ieee-754/floatsidf.S: Likewise.
4631 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4632 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4633 * config/arc/ieee-754/gtdf2.S: Likewise.
4634 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4635 * config/arc/ieee-754/uneqdf2.S: Likewise.
4636 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4637 * config/arc/ieee-754/uneqsf2.S: Likewise.
4638 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4639 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4640 * config/arc/ieee-754/eqdf2.S: Likewise.
4641 * config/arc/ieee-754/ordsf2.S: Likewise.
4642 * config/arc/ieee-754/divsf3.S: Likewise.
4643 * config/arc/ieee-754/divdf3.S: Likewise.
4644 * config/arc/ieee-754/floatunsidf.S: Likewise.
4645 * config/arc/ieee-754/orddf2.S: Likewise.
4646 * config/arc/ieee-754/eqsf2.S: Likewise.
4647 * config/arc/ieee-754/gedf2.S: Likewise.
4648 * config/arc/crtn.S: Likewise.
4649 * config/arc/crti.S: Likewise.
4650 * config/arc/t-arc700-uClibc: Likewise.
4651 * config/arc/asm.h: Likewise.
4652 * config/arc/libgcc-excl.ver: Likewise.
4653 * config/arc/t-arc-newlib: Likewise.
4654 * config/arc/divtab-arc700.c: Likewise.
4655 * config/arc/initfini.c: Likewise.
4656 * config/arc/fp-hack.h: Likewise.
4657
4658 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4659 Diego Novillo <dnovillo@google.com>
4660
4661 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
4662 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4663 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4664 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
4665
4666 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4667 Brendan Kehoe <brendan@zen.org>
4668 Simon Cook <simon.cook@embecosm.com>
4669
4670 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4671 * config/arc: New directory.
4672 * longlong.h [__arc__] (umul_ppmm): Remove.
4673 [__arc__] (__umulsidi3): Define.
4674 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4675 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4676
4677 2013-09-17 Jacek Caban <jacek@codeweavers.com>
4678
4679 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4680 CreateSemaphoreA.
4681 * config/i386/gthr-win32.h: Likewise.
4682
4683 2013-09-16 DJ Delorie <dj@redhat.com>
4684
4685 * config/rl78/vregs.h: Add G10 register definitions.
4686 * config/rl78/lib2mul.c: Enable for RL78/G10.
4687 * config/rl78/lib2div.c: Likewise.
4688 * config/rl78/lshrsi3.S: Use vregs.h.
4689 * config/rl78/cmpsi2.S: Likewise.
4690 * config/rl78/trampoline.S: Likewise.
4691 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4692
4693 2013-09-14 DJ Delorie <dj@redhat.com>
4694 Nick Clifton <nickc@redhat.com>
4695
4696 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4697 * config/rl78/vregs.h: New.
4698 * config/rl78/signbit.S: New file. Implements signbit function.
4699 * config/rl78/divmodsi.S: New.
4700 * config/rl78/divmodhi.S: New.
4701 * config/rl78/divmodqi.S: New.
4702 * config/rl78/t-rl78: Build them here...
4703 * config/rl78/lib2div.c: ...but not here.
4704
4705 2013-09-12 DJ Delorie <dj@redhat.com>
4706
4707 * config.host (msp*-*-elf): New.
4708 * config/msp430/: New port.
4709
4710 2013-08-18 Iain Sandoe <iain@codesourcery.com>
4711
4712 PR gcov-profile/58127
4713 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4714 __thread var for emulated TLS.
4715 (__gcov_indirect_call_counters): Likewise.
4716
4717 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
4718 Catherine Moore <clm@codesourcery.com>
4719 Richard Sandiford <rdsandiford@googlemail.com>
4720
4721 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4722 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4723 (CALL_STUB_NO_RET): Likewise.
4724 (CALL_STUB_RET): Likewise.
4725 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4726 __mips16_ret call/return stub symbols.
4727 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4728 to tmake_file.
4729
4730 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4731
4732 * config.host <mips*-*-linux*>: Remove a stray comment.
4733
4734 2013-08-10 Jan Hubicka <jh@suse.cz>
4735
4736 Work around binutils PR14342
4737 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4738 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4739 (L_gcov_indirect_call_profiler_v2): New.
4740
4741 2013-08-06 Jan Hubicka <jh@suse.cz>
4742
4743 * libgcov.c (__gcov_indirect_call_callee,
4744 __gcov_indirect_call_counters): New global vars.
4745 (__gcov_indirect_call_profiler): replace by ...
4746 (__gcov_indirect_call_profiler_v2) ... this one.
4747
4748 2013-08-06 Caroline Tice <cmtice@google.com>
4749
4750 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
4751 vtv_start_preinit.o and vtv_end_preinit.o.
4752 * configure.ac: Add code to check/set enable_vtable_verify.
4753 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
4754 true.
4755 * vtv_start_preinit.c: New file.
4756 * vtv_end_preinit.c: New file.
4757 * vtv_start.c: New file.
4758 * vtv_end.c: New file.
4759 * configure: Regenerated.
4760
4761 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
4762
4763 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4764 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4765 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4766 GPL-3.0-with-GCC-exception.
4767
4768 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
4769
4770 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4771 ISA and up.
4772
4773 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4774
4775 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4776 mapping for FPRs when creating the fallback framestate.
4777
4778 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
4779
4780 PR target/57516
4781 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4782 (__round_s2_const, __round_u2_const)
4783 (__round_s4_const, __round_u4_const, __round_x8):
4784 Saturate result if addition result cannot be represented.
4785
4786 2013-07-15 Matthias Klose <doko@ubuntu.com>
4787
4788 * libgcc2.c: Don't include <limits.h>.
4789
4790 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
4791
4792 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4793
4794 2013-07-06 Jakub Jelinek <jakub@redhat.com>
4795
4796 PR target/29776
4797 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4798
4799 2013-06-28 Jakub Jelinek <jakub@redhat.com>
4800
4801 PR middle-end/36041
4802 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4803 Define.
4804 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4805 instead of table lookups.
4806 (__popcountDI2): Likewise.
4807
4808 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
4809
4810 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4811 correctly.
4812
4813 2013-06-21 Joseph Myers <joseph@codesourcery.com>
4814
4815 PR other/53317
4816 * soft-fp/adddf3.c: Update from glibc.
4817 * soft-fp/addsf3.c: Likewise.
4818 * soft-fp/addtf3.c: Likewise.
4819 * soft-fp/divdf3.c: Likewise.
4820 * soft-fp/divsf3.c: Likewise.
4821 * soft-fp/divtf3.c: Likewise.
4822 * soft-fp/double.h: Likewise.
4823 * soft-fp/eqdf2.c: Likewise.
4824 * soft-fp/eqsf2.c: Likewise.
4825 * soft-fp/eqtf2.c: Likewise.
4826 * soft-fp/extenddftf2.c: Likewise.
4827 * soft-fp/extended.h: Likewise.
4828 * soft-fp/extendsfdf2.c: Likewise.
4829 * soft-fp/extendsftf2.c: Likewise.
4830 * soft-fp/fixdfdi.c: Likewise.
4831 * soft-fp/fixdfsi.c: Likewise.
4832 * soft-fp/fixsfdi.c: Likewise.
4833 * soft-fp/fixsfsi.c: Likewise.
4834 * soft-fp/fixtfdi.c: Likewise.
4835 * soft-fp/fixtfsi.c: Likewise.
4836 * soft-fp/fixunsdfdi.c: Likewise.
4837 * soft-fp/fixunsdfsi.c: Likewise.
4838 * soft-fp/fixunssfdi.c: Likewise.
4839 * soft-fp/fixunssfsi.c: Likewise.
4840 * soft-fp/fixunstfdi.c: Likewise.
4841 * soft-fp/fixunstfsi.c: Likewise.
4842 * soft-fp/floatdidf.c: Likewise.
4843 * soft-fp/floatdisf.c: Likewise.
4844 * soft-fp/floatditf.c: Likewise.
4845 * soft-fp/floatsidf.c: Likewise.
4846 * soft-fp/floatsisf.c: Likewise.
4847 * soft-fp/floatsitf.c: Likewise.
4848 * soft-fp/floatundidf.c: Likewise.
4849 * soft-fp/floatundisf.c: Likewise.
4850 * soft-fp/floatunditf.c: Likewise.
4851 * soft-fp/floatunsidf.c: Likewise.
4852 * soft-fp/floatunsisf.c: Likewise.
4853 * soft-fp/floatunsitf.c: Likewise.
4854 * soft-fp/gedf2.c: Likewise.
4855 * soft-fp/gesf2.c: Likewise.
4856 * soft-fp/getf2.c: Likewise.
4857 * soft-fp/ledf2.c: Likewise.
4858 * soft-fp/lesf2.c: Likewise.
4859 * soft-fp/letf2.c: Likewise.
4860 * soft-fp/muldf3.c: Likewise.
4861 * soft-fp/mulsf3.c: Likewise.
4862 * soft-fp/multf3.c: Likewise.
4863 * soft-fp/negdf2.c: Likewise.
4864 * soft-fp/negsf2.c: Likewise.
4865 * soft-fp/negtf2.c: Likewise.
4866 * soft-fp/op-1.h: Likewise.
4867 * soft-fp/op-2.h: Likewise.
4868 * soft-fp/op-4.h: Likewise.
4869 * soft-fp/op-8.h: Likewise.
4870 * soft-fp/op-common.h: Likewise.
4871 * soft-fp/quad.h: Likewise.
4872 * soft-fp/single.h: Likewise.
4873 * soft-fp/soft-fp.h: Likewise.
4874 * soft-fp/subdf3.c: Likewise.
4875 * soft-fp/subsf3.c: Likewise.
4876 * soft-fp/subtf3.c: Likewise.
4877 * soft-fp/truncdfsf2.c: Likewise.
4878 * soft-fp/trunctfdf2.c: Likewise.
4879 * soft-fp/trunctfsf2.c: Likewise.
4880 * soft-fp/unorddf2.c: Likewise.
4881 * soft-fp/unordsf2.c: Likewise.
4882 * soft-fp/unordtf2.c: Likewise.
4883 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4884 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4885 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4886 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4887 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4888 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4889 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4890 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4891 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4892 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4893 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4894 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4895
4896 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
4897
4898 * config/mips/lib2funcs.c: New file.
4899 * config/mips/t-mips (LIB2ADD_ST): Add it.
4900
4901 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
4902
4903 PR target/6526
4904 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
4905 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
4906
4907 2013-06-08 Walter Lee <walt@tilera.com>
4908
4909 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
4910 Replace int64_t with long long. Add __extension__ where
4911 appropriate.
4912 * config/tilepro/atomic.c: Include config.h.
4913
4914 2013-06-06 Douglas B Rupp <rupp@adacore.com>
4915
4916 * config.host (arm-wrs-vxworks): Configure with other soft float.
4917
4918 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
4919
4920 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4921 (mips64r5900el-*-elf*): New configurations.
4922
4923 2013-06-04 Alan Modra <amodra@gmail.com>
4924
4925 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
4926
4927 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
4928
4929 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
4930
4931 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
4932
4933 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
4934 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
4935 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
4936
4937 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4938
4939 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
4940 (powerpc-wrs-vxworks): Likewise.
4941
4942 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4943
4944 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
4945 signal frames as well.
4946 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
4947 STACK_BIAS to the CFA offset.
4948
4949 2013-05-17 Richard Henderson <rth@redhat.com>
4950
4951 PR target/49146
4952 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
4953 (execute_cfa_program): Use it when storing to fs->regs.
4954
4955 2013-05-08 Kai Tietz <ktietz@redhat.com>
4956
4957 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
4958 (__deregister_frame_info): Likewise.
4959
4960 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
4961
4962 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4963 NaN's payload.
4964
4965 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4966
4967 2013-04-25 Alan Modra <amodra@gmail.com>
4968
4969 * config.host: Match little-endian powerpc-linux.
4970
4971 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
4972
4973 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4974 as 'unsigned long long' instead of 'unsigned long'.
4975 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4976 'signed long'.
4977
4978 2013-04-10 Julian Brown <julian@codesourcery.com>
4979
4980 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4981 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4982 unsigned char/unsigned short.
4983 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4984
4985 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4986
4987 PR other/55274
4988 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4989
4990 2013-04-04 Meador Inge <meadori@codesourcery.com>
4991
4992 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4993 computing the location of the link register.
4994 (aeabi_uldivmod): Ditto.
4995
4996 2013-03-27 Kai Tietz <ktietz@redhat.com>
4997
4998 * config.host: Add support for cygwin x64 target.
4999 * configure: Regenerated.
5000
5001 2013-03-26 Walter Lee <walt@tilera.com>
5002
5003 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5004 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5005
5006 2013-03-25 Kai Tietz <ktietz@redhat.com>
5007
5008 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5009
5010 2013-03-20 Robert Mason <rbmj@verizon.net>
5011
5012 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5013 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5014 (__gthread_leave_tsd_dtor_context): Add prototypes.
5015 (tls_delete_hook): Update.
5016
5017 2013-03-20 Catherine Moore <clm@codesourcery.com>
5018 Joseph Myers <joseph@codesourcery.com>
5019 Chao-ying Fu <fu@mips.com>
5020
5021 * config/mips/mips16.S: Don't build for microMIPS.
5022 * config/mips/linux-unwind.h: Handle microMIPS frame.
5023 * config/mips/crtn.S (fini, init): New labels.
5024
5025 2013-03-14 Jakub Jelinek <jakub@redhat.com>
5026
5027 PR tree-optimization/53265
5028 * unwind-dw2.c (execute_cfa_program): Avoid
5029 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5030 on targets with DWARF_FRAME_REGISTERS < 32.
5031
5032 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5033
5034 PR target/49880
5035 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5036 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5037
5038 2013-03-07 Sriraman Tallam <tmsriram@google.com>
5039
5040 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5041 sandybridge processors.
5042
5043 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5044
5045 PR target/56529
5046 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5047 inclusion list.
5048
5049 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5050
5051 * config/microblaze/crti.S: Setup stack protection at entry
5052
5053 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
5054
5055 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5056 (__rotldi3): Shift bytewise if applicable.
5057
5058 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5059
5060 * config/aarch64/sync-cache.c
5061 (__aarch64_sync_cache_range): Silence warnings.
5062
5063 2013-02-25 Catherine Moore <clm@codesourcery.com>
5064
5065 Revert:
5066 2013-02-24 Catherine Moore <clm@codesourcery.com>
5067 Joseph Myers <joseph@codesourcery.com>
5068 Chao-ying Fu <fu@mips.com>
5069
5070 * config/mips/mips16.S: Don't build for microMIPS.
5071 * config/mips/linux-unwind.h: Handle microMIPS frame.
5072 * config/mips/crtn.S (fini, init): New labels.
5073
5074 2013-02-24 Catherine Moore <clm@codesourcery.com>
5075 Joseph Myers <joseph@codesourcery.com>
5076 Chao-ying Fu <fu@mips.com>
5077
5078 * config/mips/mips16.S: Don't build for microMIPS.
5079 * config/mips/linux-unwind.h: Handle microMIPS frame.
5080 * config/mips/crtn.S (fini, init): New labels.
5081
5082 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5083 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
5084 as dividend.
5085
5086 2013-02-16 Alan Modra <amodra@gmail.com>
5087
5088 PR target/55431
5089 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5090 (ppc_fallback_frame_state): Always set up save locations for fp
5091 and altivec. Don't bother with non-callee-saved regs, r0-r13
5092 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5093
5094 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
5095
5096 PR target/54222
5097 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5098 _ssmulHA, _ssmulSA.
5099 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5100 _ssmulha3, _usmulusa3, _ssmulsa3.
5101 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5102 (__muldi3): XCALL __muldi3_6 instead of rcall.
5103 (__umulsidi3, __mulsidi3): New functions.
5104 (do_prologue_saves, do_epilogue_restores): New .macros.
5105 (__divdi3_moddi3): Use them.
5106 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5107 (__usmulusa3, __ssmulsa3): New functions.
5108
5109 2013-02-11 Iain Sandoe <iain@codesourcery.com>
5110 Jack Howarth <howarth@bromo.med.uc.edu>
5111 Patrick Marlier <patrick.marlier@gmail.com>
5112
5113 PR libitm/55693
5114 * config/darwin-crt-tm.c: Remove dummy functions hack.
5115
5116 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
5117
5118 PR target/54222
5119 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5120 * config/avr/lib2-object.mk: New iterator to build objects from it.
5121 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5122 lib2funcs.c.
5123 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5124 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5125 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5126 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5127 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5128 * config/avr/lib1funcs-fixed.S: Implement them.
5129
5130 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5131
5132 Update copyright years.
5133
5134 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
5135
5136 PR target/54601
5137 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5138 Add crtcxa to extra_parts.
5139 * config/rs6000/exit.h: New file.
5140 * config/rs6000/cxa_atexit.c: New file.
5141 * config/rs6000/cxa_finalize.c: New file.
5142 * config/rs6000/crtcxa.c: New file.
5143 * config/rs6000/t-aix-cxa: New file.
5144 * config/rs6000/libgcc-aix-cxa.ver: New file.
5145
5146 2013-01-31 Nick Clifton <nickc@redhat.com>
5147
5148 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5149 variant.
5150
5151 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
5152
5153 PR target/54222
5154 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5155 _mulQQ, _mulHQ, _mulHA, _mulSA,
5156 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5157 _divQQ, _divHQ, _divHA, _divSA,
5158 _divUQQ, _divUHQ, _divUHA, _divUSA.
5159
5160 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
5161
5162 * config.host(microblaze*-linux*): tmake_file: Remove
5163 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5164 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5165 to exclude functions from being built with libgcc.c and use
5166 the microblaze assembly.
5167
5168 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5169
5170 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5171 extra_parts.
5172
5173 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5174
5175 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5176 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5177 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5178 alignment operation.
5179
5180 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5181
5182 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5183 loop start address for cache clearing.
5184
5185 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5186
5187 * config/avr/lib1funcs.S: Remove trailing blanks.
5188 * config/avr/lib1funcs-fixed.S: Ditto.
5189
5190 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5191
5192 * config/avr/avr-lib.h: Add GPL copyright notice.
5193
5194 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5195
5196 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5197 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5198 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5199 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5200
5201 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
5202
5203 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5204 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
5205
5206 2013-01-04 Nick Clifton <nickc@redhat.com>
5207
5208 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5209 the CALLT instruction is supported.
5210
5211 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5212
5213 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5214 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5215
5216 2012-12-13 John Tytgat <John@bass-software.com>
5217
5218 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5219 is 25.
5220
5221 2012-12-12 Jakub Jelinek <jakub@redhat.com>
5222
5223 PR libgcc/55451
5224 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5225 undefined signed overflows.
5226
5227 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
5228
5229 PR target/55344
5230 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5231
5232 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
5233
5234 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5235 (FP_TRAPPING_EXCEPTIONS): Define.
5236 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5237 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5238
5239 2012-12-04 Richard Henderson <rth@redhat.com>
5240
5241 PR bootstrap/55571
5242 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5243
5244 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5245
5246 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5247 (FP_EX_SHIFT): Define.
5248 (FP_TRAPPING_EXCEPTIONS): Define.
5249
5250 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5251
5252 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5253 (FP_ROUNDMODE): Use FP_RND_MASK.
5254 * config/aarch64/sfp-exceptions.c: New.
5255 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5256 Use __sfp_handle_exceptions.
5257
5258 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
5259
5260 * config.host: (arm*-*-freebsd*): Remove.
5261 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5262 (arm*-*-elf*): Remove.
5263 (arm*-*-wince-pe*): Remove.
5264 * arm/unwind-arm.c (struct fpa_reg): Delete.
5265 (struct fpa_regs): Delete.
5266 (phase1_vrs): Remove fpa element.
5267 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5268 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5269 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5270 * ieee754-sf.S (floatundisf): Remove FPA support.
5271 (floatdisf): Likewise.
5272 * ieee75f-df.S (floatundidf): Likewise.
5273 (floatdidf): Likewise.
5274
5275 2012-11-29 Kai Tietz <ktietz@redhat.com>
5276
5277 PR target/55445
5278 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5279 * unwind-generic.h: Likewise.
5280 * unwind-seh.c: Likewise.
5281
5282 2012-11-28 Richard Henderson <rth@redhat.com>
5283
5284 PR libgcc/48076
5285 * emutls.c (__emutls_get_address): Avoid race condition between
5286 obj->loc.offset read and emutls_key initialization.
5287
5288 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
5289
5290 Adjust decimal point of signed accum mode to GCC default.
5291
5292 PR target/54222
5293 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5294 _divqq_helper.
5295 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5296 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5297 (__mulha3, __mulsa3)
5298 (__divqq3, __divha3, __divsa3): Adjust to new position of
5299 decimal point of signed accum types.
5300
5301 (__mulusa3_round): New function.
5302 (__mulusa3): Use it.
5303 (__divqq_helper): New function.
5304 (__udivuqq3): Use it.
5305
5306 2012-11-20 Jakub Jelinek <jakub@redhat.com>
5307
5308 PR bootstrap/55370
5309 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5310
5311 2012-11-18 Teresa Johnson <tejohnson@google.com>
5312
5313 PR bootstrap/55051
5314 * libgcov.c (gcov_exit): Remove merged program summary
5315 comparison unless !GCOV_LOCKED.
5316
5317 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
5318
5319 * soft-fp: Updated from glibc upstream.
5320
5321 2012-11-06 Ian Lance Taylor <iant@google.com>
5322
5323 * generic-morestack.c (__generic_morestack): Align the returned
5324 stack pointer to a 32 byte boundary.
5325 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5326 increment the return address until we have decided that we don't
5327 have a varargs function.
5328 (__morestack) [32-bit]: Align stack correctly when calling C
5329 functions.
5330 (__morestack) [64-bit]: Likewise.
5331
5332 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5333
5334 * configure: Regenerate.
5335
5336 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
5337
5338 PR target/55175
5339 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5340 * config/i386/sfp-machine.h: Guard exception handling
5341 code with _SOFT_FLOAT.
5342 * config/i386/32/sfp-machine.h: Guard rounding handling
5343 code with _SOFT_FLOAT.
5344 * config/i386/64/sfp-machine.h: Ditto.
5345
5346 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5347
5348 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5349 as extra_parts.
5350
5351 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
5352
5353 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5354 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5355 when appropriate. Correct structure element types.
5356 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5357 -minline-all-stringops from compile flags.
5358
5359 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5360
5361 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5362
5363 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5364
5365 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
5366
5367 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5368
5369 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5370 tmake_file.
5371
5372 2012-10-23 Ian Bolton <ian.bolton@arm.com>
5373 Jim MacArthur <jim.macarthur@arm.com>
5374 Marcus Shawcroft <marcus.shawcroft@arm.com>
5375 Nigel Stephens <nigel.stephens@arm.com>
5376 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5377 Richard Earnshaw <rearnsha@arm.com>
5378 Sofiane Naci <sofiane.naci@arm.com>
5379 Stephen Thomas <stephen.thomas@arm.com>
5380 Tejas Belagod <tejas.belagod@arm.com>
5381 Yufeng Zhang <yufeng.zhang@arm.com>
5382
5383 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5384 * config/aarch64/crti.S: New file.
5385 * config/aarch64/crtn.S: New file.
5386 * config/aarch64/linux-unwind.h: New file.
5387 * config/aarch64/sfp-machine.h: New file.
5388 * config/aarch64/sync-cache.c: New file.
5389 * config/aarch64/t-aarch64: New file.
5390 * config/aarch64/t-softfp: New file.
5391
5392 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5393
5394 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5395 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5396 no-longer-needed LDBU insns.
5397
5398 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
5399
5400 * config.host
5401 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5402 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5403
5404 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5405
5406 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5407
5408 2012-10-15 Matthias Klose <doko@ubuntu.com>
5409
5410 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5411
5412 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5413
5414 * configure: Regenerate.
5415 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5416
5417 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5418
5419 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5420 instructions for 64bit targets only.
5421
5422 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5423
5424 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5425 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5426 * config/i386/32/sfp-machine.h: ... here.
5427 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5428 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5429 New defines.
5430
5431 2012-10-07 Matthias Klose <doko@ubuntu.com>
5432
5433 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5434 as unused.
5435 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5436
5437 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
5438
5439 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5440 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5441 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5442 (ElfW): Likewise.
5443
5444 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5445
5446 PR other/53889
5447 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5448 Fix parameter names.
5449
5450 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5451
5452 PR target/33135
5453 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5454 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5455 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5456
5457 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5458
5459 PR target/50457
5460 * config/sh/linux-atomic.S: Delete.
5461 * config/sh/linux-atomic.c: New.
5462 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5463 linux-atomic.c. Add cflags to disable warnings.
5464
5465 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5466
5467 PR other/53889
5468 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5469 function.
5470 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5471 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5472 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5473 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5474 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5475 Likewise.
5476 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5477 Likewise.
5478 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5479 Likewise.
5480 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5481 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5482
5483 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
5484
5485 * config.host (hppa-*-openbsd*): New target.
5486 * config/pa/t-openbsd: New file.
5487
5488 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
5489
5490 PR target/54222
5491 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5492 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5493 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5494 (__divsa3): Use __negsi2 to negate r_quoL.
5495 * config/avr/lib1funcs.S (FALIAS): New macro.
5496 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5497 (__negsi2): ...this new function.
5498 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5499 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5500 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5501 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5502 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5503 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5504
5505 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5506
5507 PR target/54089
5508 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5509 (lshrsi3): Reimplement as lshrsi3_r0.
5510
5511 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5512
5513 PR target/46191
5514 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5515 of libgcc.a.
5516
5517 2012-09-07 Teresa Johnson <tejohnson@google.com>
5518
5519 PR gcov-profile/54487
5520 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
5521 differences.
5522
5523 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
5524
5525 PR target/54461
5526 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5527 not configured --with-avrlibc=no.
5528 * config/avr/t-avrlibc: New file.
5529 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5530 (DPBIT_FUNCS): Ditto.
5531 (TPBIT_FUNCS): Ditto.
5532
5533 2012-09-04 Teresa Johnson <tejohnson@google.com>
5534
5535 * libgcov.c (struct gcov_summary_buffer): New structure.
5536 (gcov_histogram_insert): New function.
5537 (gcov_compute_histogram): Ditto.
5538 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5539 histograms during summary merging.
5540
5541 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
5542
5543 * config.host (x86_64-*-openbsd*): New target.
5544
5545 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5546
5547 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5548 attribute.
5549
5550 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5551
5552 PR target/54222
5553 * config/avr/t-avr (conv_X): Rename to func_X.
5554
5555 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5556
5557 PR target/54222
5558 * config/avr/lib1funcs-fixed.S: New file.
5559 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5560 after they are used.
5561 (neg2, neg4): New macros.
5562 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5563 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5564 (__umulhisi3): Speed up MUL variant if there is enough flash.
5565 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5566 avr-modes.def.
5567 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5568 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5569 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5570 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5571 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5572 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5573 (LIB2FUNCS_EXCLUDE): Add supported functions.
5574
5575 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
5576
5577 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5578 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5579 libgcc-s-objects.
5580 * fixed-obj.mk: Only expand dependency if $o is not in
5581 LIB2FUNCS_EXCLUDE.
5582
5583 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5584
5585 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5586
5587 2012-08-22 Joseph Myers <joseph@codesourcery.com>
5588
5589 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5590 depend on --enable-shared.
5591 ($(lib1asmfuncs-o)): Use %.vis files independent of
5592 --enable-shared.
5593 * static-object.mk ($(base)$(objext), $(base).vis)
5594 ($(base)_s$(objext)): Use same rules for visibility handling as in
5595 shared-object.mk.
5596
5597 2012-08-21 Ian Lance Taylor <iant@google.com>
5598
5599 * config/i386/morestack.S (__morestack_non_split): Increase amount
5600 of space allocated for non-split code stack.
5601
5602 2012-08-19 Joseph Myers <joseph@codesourcery.com>
5603
5604 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5605 even if inhibit_libc.
5606
5607 2012-08-17 Julian Brown <julian@codesourcery.com>
5608
5609 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5610 -fexceptions -fnon-call-exceptions if not defined.
5611 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5612 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5613
5614 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5615
5616 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5617 type.
5618
5619 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
5620
5621 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5622 rs6000/t-slibgcc-aix.
5623
5624 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5625
5626 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5627
5628 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5629
5630 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5631
5632 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5633
5634 PR driver/54171
5635 * Makefile.in (version): Replace top_srcdir with srcdir.
5636
5637 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5638
5639 * Makefile.in (version): set to BASE-VER file from gcc directory.
5640
5641 2012-08-01 Nick Clifton <nickc@redhat.com>
5642
5643 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5644 Implements __clrsb for an HImode argument.
5645
5646 2012-07-31 Nick Clifton <nickc@redhat.com>
5647
5648 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5649 Implements __clrsb for an HImode argument.
5650 * config/stormy16/clrsbhi2.c: New file:
5651 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5652
5653 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5654
5655 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5656
5657 2012-07-19 Tristan Gingold <gingold@adacore.com>
5658 Richard Henderson <rth@redhat.com>
5659
5660 * unwind-seh.c: New file.
5661 * unwind-generic.h: Include windows.h for SEH.
5662 (_Unwind_Exception): Use 6 private fields for SEH.
5663 (_GCC_specific_handler): Declare.
5664 * unwind-c.c (__gcc_personality_seh0): New function.
5665 Adjust for SEH.
5666 * config/i386/libgcc-cygming.ver: New file.
5667 * config/i386/t-seh-eh: New file.
5668 * config.host (x86_64-*-mingw*): Default to seh.
5669
5670 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5671
5672 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5673
5674 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
5675
5676 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5677 __builtin_expect when checking for exceptions.
5678 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5679
5680 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5681
5682 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5683 function declaration.
5684 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5685 (FP_RND_MASK): New.
5686 * config/ia64/sfp-exceptions.c: New.
5687 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
5688
5689 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5690
5691 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5692 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5693 * config/i386/64/sfp-machine: ... (delete here) ...
5694 * config/i386/sfp-machine.h: ... to here.
5695 (FP_EX_MASK): Remove.
5696 (FP_RND_MASK): New.
5697 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5698
5699 2012-06-11 Sriraman Tallam <tmsriram@google.com>
5700
5701 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5702 * config/i386/libgcc-sol2.ver: Ditto.
5703 * config/i386/libgcc-glibc.ver: Ditto.
5704
5705 2012-06-11 Roland McGrath <mcgrathr@google.com>
5706
5707 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5708 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5709 pthread_cancel.
5710
5711 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
5712
5713 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5714 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5715 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5716 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5717 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5718 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5719 * config/i386/64/sfp-machine: ... (delete here) ...
5720 * config/i386/sfp-machine.h: ... to here.
5721 (FP_EX_MASK): New.
5722 (__sfp_handle_exceptions): New function declaration.
5723 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5724 * config/i386/sfp-exceptions.c: New.
5725 * config/i386/t-softfp: New.
5726 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5727 i386/t-softfp to tmake_file.
5728
5729 2012-06-03 David S. Miller <davem@davemloft.net>
5730
5731 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5732 change.
5733
5734 2012-05-31 David S. Miller <davem@davemloft.net>
5735
5736 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5737 multiply and divide instructions on 32-bit when V9.
5738 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5739
5740 2012-05-29 Joseph Myers <joseph@codesourcery.com>
5741
5742 * config/arm/ieee754-df.S: Fix typos.
5743 * config/arm/ieee754-sf.S: Fix typos.
5744 * config/c6x/libunwind.S: Fix typos.
5745 * config/epiphany/udivsi3-float.c: Fix typos.
5746 * config/microblaze/muldi3_hard.S: Fix typos.
5747 * config/picochip/adddi3.S: Fix typos.
5748 * config/picochip/ashlsi3.S: Fix typos.
5749 * config/picochip/ashrsi3.S: Fix typos.
5750 * config/picochip/clzsi2.S: Fix typos.
5751 * config/picochip/cmpsi2.S: Fix typos.
5752 * config/picochip/divmod15.S: Fix typos.
5753 * config/picochip/divmodhi4.S: Fix typos.
5754 * config/picochip/divmodsi4.S: Fix typos.
5755 * config/picochip/longjmp.S: Fix typos.
5756 * config/picochip/lshrsi3.S: Fix typos.
5757 * config/picochip/parityhi2.S: Fix typos.
5758 * config/picochip/popcounthi2.S: Fix typos.
5759 * config/picochip/setjmp.S: Fix typos.
5760 * config/picochip/subdi3.S: Fix typos.
5761 * config/picochip/ucmpsi2.S: Fix typos.
5762 * config/picochip/udivmodhi4.S: Fix typos.
5763 * config/picochip/udivmodsi4.S: Fix typos.
5764 * config/spu/divv2df3.c: Fix typos.
5765 * config/spu/mfc_multi_tag_release.c: Fix typos.
5766 * config/spu/mfc_tag_release.c: Fix typos.
5767 * configure.ac: Fix typos.
5768 * configure: Regenerate.
5769
5770 2012-05-25 Ian Lance Taylor <iant@google.com>
5771
5772 * config/i386/morestack.S (__morestack_non_split): Check whether
5773 caller is varargs and needs %bp to hold the stack frame on return.
5774
5775 2012-05-25 Olivier Hainque <hainque@adacore.com>
5776
5777 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5778 sequence in the non pic case on VxWorks.
5779
5780 2012-05-24 Olivier Hainque <hainque@adacore.com>
5781
5782 * Makefile.in: Move dependency on install-unwind_h from
5783 "install-leaf" to "install".
5784
5785 2012-05-24 Olivier Hainque <hainque@adacore.com>
5786
5787 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5788 Use a separate command for stamp removals.
5789
5790 2012-05-21 Andrew Pinski <apinski@cavium.com>
5791
5792 PR bootstrap/53183
5793 * configure.ac: Define the default includes to being none.
5794 * configure: Regenerate.
5795
5796 2012-05-16 Olivier Hainque <hainque@adacore.com>
5797
5798 * Makefile.in (install-unwind_h): Rename into ...
5799 (install-unwind_h-forbuild): New target.
5800 (all): Use it instead of the former install-unwind_h.
5801 (install-unwind_h): Reinstate, copy to user install destination
5802 for include files, not to the internal gcc object directory one.
5803 (install-leaf): Depend on it.
5804
5805 2012-05-15 Olivier Hainque <hainque@adacore.com>
5806
5807 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5808 register numbers. LR_REGNO replaces R_LR.
5809 (ucontext_for): New, helper for ...
5810 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5811 and 5.3 of ...
5812 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5813
5814 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5815
5816 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5817 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5818 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5819 i386/t-cpuinfo ...
5820 (i[34567]86-*-*, x86_64-*-*): ... here.
5821
5822 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5823 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5824
5825 * config/i386/i386-cpuinfo.c: Rename to ...
5826 * config/i386/cpuinfo.c: ... this.
5827 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5828
5829 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5830 (libgcc_cv_init_priority): New test.
5831 * configure: Regenerate.
5832 * config.in: New file.
5833 * Makefile.in (clean): Rename config.h to auto-target.h.
5834 (config.h): Likewise.
5835 (stamp-h): Likewise.
5836
5837 * config/i386/cpuinfo.c (auto-target.h): Include.
5838 (CONSTRUCTOR_PRIORITY): Define.
5839 (__cpu_indicator_init): Use it.
5840
5841 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5842
5843 * longlong.h: Use a URL instead of an FSF postal address.
5844 Replace spaces with tab.
5845
5846 2012-05-08 Teresa Johnson <tejohnson@google.com>
5847
5848 * libgcov.c (gcov_clear, __gcov_reset): New functions.
5849 (__gcov_dump): Ditto.
5850 (gcov_dump_complete): New global variable.
5851 (gcov_exit): Export hidden to enable use in L_gcov_dump.
5852 (__gcov_flush): Outline functionality now in gcov_clear.
5853 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5854
5855 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
5856
5857 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5858 (mips*-*-linux*): Include mips/t-tpbit when long double is
5859 16 bytes long.
5860
5861 2012-04-25 Sriraman Tallam <tmsriram@google.com>
5862
5863 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5864 (get_available_features): New argument. Check for AVX2.
5865 (__cpu_indicator_init): Modify call to get_available_features.
5866
5867 2012-04-25 Alan Modra <amodra@gmail.com>
5868
5869 * config/rs6000/crtsavevr.S: New file.
5870 * config/rs6000/crtrestvr.S: New file.
5871 * config/rs6000/t-savresfgpr: Build the above.
5872 * config/rs6000/t-netbsd: Likewise.
5873
5874 2012-04-24 Sriraman Tallam <tmsriram@google.com>
5875
5876 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5877
5878 2012-04-24 Sriraman Tallam <tmsriram@google.com>
5879
5880 * libgcc/config/i386/i386-cpuinfo.c: New file.
5881 * libgcc/config/i386/t-cpuinfo: New file.
5882 * libgcc/config.host: Include t-cpuinfo.
5883 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5884
5885 2012-04-24 Chao-ying Fu <fu@mips.com>
5886
5887 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5888
5889 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
5890
5891 struct siginfo vs. siginfo_t
5892
5893 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5894 siginfo_t instead of struct siginfo.
5895 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5896 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
5897 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
5898 (ia64_handle_unwabi): Likewise.
5899 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5900 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5901 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5902 (sh_fallback_frame_state): Likewise.
5903 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
5904 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
5905
5906 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
5907
5908 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
5909 system call number.
5910
5911 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
5912
5913 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
5914 if it hasn't been previously saved.
5915
5916 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
5917
5918 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
5919 only for glibc.
5920
5921 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
5922
5923 PR target/52737
5924 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
5925 instead of __AVR_HAVE_8BIT_SP__.
5926
5927 2012-03-26 Tristan Gingold <gingold@adacore.com>
5928
5929 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
5930 (unw_table_entry): Use unw_word instead of unsigned long.
5931 (_Unwind_FindTableEntry): Likewise.
5932 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
5933 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
5934 (_Unwind_FindTableEntry): Likewise.
5935 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
5936 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
5937 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
5938 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
5939 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
5940 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
5941 (uw_init_context_1, uw_install_context): Likewise.
5942 (unw_word): Move to unwind-ia64.h
5943
5944 2012-03-26 Tristan Gingold <gingold@adacore.com>
5945
5946 * config/vms/vms-ucrt0.c: Update copyright years.
5947 Add a sanity check.
5948 (___gcc_main_flags): Declare.
5949 (__main): Check flags to remap argv and exit code.
5950 * config.host (*-*-*vms*): Adjust extra_parts.
5951 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
5952 (crt0.o): Add.
5953
5954 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
5955
5956 * arm/lib1funcs.asm (ctzsi2): New function.
5957 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
5958 * arm/t-linux (LIB1ASMFUNCS): Likewise.
5959 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
5960 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
5961 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
5962 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5963
5964 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
5965
5966 * config.host: Add bits to support powerpc64-*-freebsd*.
5967 * config/rs6000/freebsd-unwind.h: New file.
5968 * config/rs6000/t-freebsd64: New file.
5969
5970 2012-03-20 Richard Guenther <rguenther@suse.de>
5971
5972 PR gcov-profile/52627
5973 * libgcov.c (init_mx): Fix mutex name.
5974
5975 2012-03-16 Tristan Gingold <gingold@adacore.com>
5976
5977 * config/ia64/vms-unwind.h: Remove ulong (and replace
5978 it by unw_reg where used). Define unw_reg with __int64.
5979
5980 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5981
5982 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5983 Solaris 8 handling.
5984 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5985 Solaris 8 handling.
5986 (sparc_is_sighandler): Likewise.
5987
5988 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
5989
5990 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5991 <= saved reg size.
5992
5993 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5994
5995 * config/arm/crtn.S: Fix typo.
5996
5997 2012-03-13 Richard Guenther <rguenther@suse.de>
5998
5999 * libgcov.c: Remove stdio.h include and NULL un-define.
6000
6001 2012-03-13 Richard Guenther <rguenther@suse.de>
6002
6003 PR target/52569
6004 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6005
6006 2012-03-13 Richard Guenther <rguenther@suse.de>
6007
6008 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6009
6010 2012-03-13 Richard Guenther <rguenther@suse.de>
6011
6012 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6013 and __gthread_mutex_init_function definitions.
6014
6015 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6016
6017 * config.host (mips*-*-openbsd*): Remove.
6018
6019 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6020
6021 * config.host: Remove alpha*-dec-osf5.1* handling.
6022 * config/alpha/gthr-posix.c: Remove.
6023 * config/alpha/libgcc-osf5.ver: Remove.
6024 * config/alpha/osf5-unwind.h: Remove.
6025 * config/alpha/t-osf-pthread: Remove.
6026 * config/alpha/t-slibgcc-osf: Remove.
6027 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6028 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6029 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6030 * mkmap-flat.awk: Remove osf_export handling.
6031
6032 2012-03-12 Richard Guenther <rguenther@suse.de>
6033
6034 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6035 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6036 (__gthread_mutex_init_function): New function.
6037 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6038
6039 PR gcov/49484
6040 * libgcov.c: Include gthr.h.
6041 (__gcov_flush_mx): New global variable.
6042 (init_mx, init_mx_once): New functions.
6043 (__gcov_flush): Protect self with a mutex.
6044 (__gcov_fork): Re-initialize mutex after forking.
6045 * unwind-dw2-fde.c: Change condition under which to use
6046 __GTHREAD_MUTEX_INIT_FUNCTION.
6047
6048 2012-03-12 Tristan Gingold <gingold@adacore.com>
6049
6050 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6051 * config/ia64/t-vms: Likewise.
6052
6053 2012-03-11 Michael Hope <michael.hope@linaro.org>
6054
6055 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6056 for Thumb-2.
6057
6058 2012-03-07 Walter Lee <walt@tilera.com>
6059
6060 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6061 "arch_atomic_".
6062 (atomic_xor): Rename and move definition to
6063 config/tilepro/atomic.h.
6064 (atomic_nand): Ditto.
6065 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6066 "arch_atomic_".
6067 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6068 (arch_atomic_nand): Ditto.
6069
6070 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6071
6072 PR target/52507
6073 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6074
6075 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6076
6077 PR target/52505
6078 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6079 from RAM.
6080
6081 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6082
6083 PR target/52461
6084 PR target/52508
6085 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6086 if RAMPZ affects reading from RAM.
6087 (__tablejump_elpm__): Ditto.
6088 (.xload): Ditto.
6089 (__movmemx_hi): Ditto.
6090 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6091 (__do_global_dtors): Ditto.
6092 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6093 (__movmemx_hi): Ditto.
6094
6095 2012-03-05 Richard Henderson <rth@redhat.com>
6096
6097 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6098 [ARM] (count_trailing_zeros): Use the builtin.
6099
6100 2012-03-01 Kai Tietz <ktietz@redhat.com>
6101
6102 * soft-fp: Imported from glibc upstream.
6103
6104 2012-02-28 Kai Tietz <ktietz@redhat.com>
6105
6106 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6107 for mingw-targets as attribute gcc_struct.
6108
6109 2012-02-28 Ian Lance Taylor <iant@google.com>
6110
6111 * generic-morestack.c (__splitstack_releasecontext): Correct call
6112 to __morestack_release_segments.
6113
6114 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6115
6116 PR target/52390
6117 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6118 for __linux__ when removing signals from __morestack_fullmask.
6119
6120 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
6121
6122 PR target/52261
6123 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6124
6125 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6126
6127 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6128 instead of HAVE_INITFINI_ARRAY.
6129 * config/ia64/crtend.S: Likewise.
6130
6131 2012-02-20 Kai Tietz <ktietz@redhat.com>
6132
6133 PR libstdc++/52300
6134 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6135
6136 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6137 to w32-unwind.h header.
6138
6139 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6140
6141 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6142 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6143 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6144 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6145
6146 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6147
6148 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6149
6150 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6151
6152 PR libitm/52220
6153 * config/darwin-crt-tm.c: Correct typo.
6154
6155 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6156 Patrick Marlier <patrick.marlier@gmail.com>
6157
6158 PR libitm/52220
6159 * config/darwin-crt-tm.c: Generate dummy functions.
6160
6161 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6162 Patrick Marlier <patrick.marlier@gmail.com>
6163
6164 PR libitm/52042
6165 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6166 (__doTMRegistrations): Call it.
6167 (__doTMdeRegistrations): Likewise.
6168
6169 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
6170 Anatoly Sokolov <aesok@post.ru>
6171 Eric Weddington <eric.weddington@atmel.com>
6172
6173 PR target/52261
6174 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6175 (__epilogue_restores__): Ditto.
6176
6177 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6178
6179 PR target/51921
6180 PR target/52205
6181 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6182 Solaris 11 and slightly reformat.
6183 (sparc_is_sighandler): Likewise.
6184
6185 2012-02-14 Walter Lee <walt@tilera.com>
6186
6187 * config.host: Handle tilegx and tilepro.
6188 * config/tilegx/sfp-machine.h: New file.
6189 * config/tilegx/sfp-machine32.h: New file.
6190 * config/tilegx/sfp-machine64.h: New file.
6191 * config/tilegx/t-crtstuff: New file.
6192 * config/tilegx/t-softfp: New file.
6193 * config/tilegx/t-tilegx: New file.
6194 * config/tilepro/atomic.c: New file.
6195 * config/tilepro/atomic.h: New file.
6196 * config/tilepro/linux-unwind.h: New file.
6197 * config/tilepro/sfp-machine.h: New file.
6198 * config/tilepro/softdivide.c: New file.
6199 * config/tilepro/softmpy.S: New file.
6200 * config/tilepro/t-crtstuff: New file.
6201 * config/tilepro/t-tilepro: New file.
6202
6203 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6204
6205 PR libstdc++/51296
6206 PR libstdc++/51906
6207 * gthr-posix.h: Allow static initializer macros to be disabled.
6208 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6209
6210 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6211
6212 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6213 Add t-slibgcc-libgcc to tmake_file.
6214 * config/mips/libgcc-mips16.ver: Revert previous patch.
6215 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6216
6217 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6218 Jayant R Sonar <jayant.sonar@kpitcummins.com>
6219
6220 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6221 * config/cr16/crti.S: New file.
6222 * config/cr16/crtlibid.S: New file.
6223 * config/cr16/crtn.S: New file.
6224 * config/cr16/lib1funcs.S: New file.
6225 * config/cr16/t-cr16: New file.
6226 * config/cr16/t-crtlibid: New file.
6227 * config/cr16/unwind-dw2.h: New file.
6228 * config/cr16/unwind-cr16.c: New file.
6229 * config/cr16/divmodhi3.c: New file.
6230
6231 2012-01-25 Alan Modra <amodra@gmail.com>
6232
6233 * config/rs6000/t-linux64: Delete. Move..
6234 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6235 * config/rs6000/t-linux: ..and libgcc flags to here.
6236
6237 2012-01-22 Douglas B Rupp <rupp@gnat.com>
6238
6239 * config.host (i[34567]86-*-interix3*):
6240 Change triplet to i[34567]86-*-interix[3-9]*.
6241 * configure: Regenerate.
6242
6243 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6244 Richard Sandiford <rdsandiford@googlemail.com>
6245
6246 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6247 * config/mips/mips16.S (__mips16_rdhwr): New function.
6248 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6249
6250 2012-01-11 Nathan Sidwell <nathan@acm.org>
6251
6252 * libgcov.c (__gcov_init): Ignore objects with no functions.
6253
6254 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
6255
6256 PR target/49868
6257 Extend __pgmx semantics to linearize memory.
6258 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6259 * config/avr/lib1funcs.S (__xload_1): New function.
6260 (__movmemx_qi, __movmemx_hi): New functions.
6261 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6262 semantics.
6263
6264 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6265
6266 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6267 purported sigacthandler address isn't null before dereferencing it.
6268 (sparc_is_sighandler): Likewise.
6269
6270 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6271
6272 PR ada/41929
6273 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6274 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6275 (sparc_is_sighandler): Likewise.
6276 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6277
6278 2012-01-06 Tristan Gingold <gingold@adacore.com>
6279
6280 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6281 compatibility thunks...
6282 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6283 (crtbeginS.o, crtendS.o): ... and these to ...
6284 * config/ia64/t-ia64-elf: ... this new file.
6285 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6286 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6287
6288 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6289
6290 * configure: Regenerate.
6291 * config/s390/t-crtstuff: Remove -fPIC.
6292
6293 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6294
6295 PR bootstrap/51006
6296 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6297 for NetBSD.
6298
6299 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6300
6301 PR target/51345
6302 * config/avr/lib1funcs.S: Remove FIXME comments.
6303 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6304
6305 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6306
6307 Implement light-weight DImode support.
6308 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6309 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6310 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6311 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6312
6313 2011-12-30 Nathan Sidwell <nathan@acm.org>
6314
6315 * libgcov.c (gcov_crc32): Remove global var.
6316 (free_fn_data): New function.
6317 (buffer_fn_data): Pass in filename, more robust error recovery.
6318 (crc32_unsigned): New function.
6319 (gcov_exit): More robust detection of new program. More robust
6320 error recovery.
6321 (__gcov_init): Do not update program's crc here.
6322
6323 2011-12-21 Tristan Gingold <gingold@adacore.com>
6324
6325 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6326
6327 2011-12-21 Ian Lance Taylor <iant@google.com>
6328
6329 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6330
6331 2011-12-20 Ian Lance Taylor <iant@google.com>
6332
6333 * config/i386/morestack.S (__morestack_non_split): If there is
6334 enough stack space already, don't split. Ask for more stack space
6335 than we required.
6336
6337 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6338
6339 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6340 `sys/sdt.h'.
6341 (_Unwind_DebugHook): New function.
6342 (uw_restore_core_regs): New define.
6343 (unwind_phase2): Use uw_restore_core_regs instead of
6344 restore_core_regs.
6345 (unwind_phase2_forced): Likewise.
6346 (__gnu_Unwind_Resume): Likewise.
6347
6348 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
6349
6350 * config/alpha/linux-unwind.h: Update copyright years.
6351 (MD_FROB_UPDATE_CONTEXT): New define.
6352 (alpha_frob_update_context): New function.
6353
6354 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6355
6356 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6357 tmake_file rather replacing it.
6358
6359 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6360
6361 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
6362 function is not used for PPC64.
6363 (save_world): Amend comments. Update the VRsave mask to reflect the
6364 saved regs.
6365 (rest_world): Update comments, do not clobber r10, do not use r8.
6366 (eh_rest_world_r10): Amend comments, do not use r8.
6367 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6368 no longer used, move restore of CR and target address to the end of
6369 the routine.
6370
6371 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6372
6373 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6374 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6375
6376 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
6377
6378 PR target/49313
6379 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6380 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6381
6382 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6383
6384 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6385
6386 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
6387
6388 PR target/49313
6389 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6390 * config/avr/lib1funcs.S (__muldi3): New function.
6391
6392 2011-12-06 Andrew Pinski <apinski@cavium.com>
6393
6394 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6395 size of func_ptr.
6396 (__frame_dummy_init_array_entry): Likewise.
6397
6398 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
6399
6400 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6401
6402 PR target/51345
6403 PR target/51002
6404 * config/avr/lib1funcs.S (__prologue_saves__,
6405 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6406 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6407
6408 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6409
6410 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6411
6412 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6413
6414 PR other/51272
6415 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6416 (_ITM_deregisterTMCloneTable): Likewise.
6417 (__register_frame_info): Fix unused warning.
6418 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6419 pthread_default_stacksize_np): Likewise.
6420 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
6421
6422 2011-11-29 DJ Delorie <dj@redhat.com>
6423
6424 * config.host (rl78-*-elf): New case.
6425 * config/rl78: New directory for the Renesas RL78.
6426
6427 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6428
6429 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6430 formatting.
6431
6432 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6433
6434 PR other/51022
6435 * config/rs6000/t-savresfgpr: New file.
6436 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6437 $(srcdir)/config/rs6000/eabi.S.
6438 * config/rs6000/t-ppccomm-ldbl: Remove.
6439 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6440 tmake_file.
6441 (powerpc-*-eabispe*): Likewise.
6442 (powerpc-*-eabi*): Likewise.
6443 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6444 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6445 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6446 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6447 tmake_file.
6448 (powerpc-*-eabisim*): Likewise.
6449 (powerpc-*-elf*): Likewise.
6450 (powerpc-*-eabialtivec*): Likewise.
6451 (powerpc-xilinx-eabi*): Likewise.
6452 (powerpc-*-rtems*): Likewise.
6453 (powerpcle-*-elf*): Likewise.
6454 (powerpcle-*-eabisim*): Likewise.
6455 (powerpcle-*-eabi*): Likewise.
6456
6457 2011-11-27 Ian Lance Taylor <iant@google.com>
6458
6459 * generic-morestack.c (__splitstack_find): Check for NULL old
6460 stack value.
6461 (__splitstack_resetcontext): New function.
6462 (__splitstack_releasecontext): New function.
6463 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6464
6465 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6466
6467 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6468
6469 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6470
6471 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6472
6473 2011-11-26 Richard Henderson <rth@redhat.com>
6474
6475 * config/m68k/linux-atomic.c: New file.
6476 * config/m68k/t-linux: New file.
6477 * config.host (m68k-uclinux, m68k-linux): Use it.
6478
6479 2011-11-26 Richard Henderson <rth@redhat.com>
6480
6481 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6482 (__TMC_END__): Only declare if hidden is available; in the definition,
6483 if hidden is unavailable add a null record.
6484 (deregister_tm_clones, register_tm_clones): New.
6485 (__do_global_dtors_aux, frame_dummy): Use them.
6486 (__do_global_dtors, __do_global_ctors_1): Likewise.
6487
6488 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6489
6490 * config/darwin-crt-tm.c: New file.
6491 * config.host (darwin): Build crttms.o crttme.o to provide
6492 startup and shutdown for tm clones.
6493 * config/t-darwin (crttms.o): New build rule.
6494 (crttme.o): Likewise.
6495
6496 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
6497
6498 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6499 et al.
6500
6501 2011-11-21 Richard Henderson <rth@redhat.com>
6502
6503 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6504 (__TMC_LIST__, __TMC_END__): New.
6505 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6506 (__do_global_dtors): Likewise.
6507 (frame_dummy): Call _ITM_registerTMCloneTable.
6508 (__do_global_ctors_1): Likewise.
6509
6510 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6511
6512 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6513 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6514 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6515 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6516 * config/i386/t-darwin64: Remove.
6517 * config/sh/t-netbsd (LIB2ADD): Remove.
6518
6519 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
6520
6521 PR target/49313
6522 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6523 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6524 * config/avr/lib1funcs.S (wmov): New assembler macro.
6525 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6526 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6527 (__udivmod64): New function.
6528 (__negdi2): New function.
6529
6530 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6531
6532 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6533 *-*-freebsd*aout*): Remove.
6534
6535 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
6536
6537 * static-object.mk (c_flags-$o): Save c_flags.
6538 ($(base)$(objext)): Use it.
6539
6540 2011-11-18 Steve Ellcey <sje@cup.hp.com>
6541
6542 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6543
6544 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
6545
6546 PR target/49868
6547 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6548 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6549 New functions.
6550
6551 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6552
6553 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6554 functions.
6555 (aeabi_uidivmod): Likewise.
6556 (umodsi3): Likewise.
6557 (divsi3): Likewise.
6558 (aeabi_idivmod): Likewise.
6559 (modsi3): Likewise.
6560
6561 2011-11-16 Tristan Gingold <gingold@adacore.com>
6562
6563 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6564
6565 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
6566
6567 PR target/49868
6568 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6569 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6570
6571 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6572
6573 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6574 tmake_file list.
6575 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6576 * config/pa/t-stublib64: Delete.
6577
6578 2011-11-12 Richard Henderson <rth@redhat.com>
6579
6580 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6581 cast the pointer argument to _Unwind_SetGRPtr.
6582
6583 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6584
6585 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6586
6587 2011-11-09 Ian Lance Taylor <iant@google.com>
6588
6589 * generic-morestack.c: Include <string.h>.
6590 (uintptr_type): Define.
6591 (struct initial_sp): Add dont_block_signals field. Reduce size of
6592 extra array by 1.
6593 (allocate_segment): Set prev field to NULL. Don't set
6594 __morestack_current_segment or __morestack_segments.
6595 (__generic_morestack): Update current->prev and *pp after calling
6596 allocate_segment.
6597 (__morestack_block_signals): Don't do anything if
6598 dont_block_signals is set.
6599 (__morestack_unblock_signals): Likewise.
6600 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6601 uintptr_type.
6602 (__splitstack_block_signals): New function.
6603 (enum __splitstack_content_offsets): Define.
6604 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6605 (__splitstack_makecontext): New function.
6606 (__splitstack_block_signals_context): New function.
6607 (__splitstack_find_context): New function.
6608 * config/i386/morestack.S (__morestack_get_guard): New function.
6609 (__morestack_set_guard, __morestack_make_guard): New functions.
6610 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6611
6612 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6613
6614 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6615 (i[34567]86-*-mingw*): ... here.
6616 (x86_64-*-mingw*): ... here.
6617
6618 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6619
6620 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6621
6622 2011-11-07 Nathan Sidwell <nathan@acm.org>
6623
6624 * libgcov.c (struct gcov_fn_buffer): New struct.
6625 (buffer_fn_data): New helper.
6626 (gcov_exit): Rework for new gcov data structures.
6627
6628 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
6629
6630 PR target/49313
6631 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6632
6633 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6634
6635 * config.host (tmake_file): Correct comment.
6636 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6637 t-libgcc-pic.
6638 (bfin*-uclinux*): Likewise.
6639 (bfin*-linux-uclibc*): Likewise.
6640 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6641
6642 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6643 assigning.
6644 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6645 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6646 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6647 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6648 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6649 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6650 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6651 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6652 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6653 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6654 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6655 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6656 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6657
6658 * config/bfin/t-elf: Remove.
6659 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6660
6661 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6662
6663 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6664 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6665 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6666 (lm32-*-elf*): ... this.
6667 (lm32-*-rtems*): ... and this.
6668 Add to tmake_file.
6669 (m32r-*-rtems*): Add to tmake_file.
6670 (moxie-*-rtems*): Likewise.
6671 (sparc-*-rtems*): Likewise.
6672 Remove t-rtems from tmake_file.
6673 (sparc64-*-rtems*): Likewise.
6674 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6675 instead.
6676
6677 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6678
6679 PR bootstrap/50982
6680 * config/gthr-posix.h: Move ...
6681 * gthr-posix.h: ... here.
6682 * config/gthr-lynx.h: Reflect this.
6683 * config/gthr-vxworks.h: Likewise.
6684 * config/rs6000/gthr-aix.h: Likewise.
6685 * configure.ac (target_thread_file): Likewise.
6686 * configure: Regenerate.
6687
6688 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6689
6690 * config.host (arm*-*-rtemseabi*): New target.
6691
6692 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6693
6694 PR other/50991
6695 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6696 extra-parts.
6697
6698 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6699
6700 * config.host (epiphany-*-elf*): New configuration.
6701 * config/epiphany: New Directory.
6702
6703 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6704
6705 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6706 * config/avr/t-rtems: New.
6707 Filter out _exit from LIB1ASMFUNCS.
6708
6709 2011-11-04 David S. Miller <davem@davemloft.net>
6710
6711 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6712 * configure: Rebuild.
6713
6714 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6715
6716 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6717 variable.
6718
6719 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
6720
6721 PR target/50931
6722 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6723 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6724
6725 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6726
6727 PR target/50989
6728 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6729
6730 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6731
6732 * config/c6x/t-elf (LIB2ADDEH): Set.
6733 * config/c6x/t-c6x-elf: Remove.
6734
6735 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6736
6737 * config/i386/sol2-ci.S: Rename to ...
6738 * config/i386/crti.S: ... this.
6739 * config/i386/sol2-cn.S: Rename to ...
6740 * config/i386/crtn.S: ... this.
6741 * config/sparc/sol2-ci.S: Rename to ...
6742 * config/sparc/crti.S: ... this.
6743 * config/sparc/sol2-cn.S: Rename to ...
6744 * config/sparc/crtn.S: ... this.
6745 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6746 (crti.o, crtn.o): Remove.
6747
6748 2011-11-04 Tristan Gingold <gingold@adacore.com>
6749
6750 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6751
6752 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6753
6754 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6755
6756 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
6757
6758 * config.host (crisv32-*-none, cris-*-none): Remove.
6759 (crisv32-*-elf): Append to tmake_file, don't just set it.
6760 (cris-*-elf): Add missing t-fdpbit to tmake_file.
6761
6762 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6763
6764 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6765 (ecrtn$(objext)): Likewise.
6766 (ncrti$(objext)): Likewise.
6767 (ncrtn$(objext)): Likewise.
6768
6769 2011-11-03 Andreas Schwab <schwab@redhat.com>
6770
6771 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6772
6773 2011-11-02 David S. Miller <davem@davemloft.net>
6774
6775 * configure.ac: Set host_address on sparc too.
6776 * configure: Regenerate.
6777 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6778 based upon host_address.
6779 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6780
6781 2011-11-02 Jason Merrill <jason@redhat.com>
6782
6783 * config/rs6000/t-ppccomm: Add missing \.
6784
6785 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6786
6787 * gthr-single.h, gthr.h: New files.
6788 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6789 config/gthr-vxworks.h, config/i386/gthr-win32.h,
6790 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6791 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6792 * config/i386/gthr-win32.c: Include "gthr-win32.h".
6793 * configure.ac (thread_header): New variable.
6794 Set it depending on target_thread_file.
6795 (gthr-default.h): Link from $thread_header.
6796 * configure: Regenerate.
6797 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6798
6799 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6800
6801 * configure.ac (tm_file_): New variable.
6802 Determine from tm_file.
6803 (tm_file, tm_defines): Substitute.
6804 * configure: Regenerate.
6805 * mkheader.sh: New file.
6806 * Makefile.in (clean): Remove libgcc_tm.h.
6807 ($(objects)): Depend on libgcc_tm.h.
6808 (libgcc_tm_defines, libgcc_tm_file): New variables.
6809 (libgcc_tm.h, libgcc_tm.stamp): New targets.
6810 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6811 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6812 ($(extra-parts)): Depend on libgcc_tm.h.
6813 * config.host (tm_defines, tm_file): New variable.
6814 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6815 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6816 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6817 (avr-*-rtems*): Likewise.
6818 (avr-*-*): Likewise.
6819 (frv-*-elf): Likewise.
6820 (frv-*-*linux*): Likewise.
6821 (h8300-*-rtems*): Likewise.
6822 (h8300-*-elf*): Likewise.
6823 (i[34567]86-*-darwin*): Likewise.
6824 (x86_64-*-darwin*): Likewise.
6825 (rx-*-elf): Likewise.
6826 (tic6x-*-uclinux): Likewise.
6827 (tic6x-*-elf): Likewise.
6828 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6829 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6830 * config/i386/cygming-crtbegin.c: Likewise.
6831 * config/i386/cygming-crtend.c: Likewise.
6832 * config/ia64/fde-vms.c: Likewise.
6833 * config/ia64/unwind-ia64.c: Likewise.
6834 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6835 * config/rs6000/darwin-fallback.c: Likewise.
6836 * config/stormy16/lib2funcs.c: Likewise.
6837 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6838 * crtstuff.c: Likewise.
6839 * dfp-bit.h: Likewise.
6840 * emutls.c: Likewise.
6841 * fixed-bit.c: Likewise.
6842 * fp-bit.c: Likewise.
6843 * generic-morestack-thread.c: Likewise.
6844 * generic-morestack.c: Likewise.
6845 * libgcc2.c: Likewise.
6846 * libgcov.c: Likewise.
6847 * unwind-dw2-fde-dip.c: Likewise.
6848 * unwind-dw2-fde.c: Likewise.
6849 * unwind-dw2.c: Likewise.
6850 * unwind-sjlj.c: Likewise.
6851
6852 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6853
6854 * configure.ac: Include ../config/picflag.m4.
6855 (GCC_PICFLAG): Call it.
6856 Substitute.
6857 * configure: Regenerate.
6858 * Makefile.in (gcc_srcdir): Remove.
6859 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6860 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6861 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6862 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6863 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6864 Use $<.
6865 Remove comment.
6866 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6867 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6868 to refer to libgcc2.c.
6869 Use $<.
6870 * config/darwin-64.c: New file.
6871 * config/darwin-crt3.c: Remove comment.
6872 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6873 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6874 config/udivmodsi4.c: New files.
6875 * config/memcmp.c, config/memcpy.c, config/memmove.c,
6876 config/memset.c: New files.
6877 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6878 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6879 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6880 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6881 * config/t-openbsd-thread: New file.
6882 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6883 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6884 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6885 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6886 qrnnd.S.
6887 Adapt filename.
6888 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6889 to refer to gthr-posix.c.
6890 * config/alpha/t-vms (LIB2ADD): Set.
6891 * config/alpha/vms-gcc_shell_handler.c: New file.
6892 * config/arm/bpabi.c, config/arm/fp16.c,
6893 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6894 config/arm/unaligned-funcs.c: New files.
6895 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6896 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6897 * config/arm/t-linux: Likewise.
6898 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6899 * config/arm/t-netbsd: New file.
6900 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6901 * config/arm/t-symbian (LIB2ADD_ST): Set.
6902 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
6903 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6904 * config/bfin/t-elf: New file.
6905 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
6906 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
6907 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
6908 config/c6x/ltf.c: New files.
6909 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
6910 (HOST_LIBGCC2_CFLAGS): Set.
6911 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
6912 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6913 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
6914 New files.
6915 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
6916 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
6917 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
6918 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
6919 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
6920 files.
6921 * config/frv/t-frv (LIB2ADD): Set.
6922 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6923 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
6924 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
6925 config/h8300/popcounthi2.c: New files.
6926 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6927 * config/i386/gthr-win32.c: New file.
6928 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
6929 * config/i386/t-cygwin: Likewise.
6930 * config/i386/t-darwin, config/i386/t-darwin64,
6931 config/i386/t-gthr-win32, config/i386/t-interix: New files.
6932 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
6933 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6934 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6935 * config/ia64/quadlib.c: New file.
6936 * config/ia64/t-hpux (LIB2ADD): Set.
6937 * config/ia64/t-ia64: Add comment.
6938 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
6939 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6940 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
6941 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
6942 * config/m32c/t-m32c (LIB2ADD): Set.
6943 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6944 * config/m32r/t-m32r: Likewise.
6945 * config/m68k/fpgnulib.c: New file.
6946 * config/m68k/t-floatlib (LIB2ADD): Set.
6947 (xfgnulib.c): New target.
6948 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
6949 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
6950 * config/mep/t-mep (LIB2ADD): Set.
6951 * config/microblaze/divsi3.asm: Rename to divsi3.S.
6952 * config/microblaze/moddi3.asm: Rename to moddi3.S.
6953 * config/microblaze/modsi3.asm: Rename to modsi3.S.
6954 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
6955 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
6956 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
6957 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
6958 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
6959 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
6960 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
6961 New files.
6962 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6963 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6964 * config/pa/fptr.c, config/pa/lib2funcs.S,
6965 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6966 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6967 (LIB2ADD, LIB2ADD_ST): Set.
6968 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6969 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6970 Set.
6971 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6972 * config/pdp11/t-pdp11: New file.
6973 * config/picochip/libgccExtras/adddi3.S,
6974 config/picochip/libgccExtras/ashlsi3.S,
6975 config/picochip/libgccExtras/ashrsi3.S,
6976 config/picochip/libgccExtras/clzsi2.S,
6977 config/picochip/libgccExtras/cmpsi2.S,
6978 config/picochip/libgccExtras/divmod15.S,
6979 config/picochip/libgccExtras/divmodhi4.S,
6980 config/picochip/libgccExtras/divmodsi4.S,
6981 config/picochip/libgccExtras/lshrsi3.S,
6982 config/picochip/libgccExtras/parityhi2.S,
6983 config/picochip/libgccExtras/popcounthi2.S,
6984 config/picochip/libgccExtras/subdi3.S,
6985 config/picochip/libgccExtras/ucmpsi2.S,
6986 config/picochip/libgccExtras/udivmodhi4.S,
6987 config/picochip/libgccExtras/udivmodsi4.S: New files.
6988 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6989 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6990 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6991 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6992 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6993 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6994 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
6995 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6996 files.
6997 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6998 (HOST_LIBGCC2_CFLAGS): Set.
6999 * config/rs6000/t-darwin64: New file.
7000 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7001 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7002 * config/rs6000/t-ppccomm (LIB2ADD): Add
7003 $(srcdir)/config/rs6000/tramp.S.
7004 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7005 Add $(srcdir)/config/rs6000/eabi.S.
7006 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7007 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7008 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7009 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7010 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7011 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7012 * config/rs6000/tramp.S: New file.
7013 * config/s390/t-tpf: Remove.
7014 * config/sh/linux-atomic.S: New file.
7015 * config/sh/t-linux (LIB2ADD): Set.
7016 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7017 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7018 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7019 to unwind-dw2.c.
7020 (HOST_LIBGCC2_CFLAGS): Set.
7021 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7022 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7023 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7024 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7025 config/spu/mfc_multi_tag_release.c,
7026 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7027 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7028 config/spu/multi3.c: New files.
7029 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7030 (HOST_LIBGCC2_CFLAGS): Set.
7031 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7032 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7033 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7034 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7035 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7036 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7037 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7038 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7039 config/stormy16/umodsi3.c: New files.
7040 * config/xtensa/lib2funcs.S: New file.
7041 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7042 * config/xtensa/t-xtensa (LIB2ADD): Set.
7043 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7044 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7045 Add t-freebsd-thread to tmake_file for posix threads.
7046 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7047 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7048 (*-*-lynxos*): Likewise.
7049 (*-*-netbsd*): Likewise.
7050 (*-*-openbsd*): Likewise.
7051 Add t-openbsd-thread to tmake_file for posix threads.
7052 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7053 (*-*-vxworks*): Set tmake_file.
7054 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7055 (alpha*-*-freebsd*): Likewise.
7056 (alpha*-*-netbsd*): Likewise.
7057 (alpha*-*-openbsd*): Likewise.
7058 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7059 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7060 (alpha*-dec-*vms*): Likewise.
7061 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7062 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7063 (bfin*-uclinux*): Likewise.
7064 (bfin*-linux-uclibc*): Likewise.
7065 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7066 (crisv32-*-none): Likewise.
7067 (cris-*-elf): Likewise.
7068 (cris-*-none): Likewise.
7069 (cris-*-linux*, crisv32-*-linux*): Likewise.
7070 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7071 tmake_file.
7072 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7073 tmake_file.
7074 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7075 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7076 (x86_64-*-elf*): Likewise.
7077 (i[34567]86-*-nto-qnx*): Likewise.
7078 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7079 win32 threads.
7080 (x86_64-*-mingw*): Likewise.
7081 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7082 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7083 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7084 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7085 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7086 tmake_file.
7087 (mipsisa64sr71k-*-elf*): Likewise.
7088 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7089 (mips-*-elf*, mipsel-*-elf*): Likewise.
7090 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7091 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7092 (mips*-*-rtems*): Likewise.
7093 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7094 to tmake_file.
7095 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7096 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7097 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7098 (spu-*-elf*): Likewise.
7099 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7100
7101 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7102
7103 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7104 $(srcdir) to refer to $(LIB1ASMSRC).
7105 Use $<.
7106 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7107 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7108 config/arm/lib1funcs.S: New files.
7109 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7110 * config/arm/t-arm: New file.
7111 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7112 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7113 config/arm/t-strongarm-elf: New files.
7114 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7115 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7116 * config/avr/lib1funcs.S: New file.
7117 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7118 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7119 * config/c6x/lib1funcs.S: New file.
7120 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7121 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7122 * config/frv/lib1funcs.S: New file.
7123 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7124 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7125 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7126 * config/ia64/__divxf3.asm: Rename to ...
7127 * config/ia64/__divxf3.S: ... this.
7128 Adapt lib1funcs.asm filename.
7129 * config/ia64/_fixtfdi.asm: Rename to ...
7130 * config/ia64/_fixtfdi.S: ... this.
7131 Adapt lib1funcs.asm filename.
7132 * config/ia64/_fixunstfdi.asm: Rename to ...
7133 * config/ia64/_fixunstfdi.S: ... this.
7134 Adapt lib1funcs.asm filename.
7135 * config/ia64/_floatditf.asm: Rename to ...
7136 * config/ia64/_floatditf.S: ... this.
7137 Adapt lib1funcs.asm filename.
7138 * config/ia64/lib1funcs.S: New file.
7139 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7140 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7141 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7142 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7143 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7144 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7145 * config/mep/lib1funcs.S: New file.
7146 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7147 * config/mips/mips16.S: New file.
7148 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7149 * config/pa/milli64.S: New file.
7150 * config/pa/t-linux, config/pa/t-linux64: New files.
7151 * config/picochip/lib1funcs.S: New file.
7152 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7153 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7154 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7155 * config/sh/t-netbsd: New file.
7156 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7157 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7158 * config/sh/t-sh64: New file.
7159 * config/sparc/lb1spc.S: New file.
7160 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7161 filename.
7162 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7163 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7164 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7165 config/xtensa/lib1funcs.S: New files.
7166 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7167 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7168 tmake_file.
7169 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7170 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7171 (arm*-*-linux*): Likewise.
7172 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7173 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7174 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7175 (arm*-*-ecos-elf): Likewise.
7176 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7177 (arm*-*-rtems*): Likewise.
7178 (arm*-*-elf): Likewise.
7179 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7180 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7181 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7182 (bfin*-uclinux*): Likewise.
7183 (bfin*-linux-uclibc*): Likewise.
7184 (bfin*-rtems*): Likewise.
7185 (bfin*-*): Likewise.
7186 (fido-*-elf): Merge into m68k-*-elf*.
7187 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7188 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7189 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7190 (h8300-*-elf*): Likewise.
7191 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7192 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7193 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7194 (i[34567]86-*-mingw*): Likewise.
7195 (x86_64-*-mingw*): Likewise.
7196 (i[34567]86-*-interix3*): Likewise.
7197 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7198 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7199 (m68k-*-elf*): Also handle fido-*-elf.
7200 Add m68k/t-floatlib to tmake_file.
7201 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7202 (m68k-*-linux*): Likewise.
7203 (m68k-*-rtems*): Likewise.
7204 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7205 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7206 sh64*-*-*.
7207 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7208 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7209 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7210 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7211 sh/t-netbsd to tmake_file.
7212 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7213 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7214 (sh-wrs-vxworks): Likewise.
7215 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7216 *-leon[3-9]*.
7217 (v850*-*-*): Add v850/t-v850 to tmake_file.
7218 (vax-*-linux*): Add vax/t-linux to tmake_file.
7219 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7220
7221 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7222
7223 * crtstuff.c: New file.
7224 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7225 (CRTSTUFF_T_CFLAGS): Define.
7226 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7227 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7228 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7229 crtstuff.c.
7230 Use $<.
7231 (crtbeginT.o): Use $(objext).
7232 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7233 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7234 (gcc-extra-parts): Remove.
7235 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7236 Set extra_parts.
7237 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7238 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7239 Add t-crtstuff-pic to tmake_file.
7240 (*-*-lynxos*): New case.
7241 Set tmake_file, extra_parts.
7242 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7243 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7244 *-*-netbsdelf[2-9]*.
7245 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7246 (*-*-rtems*): Set extra_parts.
7247 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7248 (*-*-uclinux*): New case.
7249 Set extra_parts.
7250 (*-*-vms*): New case.
7251 Set tmake_file, extra_parts.
7252 (*-*-elf): Set extra_parts.
7253 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7254 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7255 vms/t-vms64.
7256 Set extra_parts.
7257 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7258 Set extra_parts.
7259 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7260 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7261 (arm-wrs-vxworks): Append to tmake_file.
7262 Set extra_parts.
7263 (arm*-*-uclinux*): Set extra_parts.
7264 (arm*-*-ecos-elf): Likewise.
7265 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7266 arm*-*-eabi*.
7267 (arm*-*-rtems*): Set extra_parts.
7268 (arm*-*-elf): Likewise.
7269 (avr-*-rtems*): Clear extra_parts.
7270 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7271 Set extra_parts.
7272 (bfin*-uclinux*): Likewise.
7273 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7274 (bfin*-rtems*): Append to tmake_file.
7275 Set extra_parts.
7276 (bfin*-*): Likewise.
7277 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7278 (crisv32-*-elf): ... this.
7279 (crisv32-*-none): ... this.
7280 (cris-*-elf, cris-*-none): New cases.
7281 Add cris/t-elfmulti to tmake_file.
7282 (fr30-*-elf): Append to tmake_file.
7283 Set extra_parts.
7284 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7285 Set extra_parts.
7286 (h8300-*-rtems*): Append to tmake_file.
7287 Set extra_parts.
7288 (h8300-*-elf*): Likewise.
7289 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7290 Set extra_parts.
7291 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7292 Set extra_parts.
7293 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7294 (x86_64-*-elf*): Likewise.
7295 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7296 (x86_64-*-freebsd*): Likewise.
7297 (x86_64-*-netbsd*): Likewise.
7298 (i[34567]86-*-linux*): Likewise.
7299 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7300 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7301 (x86_64-*-linux*): Likewise.
7302 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7303 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7304 tmake_file.
7305 Set extra_parts.
7306 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7307 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7308 Append to extra_parts, remove crtbegin.o, crtend.o.
7309 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7310 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7311 crtend.o, crtbeginS.o, crtendS.o.
7312 (ia64*-*-linux*): Comment extra_parts.
7313 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7314 Set extra_parts.
7315 (iq2000*-*-elf*): Clear extra_parts.
7316 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7317 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7318 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7319 (m32r-*-rtems*): ... this.
7320 Add m32r/t-m32r to tmake_file.
7321 (m68k-*-elf*): Add t-crtin to tmake_file.
7322 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7323 (mcore-*-elf): Likewise.
7324 (microblaze*-*-*): Set extra_parts.
7325 (mips*-sde-elf*): New case.
7326 Set tmake_file, extra_parts.
7327 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7328 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7329 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7330 tmake_file.
7331 Set extra_parts.
7332 (mipsisa64sr71k-*-elf*): Likewise.
7333 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7334 (mips-*-elf*, mipsel-*-elf*): Likewise.
7335 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7336 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7337 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7338 (mips*-*-rtems*): Likewise.
7339 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7340 (moxie-*-*): Split into ...
7341 (moxie-*-elf, moxie-*-uclinux*): ... this.
7342 Add to extra_parts, remove crtbegin.o, crtend.o.
7343 (moxie-*-rtems*): New case.
7344 Set tmake_file.
7345 Clear extra_parts.
7346 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7347 Set extra_parts.
7348 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7349 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7350 tmake_file.
7351 Set extra_parts.
7352 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7353 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7354 Set extra_parts.
7355 (powerpc-*-eabisim*): Likewise.
7356 (powerpc-*-elf*): Likewise.
7357 (powerpc-*-eabialtivec*): Likewise.
7358 (powerpc-xilinx-eabi*): Likewise.
7359 (powerpc-*-eabi*): Likewise.
7360 (powerpc-*-rtems*): Likewise.
7361 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7362 tmake_file.
7363 Set extra_parts.
7364 (powerpc-*-lynxos*): Add to tmake_file.
7365 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7366 rs6000/t-crtstuff, t-crtstuff-pic.
7367 Set extra_parts.
7368 (powerpcle-*-eabisim*): Likewise.
7369 (powerpcle-*-eabi*): Likewise.
7370 (rx-*-elf): Remove extra_parts.
7371 (s390x-ibm-tpf*): Set extra_parts.
7372 (score-*-elf): Set extra_parts.
7373 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7374 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7375 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7376 (sh64l*-*-netbsd*): Split into ...
7377 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7378 Add t-crtstuff-pic to tmake_file.
7379 Set extra_parts.
7380 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7381 Set extra_parts.
7382 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7383 (sparc-*-elf*): Remove t-crtin from tmake_file.
7384 Add to extra_parts, remove crtbegin.o, crtend.o.
7385 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7386 (sparc64-*-linux*): Likewise.
7387 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7388 Add to extra_parts, remove crtbegin.o, crtend.o.
7389 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7390 Add to extra_parts, remove crtbegin.o, crtend.o.
7391 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7392 Add to extra_parts, remove crtbegin.o, crtend.o.
7393 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7394 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7395 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7396 Set extra_parts.
7397 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7398 Set extra_parts.
7399 (tic6x-*-*): Change to ...
7400 (tic6x-*-elf): ... this.
7401 Set extra_parts.
7402 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7403 Set extra_parts.
7404 (am33_2.0-*-linux*): Add comment.
7405 (mep*-*-*): Add mep/t-mep to tmake_file.
7406 Set extra_parts.
7407 * config/alpha/t-vms: New file.
7408 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7409 * config/arm/crti.S, config/arm/crtn.S: New files.
7410 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7411 * config/bfin/crtlibid.S: New file.
7412 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7413 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7414 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7415 (crti.o, crtin.o): New rules.
7416 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7417 * config/c6x/t-uclinux: New file.
7418 * config/cris/t-elfmulti: New file.
7419 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7420 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7421 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7422 * config/frv/t-frv: New file.
7423 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7424 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7425 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7426 New files.
7427 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7428 refer to cygming-crtbegin.c, cygming-crtend.c.
7429 Use $<.
7430 * config/i386/t-nto: New file.
7431 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7432 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7433 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7434 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7435 Use .S extension.
7436 Use $<.
7437 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7438 (crtinitS.o): New rule.
7439 * config/ia64/vms-crtinit.S: New file.
7440 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7441 * config/m32r/initfini.c: New file.
7442 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7443 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7444 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7445 * config/mep/t-mep: New file.
7446 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7447 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7448 * config/mips/crti.S, config/mips/crtn.S: New files.
7449 * config/mips/t-crtstuff: New file.
7450 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7451 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7452 (CUSTOM_CRTIN): Set.
7453 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7454 dependencies.
7455 Use $(srcdir) to refer to crti.S, crtn.S.
7456 Use .S extension, $<.
7457 * config/moxie/crti.asm: Rename to ...
7458 * config/moxie/crti.S: ... this.
7459 * config/moxie/crtn.asm: Rename to ...
7460 * config/moxie/crtn.S: ... this.
7461 * config/moxie/t-moxie: Remove.
7462 * config/pa/stublib.c: New file.
7463 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7464 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7465 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7466 * config/rs6000/t-crtstuff: New file.
7467 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7468 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7469 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7470 Make output file explicit.
7471 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7472 Make output file explicit.
7473 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7474 Make output file explicit.
7475 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7476 Make output file explicit.
7477 * config/score/crti.S, config/score/crtn.S: New files.
7478 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7479 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7480 files.
7481 * config/sh/t-sh, config/sh/t-superh: New files.
7482 * config/sparc/t-linux64: New file.
7483 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7484 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7485 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7486 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7487 * config/t-crtin: Remove.
7488 * config/t-crtstuff-pic: New file.
7489 * config/t-sol2 (CUSTOM_CRTIN): Set.
7490 (crti.o, crtn.o): New rules.
7491 * config/vms/t-vms: New file.
7492 * config/vms/vms-ucrt0.c: New file.
7493 * config/xtensa/t-elf: New file.
7494
7495 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7496
7497 * Makefile.in (SHLIB_NM_FLAGS): Set.
7498 * mkmap-flat.awk, mkmap-symver.awk: New files.
7499 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7500 exceptions.
7501 * configure: Regenerate.
7502 * config/libgcc-glibc.ver: New file.
7503 * config/libgcc-libsystem.ver: New file.
7504 * config/t-libunwind (SHLIB_LC): Set.
7505 * config/t-linux: New file.
7506 * config/t-slibgcc (INSTALL_SHLIB): New.
7507 (SHLIB_INSTALL): Use it.
7508 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7509 to mkmap-symver.awk.
7510 (SHLIB_MAPFILES): Don't append, adapt pathname.
7511 (SHLIB_VERPFX): Set.
7512 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7513 to mkmap-symver.awk.
7514 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7515 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7516 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7517 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7518 to mkmap-flat.awk.
7519 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7520 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7521 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7522 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7523 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7524 * config/i386/libgcc-darwin.10.4.ver,
7525 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7526 New files.
7527 * config/i386/t-darwin: Remove.
7528 * config/i386/t-darwin64: Likewise.
7529 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7530 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7531 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7532 * config/i386/t-linux: New file.
7533 * config/i386/t-mingw32: New file.
7534 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7535 * config/ia64/t-glibc: Rename to ...
7536 * config/ia64/t-linux: ... this.
7537 (SHLIB_MAPFILES): Set.
7538 * config/ia64/t-glibc-libunwind: Rename to ...
7539 * config/ia64/t-linux-libunwind: ... this.
7540 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7541 * config/ia64/t-slibgcc-hpux: New file.
7542 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7543 * config/m68k/t-slibgcc-elf-ver: New file.
7544 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7545 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7546 to mkmap-flat.awk.
7547 * config/pa/t-slibgcc-hpux: New file.
7548 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7549 files.
7550 * config/rs6000/libgcc-darwin.10.4.ver,
7551 config/rs6000/libgcc-darwin.10.5.ver: New files.
7552 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7553 config/rs6000/libgcc-glibc.ver.
7554 * config/rs6000/libgcc-ppc64.ver: Rename to
7555 config/rs6000/libgcc-ibm-ldouble.ver.
7556 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7557 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7558 * config/rs6000/t-ldbl128: Rename to ...
7559 * config/rs6000/t-linux: ... this.
7560 (SHLIB_MAPFILES): Adapt filename.
7561 * config/rs6000/t-slibgcc-aix: New file.
7562 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7563 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7564 libgcc-excl.ver, libgcc-glibc.ver.
7565 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7566 * config/sparc/libgcc-glibc.ver: New file.
7567 * config/sparc/t-linux: New file.
7568 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7569 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7570 t-slibgcc-elf-ver to tmake_file.
7571 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7572 *-*-freebsd[34].
7573 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7574 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7575 t-slibgcc-elf-ver, t-linux to tmake_file.
7576 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7577 tmake_file.
7578 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7579 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7580 (alpha*-dec-*vms*): Likewise.
7581 (arm*-*-freebsd*): Append to tmake_file.
7582 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7583 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7584 arm*-*-linux-*eabi.
7585 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7586 tmake_file for arm*-*-symbianelf*.
7587 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7588 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7589 cris/t-linux.
7590 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7591 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7592 pa/t-slibgcc-dwarf-ver to tmake_file.
7593 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7594 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7595 (hppa*64*-*-hpux11*): Likewise.
7596 (hppa[12]*-*-hpux11*): Likewise.
7597 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7598 i386/t-crtpc, i386/t-crtfm.
7599 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7600 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7601 to tmake_file.
7602 Add i386/t-cygwin to tmake_file.
7603 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7604 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7605 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7606 to tmake_file.
7607 Add i386/t-mingw32 to tmake_file.
7608 (x86_64-*-mingw*): Likewise.
7609 (ia64*-*-freebsd*): Append to tmake_file.
7610 (ia64*-*-linux*): Append to tmake_file.
7611 Replace ia64/t-glibc by ia64/t-linux.
7612 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7613 system libunwind.
7614 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7615 t-slibgcc-hpux to tmake_file.
7616 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7617 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7618 (m32rle-*-linux*): Likewise.
7619 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7620 sjlj exceptions.
7621 (microblaze*-linux*): New case.
7622 Append to tmake_file, add t-slibgcc-nolc-override.
7623 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7624 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7625 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7626 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7627 rs6000/t-slibgcc-aix to tmake_file.
7628 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7629 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7630 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7631 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7632 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7633 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7634 sh*-*-linux*.
7635 (sparc-*-linux*): Append to tmake_file for *-leon*.
7636 Add sparc/t-linux to tmake_file for non-Leon targets.
7637 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7638 (tic6x-*-uclinux): New case.
7639 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7640 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7641 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7642 (am33_2.0-*-linux*): Append to tmake_file.
7643 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7644 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7645 x86_64-*-kfreebsd*-gnu.
7646 Add i386/t-linux to tmake_file.
7647
7648 2011-10-28 Ian Lance Taylor <iant@google.com>
7649
7650 * config/i386/morestack.S: Correct CFI information to do proper
7651 returns throughout function. In 32-bit mode, save %ebx so that it
7652 is restored on unwind.
7653
7654 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7655
7656 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7657 case where B3 isn't the return register.
7658
7659 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7660 logic for doubleword pops.
7661
7662 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
7663
7664 * config/rs6000/t-freebsd: Add wildcard.
7665
7666 2011-10-21 Paul Brook <paul@codesourcery.com>
7667
7668 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7669
7670 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
7671 Eric Botcazou <ebotcazou@adacore.com>
7672
7673 PR target/50737
7674 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7675 fs->signal_frame to 1.
7676
7677 2011-10-07 Ian Lance Taylor <iant@google.com>
7678
7679 * generic-morestack-thread.c: #include <errno.h>.
7680
7681 2011-10-07 Ian Lance Taylor <iant@google.com>
7682
7683 PR target/46093
7684 * generic-morestack.c (__generic_morestack): Make sure the segment
7685 is large enough for both the stack frame and the copied
7686 parameters.
7687
7688 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7689
7690 PR bootstrap/49804
7691 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7692 extra_parts.
7693
7694 2011-09-28 Nick Clifton <nickc@redhat.com>
7695
7696 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7697 64-bit doubles are not enabled.
7698 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7699 and floatunsisf functions.
7700
7701 2011-09-13 Paul Brook <paul@codesourcery.com>
7702
7703 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7704 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7705 * unwind-arm-common.inc: New file.
7706 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7707 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7708 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7709 * config/c6x/libunwind.S: New file.
7710 * config/c6x/pr-support.c: New file.
7711 * config/c6x/unwind-c6x.c: New file.
7712 * config/c6x/unwind-c6x.h: New file.
7713 * config/c6x/t-c6x-elf: New file.
7714
7715 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
7716
7717 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7718 (ASM_DIVZERO): Ditto.
7719 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7720
7721 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7722
7723 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7724
7725 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
7726
7727 PR target/50090
7728 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7729 instead of an assembly one.
7730
7731 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
7732
7733 PR bootstrap/50047
7734 * Makefile.in (install-unwind_h): Create
7735 $(gcc_objdir)/include/unwind.h atomically.
7736
7737 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7738
7739 * Makefile.in (install-unwind_h): Remove destination file first.
7740
7741 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7742
7743 * sync.c: New file.
7744 * config/mips/t-mips16: New file.
7745 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7746 (mips*-*-linux*): Likewise.
7747 (mips*-sde-elf*): Likewise.
7748 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7749 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7750 Add mips/t-mips16 to tmake_file.
7751 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7752 (mips-*-elf*): Likewise.
7753 (mips64-*-elf*): Likewise.
7754 (mips64orion-*-elf*): Likewise.
7755 (mips*-*-rtems*): Likewise.
7756 (mipstx39-*-elf*): Likewise.
7757 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7758 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7759 LIBGCC_SYNC_CFLAGS.
7760 Use $(srcdir) to refer to sync.c.
7761 Use $<.
7762 ($(libgcc-sync-funcs-o)): Likewise.
7763 ($(libgcc-sync-size-funcs-s-o)): Likewise.
7764 ($(libgcc-sync-funcs-s-o)): Likewise.
7765
7766 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7767
7768 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7769 t-libunwind.
7770
7771 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7772
7773 PR other/48007
7774 * config/i386/value-unwind.h: New.
7775
7776 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
7777
7778 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7779 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7780 Add to tmake_file rather than overriding it.
7781
7782 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7783
7784 * config/t-softfp: Remove.
7785 * soft-fp: Moved from ../gcc/config.
7786 * soft-fp/README: Remove t-softfp reference.
7787 * soft-fp/t-softfp: Move to config/t-softfp.
7788 (softfp_machine_header): Remove.
7789 (softfp_file_list): Remove config subdir.
7790 (soft-fp-objects): New variable.
7791 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7792 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7793 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7794 * config/t-softfp-excl: New file.
7795 * config/t-softfp-sfdf: New file.
7796 * config/t-softfp-tf: New file.
7797 * config/no-sfp-machine.h: New file.
7798 * config/arm/sfp-machine.h: New file.
7799 * config/arm/t-softfp: New file.
7800 * config/c6x/sfp-machine.h: New file.
7801 * config/i386/32/t-fprules-softfp: Rename to ...
7802 * config/i386/32/t-softfp: ... this.
7803 (tifunctions, LIB2ADD): Remove.
7804 (softfp_int_modes): Override.
7805 * config/i386/64/t-softfp-compat (tf-functions): Remove config
7806 subdir.
7807 * config/i386/64/eqtf2.c: Likewise.
7808 * config/i386/64/getf2.c: Likewise.
7809 * config/i386/64/letf2.c: Likewise.
7810 * config/ia64/sft-machine.h: New file.
7811 * config/ia64/t-fprules-softfp: Rename to ...
7812 * config/ia64/t-softfp: ... this.
7813 * config/lm32/sfp-machine.h: New file.
7814 * config/moxie/t-moxie-softfp: Remove.
7815 * config/rs6000/ibm-ldouble-format: New file.
7816 * config/rs6000/ibm-ldouble.c: New file.
7817 * config/rs6000/libgcc-ppc-glibc.ver: New file
7818 * config/rs6000/libgcc-ppc64.ver: New file
7819 * config/rs6000/sfp-machine.h: New file.
7820 * config/rs6000/t-freebsd: New file.
7821 * config/rs6000/t-ibm-ldouble: New file.
7822 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7823 libgcc-ppc-glibc.ver.
7824 * config/rs6000/t-linux64: New file.
7825 * config/rs6000/t-ppccomm (LIB2ADD): Add
7826 $(srcdir)/config/rs6000/ibm-ldouble.c.
7827 * config/rs6000/t-ppccomm-ldbl: New file.
7828 * config/score/sfp-machine.h: New file.
7829 * config.host (sfp_machine_header): Explain.
7830 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7831 t-softfp to tmake_file.
7832 (arm*-*-uclinux*): Likewise.
7833 (arm*-*-ecos-elf): Likewise.
7834 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7835 (arm*-*-rtems*): Likewise.
7836 (arm*-*-elf): Likewise.
7837 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7838 in tmake_file.
7839 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7840 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7841 (lm32-*-uclinux*): Likewise.
7842 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7843 t-softfp-excl, t-softfp.
7844 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7845 (powerpc64-*-darwin*): Likewise.
7846 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7847 to tmake_file.
7848 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7849 tmake_file.
7850 (powerpc-*-eabisim*): Likewise.
7851 (powerpc-*-elf*): Likewise.
7852 (powerpc-*-eabialtivec*): Likewise.
7853 (powerpc-xilinx-eabi*): Likewise.
7854 (powerpc-*-rtems*): Likewise.
7855 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7856 t-softfp-excl, t-softfp to tmake_file.
7857 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7858 rs6000/t-ppccomm-ldbl to tmake_file.
7859 (powerpcle-*-elf*): Likewise.
7860 (powerpcle-*-eabisim*): Likewise.
7861 (powerpcle-*-eabi*): Likewise.
7862 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7863 rs6000/t-ibm-ldouble to tmake_file.
7864 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7865 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7866 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7867 (tic6x-*-*): Likewise.
7868 (i[34567]86-*-darwin*, x86_64-*-darwin*,
7869 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7870 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7871 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7872 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7873 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7874 t-softfp to tmake_file.
7875 * configure.ac (sfp_machine_header): Provide default if unset.
7876 Substitute.
7877 Link sfp-machine.h to config/$sfp_machine_header.
7878 * configure: Regenerate.
7879
7880 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7881
7882 * Makefile.in (double_type_size, long_double_type_size): Set.
7883 Remove $(fpbit-in-libgcc) support.
7884 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7885 (fpbit-src): New variable.
7886 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7887 Compile with -DFLOAT $(FPBIT_CFLAGS).
7888 Use $<.
7889 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7890 Compile with $(FPBIT_CFLAGS).
7891 Use $<.
7892 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7893 Compile with -DFLOAT $(TPBIT_CFLAGS).
7894 Use $<.
7895 * configure.ac (double_type_size, long_double_type_size):
7896 Determine and substitute.
7897 * configure: Regenerate.
7898 * fp-bit.c, fp-bit.h: New files.
7899 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7900 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7901 * config/mips/t-mips: New file.
7902 * config/mips/t-sdemtk: New file.
7903 * config/rs6000/ppc64-fp.c: New file.
7904 * config/rs6000/t-darwin (LIB2ADD): Add
7905 $(srcdir)/config/rs6000/ppc64-fp.c.
7906 * config/rs6000/t-ppc64-fp: New file.
7907 * config/rx/rx-lib.h: New file.
7908 * config/rx/t-rx (FPBIT): Set to true.
7909 ($(gcc_objdir)/fp-bit.c): Remove.
7910 (DPBIT): Set to true only with -m64bit-doubles.
7911 ($(gcc_objdir)/dp-bit.c): Remove.
7912 * config/sparc/t-softfp: Remove.
7913 * config/spu/t-elf: New file.
7914 * config/t-fdpbit, config/t-fpbit: New files.
7915 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
7916 (mips*-*-*): Likewise.
7917 (arm-wrs-vxworks): Likewise.
7918 (arm*-*-freebsd*): Likewise.
7919 (avr-*-rtems*): Add t-fpbit to tmake_file.
7920 (avr-*-*): Likewise.
7921 (bfin*-elf*): Add t-fdpbit to tmake_file.
7922 (bfin*-uclinux*): Likewise.
7923 (bfin*-linux-uclibc*): Likewise.
7924 (bfin*-rtems*): New case.
7925 Add t-fdpbit to tmake_file.
7926 (bfin*-*): Add t-fdpbit to tmake_file.
7927 (crisv32-*-elf): Likewise.
7928 (cris-*-linux*): Likewise.
7929 (fr30-*-elf): Likewise.
7930 (frv-*-elf, frv-*-*linux*): Likewise.
7931 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
7932 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
7933 (m32r-*-elf*): Likewise.
7934 (m32rle-*-elf*): Likewise.
7935 (m32r-*-linux*): Likewise.
7936 (m32rle-*-linux*): Likewise.
7937 (mcore-*-elf): Add t-fdpbit to tmake_file.
7938 (microblaze*-*-*): Likewise.
7939 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
7940 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
7941 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
7942 Fix typo.
7943 Add mips/t-tpbit to tmake-file.
7944 (mips*-*-linux*): Fix typo.
7945 (mips*-sde-elf*): New case
7946 Add mips/t-sdemtk unless using newlib.
7947 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
7948 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
7949 (mn10300-*-*): Likewise.
7950 (pdp11-*-*): Likewise.
7951 (picochip-*-*): Add t-fpbit to tmake_file.
7952 (powerpc-*-eabisimaltivec*): Likewise.
7953 (powerpc-*-eabisim*): Likewise.
7954 (powerpc-*-elf*): Likewise.
7955 (powerpc-*-eabialtivec*): Likewise.
7956 (powerpc-xilinx-eabi*): New case.
7957 Add t-fdpbit to tmake_file.
7958 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
7959 (powerpc-*-rtems*): Likewise.
7960 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
7961 tmake_file.
7962 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7963 tmake_file.
7964 (powerpc-*-lynxos*): Likewise.
7965 (powerpcle-*-elf*): Likewise.
7966 (powerpcle-*-eabisim*): Likewise.
7967 (powerpcle-*-eabi*): Likewise.
7968 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7969 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7970 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7971 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7972 (rx-*-elf): Add t-fdpbit to tmake_file.
7973 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7974 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7975 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7976 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7977 sh*-*-netbsd*.
7978 (sh-*-rtems*): Add t-fdpbit to tmake_file.
7979 (sh-wrs-vxworks): Likewise.
7980 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7981 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7982 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7983 (sparc64-*-rtems*): ... new case.
7984 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7985 (spu-*-elf*): Likewise.
7986 Add spu/t-elf to tmake_file.
7987 (v850*-*-*): Add t-fdpbit to tmake_file.
7988 (xstormy16-*-elf): Likewise.
7989 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7990 (mep*-*-*): Likewise.
7991
7992 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7993
7994 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7995 variables.
7996 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7997 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7998 (install-unwind_h): New target.
7999 (all): Depend on it.
8000 * config.host (unwind_header): New variable.
8001 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8002 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8003 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8004 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8005 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8006 Set unwind_header.
8007 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8008 Set unwind_header.
8009 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8010 arm*-*-eabi*.
8011 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8012 Set unwind_header.
8013 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8014 (ia64*-*-freebsd*): Likewise.
8015 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8016 tmake_file.
8017 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8018 $with_system_libunwind.
8019 (ia64*-*-hpux*): Set tmake_file.
8020 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8021 (picochip-*-*): Set tmake_file.
8022 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8023 md_unwind_header.
8024 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8025 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8026 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8027 (xtensa*-*-elf*): Set tmake_file.
8028 (xtensa*-*-linux*): Likewise.
8029 * configure.ac: Include ../config/unwind_ipinfo.m4.
8030 Call GCC_CHECK_UNWIND_GETIPINFO.
8031 Link unwind.h to $unwind_header.
8032 * configure: Regenerate.
8033 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8034 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8035 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8036 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8037 * config/unwind-dw2-fde-darwin.c: New file.
8038 * config/arm/libunwind.S, config/arm/pr-support.c,
8039 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8040 config/arm/unwind-arm.h,: New files.
8041 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8042 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8043 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8044 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8045 config/ia64/unwind-ia64.h: New files.
8046 * config/picochip/t-picochip: New file.
8047 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8048 files.
8049 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8050 * config/s390/t-tpf (LIB2ADDEH): Remove.
8051 * config/t-darwin (LIB2ADDEH): Set.
8052 * config/t-eh-dw2-dip: New file.
8053 * config/t-libunwind, config/t-libunwind-elf: New files.
8054 * config/t-sol2 (LIB2ADDEH): Remove.
8055 * config/xtensa/t-xtensa: New file.
8056
8057 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8058
8059 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8060 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8061 long long to check rt_sigreturn syscall.
8062
8063 2011-08-02 Alan Modra <amodra@gmail.com>
8064
8065 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8066 Restore for indirect call bcrtl from correct stack slot, and only
8067 if cfa+40 isn't valid.
8068
8069 2011-08-01 Julian Brown <julian@codesourcery.com>
8070
8071 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8072 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8073 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8074
8075 2011-08-01 Julian Brown <julian@codesourcery.com>
8076
8077 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8078 (libgcc-std.ver.in): Use above.
8079 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8080 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8081 throughout file.
8082 * config/t-fixedpoint-gnu-prefix: New file.
8083 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8084 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8085 instead of __PFX__.
8086
8087 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8088
8089 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8090 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8091 for x86-64. Properly check __x86_64__ and __LP64__.
8092
8093 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8094
8095 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8096 version.
8097 (_FP_WS_TYPE): Likewise.
8098 (_FP_I_TYPE): Likewise.
8099
8100 2011-07-28 Alan Modra <amodra@gmail.com>
8101
8102 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8103 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8104 in a plt call stub. Do restore r2 if stopped on bctrl.
8105
8106 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8107
8108 * config.host (i[3456x]86-*-netware*): Remove.
8109 * config/i386/netware-crt0.c, config/i386/t-nwld,
8110 config/i386/t-slibgcc-nwld: Remove.
8111
8112 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8113
8114 * config.host: Handle tic6x-*-*.
8115 * config/c6x/c6x-abi.h: New file.
8116
8117 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8118
8119 * config/i386/crtprec.c: New file.
8120 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8121 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8122 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8123 (x86_64-*-darwin*): Likewise.
8124 (i[34567]86-*-solaris2*: Likewise.
8125
8126 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8127
8128 * config/alpha/crtfastmath.c: New file.
8129 * config/i386/crtfastmath.c: New file.
8130 * config/ia64/crtfastmath.c: New file.
8131 * config/mips/crtfastmath.c: New file.
8132 * config/sparc/crtfastmath.c: New file.
8133
8134 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8135 crtfastmath.c.
8136 Add -frandom-seed=gcc-crtfastmath.
8137 * config/alpha/t-crtfm: Remove.
8138 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8139 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8140
8141 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8142 (alpha*-dec-osf5.1*): Likewise.
8143 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8144 Add crtfastmath.o to extra_parts.
8145 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8146 Add crtfastmath.o to extra_parts.
8147 (x86_64-*-darwin*): Likewise.
8148 (x86_64-*-mingw*): Likewise.
8149 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8150 (ia64*-*-freebsd*): Likewise.
8151 (ia64*-*-linux*): Likewise.
8152 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8153 Add crtfastmath.o to extra_parts.
8154
8155 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8156
8157 * config/darwin-crt3.o: New file.
8158 * config/rs6000/darwin-crt2.c: New file.
8159 * config/t-darwin: New file.
8160 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8161 (crt2.o): New rule.
8162 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8163 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8164 (powerpc64-*-darwin*): Likewise.
8165
8166 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8167
8168 * config/i386/netware-crt0.c: New file.
8169 * config/i386/t-nwld: Rename to ...
8170 * config/i386/t-slibgcc-nwld: ... this.
8171 * config/i386/t-nwld: New file.
8172 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8173 tmake_file.
8174 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8175 extra_parts.
8176
8177 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8178
8179 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8180 i386/t-crtstuff.
8181 * configure: Regenerate.
8182
8183 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8184
8185 * dfp-bit.c, dfp-bit.h: New files.
8186 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8187 variables.
8188 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8189 ($(d64pbit-o)): Likewise.
8190 ($(d128pbit-o)): Likewise.
8191 * config/t-dfprules: New file.
8192 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8193 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8194 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8195 (x86_64-*-linux*): Likewise.
8196 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8197 (i[34567]86-*-cygwin*): Likewise.
8198 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8199 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8200
8201 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8202
8203 * Makfile.in (LIBGCOV): New variable.
8204 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8205 * libgcov.c: New file.
8206
8207 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8208
8209 * fixed-bit.c, fixed-bit.h: New files.
8210 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8211 refer to fixed-bit.c.
8212
8213 2011-07-07 Joseph Myers <joseph@codesourcery.com>
8214
8215 * config.host (*local*): Remove.
8216
8217 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8218
8219 PR target/39150
8220 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8221 like i?86-*-solaris2.1[0-9]*.
8222 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8223 * configure.ac (i?86-*-solaris2*): Likewise.
8224 * configure: Regenerate.
8225
8226 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
8227
8228 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8229 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8230 md_unwind_header by splitting out of...
8231 (i[34567]86-*-linux*): ... this.
8232 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8233 Remove md_unwind_header by splitting out of...
8234 (x86_64-*-linux*): ... this.
8235
8236 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
8237
8238 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8239
8240 2011-06-28 Nick Clifton <nickc@redhat.com>
8241
8242 * config.host: Recognize all V850 variants.
8243
8244 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
8245
8246 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8247
8248 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8249
8250 * shared-object.mk (c_flags-$o): Save c_flags.
8251 ($(base)$(objext)): Use it.
8252 ($(base)_s$(objext)): Likewise.
8253
8254 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8255
8256 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8257 * libgcc-std.ver.in (GCC_4.7.0): New section.
8258
8259 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
8260
8261 PR target/49313
8262 PR target/29524
8263 * config/avr/t-avr: Fix line endings.
8264 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8265 _parityXX2.
8266
8267 2011-06-14 Olivier Hainque <hainque@adacore.com>
8268 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8269
8270 * config/mips/irix6-unwind.h: New file.
8271 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8272
8273 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8274
8275 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8276 (sparc64_fallback_frame_state): Use it.
8277 (sparc64_frob_update_context): Further adjust context.
8278 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8279 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8280 * config/sparc/sol2-cn.S: Likewise.
8281
8282 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8283
8284 * enable-execute-stack-empty.c: New file.
8285 * enable-execute-stack-mprotect.c: New file.
8286 * config/i386/enable-execute-stack-mingw32.c: New file.
8287 * config.host (enable_execute_stack): New variable.
8288 Select appropriate variants.
8289 * configure.ac: Link enable-execute-stack.c to
8290 $enable_execute_stack.
8291 * configure: Regenerate.
8292 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8293 (lib2funcs): Remove _enable_execute_stack.
8294
8295 2011-06-09 David S. Miller <davem@davemloft.net>
8296 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8297
8298 * config.host (sparc-*-linux*): Correct md_unwind_header
8299 filename.
8300 (s390x-ibm-tpf*): Fix typo.
8301
8302 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8303
8304 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8305 Add crtfastmath.o to extra_parts.
8306 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8307 mips/t-crtfm.
8308 * config/mips/t-crtfm: Remove.
8309
8310 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8311
8312 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8313
8314 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8315
8316 * config.host (sh*-*-linux*): Fix typo.
8317
8318 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8319
8320 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8321 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8322 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8323 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8324 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8325 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8326 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8327 Wrap in !__MINGW64__.
8328 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8329 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8330 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8331 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8332 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8333 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8334 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8335 Wrap in !__LP64__.
8336 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8337 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8338 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8339 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8340 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8341 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8342 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8343 * config/no-unwind.h: New file.
8344 * config.host (md_unwind_header): Document.
8345 Define.
8346 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8347 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8348 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8349 hppa[12]*-*-hpux11*): Set md_unwind_header.
8350 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8351 Set md_unwind_header.
8352 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8353 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8354 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8355 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8356 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8357 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8358 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8359 md_unwind_header.
8360 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8361 * configure: Regenerate.
8362
8363 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8364
8365 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8366 Set tmake_file, extra_parts.
8367 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8368 Remove O32 support.
8369 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8370 Remove O32 support.
8371 * config/mips/t-irix6: New file.
8372 * config/mips/t-slibgcc-irix: New file.
8373
8374 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8375
8376 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8377 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8378
8379 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8380
8381 * configure.ac (target_thread_file): Determine thread model.
8382 * configure: Regenerate.
8383 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8384 * config/alpha/t-alpha: New file.
8385 * config/alpha/t-crtfm: Use $<.
8386 * config/alpha/t-ieee: New file.
8387 * config/alpha/t-osf-pthread: New file.
8388 * config/alpha/t-slibgcc-osf: New file.
8389 * config/alpha/libgcc-osf5.ver: New file.
8390
8391 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8392
8393 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8394 tmake_file.
8395 Add crtfastmath.o to extra_parts.
8396
8397 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8398
8399 * config/gmon-sol2.c: Reindent.
8400 Cleanup comments.
8401 Remove, correct casts.
8402 Use STDERR_FILENO, NULL.
8403 (BASEADDRESS): Remove.
8404 (minbrk): Remove.
8405 (errno, sbrk): Remove declarations.
8406 (monstartup) [hp300]: Remove.
8407 (mcount): Remove.
8408
8409 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8410
8411 * Makefile.in (cpu_type): Define.
8412 * config.host (i[34567]86-*-rtems*): Handle it.
8413 (i[34567]86-*-solaris2*): Move body ...
8414 (*-*-solaris2*): ... here.
8415 New case, generalize.
8416 (sparc-*-elf*): Handle it.
8417 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8418 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8419 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8420 Fold into ...
8421 (sparc*-*-solaris2*): ... this.
8422 New case.
8423 (sparc64-*-elf*): Handle it.
8424 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8425 Merge ../gcc/config/i386/gmon-sol2.c.
8426 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8427 Use C comments.
8428 Merge ../gcc/config/i386/sol2-gc1.asm.
8429 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8430 Use C comments.
8431 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8432 Use C comments.
8433 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8434 * config/i386/t-crtstuff: New file.
8435 * config/i386/t-softfp: New file.
8436 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8437 $(T)crti.o, $(T)crtn.o): Remove.
8438 (gcrt1.o): New rule.
8439 (TARGET_LIBGCC2_CFLAGS): Remove.
8440 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8441 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8442 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8443 * config/sparc/t-sol2: New file.
8444 * config/sparc/t-crtfm: Move to ...
8445 * config/t-crtfm: ... this.
8446 Use $(cpu_type), $<.
8447 * config/t-crtin: New file.
8448 * config/sparc/t-softfp: New file.
8449 * config/sparc/t-softmul: New file.
8450 * config/t-rtems: New file.
8451 * config/t-slibgcc: New file.
8452 * config/t-slibgcc-elf-ver: New file.
8453 * config/t-slibgcc-gld: New file.
8454 * config/t-slibgcc-sld: New file.
8455 * config/t-sol2: New file.
8456 * configure.ac: Include ../config/lib-ld.m4.
8457 Call AC_LIB_PROG_LD_GNU.
8458 Substitute cpu_type.
8459 * configure: Regenerate.
8460
8461 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8462
8463 PR bootstrap/49173
8464 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8465 libgcc-std.ver in the build directory.
8466 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8467 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8468
8469 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8470
8471 * libgcc-std.ver.in: New file.
8472 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8473 variables.
8474 (libgcc-std.ver): New rule.
8475 * config/t-gnu-prefix: New file.
8476
8477 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8478
8479 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8480
8481 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8482
8483 * config/i386/darwin-lib.h: New file.
8484
8485 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8486
8487 * config/arm/symbian-lib.h: New.
8488
8489 2011-05-04 Chris Demetriou <cgd@google.com>
8490
8491 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8492 (__x86.get_pc_thunk.bx): ...this.
8493 (__morestack): Adjust for rename, remove undef of __i686.
8494
8495 2011-05-03 Chris Demetriou <cgd@google.com>
8496
8497 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8498
8499 2011-03-22 Joseph Myers <joseph@codesourcery.com>
8500
8501 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8502 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8503 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8504 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8505 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8506 Remove cases.
8507
8508 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
8509
8510 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8511 Adjust copyright year.
8512
8513 2011-03-07 Ian Lance Taylor <iant@google.com>
8514
8515 * generic-morestack.c (__splitstack_find): Adjust returned stack
8516 pointer to include all registers pushed by __morestack.
8517
8518 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8519
8520 PR target/40125
8521 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8522 (toolexecdir): Calculate and AC_SUBST.
8523 (toolexeclibdir): Likewise.
8524 * Makefile.in (target_noncanonical): Import.
8525 (toolexecdir): Likewise.
8526 (toolexeclibdir): Likewise.
8527 * configure: Regenerate.
8528
8529 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8530
8531 PR target/46040
8532 * config/arm/bpabi.h: Rename to...
8533 * config/arm/bpabi-lib.h: ...this.
8534
8535 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8536
8537 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8538 appropriate.
8539 * configure: Regenerate.
8540
8541 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8542
8543 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8544 __FLOAT_WORD_ORDER__.
8545 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8546 Delete.
8547
8548 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8549
8550 PR other/46202
8551 * Makefile.in (install-strip): New phony target.
8552
8553 2010-11-07 Ian Lance Taylor <iant@google.com>
8554
8555 PR target/46089
8556 * config/i386/morestack.S (__morestack_large_model): New
8557 function.
8558
8559 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8560
8561 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8562 Delete.
8563 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8564
8565 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8566
8567 * config/arm/bpabi.h: New file.
8568 * config/frv/frv-abi.h: New file.
8569
8570 2010-10-01 Ian Lance Taylor <iant@google.com>
8571
8572 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8573 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8574
8575 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8576
8577 PR target/45858
8578 * config.host: Add the missing `$'.
8579
8580 2010-09-30 Michael Eager <eager@eagercon.com>
8581
8582 * config.host: Add microblaze*-*-*.
8583 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8584 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8585 udivsi3.asm,umodsi3.asm}: New.
8586
8587 2010-09-28 Ian Lance Taylor <iant@google.com>
8588
8589 * configure.ac: Adjust CFI test to test assembler directly rather
8590 than checking gcc preprocessor macro.
8591 * configure: Rebuild.
8592
8593 2010-09-27 Ian Lance Taylor <iant@google.com>
8594
8595 * configure.ac: Test whether assembler supports CFI directives.
8596 * config.host: Only add t-stack and i386/t-stack-i386 to
8597 tmake_file if libgcc_cv_cfi is "yes".
8598 * configure: Rebuild.
8599
8600 2010-09-27 Ian Lance Taylor <iant@google.com>
8601
8602 * generic-morestack.h: New file.
8603 * generic-morestack.c: New file.
8604 * generic-morestack-thread.c: New file.
8605 * config/i386/morestack.S: New file.
8606 * config/t-stack: New file.
8607 * config/i386/t-stack-i386: New file.
8608 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8609 i386/t-stack-i386 to tmake_file.
8610
8611 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8612
8613 * Makefile.in (libgcc-extra-parts): Check for static archives and
8614 invoke ranlib after installing them.
8615 (gcc-extra-parts): Likewise.
8616 (install-leaf): Likewise.
8617
8618 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8619
8620 * configure: Regenerated.
8621
8622 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
8623
8624 * configure: Regenerated.
8625
8626 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8627 Andrew Pinski <pinskia@gmail.com>
8628
8629 PR target/40959
8630 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8631
8632 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8633
8634 PR target/45524
8635 * configure: Regenerated.
8636
8637 2010-09-06 Andreas Schwab <schwab@redhat.com>
8638
8639 * configure: Regenerate.
8640
8641 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8642
8643 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8644 64bit targets.
8645 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8646 for 64bit targets.
8647
8648 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8649 Iain Sandoe <iains@gcc.gnu.org>
8650
8651 PR target/45476
8652 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8653 LIB2FUNCS_EXCLUDE functions.
8654
8655 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8656
8657 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8658 Include dfp.m4.
8659 * configure: Regenerate.
8660
8661 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
8662
8663 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8664 i386/t-freebsd to tmake_file.
8665 * config/i386/t-freebsd: New file.
8666 * config/i386/libgcc-bsd.ver: New file.
8667
8668 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8669
8670 * config.host (powerpc*-eabispe*): Set tmake_file.
8671 (powerpc*-eabi*): Likewise.
8672 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8673 crtbeginS, crtendS, crtbeginT.
8674
8675 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
8676
8677 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8678 to tmake_file. Add crtfastmath.o to extra_parts.
8679 * config/mips/t-crtfm: New.
8680
8681 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
8682
8683 * config.host (sparc64-*-rtems*): New target.
8684
8685 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8686
8687 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8688 assembler syntax.
8689
8690 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8691
8692 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8693
8694 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8695
8696 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8697 alpha-dec-osf5.0* support.
8698
8699 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
8700
8701 * config.host: Add lm32-*-rtems*.
8702
8703 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8704 Uros Bizjak <ubizjak@gmail.com>
8705
8706 PR target/39048
8707 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8708 like other remaining 32-bit x86 OSes.
8709 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8710 assembler syntax.
8711 * config/i386/libgcc-sol2.ver: New file.
8712 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8713
8714 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
8715
8716 PR c/43553
8717 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8718 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8719 is used and substitute set_use_emutls.
8720 * configure: Regenerated.
8721
8722 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8723
8724 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8725
8726 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8727
8728 PR target/38085
8729 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8730 MULTILIB_CFLAGS.
8731 ($(T)gcrt1.o): Likewise.
8732 ($(T)crt1.o): Likewise.
8733 ($(T)crti.o): Likewise.
8734 ($(T)crtn.o): Likewise.
8735
8736 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8737
8738 PR other/42980
8739 * Makefile.in (install): Use $(MAKE) string in rule, for
8740 parallel make.
8741
8742 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8743
8744 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8745 * config/mmix/t-mmix: New file.
8746 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8747
8748 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8749
8750 PR java/41991
8751 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8752 SHLIB_MAPFILES.
8753
8754 2010-01-04 Anthony Green <green@moxielogic.com>
8755
8756 * config/moxie/crti.asm, config/moxie/crtn.asm,
8757 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8758 config/moxie/t-moxie: New files.
8759 * config.host: Add t-moxie-softfp reference.
8760
8761 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
8762
8763 PR other/39888
8764 * config/t-slibgcc-darwin: Fix embedded rpaths for
8765 --enable-version-specific-runtime-libs, build extension stub
8766 libs exposing features available from current libgcc_s.
8767
8768 2009-11-11 Jon Beniston <jon@beniston.com>
8769
8770 * config.host: Add lm32 targets.
8771 * config/lm32: New directory.
8772 * config/lm32/libgcc_lm32.h: New file.
8773 * config/lm32/_mulsi3.c: New file.
8774 * config/lm32/_udivmodsi4.c: New file.
8775 * config/lm32/_divsi3.c: New file.
8776 * config/lm32/_modsi3.c: New file.
8777 * config/lm32/_udivsi3.c: New file.
8778 * config/lm32/_umodsi3.c: New file.
8779 * config/lm32/_lshrsi3.S: New file.
8780 * config/lm32/_ashrsi3.S: New file.
8781 * config/lm32/_ashlsi3.S: New file.
8782 * config/lm32/crti.S: New file.
8783 * config/lm32/crtn.S: New file.
8784 * config/lm32/t-lm32: New file.
8785 * config/lm32/t-elf: New file.
8786 * config/lm32/t-uclinux: New file.
8787
8788 2009-10-26 Nick Clifton <nickc@redhat.com>
8789
8790 * config.host: Add support for RX target.
8791 * config/rx: New directory.
8792 * config/rx/rx-abi-functions.c: New file. Supplementary
8793 functions for libgcc to support the RX ABI.
8794 * config/rx/rx-abi.h: New file. Supplementary header file for
8795 libgcc RX ABI functions.
8796 * config/rx/t-rx: New file: Makefile fragment for building
8797 libgcc for the RX.
8798
8799 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
8800
8801 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8802 constraint of y0 to "g".
8803
8804 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8805
8806 * config.host: Include the s390 makefile fragments.
8807 * config/s390/32/_fixdfdi.c: New file.
8808 * config/s390/32/_fixsfdi.c: New file.
8809 * config/s390/32/_fixtfdi.c: New file.
8810 * config/s390/32/_fixunsdfdi.c: New file.
8811 * config/s390/32/_fixunssfdi.c: New file.
8812 * config/s390/32/_fixunstfdi.c: New file.
8813 * config/s390/32/t-floattodi: New file.
8814 * config/s390/libgcc-glibc.ver: New file.
8815 * config/s390/t-crtstuff: New file.
8816 * config/s390/t-linux: New file.
8817 * config/s390/t-tpf: New file.
8818
8819 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8820
8821 * configure.ac (AC_PREREQ): Bump to 2.64.
8822
8823 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
8824
8825 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8826
8827 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8828
8829 * configure: Regenerate.
8830
8831 2009-08-09 Douglas B Rupp <rupp@gnat.com>
8832
8833 * config.host (ia64-hp-*vms*): New target.
8834 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8835 with ia64-hp-*vms*.
8836
8837 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8838
8839 * configure.ac: Add snippet for maintainer-mode.
8840 * configure: Regenerate.
8841 * Makefile.in (AUTOCONF, configure_deps): New variables.
8842 ($(srcdir)/configure)): New rule, active only with maintainer
8843 mode turned on.
8844
8845 2009-06-23 DJ Delorie <dj@redhat.com>
8846
8847 Add MeP port.
8848 * config.host: Add mep support.
8849
8850 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
8851
8852 * config.host: Add i386/${host_address}/t-fprules-softfp and
8853 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
8854
8855 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8856 for mingw targets.
8857 * config/i386/64/_multc3.c: Likewise.
8858 * config/i386/64/_powitf2.c: Likewise.
8859 * config/i386/64/eqtf2.c: Likewise.
8860 * config/i386/64/getf2.c: Likewise.
8861 * config/i386/64/letf2.c: Likewise.
8862 * config/i386/64/letf2.c: Likewise.
8863 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8864 unsigned long long for x64 mingw targets.
8865 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8866 (_FP_I_TYPE): Define as long long for x64 mingw target.
8867
8868 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
8869
8870 * config.host (vax-*-linux*): New.
8871
8872 2009-05-31 Anthony Green <green@moxielogic.com>
8873
8874 * config.host: Add moxie support.
8875 * config/moxie/t-moxie: New file.
8876
8877 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
8878
8879 * config.host: Add i386/${host_address}/t-fprules-softfp and
8880 t-softfp to tmake_file for i[34567]86-*-cygwin*.
8881
8882 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
8883
8884 * config.host: Add i386/${host_address}/t-fprules-softfp to
8885 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8886
8887 2009-04-09 Nick Clifton <nickc@redhat.com>
8888
8889 * config/ia64/tf-signs.c: Change copyright header to refer to
8890 version 3 of the GNU General Public License with version 3.1
8891 of the GCC Runtime Library Exception and to point readers at
8892 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8893 web page.
8894 * config/i386/32/tf-signs.c: Likewise.
8895 * config/libbid/_addsub_dd.c: Likewise.
8896 * config/libbid/_addsub_sd.c: Likewise.
8897 * config/libbid/_addsub_td.c: Likewise.
8898 * config/libbid/_dd_to_df.c: Likewise.
8899 * config/libbid/_dd_to_di.c: Likewise.
8900 * config/libbid/_dd_to_sd.c: Likewise.
8901 * config/libbid/_dd_to_sf.c: Likewise.
8902 * config/libbid/_dd_to_si.c: Likewise.
8903 * config/libbid/_dd_to_td.c: Likewise.
8904 * config/libbid/_dd_to_tf.c: Likewise.
8905 * config/libbid/_dd_to_udi.c: Likewise.
8906 * config/libbid/_dd_to_usi.c: Likewise.
8907 * config/libbid/_dd_to_xf.c: Likewise.
8908 * config/libbid/_df_to_dd.c: Likewise.
8909 * config/libbid/_df_to_sd.c: Likewise.
8910 * config/libbid/_df_to_td.c: Likewise.
8911 * config/libbid/_di_to_dd.c: Likewise.
8912 * config/libbid/_di_to_sd.c: Likewise.
8913 * config/libbid/_di_to_td.c: Likewise.
8914 * config/libbid/_div_dd.c: Likewise.
8915 * config/libbid/_div_sd.c: Likewise.
8916 * config/libbid/_div_td.c: Likewise.
8917 * config/libbid/_eq_dd.c: Likewise.
8918 * config/libbid/_eq_sd.c: Likewise.
8919 * config/libbid/_eq_td.c: Likewise.
8920 * config/libbid/_ge_dd.c: Likewise.
8921 * config/libbid/_ge_sd.c: Likewise.
8922 * config/libbid/_ge_td.c: Likewise.
8923 * config/libbid/_gt_dd.c: Likewise.
8924 * config/libbid/_gt_sd.c: Likewise.
8925 * config/libbid/_gt_td.c: Likewise.
8926 * config/libbid/_isinfd128.c: Likewise.
8927 * config/libbid/_isinfd32.c: Likewise.
8928 * config/libbid/_isinfd64.c: Likewise.
8929 * config/libbid/_le_dd.c: Likewise.
8930 * config/libbid/_le_sd.c: Likewise.
8931 * config/libbid/_le_td.c: Likewise.
8932 * config/libbid/_lt_dd.c: Likewise.
8933 * config/libbid/_lt_sd.c: Likewise.
8934 * config/libbid/_lt_td.c: Likewise.
8935 * config/libbid/_mul_dd.c: Likewise.
8936 * config/libbid/_mul_sd.c: Likewise.
8937 * config/libbid/_mul_td.c: Likewise.
8938 * config/libbid/_ne_dd.c: Likewise.
8939 * config/libbid/_ne_sd.c: Likewise.
8940 * config/libbid/_ne_td.c: Likewise.
8941 * config/libbid/_sd_to_dd.c: Likewise.
8942 * config/libbid/_sd_to_df.c: Likewise.
8943 * config/libbid/_sd_to_di.c: Likewise.
8944 * config/libbid/_sd_to_sf.c: Likewise.
8945 * config/libbid/_sd_to_si.c: Likewise.
8946 * config/libbid/_sd_to_td.c: Likewise.
8947 * config/libbid/_sd_to_tf.c: Likewise.
8948 * config/libbid/_sd_to_udi.c: Likewise.
8949 * config/libbid/_sd_to_usi.c: Likewise.
8950 * config/libbid/_sd_to_xf.c: Likewise.
8951 * config/libbid/_sf_to_dd.c: Likewise.
8952 * config/libbid/_sf_to_sd.c: Likewise.
8953 * config/libbid/_sf_to_td.c: Likewise.
8954 * config/libbid/_si_to_dd.c: Likewise.
8955 * config/libbid/_si_to_sd.c: Likewise.
8956 * config/libbid/_si_to_td.c: Likewise.
8957 * config/libbid/_td_to_dd.c: Likewise.
8958 * config/libbid/_td_to_df.c: Likewise.
8959 * config/libbid/_td_to_di.c: Likewise.
8960 * config/libbid/_td_to_sd.c: Likewise.
8961 * config/libbid/_td_to_sf.c: Likewise.
8962 * config/libbid/_td_to_si.c: Likewise.
8963 * config/libbid/_td_to_tf.c: Likewise.
8964 * config/libbid/_td_to_udi.c: Likewise.
8965 * config/libbid/_td_to_usi.c: Likewise.
8966 * config/libbid/_td_to_xf.c: Likewise.
8967 * config/libbid/_tf_to_dd.c: Likewise.
8968 * config/libbid/_tf_to_sd.c: Likewise.
8969 * config/libbid/_tf_to_td.c: Likewise.
8970 * config/libbid/_udi_to_dd.c: Likewise.
8971 * config/libbid/_udi_to_sd.c: Likewise.
8972 * config/libbid/_udi_to_td.c: Likewise.
8973 * config/libbid/_unord_dd.c: Likewise.
8974 * config/libbid/_unord_sd.c: Likewise.
8975 * config/libbid/_unord_td.c: Likewise.
8976 * config/libbid/_usi_to_dd.c: Likewise.
8977 * config/libbid/_usi_to_sd.c: Likewise.
8978 * config/libbid/_usi_to_td.c: Likewise.
8979 * config/libbid/_xf_to_dd.c: Likewise.
8980 * config/libbid/_xf_to_sd.c: Likewise.
8981 * config/libbid/_xf_to_td.c: Likewise.
8982 * config/libbid/bid128.c: Likewise.
8983 * config/libbid/bid128_2_str.h: Likewise.
8984 * config/libbid/bid128_2_str_macros.h: Likewise.
8985 * config/libbid/bid128_2_str_tables.c: Likewise.
8986 * config/libbid/bid128_add.c: Likewise.
8987 * config/libbid/bid128_compare.c: Likewise.
8988 * config/libbid/bid128_div.c: Likewise.
8989 * config/libbid/bid128_fma.c: Likewise.
8990 * config/libbid/bid128_logb.c: Likewise.
8991 * config/libbid/bid128_minmax.c: Likewise.
8992 * config/libbid/bid128_mul.c: Likewise.
8993 * config/libbid/bid128_next.c: Likewise.
8994 * config/libbid/bid128_noncomp.c: Likewise.
8995 * config/libbid/bid128_quantize.c: Likewise.
8996 * config/libbid/bid128_rem.c: Likewise.
8997 * config/libbid/bid128_round_integral.c: Likewise.
8998 * config/libbid/bid128_scalb.c: Likewise.
8999 * config/libbid/bid128_sqrt.c: Likewise.
9000 * config/libbid/bid128_string.c: Likewise.
9001 * config/libbid/bid128_to_int16.c: Likewise.
9002 * config/libbid/bid128_to_int32.c: Likewise.
9003 * config/libbid/bid128_to_int64.c: Likewise.
9004 * config/libbid/bid128_to_int8.c: Likewise.
9005 * config/libbid/bid128_to_uint16.c: Likewise.
9006 * config/libbid/bid128_to_uint32.c: Likewise.
9007 * config/libbid/bid128_to_uint64.c: Likewise.
9008 * config/libbid/bid128_to_uint8.c: Likewise.
9009 * config/libbid/bid32_to_bid128.c: Likewise.
9010 * config/libbid/bid32_to_bid64.c: Likewise.
9011 * config/libbid/bid64_add.c: Likewise.
9012 * config/libbid/bid64_compare.c: Likewise.
9013 * config/libbid/bid64_div.c: Likewise.
9014 * config/libbid/bid64_fma.c: Likewise.
9015 * config/libbid/bid64_logb.c: Likewise.
9016 * config/libbid/bid64_minmax.c: Likewise.
9017 * config/libbid/bid64_mul.c: Likewise.
9018 * config/libbid/bid64_next.c: Likewise.
9019 * config/libbid/bid64_noncomp.c: Likewise.
9020 * config/libbid/bid64_quantize.c: Likewise.
9021 * config/libbid/bid64_rem.c: Likewise.
9022 * config/libbid/bid64_round_integral.c: Likewise.
9023 * config/libbid/bid64_scalb.c: Likewise.
9024 * config/libbid/bid64_sqrt.c: Likewise.
9025 * config/libbid/bid64_string.c: Likewise.
9026 * config/libbid/bid64_to_bid128.c: Likewise.
9027 * config/libbid/bid64_to_int16.c: Likewise.
9028 * config/libbid/bid64_to_int32.c: Likewise.
9029 * config/libbid/bid64_to_int64.c: Likewise.
9030 * config/libbid/bid64_to_int8.c: Likewise.
9031 * config/libbid/bid64_to_uint16.c: Likewise.
9032 * config/libbid/bid64_to_uint32.c: Likewise.
9033 * config/libbid/bid64_to_uint64.c: Likewise.
9034 * config/libbid/bid64_to_uint8.c: Likewise.
9035 * config/libbid/bid_b2d.h: Likewise.
9036 * config/libbid/bid_binarydecimal.c: Likewise.
9037 * config/libbid/bid_conf.h: Likewise.
9038 * config/libbid/bid_convert_data.c: Likewise.
9039 * config/libbid/bid_decimal_data.c: Likewise.
9040 * config/libbid/bid_decimal_globals.c: Likewise.
9041 * config/libbid/bid_div_macros.h: Likewise.
9042 * config/libbid/bid_dpd.c: Likewise.
9043 * config/libbid/bid_flag_operations.c: Likewise.
9044 * config/libbid/bid_from_int.c: Likewise.
9045 * config/libbid/bid_functions.h: Likewise.
9046 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9047 * config/libbid/bid_inline_add.h: Likewise.
9048 * config/libbid/bid_internal.h: Likewise.
9049 * config/libbid/bid_round.c: Likewise.
9050 * config/libbid/bid_sqrt_macros.h: Likewise.
9051
9052 2009-04-09 Jakub Jelinek <jakub@redhat.com>
9053
9054 * Makefile.in: Change copyright header to refer to version
9055 3 of the GNU General Public License and to point readers at the
9056 COPYING3 file and the FSF's license web page.
9057 * config.host: Likewise.
9058
9059 2009-04-07 Alan Modra <amodra@bigpond.net.au>
9060
9061 * config.host: Reorder and merge to match config.gcc change.
9062
9063 2009-04-03 Alan Modra <amodra@bigpond.net.au>
9064
9065 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9066
9067 2009-03-28 Joseph Myers <joseph@codesourcery.com>
9068
9069 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9070 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9071 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9072 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9073
9074 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
9075
9076 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9077 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9078
9079 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9080
9081 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9082 ia64/t-softfp-compat to tmake_file.
9083
9084 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9085
9086 * config/ia64/__divxf3.asm: New.
9087 * config/ia64/_fixtfdi.asm: Likewise.
9088 * config/ia64/_fixunstfdi.asm: Likewise.
9089 * config/ia64/_floatditf.asm: Likewise.
9090 * config/ia64/t-fprules-softfp: Likewise.
9091 * config/ia64/t-softfp-compat: Likewise.
9092 * config/ia64/tf-signs.c: Likewise.
9093
9094 2009-01-18 Ben Elliston <bje@au.ibm.com>
9095
9096 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9097
9098 2009-01-16 Ben Elliston <bje@au.ibm.com>
9099
9100 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9101 to tmake_file.
9102
9103 2009-01-13 Ben Elliston <bje@au.ibm.com>
9104
9105 * config/t-softfp: New file.
9106 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9107 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9108
9109 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
9110
9111 * config.host: Add m32r*-*-rtems*.
9112
9113 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
9114
9115 * config.host: Add m32c*-*-rtems*.
9116
9117 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9118
9119 PR bootstrap/33100
9120 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9121 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9122 * configure: Regenerate.
9123 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9124 tmake_file here from gcc/config.gcc.
9125 Move extra_parts here from gcc/config.gcc.
9126 * config/i386/t-sol2: Move here from gcc/config/i386.
9127 Use gcc_srcdir instead of srcdir.
9128
9129 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9130
9131 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9132 case.
9133
9134 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9135
9136 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9137
9138 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9139
9140 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9141
9142 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9143
9144 Add picoChip port.
9145 * config.host: Add picochip-*-*.
9146
9147 2008-08-06 Bob Wilson <bob.wilson@acm.org>
9148
9149 * config.host: Match more processor names for Xtensa.
9150
9151 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9152
9153 * config/i386/64/t-softfp-compat: Update comments.
9154
9155 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9156
9157 * config/i386/64/_divtc3-compat.c: Moved to ...
9158 * config/i386/64/_divtc3.c: Here.
9159
9160 * config/i386/64/_multc3-compat.c: Moved to ...
9161 * config/i386/64/_multc3.c: Here.
9162
9163 * config/i386/64/_powitf2-compat.c: Moved to ...
9164 * config/i386/64/_powitf2.c: Here.
9165
9166 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9167 .c suffix instead of -compat.c.
9168
9169 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
9170
9171 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9172 (_FP_MUL_MEAT_D): Ditto.
9173 (_FP_DIV_MEAT_S): Ditto.
9174 (_FP_DIV_MEAT_D): Ditto.
9175
9176 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9177
9178 * Makefile.in: Add support for __sync_* libgcc functions.
9179
9180 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9181
9182 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9183
9184 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9185
9186 PR boostrap/36702
9187 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9188 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9189
9190 * config/i386/64/t-fprules-softfp: Moved to ...
9191 * config/i386/64/t-softfp-compat: This. New.
9192
9193 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
9194
9195 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9196 Initialize f with 0.0.
9197
9198 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9199
9200 PR target/36669
9201 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9202
9203 * config/i386/64/_divtc3-compat.c: New.
9204 * config/i386/64/_multc3-compat.c: Likewise.
9205 * config/i386/64/_powitf2-compat.c: Likewise.
9206 * config/i386/64/eqtf2.c: Likewise.
9207 * config/i386/64/getf2.c: Likewise.
9208 * config/i386/64/letf2.c: Likewise.
9209 * config/i386/64/t-fprules-softfp: Likewise.
9210
9211 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9212
9213 * config.host: Add i386/${host_address}/t-fprules-softfp to
9214 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
9215 i[34567]86-*-linux*, x86_64-*-linux*.
9216
9217 * configure.ac: Set host_address to 64 or 32 for x86.
9218 * configure: Regenerated.
9219
9220 * Makefile.in (config.status): Also depend on
9221 $(srcdir)/config.host.
9222
9223 * config/i386/32/t-fprules-softfp: New.
9224 * config/i386/32/tf-signs.c: Likewise.
9225
9226 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9227
9228 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9229 Uros Bizjak <ubizjak@gmail.com>
9230
9231 * config/i386/32/sfp-machine.h: New.
9232
9233 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9234
9235 * config/rs6000/t-ppccomm: Remove rules that conflict with
9236 auto-generated rules.
9237
9238 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9239
9240 * configure.ac: sinclude override.m4.
9241 * configure: Regenerate.
9242
9243 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9244
9245 * configure: Regenerate.
9246
9247 2008-06-10 Joseph Myers <joseph@codesourcery.com>
9248
9249 * Makefile.in (DECNUMINC): Remove
9250 -I$(MULTIBUILDTOP)../../libdecnumber.
9251 * gstdint.h: New.
9252
9253 2008-06-07 Joseph Myers <joseph@codesourcery.com>
9254
9255 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9256 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9257 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9258 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9259 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9260 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9261 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9262 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9263 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9264 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9265 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9266 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9267 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9268 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9269
9270 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9271
9272 * config.host (sh2[lbe]*-*-linux*): Allow target.
9273
9274 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9275
9276 * config/rs6000/t-ppccomm: Add build rules for new files.
9277 (LIB2ADD_ST): New variable.
9278
9279 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9280
9281 PR target/34210
9282 PR target/35508
9283 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9284 * config/t-avr: New file. Build 16bit libgcc functions.
9285
9286 2008-03-02 Jakub Jelinek <jakub@redhat.com>
9287
9288 PR target/35401
9289 * config/t-slibgcc-darwin: Make install-leaf dependent on
9290 install-darwin-libgcc-stubs instead of install.
9291
9292 2008-01-25 Joseph Myers <joseph@codesourcery.com>
9293
9294 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9295 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9296 sh-*-rtemscoff*): Remove cases.
9297
9298 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9299
9300 * Makefile.in (all): Use install-leaf rather than install.
9301 (install): Split most of the rule into...
9302 (install-leaf): ...this new one.
9303
9304 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
9305 Paolo Bonzini <bonzini@gnu.org>
9306
9307 PR target/30572
9308 * Makefile.in: Use @shlib_slibdir@ substitution to get
9309 correct install name on darwin.
9310 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
9311
9312 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
9313
9314 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9315 cris-*-elf and cris-*-none.
9316 (crisv32-*-linux*): Similar, as cris-*-linux*.
9317
9318 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9319
9320 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9321
9322 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9323
9324 PR regression/33926
9325 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9326 * configure: Regenerated.
9327
9328 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9329
9330 * Makefile.in (dfp-filenames): Replace decimal_globals,
9331 decimal_data, binarydecimal and convert_data with
9332 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9333 and bid_convert_data, respectively.
9334
9335 2007-09-17 Chao-ying Fu <fu@mips.com>
9336 Nigel Stephens <nigel@mips.com>
9337
9338 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9339 * Makefile.in (fixed_point): Define.
9340 Check if fixed_point is yes to build support functions.
9341 * configure.ac: Check for fixed_point support.
9342 * configure: Regenerated.
9343 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9344 funcs, modes, from, to.
9345
9346 2007-09-11 Janis Johnson <janis187@us.ibm.com
9347
9348 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9349
9350 2007-09-10 Janis Johnson <janis187@us.ibm.com>
9351
9352 * Makefile.in (dfp-filenames): Remove decUtility, add
9353 decDouble, decPacked, decQuad, decSingle.
9354
9355 2007-08-27 Hans Kester <hans.kester@ellips.nl>
9356
9357 * config.host : Add x86_64-elf target.
9358
9359 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9360
9361 * configure.ac (set_have_cc_tls): Add a missing =.
9362 * configure: Regenerated.
9363
9364 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9365
9366 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9367 and x86_64-*-linux*.
9368
9369 * config/t-tls: New file.
9370
9371 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
9372
9373 * configure.ac: Include ../config/enable.m4 and
9374 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9375 supports TLS and substitute set_have_cc_tls.
9376 * configure: Regenerated.
9377
9378 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9379
9380 * Makefile.in: Use libbid for DFP when BID is enabled.
9381
9382 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9383
9384 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
9385 extra_parts. Add config/i386/t-cygming to tmake_file.
9386 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9387
9388 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9389 Danny Smith <dannysmith@users.sourceforge.net>
9390
9391 PR target/29498
9392 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9393 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9394 * config/i386/t-crtfm: Compile crtfastmath.o with
9395 -minline-all-stringops.
9396
9397 2007-05-10 Richard Sandiford <richard@codesourcery.com>
9398
9399 * config.host (sparc-wrs-vxworks): New target.
9400
9401 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
9402
9403 * config.host: Recognize fido.
9404
9405 2007-04-04 Janis Johnson <janis187@us.ibm.com>
9406
9407 * configure: Check host, not target, for decimal float support.
9408
9409 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
9410
9411 * config/i386/t-crtpc: New file.
9412 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
9413 (x86_64-*-linux*): Ditto.
9414
9415 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
9416
9417 * config.host (x86_64-*-mingw*): New target.
9418
9419 2007-03-23 Michael Meissner <michael.meissner@amd.com>
9420 H.J. Lu <hongjiu.lu@intel.com>
9421
9422 * Makefile.in (enable_decimal_float): New.
9423 (DECNUMINC): Add
9424 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9425 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9426 (decbits-filenames): This.
9427 (decbits-objects): New.
9428 (libgcc-objects): Add $(decbits-objects).
9429
9430 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9431 Substitute enable_decimal_float.
9432 * configure: Regenerated.
9433
9434 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
9435
9436 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9437
9438 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9439
9440 * Makefile.in (install-info): New dummy target.
9441
9442 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9443
9444 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9445
9446 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9447
9448 * Makefile.in: Add install-html and install-pdf dummy
9449 targets.
9450
9451 2007-02-05 Roger Sayle <roger@eyesopen.com>
9452 Daniel Jacobowitz <dan@codesourcery.com>
9453
9454 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9455 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9456 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9457
9458 2007-01-29 Janis Johnson <janis187@us.ibm.com>
9459
9460 * Makefile.in (dec-filenames): Add decExcept.
9461
9462 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9463
9464 PR bootstrap/30469
9465 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9466 -fprofile-use.
9467
9468 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9469
9470 * configure.ac: Add --enable-version-specific-runtime-libs.
9471 Correct $slibdir default.
9472 * configure: Regenerated.
9473
9474 2007-01-23 Joseph Myers <joseph@codesourcery.com>
9475
9476 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9477
9478 2007-01-21 Andrew Pinski <pinskia@gmail.com>
9479
9480 PR target/30519
9481 * config.host (alpha*-*-linux*): Set extra_parts.
9482
9483 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9484
9485 * config/sh/t-linux: New.
9486 * config.host (sh*-*-linux*): Set tmake_file.
9487
9488 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9489
9490 * Makefile.in (install): Handle multilibs.
9491
9492 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9493
9494 * Makefile.in: Added .PHONY entry for documentation targets.
9495
9496 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9497
9498 * Makefile.in: Add empty info, html, dvi, pdf targets.
9499
9500 2007-01-04 Mike Stump <mrs@apple.com>
9501
9502 * Makefile.in (MAKEINFO): Remove.
9503 (PERL): Likewise.
9504
9505 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
9506
9507 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9508 * configure: Regenerate.
9509 * Makefile.in (host_subdir): Substitute it.
9510 (gcc_objdir): Use it.
9511
9512 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9513
9514 * config.host (ia64*-*-linux*): Set tmake_file.
9515
9516 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9517
9518 * Makefile.in (version): Define.
9519
9520 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9521 Paolo Bonzini <bonzini@gnu.org>
9522
9523 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9524 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9525 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9526 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9527 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9528 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9529 * configure: Generated.
9530 \f
9531 Copyright (C) 2007-2018 Free Software Foundation, Inc.
9532
9533 Copying and distribution of this file, with or without modification,
9534 are permitted in any medium without royalty provided the copyright
9535 notice and this notice are preserved.