linux-unwind.h (_sig_ucontext_t): Remove.
[gcc.git] / libgcc / ChangeLog
1 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
2
3 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
4 (csky_fallback_frame_state): Modify the check of the
5 instructions to adapt to changes in the kernel
6
7 2018-11-09 Stafford Horne <shorne@gmail.com>
8 Richard Henderson <rth@twiddle.net>
9
10 * config.host: Add OpenRISC support.
11 * config/or1k/*: New.
12
13 2018-11-08 Kito Cheng <kito@andestech.com>
14
15 * soft-fp/adddf3.c: Update from glibc.
16 * soft-fp/addsf3.c: Likewise.
17 * soft-fp/addtf3.c: Likewise.
18 * soft-fp/divdf3.c: Likewise.
19 * soft-fp/divsf3.c: Likewise.
20 * soft-fp/divtf3.c: Likewise.
21 * soft-fp/double.h: Likewise.
22 * soft-fp/eqdf2.c: Likewise.
23 * soft-fp/eqsf2.c: Likewise.
24 * soft-fp/eqtf2.c: Likewise.
25 * soft-fp/extenddftf2.c: Likewise.
26 * soft-fp/extended.h: Likewise.
27 * soft-fp/extendhftf2.c: Likewise.
28 * soft-fp/extendsfdf2.c: Likewise.
29 * soft-fp/extendsftf2.c: Likewise.
30 * soft-fp/extendxftf2.c: Likewise.
31 * soft-fp/fixdfdi.c: Likewise.
32 * soft-fp/fixdfsi.c: Likewise.
33 * soft-fp/fixdfti.c: Likewise.
34 * soft-fp/fixhfti.c: Likewise.
35 * soft-fp/fixsfdi.c: Likewise.
36 * soft-fp/fixsfsi.c: Likewise.
37 * soft-fp/fixsfti.c: Likewise.
38 * soft-fp/fixtfdi.c: Likewise.
39 * soft-fp/fixtfsi.c: Likewise.
40 * soft-fp/fixtfti.c: Likewise.
41 * soft-fp/fixunsdfdi.c: Likewise.
42 * soft-fp/fixunsdfsi.c: Likewise.
43 * soft-fp/fixunsdfti.c: Likewise.
44 * soft-fp/fixunshfti.c: Likewise.
45 * soft-fp/fixunssfdi.c: Likewise.
46 * soft-fp/fixunssfsi.c: Likewise.
47 * soft-fp/fixunssfti.c: Likewise.
48 * soft-fp/fixunstfdi.c: Likewise.
49 * soft-fp/fixunstfsi.c: Likewise.
50 * soft-fp/fixunstfti.c: Likewise.
51 * soft-fp/floatdidf.c: Likewise.
52 * soft-fp/floatdisf.c: Likewise.
53 * soft-fp/floatditf.c: Likewise.
54 * soft-fp/floatsidf.c: Likewise.
55 * soft-fp/floatsisf.c: Likewise.
56 * soft-fp/floatsitf.c: Likewise.
57 * soft-fp/floattidf.c: Likewise.
58 * soft-fp/floattihf.c: Likewise.
59 * soft-fp/floattisf.c: Likewise.
60 * soft-fp/floattitf.c: Likewise.
61 * soft-fp/floatundidf.c: Likewise.
62 * soft-fp/floatundisf.c: Likewise.
63 * soft-fp/floatunditf.c: Likewise.
64 * soft-fp/floatunsidf.c: Likewise.
65 * soft-fp/floatunsisf.c: Likewise.
66 * soft-fp/floatunsitf.c: Likewise.
67 * soft-fp/floatuntidf.c: Likewise.
68 * soft-fp/floatuntihf.c: Likewise.
69 * soft-fp/floatuntisf.c: Likewise.
70 * soft-fp/floatuntitf.c: Likewise.
71 * soft-fp/gedf2.c: Likewise.
72 * soft-fp/gesf2.c: Likewise.
73 * soft-fp/getf2.c: Likewise.
74 * soft-fp/half.h: Likewise.
75 * soft-fp/ledf2.c: Likewise.
76 * soft-fp/lesf2.c: Likewise.
77 * soft-fp/letf2.c: Likewise.
78 * soft-fp/muldf3.c: Likewise.
79 * soft-fp/mulsf3.c: Likewise.
80 * soft-fp/multf3.c: Likewise.
81 * soft-fp/negdf2.c: Likewise.
82 * soft-fp/negsf2.c: Likewise.
83 * soft-fp/negtf2.c: Likewise.
84 * soft-fp/op-1.h: Likewise.
85 * soft-fp/op-2.h: Likewise.
86 * soft-fp/op-4.h: Likewise.
87 * soft-fp/op-8.h: Likewise.
88 * soft-fp/op-common.h: Likewise.
89 * soft-fp/quad.h: Likewise.
90 * soft-fp/single.h: Likewise.
91 * soft-fp/soft-fp.h: Likewise.
92 * soft-fp/subdf3.c: Likewise.
93 * soft-fp/subsf3.c: Likewise.
94 * soft-fp/subtf3.c: Likewise.
95 * soft-fp/truncdfsf2.c: Likewise.
96 * soft-fp/trunctfdf2.c: Likewise.
97 * soft-fp/trunctfhf2.c: Likewise.
98 * soft-fp/trunctfsf2.c: Likewise.
99 * soft-fp/trunctfxf2.c: Likewise.
100 * soft-fp/unorddf2.c: Likewise.
101 * soft-fp/unordsf2.c: Likewise.
102 * soft-fp/unordtf2.c: Likewise.
103
104 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
105
106 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
107 * config/i386/cpuinfo.h (processor_types): Add znver2.
108
109 2018-11-01 Paul Koning <ni1d@arrl.net>
110
111 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
112 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
113
114 2018-10-31 Joseph Myers <joseph@codesourcery.com>
115
116 PR bootstrap/82856
117 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
118 * configure: Regenerate.
119
120 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
121
122 * config/arc/lib1funcs.S (_muldi3): New function.
123 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
124
125 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
126
127 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
128
129 2018-10-25 Martin Liska <mliska@suse.cz>
130
131 PR other/87735
132 * libgcov-profiler.c: Revert.
133
134 2018-10-24 Martin Liska <mliska@suse.cz>
135
136 * libgcov-profiler.c: Start from 1 in order to distinguish
137 functions which were seen and these that were not.
138
139 2018-10-18 Paul Koning <ni1d@arrl.net>
140
141 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
142 standard.
143 * divmod.c: Update references to __udivmodsi4.
144 * udivmod.c: Ditto.
145 * udivhi3.c: New file.
146 * udivmodhi4.c: New file.
147 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
148
149 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
150
151 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
152
153 2018-10-12 Olivier Hainque <hainque@adacore.com>
154
155 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
156 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
157
158 2018-10-08 Paul Koning <ni1d@arrl.net>
159
160 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
161
162 2018-10-04 Martin Liska <mliska@suse.cz>
163
164 PR gcov-profile/84107
165 * libgcov-profiler.c (__gcov_indirect_call):
166 Change type to indirect_call_tuple.
167 (struct indirect_call_tuple): New struct.
168 (__gcov_indirect_call_topn_profiler): Change type.
169 (__gcov_indirect_call_profiler_v2): Use the new
170 variables.
171 * libgcov.h (struct indirect_call_tuple): New struct
172 definition.
173
174 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
175
176 * libgcc2.c (isnan): Use __builtin_isnan.
177 (isfinite): Use __builtin_isfinite.
178 (isinf): Use __builtin_isinf.
179
180 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
181
182 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
183
184 2018-09-21 Alexandre Oliva <oliva@adacore.com>
185
186 * config/vxcache.c: New file. Provide __clear_cache, based on
187 the cacheTextUpdate VxWorks service.
188 * config/t-vxworks (LIB2ADD): Add vxcache.c.
189 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
190 * config/t-vxwoks7: Likewise.
191
192 2018-09-21 Martin Liska <mliska@suse.cz>
193
194 * libgcov-driver.c (crc32_unsigned): Remove.
195 (gcov_histogram_insert): Likewise.
196 (gcov_compute_histogram): Likewise.
197 (compute_summary): Simplify rapidly.
198 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
199 (merge_summary): Rapidly simplify.
200 (dump_one_gcov): Ignore gcov_summary.
201 (gcov_do_dump): Do not handle program summary, it's not
202 used.
203 * libgcov-util.c (tag_summary): Remove.
204 (read_gcda_finalize): Fix coding style.
205 (read_gcda_file): Initialize curr_object_summary.
206 (compute_summary): Remove.
207 (calculate_overlap): Remove settings of run_max.
208
209 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
210
211 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
212 ucontext_t type instead.
213 (nds32_fallback_frame_state): Remove struct _sigframe statement.
214
215 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
216
217 * config/nds32/t-nds32-glibc: New file.
218
219 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
220
221 * configure.ac (solaris_ld_v2_maps): New test.
222 * configure: Regenerate.
223 * Makefile.in (solaris_ld_v2_maps): New variable.
224 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
225 if supported.
226
227 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
228
229 PR target/86951
230 * config/arm/lib1funcs.asm (speculation_barrier): New function.
231 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
232 to build.
233
234 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
235
236 * config/unwind-dw2-fde-darwin.c
237 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
238 * config/darwin10-unwind-find-enc-func.c: … to here.
239 * config/t-darwin: Build Darwin10 unwinder shim crt.
240 * libgcc/config.host: Add the Darwin10 unwinder shim.
241
242 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
243
244 * config.host: Add crtbegin.o and crtend.o for
245 powerpc-wrs-vxworks target.
246
247 2018-08-17 Jojo <jijie_rong@c-sky.com>
248 Huibin Wang <huibin_wang@c-sky.com>
249 Sandra Loosemore <sandra@codesourcery.com>
250 Chung-Lin Tang <cltang@codesourcery.com>
251
252 C-SKY port: libgcc
253
254 * config.host: Add C-SKY support.
255 * config/csky/*: New.
256
257 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
258
259 * config/nds32/t-nds32-isr: Rearrange object dependency.
260 * config/nds32/initfini.c: Add dwarf2 unwinding support.
261 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
262 and registers usage.
263 * config/nds32/isr-library/excp_isr.S: Ditto.
264 * config/nds32/isr-library/intr_isr.S: Ditto.
265 * config/nds32/isr-library/reset.S: Ditto.
266 * config/nds32/isr-library/restore_all.inc: Ditto.
267 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
268 * config/nds32/isr-library/restore_partial.inc: Ditto.
269 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
270 * config/nds32/isr-library/save_all.inc: Ditto.
271 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
272 * config/nds32/isr-library/save_partial.inc: Ditto.
273 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
274 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
275
276 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
277
278 * config/pa/linux-atomic.c: Update comment.
279 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
280 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
281 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
282 __ATOMIC_RELAXED for atomic loads.
283 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
284 unordered store to release lock.
285 (__sync_lock_release_8): Likewise.
286 (SYNC_LOCK_RELEASE_2): Remove define.
287
288 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
289
290 PR libgcc/86512
291 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
292 exponent goes negative. Update my email address.
293 * config/arm/ieee754-sf.S: Likewise.
294
295 2018-08-01 Martin Liska <mliska@suse.cz>
296
297 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
298 check that __gcov_indirect_call_callee is non-null.
299
300 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
301
302 * config/arm/ieee754-df.S: Fix comment for code working on
303 architectures >= 4.
304 * config/arm/ieee754-sf.S: Likewise.
305
306 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
307
308 PR libgcc/85334
309 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
310 Removed.
311
312 2018-07-05 James Clarke <jrtc27@jrtc27.com>
313
314 * configure: Regenerated.
315
316 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
317
318 * Makefile.in (install_leaf): Use enable_gcov instead of
319 enable_libgcov.
320
321 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
322
323 * configure.ac: Add --disable-gcov option.
324 * configure: Regenerate.
325 * Makefile.in: Honour @enable_gcov@.
326
327 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
328
329 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
330 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
331 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
332 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
333 __ARM_ARCH__.
334 * config/arm/ieee754-sf.S: Likewise.
335 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
336
337 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
338
339 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
340 longer supported.
341 * config/arm/ieee754-sf.S: Likewise.
342
343 2018-06-20 Than McIntosh <thanm@google.com>
344
345 PR libgcc/86213
346 * generic-morestack.c (allocate_segment): Move calls to getenv and
347 getpagesize to __morestack_load_mmap.
348 (__morestack_load_mmap) Initialize static_pagesize and
349 use_guard_page here so as to avoid clobbering SSE regs during a
350 __morestack call.
351
352 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
353
354 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
355 support modules with -mno-gnu-attribute.
356 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
357
358 2018-06-07 Olivier Hainque <hainque@adacore.com>
359
360 * config/t-vxworks (LIBGCC_INCLUDES): Add
361 -I$(MULTIBUILDTOP)../../gcc/include.
362 * config/t-vxworks7: Likewise. Reformat a bit to match
363 the t-vxworks layout.
364
365 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
366
367 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
368
369 2018-06-07 Martin Liska <mliska@suse.cz>
370
371 * libgcov-driver.c: Rename cs_all to all and assign it from
372 all_prg.
373
374 2018-06-07 Martin Liska <mliska@suse.cz>
375
376 PR bootstrap/86057
377 * libgcov-driver-system.c (replace_filename_variables): Use
378 memcpy instead of mempcpy.
379 (allocate_filename_struct): Do not allocate filename, allocate
380 prefix and set it.
381 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
382 here and properly copy content into it.
383 * libgcov-driver.c (struct gcov_filename): Remove max_length
384 field, change prefix from size_t into char *.
385 (compute_summary): Do not calculate longest filename.
386 (gcov_do_dump): Release memory of gf.filename after each file.
387 * libgcov-util.c (compute_summary): Use new signature of
388 compute_summary.
389 (calculate_overlap): Likewise.
390
391 2018-06-05 Martin Liska <mliska@suse.cz>
392
393 PR gcov-profile/47618
394 * libgcov-driver-system.c (replace_filename_variables): New
395 function.
396 (gcov_exit_open_gcda_file): Use it.
397
398 2018-06-05 Martin Liska <mliska@suse.cz>
399
400 * libgcov-driver.c (gcov_compute_histogram): Remove usage
401 of gcov_ctr_summary.
402 (compute_summary): Do it just for a single summary.
403 (merge_one_data): Likewise.
404 (merge_summary): Simplify as we read just single summary.
405 (dump_one_gcov): Pass proper argument.
406 * libgcov-util.c (compute_one_gcov): Simplify as we have just
407 single summary.
408 (gcov_info_count_all_cold): Likewise.
409 (calculate_overlap): Likewise.
410
411 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
412 Monk Chiang <sh.chiang04@gmail.com>
413
414 * config.host (nds32*-linux*): New.
415 * config/nds32/linux-atomic.c: New file.
416 * config/nds32/linux-unwind.h: New file.
417
418 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
419
420 PR target/85591
421 * config/i386/cpuinfo.c (get_amd_cpu): Return
422 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
423
424 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
425
426 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
427
428 2018-05-29 Martin Liska <mliska@suse.cz>
429
430 PR gcov-profile/85759
431 * libgcov-driver-system.c (gcov_error): Introduce usage of
432 GCOV_EXIT_AT_ERROR env. variable.
433 * libgcov-driver.c (merge_one_data): Print error that we
434 overwrite a gcov file with a different timestamp.
435
436 2018-05-23 Kalamatee <kalamatee@gmail.com>
437
438 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
439 path to Lf$finfty.
440
441 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
442 Monk Chiang <sh.chiang04@gmail.com>
443 Jim Wilson <jimw@sifive.com>
444
445 * config/riscv/save-restore.S: Add support for rv32e.
446
447 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
448
449 * config/arm/libunwind.S: Update comment relating to armv5.
450
451 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
452
453 * config/arm/cmse.c (cmse_check_address_range): Replace
454 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
455
456 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
457
458 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
459 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
460
461 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
462
463 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
464 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
465
466 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
467
468 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
469
470 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
471 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
472
473 PR libgcc/84292
474 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
475 op_and_fetch to return the right result.
476
477 2018-04-27 Alan Modra <amodra@gmail.com>
478
479 PR libgcc/85532
480 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
481 -fno-asynchronous-unwind-tables.
482
483 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
484
485 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
486 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
487
488 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
489
490 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
491 when including "config/i386/shadow-stack-unwind.h".
492
493 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
494
495 * configure: Regenerated.
496
497 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
498
499 PR target/85456
500 * config/rs6000/_powikf2.c: New file. Add support for the
501 __builtin_powil function when long double is IEEE 128-bit floating
502 point.
503 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
504 __powikf2 support.
505 (__powikf2): Likewise.
506 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
507 (__powikf2_hw): Likewise.
508 (__powikf2): Likewise.
509 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
510 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
511 (_powikf2-hw.c): Likewise.
512
513 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
514
515 PR libgcc/85334
516 * unwind-generic.h (_Unwind_Frames_Increment): New.
517 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
518 Likewise.
519 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
520 count with _Unwind_Frames_Increment.
521 (_Unwind_ForcedUnwind_Phase2): Likewise.
522
523 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
524
525 PR libgcc/85379
526 * config/i386/morestack.S (__stack_split_initialize): Add
527 _CET_ENDBR.
528
529 2018-04-19 Jakub Jelinek <jakub@redhat.com>
530
531 * configure: Regenerated.
532
533 2018-04-18 David Malcolm <dmalcolm@redhat.com>
534
535 PR jit/85384
536 * configure: Regenerate.
537
538 2018-04-16 Jakub Jelinek <jakub@redhat.com>
539
540 PR target/84945
541 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
542 -Wdangling-else warnings. Mask shift counts to avoid
543 -Wshift-count-negative and -Wshift-count-overflow false positives.
544
545 2018-04-06 Ruslan Bukin <br@bsdpad.com>
546
547 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
548
549 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
550
551 PR target/85100
552 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
553 (XSTATE_FP): Likewise.
554 (XSTATE_SSE): Likewise.
555 (XSTATE_YMM): Likewise.
556 (XSTATE_OPMASK): Likewise.
557 (XSTATE_ZMM): Likewise.
558 (XSTATE_HI_ZMM): Likewise.
559 (XCR_AVX_ENABLED_MASK): Likewise.
560 (XCR_AVX512F_ENABLED_MASK): Likewise.
561 (get_available_features): Enable AVX and AVX512 features only
562 if their states are supported by OSXSAVE.
563
564 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
565
566 PR target/85025
567 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
568 Fix a typo, tmp => 255.
569
570 2018-03-20 Jakub Jelinek <jakub@redhat.com>
571
572 PR target/84945
573 * config/i386/cpuinfo.h (__cpu_features2): Declare.
574 * config/i386/cpuinfo.c (__cpu_features2): New variable for
575 ifndef SHARED only.
576 (set_feature): Define.
577 (get_available_features): Use set_feature macro. Set __cpu_features2
578 to the second word of features ifndef SHARED.
579
580 2018-03-15 Julia Koval <julia.koval@intel.com>
581
582 * config/i386/cpuinfo.c (get_available_features): Add
583 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
584 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
585 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
586 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
587 FEATURE_AVX512BITALG.
588
589 2018-03-14 Julia Koval <julia.koval@intel.com>
590
591 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
592 icelake client and icelake server.
593
594 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
595
596 * config/pa/fptr.c (_dl_read_access_allowed): New.
597 (__canonicalize_funcptr_for_compare): Use it.
598
599 2018-02-28 Jakub Jelinek <jakub@redhat.com>
600
601 PR debug/83917
602 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
603 $asm_hidden_op if visibility ("hidden") attribute works.
604 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
605 * config/i386/i386-asm.h: Don't include auto-host.h.
606 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
607 PACKAGE_URL): Don't undefine.
608 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
609 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
610 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
611 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
612 definition instead of hardcoded .hidden.
613 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
614 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
615 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
616 (USE_GAS_CFI_DIRECTIVES): Don't define.
617 * configure: Regenerated.
618 * config.in: Likewise.
619
620 2018-02-26 Jakub Jelinek <jakub@redhat.com>
621
622 PR debug/83917
623 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
624 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
625 inclusion of auto-target.h and auto-host.h.
626 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
627 __GCC_HAVE_DWARF2_CFI_ASM.
628 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
629 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
630 cfi_pop): Define.
631 * config/i386/cygwin.S: Don't include auto-host.h here, just
632 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
633 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
634 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
635 * config/i386/resms64fx.h: Add cfi_* directives.
636 * config/i386/resms64x.h: Likewise.
637
638 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
639
640 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
641 .literal_position directive.
642 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
643
644 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
645
646 PR target/84148
647 * configure: Regenerate.
648
649 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
650
651 PR target/84239
652 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
653 Include cetintrin.h not x86intrin.h.
654
655 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
656
657 PR target/84239
658 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
659 Use new _get_ssp and _inc_ssp intrinsics.
660
661 2018-02-02 Julia Koval <julia.koval@intel.com>
662
663 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
664
665 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
666
667 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
668 option.
669 (__divsi3): Use RF16 safe registers.
670 (__modsi3): Likewise.
671
672 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
673
674 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
675 (__divsf3): Make NaN return value quiet.
676 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
677 (__divdf3): Make NaN return value quiet.
678
679 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
680
681 * config/rl78/anddi3.S: New assembly file.
682 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
683
684 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
685
686 * config/rl78/umindi3.S: New assembly file.
687 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
688
689 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
690
691 * config/rl78/smindi3.S: New assembly file.
692 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
693
694 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
695
696 * config/rl78/smaxdi3.S: New assembly file.
697 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
698
699 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
700
701 * config/rl78/umaxdi3.S: New assembly file.
702 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
703
704 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
705
706 PR lto/83452
707 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
708 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
709
710 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
711
712 * config/aarch64/value-unwind.h (aarch64_vg): New function.
713 (DWARF_LAZY_REGISTER_VALUE): Define.
714 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
715 to provide a fallback register value.
716
717 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
718
719 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
720 __ibm128, instead of trying to use long double.
721 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
722 accomidate -mabi=ieeelongdouble multilibs.
723 (CVT_IBM128_TO_FLOAT128): Likewise.
724 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
725 the appropriate IBM extended double type.
726 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
727 (__gcc_qsub): Likewise.
728 (__gcc_qmul): Likewise.
729 (__gcc_qdiv): Likewise.
730 (pack_ldouble): Likewise.
731 (__gcc_qneg): Likewise.
732 (__gcc_qeq): Likewise.
733 (__gcc_qne): Likewise.
734 (__gcc_qge): Likewise.
735 (__gcc_qle): Likewise.
736 (__gcc_stoq): Likewise.
737 (__gcc_dtoq): Likewise.
738 (__gcc_itoq): Likewise.
739 (__gcc_utoq): Likewise.
740 (__gcc_qunord): Likewise.
741 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
742 quad-float128.h for the definitions.
743 (COPYSIGN): Use the f128 version instead of the q version.
744 (INFINITY): Likewise.
745 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
746 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
747 quad-float128.h for the definitions.
748 (COPYSIGN): Use the f128 version instead of the q version.
749 (INFINITY): Likewise.
750 (FABS): Likewise.
751 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
752 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
753 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
754
755 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
756
757 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
758 configuration.
759
760 2018-01-03 Jakub Jelinek <jakub@redhat.com>
761
762 Update copyright years.
763
764 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
765
766 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
767 * config/riscv/multi3.c: New file.
768 * config/riscv/multi3.S: Remove.
769
770 2017-12-08 Jim Wilson <jimw@sifive.com>
771
772 * config/riscv/div.S: Use FUNC_* macros.
773 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
774 * config/riscv/save-restore.S: Likewise.
775 * config/riscv/riscv-asm.h: New.
776
777 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
778
779 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
780 * config/rs6000/_divkc3.c (__divkc3): Likewise.
781
782 PR libgcc/83112
783 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
784 correct type for all ifunc resolvers to silence -Wattribute-alias
785 warnings. Eliminate the forward declaration of the resolver
786 functions which is no longer needed.
787 (__subkf3_resolve): Likewise.
788 (__mulkf3_resolve): Likewise.
789 (__divkf3_resolve): Likewise.
790 (__negkf2_resolve): Likewise.
791 (__eqkf2_resolve): Likewise.
792 (__nekf2_resolve): Likewise.
793 (__gekf2_resolve): Likewise.
794 (__gtkf2_resolve): Likewise.
795 (__lekf2_resolve): Likewise.
796 (__ltkf2_resolve): Likewise.
797 (__unordkf2_resolve): Likewise.
798 (__extendsfkf2_resolve): Likewise.
799 (__extenddfkf2_resolve): Likewise.
800 (__trunckfsf2_resolve): Likewise.
801 (__trunckfdf2_resolve): Likewise.
802 (__fixkfsi_resolve): Likewise.
803 (__fixkfdi_resolve): Likewise.
804 (__fixunskfsi_resolve): Likewise.
805 (__fixunskfdi_resolve): Likewise.
806 (__floatsikf_resolve): Likewise.
807 (__floatdikf_resolve): Likewise.
808 (__floatunsikf_resolve): Likewise.
809 (__floatundikf_resolve): Likewise.
810 (__extendkftf2_resolve): Likewise.
811 (__trunctfkf2_resolve): Likewise.
812
813 PR libgcc/83103
814 * config/rs6000/quad-float128.h (TF): Don't define if long double
815 is IEEE 128-bit floating point.
816 (TCtype): Define as either TCmode or KCmode, depending on whether
817 long double is IEEE 128-bit floating point.
818 (__mulkc3_sw): Add declarations for software/hardware versions of
819 complex multiply/divide.
820 (__divkc3_sw): Likewise.
821 (__mulkc3_hw): Likewise.
822 (__divkc3_hw): Likewise.
823 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
824 handlers to switch between using software emulation and hardware
825 float128 instructions, build the complex multiply/divide functions
826 for both software and hardware support.
827 * config/rs6000/_divkc3.c (_divkc3): Likewise.
828 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
829 (__divkc3_resolve): Likewise.
830 (__mulkc3): Likewise.
831 (__divkc3): Likewise.
832 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
833 (fp128_hw_src): Likewise.
834 (fp128_hw_static_obj): Likewise.
835 (fp128_hw_shared_obj): Likewise.
836 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
837 _mulkc3.c and _divkc3.c, changing the function name.
838 (_divkc3-hw.c): Likewise.
839 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
840 and _divkc3-hw.c.
841
842 2017-11-26 Julia Koval <julia.koval@intel.com>
843
844 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
845 * config/i386/cpuinfo.h (processor_subtypes): Add
846 INTEL_COREI7_CANNONLAKE.
847
848 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
849
850 PR bootstrap/83015
851 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
852 parameter.
853 * config/xtensa/unwind-dw2-xtensa.c: Likewise
854 * config/ia64/unwind-ia64.c: Add frames parameter.
855 * unwind-sjlj.c: Likewise.
856
857 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
858
859 * config/i386/linux-unwind.h: Include
860 config/i386/shadow-stack-unwind.h.
861 * config/i386/shadow-stack-unwind.h: New file.
862 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
863 pass it to _Unwind_Frames_Extra.
864 * unwind-generic.h (_Unwind_Frames_Extra): New.
865 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
866 parameter. Add local variable frames to count number of frames.
867 (_Unwind_ForcedUnwind_Phase2): Likewise.
868 (_Unwind_RaiseException): Add local variable frames to count
869 number of frames, pass it to _Unwind_RaiseException_Phase2 and
870 uw_install_context.
871 (_Unwind_ForcedUnwind): Likewise.
872 (_Unwind_Resume): Likewise.
873 (_Unwind_Resume_or_Rethrow): Likewise.
874
875 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
876
877 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
878 (CET_FLAGS): New.
879 * config/i386/morestack.S: Include <cet.h>.
880 (__morestack_large_model): Add _CET_ENDBR at function entrance.
881 * config/i386/resms64.h: Include <cet.h>.
882 * config/i386/resms64f.h: Likewise.
883 * config/i386/resms64fx.h: Likewise.
884 * config/i386/resms64x.h: Likewise.
885 * config/i386/savms64.h: Likewise.
886 * config/i386/savms64f.h: Likewise.
887 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
888 (CRTSTUFF_T_CFLAGS): Likewise.
889 * configure.ac: Include ../config/cet.m4.
890 Set and substitute CET_FLAGS.
891 * configure: Regenerated.
892
893 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
894
895 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
896 renaming.
897 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
898 * configure.ac (libgcc_cv_solaris_crts): Likewise.
899 * configure: Regenerate.
900
901 2017-11-07 Tom de Vries <tom@codesourcery.com>
902
903 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
904 after "do {} while (0)".
905
906 2017-11-07 Tom de Vries <tom@codesourcery.com>
907
908 PR other/82784
909 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
910 semicolon after "do {} while (0)".
911 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
912 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
913 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
914 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
915
916 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
917
918 PR libgcc/82635
919 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
920 sysctl to determine whether we're in a trampoline.
921 Keep the pattern matching method for systems without
922 KERN_PROC_SIGTRAMP sysctl.
923
924 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
925 Vineet Gupta <vgupta@synopsys.com>
926
927 * config.host (arc*-*-linux*): Set md_unwind_header variable.
928 * config/arc/linux-unwind-reg.def: New file.
929 * config/arc/linux-unwind-reg.h: Likewise.
930
931 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
932
933 * config/rl78/subdi3.S: New assembly file.
934 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
935
936 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
937
938 * config/rl78/adddi3.S: New assembly file.
939 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
940
941 2017-10-13 Jakub Jelinek <jakub@redhat.com>
942
943 PR target/82274
944 * libgcc2.c (__mulvDI3): If both operands have
945 the same highpart of -1 and the topmost bit of lowpart is 0,
946 multiplication overflows even if both lowparts are 0.
947
948 2017-09-28 James Bowman <james.bowman@ftdichip.com>
949
950 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
951
952 2017-09-26 Joseph Myers <joseph@codesourcery.com>
953
954 * config/microblaze/crti.S, config/microblaze/crtn.S,
955 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
956 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
957 config/microblaze/mulsi3.S,
958 config/microblaze/stack_overflow_exit.S,
959 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
960 config/pa/milli64.S: Add .note.GNU-stack section.
961
962 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
963
964 * configure.ac: Add Check for HAVE_AS_AVX.
965 * config.in: Regenerate.
966 * configure: Likewise.
967 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
968 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
969 Correct out-of-date comments.
970
971 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
972
973 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
974 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
975
976 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
977
978 * config/i386/i386-asm.h (PASTE2): New macro.
979 (ASMNAME): Modify to use PASTE2.
980 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
981 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
982 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
983 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
984 * config/i386/resms64f.S: Likewise.
985 * config/i386/resms64fx.S: Likewise.
986 * config/i386/resms64x.S: Likewise.
987 * config/i386/savms64.S: Likewise.
988 * config/i386/savms64f.S: Likewise.
989 * config/i386/avx_resms64.S: New file that only defines a macro and
990 includes it's corresponding header file.
991 * config/i386/avx_resms64f.S: Likewise.
992 * config/i386/avx_resms64fx.S: Likewise.
993 * config/i386/avx_resms64x.S: Likewise.
994 * config/i386/avx_savms64.S: Likewise.
995 * config/i386/avx_savms64f.S: Likewise.
996 * config/i386/sse_resms64.S: Likewise.
997 * config/i386/sse_resms64f.S: Likewise.
998 * config/i386/sse_resms64fx.S: Likewise.
999 * config/i386/sse_resms64x.S: Likewise.
1000 * config/i386/sse_savms64.S: Likewise.
1001 * config/i386/sse_savms64f.S: Likewise.
1002 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
1003
1004 2017-09-01 Olivier Hainque <hainque@adacore.com>
1005 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1006
1007 2017-08-31 Olivier Hainque <hainque@adacore.com>
1008
1009 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1010 match as powerpc-wrs-vxworks*.
1011
1012 2017-08-07 Jonathan Yong <10walls@gmail.com>
1013
1014 * config.host (*-cygwin): Include file from mingw
1015 config/i386/enable-execute-stack-mingw32.c
1016
1017 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
1018 Doug Rupp <rupp@adacore.com>
1019 Olivier Hainque <hainque@adacore.com>
1020
1021 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1022 as well as arm-wrs-vxworks.
1023 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1024 LIB2ADDEH.
1025 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1026 __exidx_start and __exidx_end for downloadable modules.
1027
1028 2017-08-01 Olivier Hainque <hainque@adacore.com>
1029
1030 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1031 * config/t-vxworks7: Likewise.
1032
1033 2017-08-01 Olivier Hainque <hainque@adacore.com>
1034
1035 * config/t-vxworks: Instead of redefining LIB2ADD,
1036 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1037
1038 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1039
1040 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1041
1042 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
1043
1044 PR testsuite/80759
1045 * config.host: include i386/t-msabi for darwin and solaris.
1046 * config/i386/i386-asm.h
1047 (ELFFN): Rename to FN_TYPE.
1048 (FN_SIZE): New macro.
1049 (FN_HIDDEN): Likewise.
1050 (ASMNAME): Likewise.
1051 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1052 .globl.
1053 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1054 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1055 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1056 .macro.
1057 * config/i386/resms64f.S: Likewise.
1058 * config/i386/resms64fx.S: Likewise.
1059 * config/i386/resms64x.S: Likewise.
1060 * config/i386/savms64.S: Likewise.
1061 * config/i386/savms64f.S: Likewise.
1062
1063 2017-07-19 John Marino <gnugcc@marino.st>
1064
1065 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1066
1067 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1068
1069 PR target/81193
1070 * configure.ac (PowerPC float128 hardware support): Test whether
1071 we can use __builtin_cpu_supports before enabling the ifunc
1072 handler.
1073 * configure: Regenerate.
1074
1075 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
1076
1077 * config.host: Remove uclibc from arc target spec.
1078
1079 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1080
1081 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1082
1083 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1084
1085 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1086 (have_ieee_hw_p): Delete function.
1087 (SW_OR_HW) Use __builtin_cpu_supports().
1088
1089 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1090
1091 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1092
1093 2017-07-03 Olivier Hainque <hainque@adacore.com>
1094
1095 * config/t-vxworks7: New file, really.
1096
1097 2017-06-28 Joseph Myers <joseph@codesourcery.com>
1098
1099 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1100 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1101 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1102 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1103 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1104 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1105 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1106 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1107 config/sh/linux-unwind.h (sh_fallback_frame_state),
1108 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1109 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1110 ucontext_t instead of struct ucontext.
1111
1112 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
1113
1114 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1115 (x86_64-wrs-vxworks7): Likewise.
1116
1117 2017-06-27 Olivier Hainque <hainque@adacore.com>
1118
1119 * config/t-vxworks7: New file.
1120 * config.host (*-*-vxworks7): Use it.
1121
1122 2017-06-22 Matt Turner <mattst88@gmail.com>
1123
1124 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1125 skylake case.
1126
1127 2017-06-21 Richard Biener <rguenther@suse.de>
1128
1129 PR gcov-profile/81080
1130 * configure.ac: Add AC_SYS_LARGEFILE.
1131 * libgcov.h: Include auto-target.h before tsystem.h to pick
1132 up _FILE_OFFSET_BITS which might differ for multilibs.
1133 * config.in: Regenerate.
1134 * configure: Likewise.
1135
1136 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
1137
1138 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1139
1140 2017-06-09 Martin Liska <mliska@suse.cz>
1141
1142 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1143 Reset __gcov_indirect_call_callee to NULL.
1144
1145 2017-06-08 Olivier Hainque <hainque@adacore.com>
1146
1147 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1148 the set of -I options, support for direct inclusions of net/uio.h
1149 by VxWorks header files via ioLib.h.
1150
1151 2017-06-07 Tony Reix <tony.reix@atos.net>
1152 Matthieu Sarter <matthieu.sarter.external@atos.net>
1153 David Edelsohn <dje.gcc@gmail.com>
1154
1155 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1156 unconditionally.
1157 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1158 AIX 7.2 support.
1159
1160 2017-06-02 Olivier Hainque <hainque@adacore.com>
1161
1162 * config/vxlib.c (__gthread_once): Add missing value to
1163 return statement.
1164
1165 2017-05-30 Olivier Hainque <hainque@adacore.com>
1166
1167 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1168 dollar sign before $(MULTIDIR).
1169
1170 2017-05-26 Richard Henderson <rth@redhat.com>
1171
1172 PR libgcc/80037
1173 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1174
1175 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1176
1177 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1178 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1179 * config/arm/unwind-arm.c: Implement the above.
1180
1181 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1182
1183 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1184 section for a non-executable stack.
1185
1186 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1187
1188 PR target/80600
1189 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1190
1191 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
1192
1193 * config.host: Add i386/t-msabi to i386/t-linux file list.
1194 * config/i386/i386-asm.h: New file.
1195 * config/i386/resms64.S: New file.
1196 * config/i386/resms64f.S: New file.
1197 * config/i386/resms64fx.S: New file.
1198 * config/i386/resms64x.S: New file.
1199 * config/i386/savms64.S: New file.
1200 * config/i386/savms64f.S: New file.
1201 * config/i386/t-msabi: New file.
1202
1203 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1204
1205 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1206 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1207
1208 2017-05-05 Joshua Conner <joshconner@google.com>
1209
1210 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1211 pc-relative indirect handling for fuchsia.
1212 * config/t-slibgcc-fuchsia: New file.
1213 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
1214 x86_64-*-fuchsia*): Add definitions.
1215
1216 2017-04-19 Martin Liska <mliska@suse.cz>
1217
1218 PR gcov-profile/80435
1219 * Makefile.in: Install gcov.h.
1220 * gcov.h: New file.
1221 * libgcov.h: Use the header and make __gcov_flush publicly
1222 visible.
1223
1224 2017-04-18 Martin Liska <mliska@suse.cz>
1225
1226 PR gcov-profile/78783
1227 * libgcov-driver.c (gcov_get_filename): New function.
1228
1229 2017-04-07 Jeff Law <law@redhat.com>
1230
1231 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1232 target makefile fragment.
1233 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1234
1235 2017-04-07 Alan Modra <amodra@gmail.com>
1236
1237 PR target/45053
1238 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1239
1240 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
1241
1242 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1243
1244 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1245
1246 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1247
1248 2017-03-10 John Marino <gnugcc@marino.st>
1249
1250 * config/aarch64/freebsd-unwind.h: New file.
1251 * config.host: Add aarch64-*-freebsd unwinder.
1252
1253 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1254
1255 * config/rs6000/crtrestvr.s: Use .machine altivec.
1256 * config/rs6000/crtsavevr.s: Ditto.
1257
1258 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1259
1260 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1261 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1262 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1263 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1264 * configure: Regenerate.
1265 * config.in: Regenerate.
1266
1267 2017-03-02 Jonathan Yong <10walls@gmail.com>
1268
1269 * config/i386/gthr-win32.h: Define NOGDI before
1270 windows.h include to prevent w32api CC_NONE macro
1271 clash with libgfortran.
1272
1273 2017-03-02 Jonathan Yong <10walls@gmail.com>
1274
1275 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1276
1277 2017-02-16 Andrew Pinski <apinski@cavium.com>
1278
1279 * config/aarch64/value-unwind.h: New file.
1280 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1281 to tm_file.
1282
1283 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1284
1285 * config.host: Add RISC-V tuples.
1286 * config/riscv/atomic.c: New file.
1287 * config/riscv/crti.S: Likewise.
1288 * config/riscv/crtn.S: Likewise.
1289 * config/riscv/div.S: Likewise.
1290 * config/riscv/linux-unwind.h: Likewise.
1291 * config/riscv/muldi3.S: Likewise.
1292 * config/riscv/multi3.S: Likewise.
1293 * config/riscv/save-restore.S: Likewise.
1294 * config/riscv/sfp-machine.h: Likewise.
1295 * config/riscv/t-elf: Likewise.
1296 * config/riscv/t-elf32: Likewise.
1297 * config/riscv/t-elf64: Likewise.
1298 * config/riscv/t-softfp32: Likewise.
1299 * config/riscv/t-softfp64: Likewise.
1300
1301 2017-01-24 Jakub Jelinek <jakub@redhat.com>
1302
1303 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1304 /* FALLTHRU */ comments.
1305
1306 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1307
1308 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1309
1310 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1311
1312 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1313 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1314 DW_CFA_GNU_window_save for AArch64 and LP64.
1315
1316 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1317
1318 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1319
1320 2017-01-19 Jiong Wang <jiong.wang@arm.com>
1321
1322 * config/aarch64/aarch64-unwind.h: New file.
1323 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1324 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1325 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1326 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1327 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1328 (aarch64_post_extract_frame_addr): New function.
1329 (aarch64_post_frob_eh_handler_addr): New function.
1330 (aarch64_frob_update_context): New function.
1331 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1332 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1333 aarch64*-*-freebsd*):
1334 Initialize md_unwind_header to include aarch64-unwind.h.
1335 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1336 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1337 __aarch64__.
1338 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1339 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1340 (uw_frob_return_addr): New function.
1341 (uw_install_context): Use uw_frob_return_addr.
1342
1343 2017-01-17 Jakub Jelinek <jakub@redhat.com>
1344
1345 PR other/79046
1346 * configure.ac: Add GCC_BASE_VER.
1347 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1348 version from BASE-VER file.
1349 * configure: Regenerated.
1350
1351 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
1352
1353 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1354 libmul_f5.a): Filter archived prerequisites.
1355
1356 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1357
1358 * config/i386/cpuinfo.h (processor_features): Add
1359 FEATURE_AVX512VPOPCNTDQ.
1360 * config/i386/cpuinfo.c (get_available_features): Habdle new
1361 feature.
1362
1363 2017-01-04 Joseph Myers <joseph@codesourcery.com>
1364
1365 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1366 payload if [__mips_nan2008].
1367
1368 2017-01-04 Alan Modra <amodra@gmail.com>
1369
1370 * Makefile.in (configure_deps): Update.
1371 * configure: Regenerate.
1372
1373 2017-01-01 Jakub Jelinek <jakub@redhat.com>
1374
1375 Update copyright years.
1376
1377 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1378
1379 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1380 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1381 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1382
1383 2016-12-17 Matthias Klose <doko@ubuntu.com>
1384
1385 * config/arc/gmon: Remove empty directory.
1386
1387 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1388
1389 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1390 crtgend.
1391 (arc*-*-elf*): Likewise.
1392 * config/arc/t-arc: Remove old gmon lib targets.
1393 * config/arc/crtg.S: Remove.
1394 * config/arc/crtgend.S: Likewise.
1395 * config/arc/gmon/atomic.h: Likewise.
1396 * config/arc/gmon/auxreg.h: Likewise.
1397 * config/arc/gmon/dcache_linesz.S: Likewise.
1398 * config/arc/gmon/gmon.c: Likewise.
1399 * config/arc/gmon/machine-gmon.h: Likewise.
1400 * config/arc/gmon/mcount.c: Likewise.
1401 * config/arc/gmon/prof-freq-stub.S: Likewise.
1402 * config/arc/gmon/prof-freq.c: Likewise.
1403 * config/arc/gmon/profil.S: Likewise.
1404 * config/arc/gmon/sys/gmon.h: Likewise.
1405 * config/arc/gmon/sys/gmon_out.h: Likewise.
1406 * config/arc/t-arc-newlib: Likewise.
1407 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1408
1409 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1410
1411 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1412
1413 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1414
1415 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1416 R16 instead of push + pop.
1417 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1418
1419 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1420
1421 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1422 tmake_file.
1423
1424 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1425
1426 * config.host (arc*-*-linux-uclibc*): Use default extra
1427 objects. Include linux-android header.
1428 * config/arc/crti.S (_init): Declare symbol as function.
1429 (_fini): Likewise.
1430
1431 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1432
1433 PR fortran/78379
1434 * config/i386/cpuinfo.c: Move denums for processor vendors,
1435 processor type, processor subtypes and declaration of
1436 struct __processor_model into
1437 * config/i386/cpuinfo.h: New header file.
1438
1439 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1440 Thomas Preud'homme <thomas.preudhomme@arm.com>
1441
1442 * config/arm/cmse_nonsecure_call.S: New.
1443 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1444
1445 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1446 Thomas Preud'homme <thomas.preudhomme@arm.com>
1447
1448 * config/arm/t-arm (HAVE_CMSE): New.
1449 * config/arm/cmse.c: New.
1450
1451 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1452
1453 PR gcc/74748
1454 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1455 use generic linker version information on Blackfin.
1456
1457 PR gcc/74748
1458 * libgcc/mkmap-symver.awk: add support for skip_underscore
1459
1460 2016-11-27 Iain Sandoe <iain@codesourcery.com>
1461 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1462
1463 PR target/67710
1464 * config/t-darwin: Default builds to 10.5 codegen.
1465
1466 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1467
1468 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1469 (_FP_NANSIGN_H): Likewise.
1470 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1471 (softfp_truncations): Add tfhf.
1472 (softfp_extras): Add required conversion functions.
1473
1474 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1475 Matthew Wahab <matthew.wahab@arm.com>
1476
1477 * config/arm/fp16.c (binary64): New.
1478 (__gnu_d2h_internal): New.
1479 (__gnu_d2h_ieee): New.
1480 (__gnu_d2h_alternative): New.
1481
1482 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1483 Matthew Wahab <matthew.wahab@arm.com>
1484
1485 * config/arm/fp16.c (struct format): New.
1486 (binary32): New.
1487 (__gnu_float2h_internal): New. Body moved from
1488 __gnu_f2h_internal and generalize.
1489 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1490 Call it with binary32.
1491
1492 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1493
1494 * soft-fp/extendhftf2.c: Update from glibc.
1495 * soft-fp/fixhfti.c: Likewise.
1496 * soft-fp/fixunshfti.c: Likewise.
1497 * soft-fp/floattihf.c: Likewise.
1498 * soft-fp/floatuntihf.c: Likewise.
1499 * soft-fp/half.h: Likewise.
1500 * soft-fp/trunctfhf2.c: Likewise.
1501
1502 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
1503
1504 PR libgcc/77813
1505 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1506 __TMC_END__ behind a passthrough asm.
1507
1508 2016-11-18 Walter Lee <walt@tilera.com>
1509
1510 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1511
1512 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1513
1514 * config/i386/cpuinfo.c (processor_features): Add
1515 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1516
1517 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1518
1519 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1520 (__ARC_NORM__): Use instead ARC_OPTFPE.
1521 * config/arc/fp-hack.h: Likewise.
1522 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1523 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1524
1525 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
1526
1527 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1528 * config/nvptx/mgomp.c: New file.
1529 * config/nvptx/t-nvptx: Add mgomp.c
1530
1531 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1532
1533 PR libgcc/68468
1534 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1535
1536 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1537
1538 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1539 of checking for cpus.
1540 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1541 (__modsi3, __clzsi2): Likewise.
1542
1543 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1544
1545 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1546 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1547 * config/i386/t-cpuinfo-static: New.
1548
1549 2016-11-03 Martin Liska <mliska@suse.cz>
1550
1551 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1552 (__gcov_time_profiler_atomic): Likewise.
1553
1554 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1555
1556 PR libgcc/78067
1557 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1558 count_leading_zeros.
1559
1560 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
1561
1562 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1563 * libgcc2.c (__divmoddi4): New function.
1564 * libgcc2.h (__divmoddi4): Declare.
1565 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1566 and __PFX_divmodti4.
1567
1568 2016-10-24 Florian Weimer <fweimer@redhat.com>
1569
1570 PR libgcc/78064
1571 * unwind-c.c: Include auto-target.h.
1572
1573 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
1574
1575 * config/pa/pa64-hpux-lib.h: New file.
1576 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1577 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1578 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1579 hppa*64*-*-hpux11*.
1580
1581 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1582
1583 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1584 definition.
1585 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1586 definition.
1587 * config/xtensa/t-windowed (LIB2ADDEH): Use
1588 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1589 or xtensa/t-linux.
1590
1591 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1592
1593 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1594 __ieee754_sqrt): New functions.
1595 (__divdf3): Add implementation with new FPU instructions under
1596 #if XCHAL_HAVE_DFP_DIV.
1597 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1598 __ieee754_sqrtf): New functions.
1599 (__divsf3): Add implementation with new FPU instructions under
1600 #if XCHAL_HAVE_FP_DIV.
1601 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1602 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1603
1604 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1605
1606 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1607 equivalent.
1608 * config/tilepro/atomic.c: Likewise and stop casting model to
1609 enum memmodel.
1610
1611 2016-10-10 Joseph Myers <joseph@codesourcery.com>
1612
1613 PR target/77586
1614 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1615 soft-fp.
1616
1617 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1618
1619 * config.host: Add support for aarch64-*-freebsd*.
1620
1621 2016-10-05 Andreas Schwab <schwab@suse.de>
1622
1623 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1624 (.section .init_array): Don't call __do_jv_register_classes.
1625 (.section .init): Likewise.
1626
1627 2016-10-04 Jakub Jelinek <jakub@redhat.com>
1628
1629 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1630 (__JCR_LIST__): Remove.
1631 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1632 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1633 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1634 * config/ia64/crtend.S (__JCR_END__): Remove.
1635 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1636 conditionals.
1637 (__JCR_LIST__, __JCR_END__): Remove.
1638 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1639 (__do_global_ctors_1): Likewise.
1640
1641 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
1642
1643 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1644 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1645
1646 2016-09-27 Martin Liska <mliska@suse.cz>
1647
1648 PR gcov-profile/7970
1649 PR gcov-profile/16855
1650 PR gcov-profile/44779
1651 * libgcov-driver.c (__gcov_init): Do not register a atexit
1652 handler.
1653 (__gcov_exit): Rename from gcov_exit.
1654 * libgcov.h (__gcov_exit): Declare.
1655
1656 2016-09-27 Martin Liska <mliska@suse.cz>
1657
1658 PR bootstrap/77749
1659 * Makefile.in: Remove _gcov_merge_delta.
1660 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1661 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1662 * libgcov.h: Remove declaration of __gcov_merge_delta.
1663
1664 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1665
1666 * configure.ac: Do not create links, only substitute the filenames.
1667 * configure: Regenerate.
1668 * Makefile.in: Assign the substitution results to variables.
1669 (LIBGCC_LINKS): Define.
1670 (enable-execute-stack.c): New rule.
1671 (unwind.h): Likewise.
1672 (md-unwind-support.h): Likewise.
1673 (sfp-machine.h): Likewise.
1674 (gthr-default.h): Likewise.
1675 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1676 unwind.h as prerequisite of install-unwind_h-forbuild.
1677
1678 2016-09-16 Jakub Jelinek <jakub@redhat.com>
1679
1680 PR libgcc/71744
1681 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1682 is not the primary registry and atomics are available.
1683 (any_objects_registered): New variable.
1684 (__register_frame_info_bases, __register_frame_info_table_bases):
1685 Atomically store 1 to any_objects_registered after registering first
1686 unwind info.
1687 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1688
1689 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1690
1691 PR target/63250
1692 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1693 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1694 (HFtype): Likewise.
1695 (HCtype): Likewise.
1696 (__divhc3): Likewise.
1697 (__mulhc3): Likewise.
1698 * libgcc2.c: Support _mulhc3 and _divhc3.
1699
1700 2016-09-07 Joseph Myers <joseph@codesourcery.com>
1701
1702 PR libgcc/77519
1703 * libgcc2.c (NOTRUNC): Invert settings.
1704
1705 2016-09-06 Martin Liska <mliska@suse.cz>
1706
1707 PR gcov-profile/77378
1708 PR gcov-profile/77466
1709 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1710 conditionaly enable/disable *_atomic functions.
1711
1712 2016-08-26 Joseph Myers <joseph@codesourcery.com>
1713
1714 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1715 where not already enabled.
1716
1717 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1718
1719 * config/mips/linux-unwind.h: Use sys/syscall.h.
1720
1721 2016-08-16 Joseph Myers <joseph@codesourcery.com>
1722
1723 PR libgcc/77265
1724 * soft-fp/adddf3.c: Update from glibc.
1725 * soft-fp/addsf3.c: Likewise.
1726 * soft-fp/addtf3.c: Likewise.
1727 * soft-fp/divdf3.c: Likewise.
1728 * soft-fp/divsf3.c: Likewise.
1729 * soft-fp/divtf3.c: Likewise.
1730 * soft-fp/double.h: Likewise.
1731 * soft-fp/eqdf2.c: Likewise.
1732 * soft-fp/eqsf2.c: Likewise.
1733 * soft-fp/eqtf2.c: Likewise.
1734 * soft-fp/extenddftf2.c: Likewise.
1735 * soft-fp/extended.h: Likewise.
1736 * soft-fp/extendsfdf2.c: Likewise.
1737 * soft-fp/extendsftf2.c: Likewise.
1738 * soft-fp/extendxftf2.c: Likewise.
1739 * soft-fp/fixdfdi.c: Likewise.
1740 * soft-fp/fixdfsi.c: Likewise.
1741 * soft-fp/fixdfti.c: Likewise.
1742 * soft-fp/fixsfdi.c: Likewise.
1743 * soft-fp/fixsfsi.c: Likewise.
1744 * soft-fp/fixsfti.c: Likewise.
1745 * soft-fp/fixtfdi.c: Likewise.
1746 * soft-fp/fixtfsi.c: Likewise.
1747 * soft-fp/fixtfti.c: Likewise.
1748 * soft-fp/fixunsdfdi.c: Likewise.
1749 * soft-fp/fixunsdfsi.c: Likewise.
1750 * soft-fp/fixunsdfti.c: Likewise.
1751 * soft-fp/fixunssfdi.c: Likewise.
1752 * soft-fp/fixunssfsi.c: Likewise.
1753 * soft-fp/fixunssfti.c: Likewise.
1754 * soft-fp/fixunstfdi.c: Likewise.
1755 * soft-fp/fixunstfsi.c: Likewise.
1756 * soft-fp/fixunstfti.c: Likewise.
1757 * soft-fp/floatdidf.c: Likewise.
1758 * soft-fp/floatdisf.c: Likewise.
1759 * soft-fp/floatditf.c: Likewise.
1760 * soft-fp/floatsidf.c: Likewise.
1761 * soft-fp/floatsisf.c: Likewise.
1762 * soft-fp/floatsitf.c: Likewise.
1763 * soft-fp/floattidf.c: Likewise.
1764 * soft-fp/floattisf.c: Likewise.
1765 * soft-fp/floattitf.c: Likewise.
1766 * soft-fp/floatundidf.c: Likewise.
1767 * soft-fp/floatundisf.c: Likewise.
1768 * soft-fp/floatunditf.c: Likewise.
1769 * soft-fp/floatunsidf.c: Likewise.
1770 * soft-fp/floatunsisf.c: Likewise.
1771 * soft-fp/floatunsitf.c: Likewise.
1772 * soft-fp/floatuntidf.c: Likewise.
1773 * soft-fp/floatuntisf.c: Likewise.
1774 * soft-fp/floatuntitf.c: Likewise.
1775 * soft-fp/gedf2.c: Likewise.
1776 * soft-fp/gesf2.c: Likewise.
1777 * soft-fp/getf2.c: Likewise.
1778 * soft-fp/ledf2.c: Likewise.
1779 * soft-fp/lesf2.c: Likewise.
1780 * soft-fp/letf2.c: Likewise.
1781 * soft-fp/muldf3.c: Likewise.
1782 * soft-fp/mulsf3.c: Likewise.
1783 * soft-fp/multf3.c: Likewise.
1784 * soft-fp/negdf2.c: Likewise.
1785 * soft-fp/negsf2.c: Likewise.
1786 * soft-fp/negtf2.c: Likewise.
1787 * soft-fp/op-1.h: Likewise.
1788 * soft-fp/op-2.h: Likewise.
1789 * soft-fp/op-4.h: Likewise.
1790 * soft-fp/op-8.h: Likewise.
1791 * soft-fp/op-common.h: Likewise.
1792 * soft-fp/quad.h: Likewise.
1793 * soft-fp/single.h: Likewise.
1794 * soft-fp/soft-fp.h: Likewise.
1795 * soft-fp/subdf3.c: Likewise.
1796 * soft-fp/subsf3.c: Likewise.
1797 * soft-fp/subtf3.c: Likewise.
1798 * soft-fp/truncdfsf2.c: Likewise.
1799 * soft-fp/trunctfdf2.c: Likewise.
1800 * soft-fp/trunctfsf2.c: Likewise.
1801 * soft-fp/trunctfxf2.c: Likewise.
1802 * soft-fp/unorddf2.c: Likewise.
1803 * soft-fp/unordsf2.c: Likewise.
1804 * soft-fp/unordtf2.c: Likewise.
1805
1806 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1807
1808 PR gcov-profile/67097
1809 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1810
1811 2016-08-10 Martin Liska <mliska@suse.cz>
1812
1813 PR gcov-profile/58306
1814 * Makefile.in: New functions (modules) are added.
1815 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1816 function.
1817 (__gcov_pow2_profiler_atomic): New function.
1818 (__gcov_one_value_profiler_body): New argument is instroduced.
1819 (__gcov_one_value_profiler): Call with the new argument.
1820 (__gcov_one_value_profiler_atomic): Likewise.
1821 (__gcov_indirect_call_profiler_v2): Likewise.
1822 (__gcov_time_profiler_atomic): New function.
1823 (__gcov_average_profiler_atomic): Likewise.
1824 (__gcov_ior_profiler_atomic): Likewise.
1825 * libgcov.h: Declare the aforementioned functions.
1826
1827 2016-08-09 Martin Liska <mliska@suse.cz>
1828
1829 * libgcov-util.c: Fix typo and GNU coding style.
1830
1831 2016-08-09 Martin Liska <mliska@suse.cz>
1832
1833 * Makefile.in: Remove __gcov_indirect_call_profiler.
1834 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1835 function.
1836 * libgcov.h: And the declaration of the function.
1837
1838 2016-08-09 Martin Liska <mliska@suse.cz>
1839
1840 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1841 power of two.
1842
1843 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1844
1845 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1846 * config/rs6000/_mulkc3.c: Likewise.
1847
1848 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
1849
1850 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1851 zero_reg as previous call to __umulhisi3 already cleared it.
1852
1853 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1854
1855 PR target/59833
1856 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1857
1858 2016-07-19 Nick Clifton <nickc@redhat.com>
1859
1860 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1861 Add crtinit.o and crtfini.o to extra_parts.
1862
1863 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1864
1865 * config/rs6000/_divkc3.c: New.
1866 * config/rs6000/_mulkc3.c: New.
1867 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1868 and _divkc3.
1869 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1870 fp128_ppc_funcs.
1871
1872 2016-07-11 Hale Wang <hale.wang@arm.com>
1873 Andre Vieira <andre.simoesdiasvieira@arm.com>
1874
1875 * config/arm/lib1funcs.S: Add new wrapper.
1876
1877 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1878
1879 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1880
1881 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1882
1883 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1884 and ARMv5t* rather than for a fixed list of architectures.
1885
1886 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1887
1888 * config/arm/bpabi-v6m.S: Clarify what architectures is the
1889 implementation suitable for.
1890 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1891 for all Thumb-1 only targets.
1892 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1893 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1894 __ARM_ARCH_6M__.
1895 (EQUIV): Likewise.
1896 (ARM_FUNC_ALIAS): Likewise.
1897 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1898 version.
1899 (modsi3): Likewise.
1900 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1901 (clzdi2): Likewise.
1902 (ctzsi2): Likewise.
1903 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1904 __ARM_ARCH_6M__ in guard for checking whether it is defined.
1905 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1906 __ARM_ARCH_6M__ and add comment to indicate the connection between
1907 this condition and the one in gcc/config/arm/elf.h.
1908 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1909 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1910 * config/arm/t-softfp: Likewise.
1911
1912 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1913
1914 * libgcc2.c (SYMBOL__MAIN): Remove checks for
1915 CTOR_LISTS_DEFINED_EXTERNALLY.
1916
1917 2016-06-28 Walter Lee <walt@tilera.com>
1918
1919 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1920 asm/unistd.h.
1921 (SPR_CMPEXCH_VALUE): Define for tilegx.
1922 (__NR_FAST_cmpxchg): Define for tilepro.
1923 (__NR_FAST_atomic_update): Define for tilepro.
1924 (__NR_FAST_cmpxchg64): Define for tilepro.
1925
1926 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
1927
1928 * config.host: Add suport for arm*-*-phoenix* targets.
1929
1930 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1931
1932 * config.host: Remove support for mep-*.
1933 * config/mep/lib1funcs.S: Remove.
1934 * config/mep/lib2funcs.c: Remove.
1935 * config/mep/t-mep: Remove.
1936 * config/mep/tramp.c: Remove.
1937
1938 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1939
1940 * config.host: Remove support for avr-rtems.
1941 * config/avr/t-rtems: Remove.
1942
1943 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1944
1945 * config.host: Remove m32r-rtems support.
1946
1947 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1948
1949 * config.host: Remove h8300-rtems support.
1950
1951 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1952
1953 * config.host: Remove support for knetbsd.
1954
1955 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1956
1957 * config.host: Remove support for openbsd 2 and 3.
1958
1959 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1960
1961 * config.host: Remove interix support.
1962 * config/i386/t-interix: Remove.
1963
1964 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
1965
1966 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1967 least-significant bit in function pointer for fixup.
1968
1969 2016-06-05 Aaron Conole <aconole@redhat.com>
1970 Nathan Sidwell <nathan@acm.org>
1971
1972 PR libgcc/71400
1973 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1974 (get_gcov_error_file): Check __gcov_error_file before trying to
1975 initialize it.
1976 (gcov_error): Always use get_gcov_error_file.
1977
1978 2016-06-02 Aaron Conole <aconole@redhat.com>
1979
1980 * libgcov-driver-system.c (__gcov_error_file): New.
1981 (get_gcov_error_file): New.
1982 (gcov_error): Use and set __gcov_error_file.
1983 (gcov_error_exit): New.
1984 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1985
1986 2016-05-26 Nathan Sidwell <nathan@acm.org>
1987
1988 * config/nvptx/free.asm: Delete.
1989 * config/nvptx/malloc.asm: Delete.
1990 * config/nvptx/realloc.c: Delete.
1991 * t-nvptx: Update.
1992
1993 2016-05-25 Nathan Sidwell <nathan@acm.org>
1994
1995 * config/nvptx/crt0.s: Delete.
1996 * config/nvptx/crt0.c: New.
1997 * t-nvptx: Update.
1998
1999 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2000
2001 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
2002 dw2/seh configuration.
2003 [x86_64-*-mingw*]: Likewise.
2004
2005 2016-05-10 Joel Sherrill <joel@rtems.org>
2006
2007 PR libgcc/70720
2008 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2009 targets so the same extra_parts are built. Also have tmake_file add
2010 on to its value rather than override.
2011
2012 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2013
2014 * config.host: Remove SH5 support.
2015 * configure: Likewise.
2016
2017 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2018
2019 * config/sh/crt1.S: Remove SH5 support.
2020 * config/sh/crti.S: Likewise.
2021 * config/sh/crtn.S: Likewise.
2022 * config/sh/lib1funcs-4-300.S: Likewise.
2023 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2024 * config/sh/lib1funcs.S: Likewise.
2025 * config/sh/linux-unwind.h: Likewise.
2026 * config/sh/t-sh64: Delete.
2027
2028 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2029
2030 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2031
2032 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2033 Joern Rennecke <joern.rennecke@embecosm.com>
2034
2035 * config/arc/crttls.S: New file.
2036 * config/arc/t-arc: New rule.
2037 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2038
2039 2016-04-25 Nick Clifton <nickc@redhat.com>
2040
2041 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2042 (__mspabi_cmpd): Likewise.
2043 * config/msp430/floathidf.c (__floathidf): Likewise.
2044 * config/msp430/floathisf.c (__floathisf): Likewise
2045 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2046 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2047 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2048 second parameter.
2049 (__ashrsi3): Likewise.
2050
2051 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2052
2053 * config/m68k/linux-atomic.c: Do not include unistd.h
2054
2055 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2056
2057 * config/arm/ieee754-df.S: Fix typos in comments.
2058
2059 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2060
2061 PR target/70381
2062 * configure.ac (powerpc*-*-linux*): Rework tests to build
2063 __float128 emulation routines to not depend on using #pragma GCC
2064 target to enable -mfloat128.
2065 * configure: Regnerate.
2066
2067 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2068
2069 PR target/67172
2070 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2071 __MINGW32__ is defined.
2072
2073 2016-03-28 James Bowman <james.bowman@ftdichip.com>
2074
2075 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
2076
2077 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2078
2079 PR libgcc/70363
2080 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2081 built with an assembler that does not support ISA 3.0
2082 instructions, rename __extendkftf2_sw to __extendkftf2.
2083
2084 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2085
2086 PR target/38239
2087 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2088 call-clobbered registers.
2089 (internal_mcount): Remove __i386__ handling.
2090
2091 2016-02-26 Joel Sherrill <joel@rtems.org>
2092
2093 * config.host: Add x86_64-*-rtems*.
2094
2095 2016-02-26 Joel Sherrill <joel@rtems.org>
2096
2097 * libgcc/config.host: Add aarch64-*-rtems*.
2098
2099 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2100 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2101
2102 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2103 union of u64 and double.
2104 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2105 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2106 value.
2107 (FP_ROUNDMODE): Update the usage of _fpscr.
2108
2109 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2110
2111 PR driver/68463
2112 * Makefile.in (crtoffloadtable$(objext)): New rule.
2113 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2114 enable_offload_targets is not empty.
2115 * configure: Regenerate.
2116 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2117 crtoffloadtable.
2118
2119 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2120
2121 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2122 .literal_position before the function.
2123 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2124 Likewise.
2125
2126 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2127
2128 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2129 * config/s390/morestack.S: New file.
2130 * config/s390/t-stack-s390: New file.
2131 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2132
2133 2016-02-12 Walter Lee <walt@tilera.com>
2134
2135 * config.host (tilegx*-*-linux*): remove ti from
2136 softfp_int_modes for 32-bit configs.
2137
2138 2016-02-10 Ian Lance Taylor <iant@google.com>
2139
2140 PR go/68562
2141 * config/i386/morestack.S (__stack_split_initialize): Align
2142 stack.
2143
2144 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2145
2146 PR bootstrap/69611
2147 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2148 __FLOAT128__ to compile only for __float128 capable targets.
2149
2150 2016-01-25 Jakub Jelinek <jakub@redhat.com>
2151
2152 PR target/69444
2153 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2154 instead of ___NO_FPRS__.
2155
2156 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
2157 Steven Munroe <munroesj@linux.vnet.ibm.com>
2158 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2159
2160 * config/rs6000/float128-sed: New files to convert TF names to KF
2161 names for PowerPC IEEE 128-bit floating point support.
2162 * config/rs6000/float128-sed-hw: Likewise.
2163
2164 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2165 floating point hardware support.
2166
2167 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2168 128-bit floating point software emulation or use ISA 3.0 hardware
2169 support if it is available.
2170
2171 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2172 floating point.
2173
2174 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2175 floating point to IBM extended double.
2176
2177 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2178 double to IEEE 128-bit floating point.
2179
2180 * config/rs6000/t-float128: New Makefile fragments to enable
2181 building __float128 emulation support.
2182 * config/rs6000/t-float128-hw: Likewise.
2183
2184 * config/rs6000/sfp-exceptions.c: New file to provide exception
2185 support for IEEE 128-bit floating point.
2186
2187 * config/rs6000/floattikf.c: New files for converting between IEEE
2188 128-bit floating point and signed/unsigned 128-bit integers.
2189 * config/rs6000/fixunskfti.c: Likewise.
2190 * config/rs6000/fixkfti.c: Likewise.
2191 * config/rs6000/floatuntikf.c: Likewise.
2192
2193 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2194 when building on 64-bit systems, or when VSX is enabled.
2195 (_FP_W_TYPE): Likewise.
2196 (_FP_WS_TYPE): Likewise.
2197 (_FP_I_TYPE): Likewise.
2198 (TItype): Define on 64-bit systems.
2199 (UTItype): Likewise.
2200 (TI_BITS): Likewise.
2201 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2202 (_FP_MUL_MEAT_Q): Likewise.
2203 (_FP_DIV_MEAT_D): Likewise.
2204 (_FP_DIV_MEAT_Q): Likewise.
2205 (_FP_NANFRAC_D): Likewise.
2206 (_FP_NANFRAC_Q): Likewise.
2207 (ISA_BIT): Add exception support if we are being compiled on a
2208 machine with hardware floating point support to build the IEEE
2209 128-bit emulation functions.
2210 (FP_EX_INVALID): Likewise.
2211 (FP_EX_OVERFLOW): Likewise.
2212 (FP_EX_UNDERFLOW): Likewise.
2213 (FP_EX_DIVZERO): Likewise.
2214 (FP_EX_INEXACT): Likewise.
2215 (FP_EX_ALL): Likewise.
2216 (__sfp_handle_exceptions): Likewise.
2217 (FP_HANDLE_EXCEPTIONS): Likewise.
2218 (FP_RND_NEAREST): Likewise.
2219 (FP_RND_ZERO): Likewise.
2220 (FP_RND_PINF): Likewise.
2221 (FP_RND_MINF): Likewise.
2222 (FP_RND_MASK): Likewise.
2223 (_FP_DECL_EX): Likewise.
2224 (FP_INIT_ROUNDMODE): Likewise.
2225 (FP_ROUNDMODE): Likewise.
2226
2227 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2228 VSX code, enable IEEE 128-bit floating point. If the compiler can
2229 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2230 floating point hardware instructions and it supports declaring
2231 functions with the ifunc attribute, enable ifunc functions to
2232 switch between software and hardware support.
2233 * configure.ac (powerpc*-*-linux*): Likewise.
2234 * configure: Regenerate.
2235
2236 2016-01-15 Nick Clifton <nickc@redhat.com>
2237
2238 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2239 dependency as the source file to be compiled.
2240 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2241 (lib2hw_mul_f5.o): Likewise.
2242
2243 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2244
2245 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2246 * libgcc/config/rs6000/fixkfti.c: Likewise.
2247 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2248 * libgcc/config/rs6000/float128-hw.c: Likewise.
2249 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2250 * libgcc/config/rs6000/float128-sed: Likewise.
2251 * libgcc/config/rs6000/floattikf.c: Likewise.
2252 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2253 * libgcc/config/rs6000/quad-float128.h: Likewise.
2254 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2255 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2256 * libgcc/config/rs6000/t-float128: Likewise.
2257 * libgcc/config/rs6000/t-float128-hw: Likewise.
2258 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2259 * libgcc/config.host: Likewise.
2260 * libgcc/configure: Likewise.
2261 * libgcc/configure.ac: Likewise.
2262
2263 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2264 Steven Munroe <munroesj@linux.vnet.ibm.com>
2265 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2266
2267 * config/rs6000/sfp-exceptions.c: New file to provide exception
2268 support for IEEE 128-bit floating point.
2269
2270 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2271 floating point hardware support.
2272
2273 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2274 point conversions.
2275 * config/rs6000/fixunskfti.c: Likewise.
2276 * config/rs6000/fixkfti.c: Likewise.
2277 * config/rs6000/floatuntikf.c: Likewise.
2278 * config/rs6000/extendkftf2-sw.c: Likewise.
2279 * config/rs6000/trunctfkf2-sw.c: Likewise.
2280
2281 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2282 128-bit floating point software emulation or use ISA 3.0 hardware
2283 support if it is available.
2284
2285 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2286 floating point.
2287
2288 * config/rs6000/t-float128: New Makefile fragments to enable
2289 building __float128 emulation support.
2290 * config/rs6000/t-float128-hw: Likewise.
2291
2292 * config/rs6000/float128-sed: New file to convert TF names to KF
2293 names for PowerPC IEEE 128-bit floating point support.
2294
2295 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2296 when building on 64-bit systems, or when VSX is enabled.
2297 (_FP_W_TYPE): Likewise.
2298 (_FP_WS_TYPE): Likewise.
2299 (_FP_I_TYPE): Likewise.
2300 (TItype): Define on 64-bit systems.
2301 (UTItype): Likewise.
2302 (TI_BITS): Likewise.
2303 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2304 (_FP_MUL_MEAT_Q): Likewise.
2305 (_FP_DIV_MEAT_D): Likewise.
2306 (_FP_DIV_MEAT_Q): Likewise.
2307 (_FP_NANFRAC_D): Likewise.
2308 (_FP_NANFRAC_Q): Likewise.
2309 (ISA_BIT): Add exception support if we are being compiled on a
2310 machine with hardware floating point support to build the IEEE
2311 128-bit emulation functions.
2312 (FP_EX_INVALID): Likewise.
2313 (FP_EX_OVERFLOW): Likewise.
2314 (FP_EX_UNDERFLOW): Likewise.
2315 (FP_EX_DIVZERO): Likewise.
2316 (FP_EX_INEXACT): Likewise.
2317 (FP_EX_ALL): Likewise.
2318 (__sfp_handle_exceptions): Likewise.
2319 (FP_HANDLE_EXCEPTIONS): Likewise.
2320 (FP_RND_NEAREST): Likewise.
2321 (FP_RND_ZERO): Likewise.
2322 (FP_RND_PINF): Likewise.
2323 (FP_RND_MINF): Likewise.
2324 (FP_RND_MASK): Likewise.
2325 (_FP_DECL_EX): Likewise.
2326 (FP_INIT_ROUNDMODE): Likewise.
2327 (FP_ROUNDMODE): Likewise.
2328
2329 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2330 compiler can do __float128.
2331 * configure: Regenerate.
2332
2333 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2334 VSX code, enable IEEE 128-bit floating point.
2335
2336 2016-01-05 Olivier Hainque <hainque@adacore.com>
2337
2338 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
2339 specificities.
2340
2341 2016-01-04 Jakub Jelinek <jakub@redhat.com>
2342
2343 Update copyright years.
2344
2345 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2346
2347 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2348 soft-fp targets.
2349
2350 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2351
2352 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2353 instead of abort to avoid dependency on stdlib.h.
2354
2355 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
2356
2357 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2358 to initialize call to __dl_fixup once.
2359
2360 2015-12-04 Nick Clifton <nickc@redhat.com>
2361
2362 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2363 Allow for the second argument being negative.
2364 * config.host (extra_parts): Define for MSP430. Create separate
2365 libraries for each of the hardware multiply formats.
2366 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2367 that are needed.
2368 * config/msp430/lib2mul.c: Likewise.
2369 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2370 Add rules to build hardware multiply libraries.
2371 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2372 __mspabi_divul function.
2373 (__mspabi_divllu): New stub function.
2374
2375 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
2376
2377 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2378 fixup values if saved GOT address doesn't match runtime address.
2379 (fixup_branch_offset): Reorder list.
2380
2381 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2382
2383 * Makefile.in (VTV_CFLAGS): New variable.
2384 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2385 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2386 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2387 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2388 to extra_parts if $enable_vtable_verify = yes.
2389
2390 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2391
2392 PR target/68059
2393 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2394 (write): ...this and fix the return type.
2395
2396 2015-11-19 DJ Delorie <dj@redhat.com>
2397
2398 * config/msp430/lib2hw_mul.S: Fix alignment.
2399
2400 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2401
2402 * config/nvptx/reduction.c: New.
2403 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2404
2405 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
2406
2407 * config/rs6000/on_exit.c: New file.
2408 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2409 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2410
2411 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2412
2413 * config/arc/dp-hack.h: Add support for ARCHS.
2414 * config/arc/ieee-754/divdf3.S: Likewise.
2415 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2416 * config/arc/ieee-754/muldf3.S: Likewise.
2417 * config/arc/ieee-754/mulsf3.S: Likewise
2418 * config/arc/lib1funcs.S: Likewise
2419 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2420 for ARCv2 cores.
2421 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2422 for ARCv2 cores.
2423 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2424 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2425 cores.
2426
2427 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2428
2429 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2430 value.
2431 * config/ia64/crtend.S: Likewise.
2432
2433 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2434
2435 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2436 __CHAR_BIT__ instead of BITS_PER_UNIT.
2437 * fixed-bit.h: Likewise.
2438 * fp-bit.h: Likewise.
2439 * libgcc2.c (__popcountSI2): Likewise.
2440 (__popcountDI2): Likewise.
2441 * libgcc2.h: Likewise.
2442 * libgcov.h: Likewise.
2443
2444 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
2445
2446 * config/rs6000/atexit.c: New file.
2447 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2448 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2449 * config/rs6000/cxa_finalize.c
2450 (catomic_compare_and_exchange_bool_acq): Negate return value.
2451
2452 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2453
2454 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2455 (processor_subtypes): Add znver1.
2456 (get_amd_cpu): Detect znver1.
2457
2458 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2459
2460 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2461 Include crtfastmath.o.
2462
2463 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2464
2465 PR libgcc/66883
2466 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
2467
2468 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2469
2470 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2471 * config/rl78/divmodsi.S: Update return register to r8.
2472 * config/rl78/divmodhi.S: Update return register to r8,r9.
2473 Branch to main_loop_done_himode to pop registers before return.
2474
2475 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2476
2477 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2478 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2479
2480 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2481
2482 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2483
2484 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2485
2486 * config.host (xtensa*-*-uclinux*): New configuration.
2487
2488 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2489
2490 * config/i386/cpuinfo.c (processor_features): Add
2491 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2492
2493 2015-09-28 Joseph Myers <joseph@codesourcery.com>
2494
2495 * soft-fp/adddf3.c: Update from glibc.
2496 * soft-fp/addsf3.c: Likewise.
2497 * soft-fp/addtf3.c: Likewise.
2498 * soft-fp/divdf3.c: Likewise.
2499 * soft-fp/divsf3.c: Likewise.
2500 * soft-fp/divtf3.c: Likewise.
2501 * soft-fp/double.h: Likewise.
2502 * soft-fp/eqdf2.c: Likewise.
2503 * soft-fp/eqsf2.c: Likewise.
2504 * soft-fp/eqtf2.c: Likewise.
2505 * soft-fp/extenddftf2.c: Likewise.
2506 * soft-fp/extended.h: Likewise.
2507 * soft-fp/extendsfdf2.c: Likewise.
2508 * soft-fp/extendsftf2.c: Likewise.
2509 * soft-fp/extendxftf2.c: Likewise.
2510 * soft-fp/fixdfdi.c: Likewise.
2511 * soft-fp/fixdfsi.c: Likewise.
2512 * soft-fp/fixdfti.c: Likewise.
2513 * soft-fp/fixsfdi.c: Likewise.
2514 * soft-fp/fixsfsi.c: Likewise.
2515 * soft-fp/fixsfti.c: Likewise.
2516 * soft-fp/fixtfdi.c: Likewise.
2517 * soft-fp/fixtfsi.c: Likewise.
2518 * soft-fp/fixtfti.c: Likewise.
2519 * soft-fp/fixunsdfdi.c: Likewise.
2520 * soft-fp/fixunsdfsi.c: Likewise.
2521 * soft-fp/fixunsdfti.c: Likewise.
2522 * soft-fp/fixunssfdi.c: Likewise.
2523 * soft-fp/fixunssfsi.c: Likewise.
2524 * soft-fp/fixunssfti.c: Likewise.
2525 * soft-fp/fixunstfdi.c: Likewise.
2526 * soft-fp/fixunstfsi.c: Likewise.
2527 * soft-fp/fixunstfti.c: Likewise.
2528 * soft-fp/floatdidf.c: Likewise.
2529 * soft-fp/floatdisf.c: Likewise.
2530 * soft-fp/floatditf.c: Likewise.
2531 * soft-fp/floatsidf.c: Likewise.
2532 * soft-fp/floatsisf.c: Likewise.
2533 * soft-fp/floatsitf.c: Likewise.
2534 * soft-fp/floattidf.c: Likewise.
2535 * soft-fp/floattisf.c: Likewise.
2536 * soft-fp/floattitf.c: Likewise.
2537 * soft-fp/floatundidf.c: Likewise.
2538 * soft-fp/floatundisf.c: Likewise.
2539 * soft-fp/floatunditf.c: Likewise.
2540 * soft-fp/floatunsidf.c: Likewise.
2541 * soft-fp/floatunsisf.c: Likewise.
2542 * soft-fp/floatunsitf.c: Likewise.
2543 * soft-fp/floatuntidf.c: Likewise.
2544 * soft-fp/floatuntisf.c: Likewise.
2545 * soft-fp/floatuntitf.c: Likewise.
2546 * soft-fp/gedf2.c: Likewise.
2547 * soft-fp/gesf2.c: Likewise.
2548 * soft-fp/getf2.c: Likewise.
2549 * soft-fp/ledf2.c: Likewise.
2550 * soft-fp/lesf2.c: Likewise.
2551 * soft-fp/letf2.c: Likewise.
2552 * soft-fp/muldf3.c: Likewise.
2553 * soft-fp/mulsf3.c: Likewise.
2554 * soft-fp/multf3.c: Likewise.
2555 * soft-fp/negdf2.c: Likewise.
2556 * soft-fp/negsf2.c: Likewise.
2557 * soft-fp/negtf2.c: Likewise.
2558 * soft-fp/op-1.h: Likewise.
2559 * soft-fp/op-2.h: Likewise.
2560 * soft-fp/op-4.h: Likewise.
2561 * soft-fp/op-8.h: Likewise.
2562 * soft-fp/op-common.h: Likewise.
2563 * soft-fp/quad.h: Likewise.
2564 * soft-fp/single.h: Likewise.
2565 * soft-fp/soft-fp.h: Likewise.
2566 * soft-fp/subdf3.c: Likewise.
2567 * soft-fp/subsf3.c: Likewise.
2568 * soft-fp/subtf3.c: Likewise.
2569 * soft-fp/truncdfsf2.c: Likewise.
2570 * soft-fp/trunctfdf2.c: Likewise.
2571 * soft-fp/trunctfsf2.c: Likewise.
2572 * soft-fp/trunctfxf2.c: Likewise.
2573 * soft-fp/unorddf2.c: Likewise.
2574 * soft-fp/unordsf2.c: Likewise.
2575 * soft-fp/unordtf2.c: Likewise.
2576
2577 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
2578
2579 PR libgcc/67624
2580 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2581
2582 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2583
2584 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2585 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2586 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2587 messages.
2588 (internal_mcount): Likewise.
2589 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2590 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2591
2592 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2593
2594 * configure.ac (libgcc_cv_solaris_crts): New test.
2595 * configure: Regenerate.
2596 * config.in: Regenerate.
2597 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2598 * config/gmon-sol2.c: Rename to ...
2599 * config/sol2/gmon.c: ... this.
2600 Include auto-target.h.
2601 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2602 * config/t-sol2: Rename to ...
2603 * config/sol2/t-sol2: ... this.
2604 (gmon.o): Reflect renaming.
2605 (crtp.o, crtpg.o): New rules.
2606 * config.host (*-*-solaris2*): Reflect renaming.
2607 Use system CRTs if present.
2608 Remove default CRT case.
2609
2610 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
2611
2612 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2613 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2614 __kernel_cmpxchg2.
2615 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2616 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2617 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2618 (__sync_lock_test_and_set_##WIDTH): Likewise.
2619 (__sync_lock_release_##WIDTH): Likewise.
2620 (__sync_fetch_and_##OP##_4): Change result to match type of
2621 __kernel_cmpxchg.
2622 (__sync_##OP##_and_fetch_4): Likewise.
2623 (__sync_val_compare_and_swap_4): Likewise.
2624 (__sync_bool_compare_and_swap_4): likewise.
2625 (__sync_lock_test_and_set_4): Likewise.
2626 (__sync_lock_release_4): Likewise.
2627 (FETCH_AND_OP_2): Add long long variants.
2628 (OP_AND_FETCH_2): Likewise.
2629 (COMPARE_AND_SWAP_2 ): Likewise.
2630 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2631 (SYNC_LOCK_RELEASE_2): Likewise.
2632 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2633
2634 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
2635
2636 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2637 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2638 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2639 (get_available_features): Habdle new features.
2640
2641 2015-09-21 James Bowman <james.bowman@ftdichip.com>
2642
2643 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2644 memory layout. Deal correctly with BSS region larger than 32K.
2645 Handle a watchdog reset like a power-on reset. Clean up unused
2646 code.
2647
2648 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
2649 David Edelsohn <dje.gcc@gmail.com>
2650
2651 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2652 * config/rs6000/crtdbase.S: New file.
2653 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2654
2655 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2656
2657 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2658 Add support for call0 ABI.
2659
2660 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
2661
2662 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2663
2664 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2665
2666 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2667 (__GTHREAD_HAS_COND): Likewise.
2668 (__gthread_t): Likewise.
2669 (__gthread_cond_t): Likewise.
2670 (__gthread_time_t): Likewise.
2671 (__GTHREAD_MUTEX_INIT): Likewise.
2672 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2673 (__GTHREAD_COND_INIT): Likewise.
2674 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2675 (__GTHREAD_TIME_INIT): Likewise.
2676 (__gthread_create): Likewise.
2677 (__gthread_join): Likewise.
2678 (__gthread_detach): Likewise.
2679 (__gthread_equal): Likewise.
2680 (__gthread_self): Likewise.
2681 (__gthread_yield): Likewise.
2682 (__gthread_cond_broadcast): Likewise.
2683 (__gthread_cond_signal): Likewise.
2684 (__gthread_cond_wait): Likewise.
2685 (__gthread_cond_timedwait): Likewise.
2686 (__gthread_cond_wait_recursive): Likewise.
2687 (__gthread_cond_destroy): Likewise.
2688 (rtems_gxx_once): Delete.
2689 (rtems_gxx_key_create): Likewise.
2690 (rtems_gxx_key_delete): Likewise.
2691 (rtems_gxx_getspecific): Likewise.
2692 (rtems_gxx_setspecific): Likewise.
2693 (rtems_gxx_mutex_init): Likewise.
2694 (rtems_gxx_mutex_destroy): Likewise.
2695 (rtems_gxx_mutex_lock): Likewise.
2696 (rtems_gxx_mutex_trylock): Likewise.
2697 (rtems_gxx_mutex_unlock): Likewise.
2698 (rtems_gxx_recursive_mutex_init): Likewise.
2699 (rtems_gxx_recursive_mutex_lock): Likewise.
2700 (rtems_gxx_recursive_mutex_trylock): Likewise.
2701 (rtems_gxx_recursive_mutex_unlock): Likewise.
2702 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2703 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2704 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2705 (__gthread_once): Likewise.
2706 (__gthread_key_create): Likewise.
2707 (__gthread_key_delete): Likewise.
2708 (__gthread_getspecific): Likewise.
2709 (__gthread_setspecific): Likewise.
2710 (__gthread_key_t): Use <pthread.h> type.
2711 (__gthread_once_t): Likewise
2712 (__gthread_mutex_t): Use <sys/lock.h> type.
2713 (__gthread_recursive_mutex_t): Likewise
2714 (__gthread_mutex_lock): Use <sys/lock.h> function.
2715 (__gthread_mutex_trylock): Likewise.
2716 (__gthread_mutex_timedlock): Likewise.
2717 (__gthread_mutex_unlock): Likewise.
2718 (__gthread_mutex_destroy): Likewise.
2719 (__gthread_recursive_mutex_lock): Likewise.
2720 (__gthread_recursive_mutex_trylock): Likewise.
2721 (__gthread_recursive_mutex_timedlock): Likewise.
2722 (__gthread_recursive_mutex_unlock): Likewise.
2723 (__gthread_recursive_mutex_destroy): Likewise.
2724
2725 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2726
2727 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2728 context->sp instead of context->cfa.
2729
2730 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2731
2732 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2733 with unwind-dw2-fde-dip.
2734
2735 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2736
2737 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2738 CALL12 followed by series of ENTRY to spill windowed registers.
2739 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2740 instead of making linux spill syscall.
2741
2742 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2743
2744 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2745 (get_intel_cpu): Likewise.
2746
2747 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2748
2749 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2750 (get_intel_cpu): Add Knights Landing support.
2751
2752 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
2753
2754 PR target/66954
2755 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2756 (get_available_features): Handle FEATURE_PCLMUL.
2757
2758 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2759
2760 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2761 Broadwell.
2762
2763 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
2764
2765 PR target/66954
2766 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2767 (get_available_features): Handle FEATURE_AES.
2768
2769 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2770
2771 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2772 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2773
2774 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2775
2776 * offloadstuff.c: Constify host data.
2777
2778 2015-07-17 Jan Beulich <jbeulich@suse.com>
2779
2780 * config/t-softfp: Split up "else ifneq".
2781
2782 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2783 Cesar Philippidis <cesar@codesourcery.com>
2784 Chung-Lin Tang <cltang@codesourcery.com>
2785
2786 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2787 for __nios2_arch__ level.
2788
2789 2015-07-13 John Marino <gnugcc@marino.st>
2790
2791 * config/i386/t-dragonfly: New.
2792
2793 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
2794
2795 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2796 better match light-weight syscall argument order.
2797 (__kernel_cmpxchg2): Likewise.
2798 Adjust callers.
2799
2800 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2801
2802 * config.host: Support i[34567]86-*-elfiamcu target.
2803 * config/t-softfp-sfdftf: New file.
2804 * config/i386/32/t-iamcu: Likewise.
2805 * configure: Regenerated.
2806
2807 2015-06-23 James Lemke <jwlemke@codesourcery.com>
2808
2809 libgcc/config/arm/
2810 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2811
2812 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2813
2814 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2815
2816 2015-05-27 John Marino <gnugcc@marino.st>
2817
2818 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2819 md_unwind_header
2820 * config/i386/freebsd-unwind.h: New.
2821
2822 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
2823
2824 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2825 i386/t-crtfm to tmake_file.
2826 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2827 (set_fast_math): Use set_fast_math_sse for SSE targets.
2828 * config/i386/t-crtfm: Remove.
2829
2830 2015-05-21 Alan Modra <amodra@gmail.com>
2831
2832 PR libgcc/66225
2833 * config/rs6000/morestack.S: Remove ".abiversion 1".
2834
2835 2015-05-20 Alan Modra <amodra@gmail.com>
2836
2837 * config/rs6000/morestack.S: New.
2838 * config/rs6000/t-stack-rs6000: New.
2839 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2840 to tmake_file.
2841 * generic-morestack.c: Don't build for powerpc 32-bit.
2842
2843 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
2844
2845 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2846 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2847
2848 2015-05-16 James Bowman <james.bowman@ftdichip.com>
2849
2850 * config.host: FT32 target added.
2851 * config/ft32/*: New files for FT32 target.
2852
2853 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2854
2855 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2856 New macros.
2857 * config/arm/ieee754-df.S: Add CFI directives.
2858 * config/arm/ieee754-sf.S: Add CFI directives.
2859
2860 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2861
2862 * configure.ac: Include config/sjlj.m4.
2863 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2864 * config.in: Regenerate.
2865 * configure: Likewise.
2866 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2867
2868 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
2869
2870 * libgcov-util.c: Add space between string literal and macro name.
2871
2872 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
2873 Chris Jones <chrisj@nvidia.com>
2874 Joshua Conner <jconner@nvidia.com>
2875
2876 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2877 (arm*-*-uclinux*): Likewise.
2878 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2879 * config/arm/crtfastmath.c: New file.
2880
2881 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
2882
2883 * Makefile.in (real_host_noncanonical): New variable.
2884 (libsubdir): Use it.
2885 * configure.ac (real_host_noncanonical): Compute. Remove special
2886 case for intelmicemul.
2887 * configure: Regenerate.
2888
2889 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
2890
2891 * config/frv/elf-lib.h: New file.
2892 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2893 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2894 to tm_file.
2895
2896 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
2897
2898 * config/frv/frvbengin.c: Do not include defaults.h
2899 * config/frv/frvend.c: Ditto.
2900
2901 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
2902
2903 * config.host: Add h8300-*-linux
2904 * config/h8300/t-linux: New file.
2905 * config/h8300/lib1funs.s: Change symbol prefix.
2906 * config/h8300/sfp-machine.h: 64bit double support.
2907
2908 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
2909 Szabolcs Nagy <szabolcs.nagy@arm.com>
2910
2911 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2912 Linux if target provides dl_iterate_phdr.
2913
2914 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
2915
2916 PR target/65612
2917 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2918 * config/i386/cpuinfo.c (__cpu_model): Initialize.
2919 (__cpu_indicator_init@GCC_4.8.0): New.
2920 (__cpu_model@GCC_4.8.0): Likewise.
2921 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2922 -DUSE_ELF_SYMVER.
2923
2924 2015-04-16 Nick Clifton <nickc@redhat.com>
2925
2926 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2927 and __modhi3 functions.
2928 * config/rl78/divmodso.S: Add G14 and G13 versions of the
2929 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2930
2931 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
2932
2933 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2934 do-while loop as macro body to avoid warnings.
2935
2936 2015-04-10 Jakub Jelinek <jakub@redhat.com>
2937 Iain Sandoe <iain@codesourcery.com>
2938
2939 PR target/65351
2940 * configure: Regenerate.
2941
2942 2015-04-07 Jakub Jelinek <jakub@redhat.com>
2943 Iain Sandoe <iain@codesourcery.com>
2944
2945 PR target/65351
2946 * configure: Regenerate.
2947
2948 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
2949
2950 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2951
2952 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
2953
2954 Implement call0 ABI for xtensa
2955 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2956 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2957 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2958 use ret in call0 ABI.
2959 * config/xtensa/t-windowed: New file.
2960 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2961 * libgcc/configure: Regenerated.
2962 * libgcc/configure.ac: Check if xtensa target is configured for
2963 windowed ABI and thus needs to use custom unwind code.
2964
2965 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
2966
2967 PR libgcc/64885
2968 * gthr-single.h: Use __unused__ attribute instead of unused.
2969 * config/gthr-vxworks.h: Likewise.
2970 * config/i386/gthr-win32.h: Likewise.
2971
2972 2015-02-27 Kai Tietz <ktietz@redhat.com>
2973
2974 PR target/65038
2975 * config.in: Regenerated.
2976 * configure: Likewise.
2977 * configure.ac (AC_HEADER_STDC): Added explicit.
2978 (AC_CHECK_HEADERS): Check for default headers plus
2979 for ftw.h header.
2980 * libgcov-util.c (gcov_read_profile_dir): Disable use
2981 of ftw-function, if header is not found.
2982 (ftw_read_file): Likewise.
2983
2984 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
2985
2986 PR target/65181
2987 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2988 -Dinhibit_libc.
2989
2990 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
2991
2992 * config/arm/bpabi.S (test_div_by_zero): Make label names
2993 consistent between thumb2 and arm mode cases. Separate the
2994 signed comparison on the high word of the numerator from the
2995 unsigned comparison on the low word.
2996 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2997 signed comparison.
2998
2999 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3000
3001 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3002 and <string.h>.
3003 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3004
3005 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3006
3007 PR gcov-profile/61889
3008 * libgcov-driver-system.c: undefine clashing macro for mkdir.
3009
3010 2015-02-02 Nick Clifton <nickc@redhat.com>
3011
3012 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3013 rounding up the fraction.
3014
3015 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
3016
3017 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3018 oldval and newval to const void *. Fix typo.
3019 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3020 (FETCH_AND_OP_WORD): Likewise.
3021 (OP_AND_FETCH_WORD): Likewise.
3022 (COMPARE_AND_SWAP_2): Likewise.
3023 (__sync_val_compare_and_swap_4): Likewise.
3024 (__sync_lock_test_and_set_4): Likewise.
3025 (SYNC_LOCK_RELEASE_2): Likewise.
3026 Remove support for long long atomic operations.
3027
3028 2015-01-27 Caroline Tice <cmtice@google.com>
3029
3030 Committing VTV Cywin/Ming patch for Patrick Wollgast
3031 * Makefile.in: Move rules to build vtv_*.o out of the check
3032 for CUSTOM_CRTSTUFF.
3033 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3034 i[34567]86-*-mingw*)
3035 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3036 enable_vtable_verify.
3037
3038 2015-01-27 Nick Clifton <nickc@redhat.com>
3039
3040 * config/rl78/cmpsi2.S: Use function start and end macros.
3041 (__gcc_bcmp): New function.
3042 * config/rl78/lshrsi3.S: Use function start and end macros.
3043 * config/rl78/mulsi3.S: Add support for G10.
3044 (__mulqi3): New function for G10.
3045 * config/rl78/signbit.S: Use function start and end macros.
3046 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3047 fpmath-sf.S.
3048 (LIB2FUNCS_EXCLUDE): Define.
3049 (LIB2FUNCS_ST): Define.
3050 * config/rl78/trampoline.S: Use function start and end macros.
3051 * config/rl78/vregs.h (START_FUNC): New macro.
3052 (START_ANOTHER_FUNC): New macro.
3053 (END_FUNC): New macro.
3054 (END_ANOTHER_FUNC): New macro.
3055 * config/rl78/bit-count.S: New file. Contains assembler
3056 implementations of the bit counting functions: ___clzhi2,
3057 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3058 __paritysi2, __popcounthi2 and __popcountsi2.
3059 * config/rl78/fpbit-sf.S: New file. Contains assembler
3060 implementationas of the math functions: __negsf2, __cmpsf2,
3061 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3062 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3063 * config/rl78/fpmath-sf.S: New file. Contains assembler
3064 implementations of the math functions: __subsf3, __addsf3,
3065 __mulsf3 and __divsf3
3066
3067 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3068
3069 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3070 Add i386/elf-lib.h to tm_file.
3071 * config/i386/elf-lib.h: Fix comment.
3072 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3073 && __sun__ && __svr4__]: Remove workaround.
3074
3075 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3076
3077 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3078 FEATURE_BMI2.
3079 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3080
3081 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3082
3083 * config/i386/cpuinfo.c (processor_subtypes): Add
3084 INTEL_COREI7_BROADWELL.
3085 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3086 model numbers.
3087
3088 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
3089
3090 * config/i386/elf-lib.h: New file.
3091 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3092 Wrap definition in #ifdef __i386__.
3093 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3094 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3095 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3096 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3097 to tm_file.
3098
3099 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3100
3101 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3102 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3103
3104 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3105
3106 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3107 Update rt_sigframe format and address for current Nios II
3108 Linux conventions.
3109
3110 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3111
3112 * config.host (arm*-*-freebsd*): Add new configuration for
3113 arm*-*-freebsd*.
3114 * config/arm/freebsd-atomic.c: New file.
3115 * config/arm/t-freebsd: Likewise.
3116 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3117 'PC-relative indirect' OS's.
3118
3119 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3120
3121 * config.host: Add Visium support.
3122 * config/visium: New directory.
3123
3124 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3125
3126 Update copyright years.
3127
3128 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3129
3130 * config.host: Support mipsisa32r6 and mipsisa64r6.
3131 * config/mips/mips16.S: Do not build for R6.
3132
3133 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3134
3135 * config/sh/crt.h: New.
3136 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3137 symbols.
3138 * config/sh/crt1.S: Likewise.
3139
3140 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
3141
3142 PR libgcc/63832
3143 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3144 func_ptr *dtor_list temporary variable to avoid "array subscript
3145 is above array bounds" warnings.
3146
3147 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
3148
3149 * Makefile.in (with_aix_soname): Define.
3150 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3151 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3152 * configure: Recreate.
3153
3154 2014-12-05 Olivier Hainque <hainque@adacore.com>
3155
3156 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3157 now provided by defaults.h.
3158
3159 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3160
3161 PR target/55351
3162 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3163 whether it's defined.
3164
3165 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3166
3167 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3168 * config/i386/cpuinfo.c (get_available_features): Detect it.
3169
3170 2014-11-27 Tony Wang <tony.wang@arm.com>
3171
3172 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3173 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3174 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3175
3176 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3177
3178 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3179
3180 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
3181
3182 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3183 instead.
3184
3185 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3186 John David Anglin <danglin@gcc.gnu.org>
3187
3188 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3189 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3190 (OP_AND_FETCH_2): Likewise.
3191 (COMPARE_AND_SWAP_2): Likewise.
3192 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3193 (SYNC_LOCK_RELEASE_2): Likewise.
3194 (SUBWORD_SYNC_OP): Remove.
3195 (SUBWORD_VAL_CAS): Likewise.
3196 (SUBWORD_BOOL_CAS): Likewise.
3197 (FETCH_AND_OP_WORD): Update.
3198 Consistently use signed types.
3199
3200 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3201 Thomas Schwinge <thomas@codesourcery.com>
3202 Ilya Verbin <ilya.verbin@intel.com>
3203 Andrey Turetskiy <andrey.turetskiy@intel.com>
3204
3205 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3206 (crtoffloadend$(objext)): Likewise.
3207 * configure: Regenerate.
3208 * configure.ac (accel_dir_suffix): Compute new variable.
3209 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3210 if enable_offload_targets is not empty.
3211 * offloadstuff.c: New file.
3212
3213 2014-11-13 Nick Clifton <nickc@redhat.com>
3214
3215 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3216 Use START_FUNC and END_FUNC macros to enable linker garbage
3217 collection.
3218 * config/rl78/divmodqi.S: Likewise.
3219 * config/rl78/divmodsi.S: Likewise.
3220 * config/rl78/mulsi3.S: Likewise.
3221 * config/rl78/lib2div.c: Remove G10 functions.
3222 * config/rl78/lib2muls.c: Likewise.
3223 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3224 * config/rl78/vregs.h (START_FUNC): New macro.
3225 (END_FUNC): New macro.
3226
3227 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3228
3229 * config/mips/mips16.S: Set .module when supported. Update O32
3230 FP64 calling convention and use for FPXX when possible. Add FPXX
3231 calling convention fallback case.
3232
3233 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3234
3235 * config.host: Handle nvptx-*-*.
3236 * shared-object.mk (as-flags-$o): Define.
3237 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3238 -xassembler-with-cpp.
3239 * static-object.mk: Identical changes.
3240 * config/nvptx/t-nvptx: New file.
3241 * config/nvptx/crt0.s: New file.
3242 * config/nvptx/free.asm: New file.
3243 * config/nvptx/malloc.asm: New file.
3244 * config/nvptx/realloc.c: New file.
3245
3246 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3247
3248 * Makefile.in (libgcc.map.in): New target.
3249 (libgcc.map): Use libgcc.map.in.
3250 * config/t-softfp (softfp_compat): New variable to be set by
3251 users.
3252 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3253 variables.
3254 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3255 directory.
3256 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3257 that use compat symbols and disable all code unless [SHARED].
3258 * config/t-softfp-compat: New file.
3259 * find-symver.awk: New file.
3260 * configure.ac (--with-glibc-version): New configure option.
3261 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3262 * configure: Regenerate.
3263 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3264 soft-float and e500.
3265
3266 2014-10-29 Joseph Myers <joseph@codesourcery.com>
3267
3268 * config/t-hardfp (hardfp_exclusions): Document new variable for
3269 user to define.
3270 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3271 * config/t-softfp (softfp_extras): Document new variable for user
3272 to define.
3273 (softfp_func_list): Add functions from $(softfp_extras).
3274 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3275 * config.host (powerpc*-*-linux*): For e500v1, use
3276 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3277 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3278 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3279
3280 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
3281
3282 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3283 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3284 memory read accesses are ok.
3285
3286 2014-10-25 Joseph Myers <joseph@codesourcery.com>
3287
3288 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3289 * configure: Regenerate.
3290 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3291 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3292 of soft-fp for 32-bit classic hard float. Do not use
3293 t-softfp-excl for soft float.
3294
3295 2014-10-22 Joseph Myers <joseph@codesourcery.com>
3296
3297 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3298 configurations.
3299 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3300 Remove variables.
3301
3302 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
3303
3304 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3305 introduced with 2014-10-21 trunk r216525.
3306
3307 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
3308 Vidya Praveen <vidya.praveen@atmel.com>
3309 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3310 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3311 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
3312
3313 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3314 order.
3315
3316 Updated library functions for AVRTINY arch.
3317 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3318 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3319 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3320 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3321 wsubi/wadi macors.
3322 (__mulsi3_helper): Update stack, preserve callee saved regs and
3323 argument from stack. Restore callee save registers.
3324 (__mulpsi3): Likewise.
3325 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3326 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
3327 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
3328 AVRTINY.
3329 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3330 (__do_copy_data): Added new definition for AVRTINY.
3331 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3332 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3333 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3334 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3335 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3336 macors.
3337 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
3338 AVRTINY.
3339
3340 Fix broken long multiplication on tiny arch.
3341
3342 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3343
3344 * soft-fp/double.h: Update from glibc.
3345 * soft-fp/eqdf2.c: Likewise.
3346 * soft-fp/eqsf2.c: Likewise.
3347 * soft-fp/eqtf2.c: Likewise.
3348 * soft-fp/extenddftf2.c: Likewise.
3349 * soft-fp/extended.h: Likewise.
3350 * soft-fp/extendsfdf2.c: Likewise.
3351 * soft-fp/extendsftf2.c: Likewise.
3352 * soft-fp/extendxftf2.c: Likewise.
3353 * soft-fp/gedf2.c: Likewise.
3354 * soft-fp/gesf2.c: Likewise.
3355 * soft-fp/getf2.c: Likewise.
3356 * soft-fp/ledf2.c: Likewise.
3357 * soft-fp/lesf2.c: Likewise.
3358 * soft-fp/letf2.c: Likewise.
3359 * soft-fp/op-1.h: Likewise.
3360 * soft-fp/op-2.h: Likewise.
3361 * soft-fp/op-4.h: Likewise.
3362 * soft-fp/op-8.h: Likewise.
3363 * soft-fp/op-common.h: Likewise.
3364 * soft-fp/quad.h: Likewise.
3365 * soft-fp/single.h: Likewise.
3366 * soft-fp/soft-fp.h: Likewise.
3367 * soft-fp/unorddf2.c: Likewise.
3368 * soft-fp/unordsf2.c: Likewise.
3369 * soft-fp/unordtf2.c: Likewise.
3370 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3371 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3372 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3373 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3374 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3375 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3376 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3377 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3378 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3379 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3380
3381 2014-10-08 Rong Xu <xur@google.com>
3382
3383 * libgcov-util.c (read_gcda_file): Fix format.
3384 (find_match_gcov_info): Ditto.
3385 (calculate_2_entries): New.
3386 (compute_one_gcov): Ditto.
3387 (gcov_info_count_all_cold): Ditto.
3388 (gcov_info_count_all_zero): Ditto.
3389 (extract_file_basename): Ditto.
3390 (get_file_basename): Ditto.
3391 (set_flag): Ditto.
3392 (matched_gcov_info): Ditto.
3393 (calculate_overlap): Ditto.
3394 (gcov_profile_overlap): Ditto.
3395 * libgcov-driver.c (compute_summary): Make
3396 it avavilable for external calls.
3397
3398 2014-10-06 Rong Xu <xur@google.com>
3399
3400 * Makefile.in: Ditto.
3401 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3402 (gcov_sort_icall_topn_counter): Ditto.
3403 (gcov_sort_topn_counter_arrays): Ditto.
3404 (dump_one_gcov): Sort indirect_call topn counters.
3405 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3406 function.
3407 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3408 utility function.
3409 (__gcov_indirect_call_topn_profiler): New profiler function.
3410 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3411 * libgcov.h: New decls.
3412
3413 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3414
3415 * config.host: Remove support for score-*.
3416
3417 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3418
3419 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3420 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3421 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3422 __LIBGCC_XF_MANT_DIG__.
3423 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3424 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3425 __LIBGCC_TF_MANT_DIG__.
3426 * libgcc2.c (NOTRUNC): Define in terms of
3427 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3428 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3429
3430 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3431
3432 PR target/63312
3433 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3434 New macros.
3435
3436 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
3437
3438 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3439 override USE_PT_GNU_EH_FRAME.
3440 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3441 check USE_EH_FRAME_REGISTRY_ALWAYS against
3442 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3443 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3444 variable for substituted force_explicit_eh_registry.
3445 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3446 * configure.ac (explicit-exception-frame-registration):
3447 New AC_ARG_ENABLE.
3448 * configure: Regenerate.
3449
3450 2014-09-19 Olivier Hainque <hainque@adacore.com>
3451
3452 * config.host (powerpc-wrs-vxworksmils): New configuration,
3453 same as vxworksae.
3454
3455 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3456
3457 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3458
3459 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3460
3461 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3462 bits not set bits as indicating trapping exceptions.
3463
3464 2014-09-17 Nathan sidwell <nathan@acm.org>
3465
3466 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3467 (LIBGCOV_DRIVER): ... here.
3468 * libgcov-driver.c (gcov_master): New.
3469 (gcov_exit): Remove from master chain.
3470 (__gcov_init): Add to master chain if version compatible. Don't
3471 clear the version.
3472 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3473 (gcov_reset_int): Clear master chain, if compatible.
3474 (gcov_dump_int): New internal interface. Dump master chain, if
3475 compatible.
3476 (gcov_dump): Alias for gcov_dump_int.
3477 * libgcov.h (struct gcov_root): Add next and prev fields.
3478 (struct gcov_master): New struct.
3479 (__gcov_master): New.
3480 (gcov_dump_int): Declare.
3481
3482 2014-09-17 Olivier Hainque <hainque@adacore.com>
3483
3484 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3485 and crtbegin.o + crtend.o to extra_parts.
3486
3487 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3488
3489 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3490 __LIBGCC_HAS_SF_MODE__.
3491 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3492 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3493 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3494 * config/libbid/bid_gcc_intrinsics.h
3495 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3496 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3497 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3498 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3499 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3500 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3501
3502 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
3503
3504 PR target/63223
3505 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3506 and R24 as needed. Make work for all devices and .text locations.
3507 (__do_global_ctors, __do_global_dtors): Use word addresses.
3508 (__tablejump__, __tablejump_elpm__): Remove functions.
3509 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3510 Add _tablejump2.
3511 (XICALL, XIJMP): New macros.
3512
3513 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3514 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3515
3516 * config.host (aarch64*): Include crtfastmath.o and
3517 t-crtfm.
3518 * config/aarch64/crtfastmath.c: New file.
3519
3520 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3521
3522 * config.host: Remove picochip support.
3523 * config/picochip/adddi3.S: Remove.
3524 * config/picochip/ashlsi3.S: Remove.
3525 * config/picochip/ashlsi3.c: Remove.
3526 * config/picochip/ashrsi3.S: Remove.
3527 * config/picochip/ashrsi3.c: Remove.
3528 * config/picochip/clzsi2.S: Remove.
3529 * config/picochip/cmpsi2.S: Remove.
3530 * config/picochip/divmod15.S: Remove.
3531 * config/picochip/divmodhi4.S: Remove.
3532 * config/picochip/divmodsi4.S: Remove.
3533 * config/picochip/lib1funcs.S: Remove.
3534 * config/picochip/longjmp.S: Remove.
3535 * config/picochip/lshrsi3.S: Remove.
3536 * config/picochip/lshrsi3.c: Remove.
3537 * config/picochip/parityhi2.S: Remove.
3538 * config/picochip/popcounthi2.S: Remove.
3539 * config/picochip/setjmp.S: Remove.
3540 * config/picochip/subdi3.S: Remove.
3541 * config/picochip/t-picochip: Remove.
3542 * config/picochip/ucmpsi2.S: Remove.
3543 * config/picochip/udivmodhi4.S: Remove.
3544 * config/picochip/udivmodsi4.S: Remove.
3545
3546 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3547
3548 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3549 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3550 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3551 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3552 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3553 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3554 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3555 defined and LIBGCC2_HAS_DF_MODE is defined.
3556 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3557 defined and LIBGCC2_HAS_XF_MODE is defined.
3558 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3559 defined and LIBGCC2_HAS_TF_MODE is defined.
3560
3561 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3562
3563 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3564 and ROUND_TOWARDS_ZERO conditionals.
3565
3566 2014-09-07 Nathan sidwell <nathan@acm.org>
3567
3568 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3569 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3570
3571 2014-09-05 Joseph Myers <joseph@codesourcery.com>
3572
3573 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3574 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3575 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3576 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3577 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3578 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3579 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3580 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3581 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3582 (DWARF_FRAME_REGISTERS): Change all uses to
3583 __LIBGCC_DWARF_FRAME_REGISTERS__.
3584 (EH_RETURN_STACKADJ_RTX): Change all uses to
3585 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3586 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3587 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3588 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3589 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3590 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3591 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3592 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3593 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3594 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3595 __LIBGCC_STACK_POINTER_REGNUM__.
3596 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3597 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3598 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3599 to __LIBGCC_STACK_POINTER_REGNUM__.
3600 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3601 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3602 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3603 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3604 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3605 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3606 (STACK_POINTER_REGNUM): Change all uses to
3607 __LIBGCC_STACK_POINTER_REGNUM__.
3608 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3609 use to __LIBGCC_STACK_POINTER_REGNUM__.
3610 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3611 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3612 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3613 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3614 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3615 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3616 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3617 to __LIBGCC_STACK_POINTER_REGNUM__.
3618 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3619 Remove conditional definition.
3620 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3621 __LIBGCC_TEXT_SECTION_ASM_OP__.
3622 (EH_FRAME_SECTION_NAME): Change all uses to
3623 __LIBGCC_EH_FRAME_SECTION_NAME__.
3624 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3625 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3626 (CTORS_SECTION_ASM_OP): Change all uses to
3627 __LIBGCC_CTORS_SECTION_ASM_OP__.
3628 (DTORS_SECTION_ASM_OP): Change all uses to
3629 __LIBGCC_DTORS_SECTION_ASM_OP__.
3630 (JCR_SECTION_NAME): Change all uses to
3631 __LIBGCC_JCR_SECTION_NAME__.
3632 (INIT_SECTION_ASM_OP): Change all uses to
3633 __LIBGCC_INIT_SECTION_ASM_OP__.
3634 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3635 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3636 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3637 __LIBGCC_STACK_GROWS_DOWNWARD__.
3638 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3639 __LIBGCC_INIT_SECTION_ASM_OP__.
3640 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3641 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3642 (EH_FRAME_SECTION_NAME): Change all uses to
3643 __LIBGCC_EH_FRAME_SECTION_NAME__.
3644 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3645 definitions. Change all uses to
3646 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3647 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3648 __LIBGCC_STACK_GROWS_DOWNWARD__.
3649 (DWARF_FRAME_REGISTERS): Change all uses to
3650 __LIBGCC_DWARF_FRAME_REGISTERS__.
3651 (EH_RETURN_STACKADJ_RTX): Change all uses to
3652 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3653 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3654 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3655 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3656 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3657 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3658
3659 2014-09-02 Nathan sidwell <nathan@acm.org>
3660
3661 * libgcov-interface.c (STRONG_ALIAS): New.
3662 (__gcov_flush): Call __gcov_reset_int.
3663 (__gcov_reset): Strong alias for ...
3664 (__gcov_reset_ing): ... this renamed hidden version.
3665 * libgcov.h (__gcov_reset_int): New declaration.
3666
3667 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3668
3669 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3670 call from here...
3671 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3672 (__dso_handle): Define on Cygwin.
3673 * config/i386/t-cygming (crtbeginS.o): New rule.
3674 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3675
3676 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3677 declaration syntax.
3678
3679 2014-08-13 Steve Ellcey <sellcey@mips.com>
3680
3681 * crtstuff.c: Undef caddr_t.
3682
3683 2014-08-12 Steve Ellcey <sellcey@mips.com>
3684
3685 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3686
3687 2014-08-07 Nathan Sidwell <nathan@acm.org>
3688
3689 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3690 (LIBGCOV_DRIVER): ... to here.
3691 * libgcov.h (gcov_do_dump): New #define.
3692 (struct gcov_root): New.
3693 (__gcov_root): New declaration.
3694 (__gcov_dump_one): Declare.
3695 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3696 run_accounted): Delete.
3697 (gcov_compute_histogram): Add LIST argument, adjust.
3698 (compute_summary): Adjust gcov_compute_histogram call.
3699 (gcov_do_dump): Not hidden, static in libgcov.
3700 (gcov_clear): Move to interface.c.
3701 (__gcov_dump_one): New, broken out of ...
3702 (gcov_exit): ... here. Make static.
3703 (__gcov_root): New.
3704 (__gcov_init): Adjust.
3705 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3706 declarations.
3707 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3708 (gcov_clear): Moved from driver.c. Add LIST argument.
3709 (__gcov_reset): Adjust for changed interfaces.
3710 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3711
3712 2014-08-04 Rohit <rohitarulraj@freescale.com>
3713
3714 PR target/60102
3715 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
3716 based on change in SPE high register numbers and 3 HTM registers.
3717
3718 2014-08-01 Nathan Sidwell <nathan@acm.org>
3719
3720 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3721 LIBGCOV_INTERFACE): Reformat.
3722 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3723 IN_GCOV_TOOL.
3724 * libgcov-interface.c: Reformat some comments.
3725 (__gcov_flush_mx): Add declaration. Tidy up definition.
3726
3727 2014-07-31 Alan Modra <amodra@gmail.com>
3728 Peter Bergner <bergner@vnet.ibm.com>
3729
3730 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3731 (pack_ldouble): New function.
3732 (__gcc_qadd): Use it.
3733 (__gcc_qmul): Likewise.
3734 (__gcc_qdiv): Likewise.
3735 (__gcc_qneg): Likewise.
3736 (__gcc_stoq): Likewise.
3737 (__gcc_dtoq): Likewise.
3738
3739 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3740
3741 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3742 (__tpf_eh_return): Add original return address as second parameter.
3743 Handle cases where unwinder routines were called directly, instead
3744 of from within the C++ library.
3745
3746 2014-07-29 Nathan Sidwell <nathan@acm.org>
3747
3748 * libgcov.h: Move renaming of entry points to lib gcov specific
3749 portion.
3750 (gcov_do_dump): New rename.
3751 (gcov_rewrite): Remove inline, make HIDDEN.
3752 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3753 (gcov_exit_compute_summary): Rename to ...
3754 (compute_summary): ... here. Add LIST argument.
3755 (gcov_exit_merge_gcda): Rename to ...
3756 (merge_one_data): ... here.
3757 (gcov_exit_write_gcda): Rename to ...
3758 (write_one_data): ... here.
3759 (gcov_exit_merge_summary): Rename to ...
3760 (merge_summary): Add RUN_COUNTED argument.
3761 (gcov_exit_dump_gcov): Rename to ...
3762 (dump_one_gcov): Add RUN_COUNTED argument.
3763 (gcov_do_dump): New function, broken out of ...
3764 (gcov_exit): ... here. Call it.
3765
3766 2014-07-27 Anthony Green <green@moxielogic.com>
3767
3768 * config.host: Add moxiebox configuration suppport.
3769
3770 2014-07-27 Nathan Sidwell <nathan@acm.org>
3771
3772 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3773 (struct gcov_filename): ... here. Include buffer and max length
3774 fields.
3775 (gcov_max_filename): Remove.
3776 (gi_filename): Remove.
3777 (gcov_exit_compute_summary): Compute max filename here.
3778 (gcov_exit_merge_gcda): Add filename parm, adjust.
3779 (gcov_exit_merge_summary): Likewise.
3780 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3781 (gcov_exit): Likewise.
3782 (__gcov_init): Don't calculate max length here.
3783 * libgcov_util.c (max_filename_len): Remove.
3784 (read_gcda_file): Don't calculate max length here.
3785 (gcov_read_profile_dir): Don't propagate here.
3786 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3787 struct gcov_filename changes.
3788 (gcov_exit_open_gcda_file): Likewise.
3789
3790 2014-07-25 Nathan Sidwell <nathan@acm.org>
3791
3792 * libgcov-driver.c (set_gcov_dump_complete,
3793 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3794 functions polluting user's namespace.
3795 (gcov_exit): Set variable directly.
3796 (gcov_clear): Reset variable directly.
3797 * libgcov-interface.c (get_gcov_dymp_complete,
3798 reset_gov_dump_complete): Remove declarations.
3799 (__gcov_reset, __gcov_dump): Don't call them.
3800
3801 2014-07-24 DJ Delorie <dj@redhat.com>
3802
3803 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
3804 (__gcc_deregister_frame): Move logic to detect deregister function
3805 to ...
3806 (__gcc_register_frame): here, so it's consistent with the register
3807 logic.
3808
3809 2014-07-23 Nathan Sidwell <nathan@acm.org>
3810
3811 * libgcov-driver.c (set_gcov_list): Remove.
3812 (gcov_list): Make non-static in GCOV_TOOL.
3813 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3814
3815 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
3816
3817 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3818 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3819 Don't use SYNC_LOCK_RELEASE for int type.
3820
3821 2014-07-14 Richard Biener <rguenther@suse.de>
3822
3823 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3824
3825 2014-07-11 Rong Xu <xur@google.com>
3826
3827 * libgcov-util.c (gcov_max_filename): Fix declartion.
3828
3829 2014-07-10 Rong Xu <xur@google.com>
3830
3831 Add gcov-tool: an offline gcda profile processing tool
3832 Support.
3833 * libgcov-driver.c (gcov_max_filename): Make available
3834 to gcov-tool.
3835 * libgcov-merge.c (__gcov_merge_add): Replace
3836 gcov_read_counter() with a Macro.
3837 (__gcov_merge_ior): Ditto.
3838 (__gcov_merge_time_profile): Ditto.
3839 (__gcov_merge_single): Ditto.
3840 (__gcov_merge_delta): Ditto.
3841 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3842 in the utility functions.
3843 (set_fn_ctrs): Utility function for reading gcda files to in-memory
3844 gcov_list object link lists.
3845 (tag_function): Ditto.
3846 (tag_blocks): Ditto.
3847 (tag_arcs): Ditto.
3848 (tag_lines): Ditto.
3849 (tag_counters): Ditto.
3850 (tag_summary): Ditto.
3851 (read_gcda_finalize): Ditto.
3852 (read_gcda_file): Ditto.
3853 (ftw_read_file): Ditto.
3854 (read_profile_dir_init): Ditto.
3855 (gcov_read_profile_dir): Ditto.
3856 (gcov_read_counter_mem): Ditto.
3857 (gcov_get_merge_weight): Ditto.
3858 (merge_wrapper): A wrapper function that calls merging handler.
3859 (gcov_merge): Merge two gcov_info objects with weights.
3860 (find_match_gcov_info): Find the matched gcov_info in the list.
3861 (gcov_profile_merge): Merge two gcov_info object lists.
3862 (__gcov_add_counter_op): Process edge profile counter values.
3863 (__gcov_ior_counter_op): Process IOR profile counter values.
3864 (__gcov_delta_counter_op): Process delta profile counter values.
3865 (__gcov_single_counter_op): Process single profile counter values.
3866 (fp_scale): Callback function for float-point scaling.
3867 (int_scale): Callback function for integer fraction scaling.
3868 (gcov_profile_scale): Scaling profile counters.
3869 (gcov_profile_normalize): Normalize profile counters.
3870 * libgcov.h: Add headers and functions for gcov-tool use.
3871 (gcov_get_counter): New.
3872 (gcov_get_counter_target): Ditto.
3873 (struct gcov_info): Make the functions field mutable in gcov-tool
3874 compilation.
3875
3876 2014-06-23 Kai Tietz <ktietz@redhat.com>
3877
3878 PR libgcc/61585
3879 * unwind-seh.c (_Unwind_GetGR): Check for proper
3880 index range.
3881 (_Unwind_SetGR): Likewise.
3882
3883 2014-05-22 Nick Clifton <nickc@redhat.com>
3884
3885 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3886 -mhwmult=none.
3887
3888 2014-05-22 Teresa Johnson <tejohnson@google.com>
3889
3890 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3891 include.
3892
3893 2014-05-20 John Marino <gnugcc@marino.st>
3894
3895 * config.host (*-*-dragonfly*): New target.
3896 * crtstuff.c: Make dl_iterate_support generic on *bsd.
3897 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3898 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3899 * config/i386/dragonfly-unwind.h: New.
3900
3901 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3902
3903 PR libgcc/60166
3904 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3905 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3906
3907 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
3908
3909 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3910 implementation.
3911
3912 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
3913
3914 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3915
3916 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3917
3918 PR libgcc/61097
3919 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3920 if --enable-shared.
3921
3922 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
3923
3924 Work around for current cygwin32 build problems.
3925 * config/i386/cygming-crtbegin.c (__register_frame_info,
3926 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3927 functions only for 64-bit systems.
3928
3929 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3930
3931 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3932 (sigill_caught, sigill_hdlr): Remove.
3933
3934 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3935
3936 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3937 check.
3938 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3939 Solaris 9 single-threaded support.
3940 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3941 Solaris 9 single-threaded support. Add call_user_handler code
3942 sequences.
3943 (sparc_is_sighandler): Likewise.
3944
3945 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3946
3947 * config.host: Append t-floattodi to tmake_file depending on
3948 host_address.
3949
3950 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
3951
3952 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
3953
3954 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
3955
3956 PR libgcc/60472
3957 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
3958 variable to avoid "array subscript is above array bounds" warnings.
3959 Use __builtin_expect when checking *jcr_list for NULL.
3960
3961 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3962
3963 PR libgcc/59339
3964 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3965 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3966 vtv_*.o to extra_parts if enable_vtable_verify.
3967
3968 2014-03-06 Nick Clifton <nickc@redhat.com>
3969
3970 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3971 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3972
3973 2014-02-28 Joey Ye <joey.ye@arm.com>
3974
3975 PR libgcc/60166
3976 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3977 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3978 Set to zero.
3979
3980 2014-02-24 Walter Lee <walt@tilera.com>
3981
3982 * config.host: Support "tilegx*" and "tilepro*" triplets.
3983 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3984 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3985
3986 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
3987 Chung-Lin Tang <cltang@codesourcery.com>
3988
3989 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3990 * config/nios2/crti.S: Remove .file directive.
3991 * config/nios2/crtn.S: Likewise.
3992
3993 2014-02-18 Kai Tietz <ktietz@redhat.com>
3994 Jonathan Schleifer <js@webkeks.org>
3995
3996 PR objc/56870
3997 * unwind-seh.c (_GCC_specific_handler): Pass proper
3998 value to unwind-handler.
3999
4000 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4001
4002 * soft-fp/adddf3.c: Update from glibc.
4003 * soft-fp/addsf3.c: Likewise.
4004 * soft-fp/addtf3.c: Likewise.
4005 * soft-fp/divdf3.c: Likewise.
4006 * soft-fp/divsf3.c: Likewise.
4007 * soft-fp/divtf3.c: Likewise.
4008 * soft-fp/double.h: Likewise.
4009 * soft-fp/eqdf2.c: Likewise.
4010 * soft-fp/eqsf2.c: Likewise.
4011 * soft-fp/eqtf2.c: Likewise.
4012 * soft-fp/extenddftf2.c: Likewise.
4013 * soft-fp/extended.h: Likewise.
4014 * soft-fp/extendsfdf2.c: Likewise.
4015 * soft-fp/extendsftf2.c: Likewise.
4016 * soft-fp/extendxftf2.c: Likewise.
4017 * soft-fp/fixdfdi.c: Likewise.
4018 * soft-fp/fixdfsi.c: Likewise.
4019 * soft-fp/fixdfti.c: Likewise.
4020 * soft-fp/fixsfdi.c: Likewise.
4021 * soft-fp/fixsfsi.c: Likewise.
4022 * soft-fp/fixsfti.c: Likewise.
4023 * soft-fp/fixtfdi.c: Likewise.
4024 * soft-fp/fixtfsi.c: Likewise.
4025 * soft-fp/fixtfti.c: Likewise.
4026 * soft-fp/fixunsdfdi.c: Likewise.
4027 * soft-fp/fixunsdfsi.c: Likewise.
4028 * soft-fp/fixunsdfti.c: Likewise.
4029 * soft-fp/fixunssfdi.c: Likewise.
4030 * soft-fp/fixunssfsi.c: Likewise.
4031 * soft-fp/fixunssfti.c: Likewise.
4032 * soft-fp/fixunstfdi.c: Likewise.
4033 * soft-fp/fixunstfsi.c: Likewise.
4034 * soft-fp/fixunstfti.c: Likewise.
4035 * soft-fp/floatdidf.c: Likewise.
4036 * soft-fp/floatdisf.c: Likewise.
4037 * soft-fp/floatditf.c: Likewise.
4038 * soft-fp/floatsidf.c: Likewise.
4039 * soft-fp/floatsisf.c: Likewise.
4040 * soft-fp/floatsitf.c: Likewise.
4041 * soft-fp/floattidf.c: Likewise.
4042 * soft-fp/floattisf.c: Likewise.
4043 * soft-fp/floattitf.c: Likewise.
4044 * soft-fp/floatundidf.c: Likewise.
4045 * soft-fp/floatundisf.c: Likewise.
4046 * soft-fp/floatunditf.c: Likewise.
4047 * soft-fp/floatunsidf.c: Likewise.
4048 * soft-fp/floatunsisf.c: Likewise.
4049 * soft-fp/floatunsitf.c: Likewise.
4050 * soft-fp/floatuntidf.c: Likewise.
4051 * soft-fp/floatuntisf.c: Likewise.
4052 * soft-fp/floatuntitf.c: Likewise.
4053 * soft-fp/gedf2.c: Likewise.
4054 * soft-fp/gesf2.c: Likewise.
4055 * soft-fp/getf2.c: Likewise.
4056 * soft-fp/ledf2.c: Likewise.
4057 * soft-fp/lesf2.c: Likewise.
4058 * soft-fp/letf2.c: Likewise.
4059 * soft-fp/muldf3.c: Likewise.
4060 * soft-fp/mulsf3.c: Likewise.
4061 * soft-fp/multf3.c: Likewise.
4062 * soft-fp/negdf2.c: Likewise.
4063 * soft-fp/negsf2.c: Likewise.
4064 * soft-fp/negtf2.c: Likewise.
4065 * soft-fp/op-1.h: Likewise.
4066 * soft-fp/op-2.h: Likewise.
4067 * soft-fp/op-4.h: Likewise.
4068 * soft-fp/op-8.h: Likewise.
4069 * soft-fp/op-common.h: Likewise.
4070 * soft-fp/quad.h: Likewise.
4071 * soft-fp/single.h: Likewise.
4072 * soft-fp/soft-fp.h: Likewise.
4073 * soft-fp/subdf3.c: Likewise.
4074 * soft-fp/subsf3.c: Likewise.
4075 * soft-fp/subtf3.c: Likewise.
4076 * soft-fp/truncdfsf2.c: Likewise.
4077 * soft-fp/trunctfdf2.c: Likewise.
4078 * soft-fp/trunctfsf2.c: Likewise.
4079 * soft-fp/trunctfxf2.c: Likewise.
4080 * soft-fp/unorddf2.c: Likewise.
4081 * soft-fp/unordsf2.c: Likewise.
4082 * soft-fp/unordtf2.c: Likewise.
4083 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4084 macro.
4085 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4086 Likewise.
4087 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4088 Likewise.
4089 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4090 Likewise.
4091 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4092 Likewise.
4093 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4094 Likewise.
4095 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4096 Likewise.
4097 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4098 Likewise.
4099 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4100 Likewise.
4101 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4102 Likewise.
4103 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4104 Likewise.
4105 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4106 Likewise.
4107 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4108 Likewise.
4109 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4110 Likewise.
4111 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4112 Likewise.
4113 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4114 Likewise.
4115
4116 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4117
4118 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4119 cannot be represented.
4120 * config/s390/32/_fixsfdi.c: Likewise.
4121 * config/s390/32/_fixtfdi.c: Likewise.
4122 * config/s390/32/_fixunsdfdi.c: Likewise.
4123 * config/s390/32/_fixunssfdi.c: Likewise.
4124 * config/s390/32/_fixunstfdi.c: Likewise.
4125
4126 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4127
4128 * configure.ac (libgcc_cv_mips_hard_float): New.
4129 * configure: Regenerate.
4130 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4131 t-softfp-sfdf for hard-float targets.
4132 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4133 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4134 (softfp_truncations, softfp_exclude_libgcc2): New.
4135 * config/t-hardfp: New file.
4136 * config/t-hardfp-sfdf: Likewise.
4137 * config/hardfp.c: Likewise.
4138
4139 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4140
4141 * config.host: Include t-floattodi also for s390x.
4142 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4143 * config/s390/32/_fixsfdi.c: Likewise.
4144 * config/s390/32/_fixtfdi.c: Likewise.
4145 * config/s390/32/_fixunsdfdi.c: Likewise.
4146 * config/s390/32/_fixunssfdi.c: Likewise.
4147 * config/s390/32/_fixunstfdi.c: Likewise.
4148
4149 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4150
4151 PR target/59788
4152 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4153 (install-libgcc-unwind-map-forbuild): New target.
4154 (all): Depend on install-libgcc-unwind-map-forbuild.
4155 (install-libgcc-unwind-map): New target.
4156 (install): Depend on install-libgcc-unwind-map.
4157
4158 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4159
4160 * config/nios2/crti.S (_init): Initialize GOT pointer from
4161 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4162
4163 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4164
4165 * configure.ac: Check __mips64 when setting host_address.
4166 * configure: Regenerate.
4167 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4168 mips/t-mips64 and t-softfp.
4169 (mips*-*-linux*): Don't add mips/t-tpbit.
4170 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4171 (DPBIT, DPBIT_CFLAGS): Delete.
4172 * config/mips/sfp-machine.h: New file.
4173 * config/mips/t-mips64: Likewise.
4174 * config/mips/t-softfp-tf: Likewise.
4175 * config/mips/t-tpbit: Delete.
4176
4177 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4178
4179 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4180 as long long.
4181
4182 2014-01-25 Walter Lee <walt@tilera.com>
4183
4184 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4185 config.h or system.h.
4186 (bool) Define.
4187
4188 2014-01-25 Walter Lee <walt@tilera.com>
4189
4190 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4191 (post_atomic_barrier): Ditto.
4192 (__fetch_and_do): New macro.
4193 (__atomic_fetch_and_do): Use __fetch_and_do.
4194 (__sync_fetch_and_do): New macro.
4195 (__sync_fetch_and_add_4): New function.
4196 (__sync_fetch_and_sub_4): New function.
4197 (__sync_fetch_and_or_4): New function.
4198 (__sync_fetch_and_and_4): New function.
4199 (__sync_fetch_and_xor_4): New function.
4200 (__sync_fetch_and_nand_4): New function.
4201 (__sync_fetch_and_add_8): New function.
4202 (__sync_fetch_and_sub_8): New function.
4203 (__sync_fetch_and_or_8): New function.
4204 (__sync_fetch_and_and_8): New function.
4205 (__sync_fetch_and_xor_8): New function.
4206 (__sync_fetch_and_nand_8): New function.
4207 (__do_and_fetch): New macro.
4208 (__atomic_do_and_fetch): Use __do_and_fetch.
4209 (__sync_do_and_fetch): New macro.
4210 (__sync_add_and_fetch_4): New function.
4211 (__sync_sub_and_fetch_4): New function.
4212 (__sync_or_and_fetch_4): New function.
4213 (__sync_and_and_fetch_4): New function.
4214 (__sync_xor_and_fetch_4): New function.
4215 (__sync_nand_and_fetch_4): New function.
4216 (__sync_add_and_fetch_8): New function.
4217 (__sync_sub_and_fetch_8): New function.
4218 (__sync_or_and_fetch_8): New function.
4219 (__sync_and_and_fetch_8): New function.
4220 (__sync_xor_and_fetch_8): New function.
4221 (__sync_nand_and_fetch_8): New function.
4222 (__sync_exchange_methods): New macro.
4223 (__sync_val_compare_and_swap_4): New function.
4224 (__sync_bool_compare_and_swap_4): New function.
4225 (__sync_lock_test_and_test_4): New function.
4226 (__sync_val_compare_and_swap_8): New function.
4227 (__sync_bool_compare_and_swap_8): New function.
4228 (__sync_lock_test_and_test_8): New function.
4229 (__subword_cmpxchg_body): New macro.
4230 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4231 (__atomic_compare_exchange_2): Ditto.
4232 (__sync_subword_cmpxchg): New macro.
4233 (__sync_val_compare_and_swap_1): New function.
4234 (__sync_bool_compare_and_swap_1): New function.
4235 (__sync_val_compare_and_swap_2): New function.
4236 (__sync_bool_compare_and_swap_2): New function.
4237 (__atomic_subword): Rename to ...
4238 (__subword): ... New name.
4239 (__atomic_subword_fetch): Use __subword.
4240 (__sync_subword_fetch): New macro.
4241 (__sync_fetch_and_add_1): New function.
4242 (__sync_fetch_and_sub_1): New function.
4243 (__sync_fetch_and_or_1): New function.
4244 (__sync_fetch_and_and_1): New function.
4245 (__sync_fetch_and_xor_1): New function.
4246 (__sync_fetch_and_nand_1): New function.
4247 (__sync_fetch_and_add_2): New function.
4248 (__sync_fetch_and_sub_2): New function.
4249 (__sync_fetch_and_or_2): New function.
4250 (__sync_fetch_and_and_2): New function.
4251 (__sync_fetch_and_xor_2): New function.
4252 (__sync_fetch_and_nand_2): New function.
4253 (__sync_add_and_fetch_1): New function.
4254 (__sync_sub_and_fetch_1): New function.
4255 (__sync_or_and_fetch_1): New function.
4256 (__sync_and_and_fetch_1): New function.
4257 (__sync_xor_and_fetch_1): New function.
4258 (__sync_nand_and_fetch_1): New function.
4259 (__sync_add_and_fetch_2): New function.
4260 (__sync_sub_and_fetch_2): New function.
4261 (__sync_or_and_fetch_2): New function.
4262 (__sync_and_and_fetch_2): New function.
4263 (__sync_xor_and_fetch_2): New function.
4264 (__sync_nand_and_fetch_2): New function.
4265 (__atomic_subword_lock): Use __subword.
4266 (__sync_subword_lock): New macro.
4267 (__sync_lock_test_and_set_1): New function.
4268 (__sync_lock_test_and_set_2): New function.
4269
4270 2014-01-25 Walter Lee <walt@tilera.com>
4271
4272 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4273 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4274 (__atomic_subword): Ditto.
4275
4276 2014-01-25 Walter Lee <walt@tilera.com>
4277
4278 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4279 a prefix op argument.
4280 (__atomic_nand_fetch_4): Add prefix op.
4281 (__atomic_nand_fetch_8): Ditto.
4282
4283 2014-01-21 Baruch Siach <barch@tkos.co.il>
4284
4285 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4286
4287 2014-01-09 Rong Xu <xur@google.com>
4288
4289 * libgcov-driver.c (this_prg): make it local to save
4290 bss space.
4291 (gcov_exit_compute_summary): Ditto.
4292 (gcov_exit_merge_gcda): Ditto.
4293 (gcov_exit_merge_summary): Ditto.
4294 (gcov_exit_dump_gcov): Ditto.
4295
4296 2014-01-08 Rong Xu <xur@google.com>
4297
4298 * libgcov-driver.c: Use libgcov.h.
4299 (buffer_fn_data): Use xmalloc instead of malloc.
4300 (gcov_exit_merge_gcda): Ditto.
4301 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4302 * libgcov.h: New common header files for libgcov-*.h.
4303 * libgcov-interface.c: Use libgcov.h
4304 * libgcov-merge.c: Ditto.
4305 * libgcov-profiler.c: Ditto.
4306 * Makefile.in: Add dependence to libgcov.h
4307
4308 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4309
4310 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4311 case of small numerator and finite nonzero result.
4312
4313 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4314
4315 Update copyright years
4316
4317 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4318
4319 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4320 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4321 config/arc/dp-hack.h, config/arc/fp-hack.h,
4322 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4323 config/arc/ieee-754/arc600-dsp/divdf3.S,
4324 config/arc/ieee-754/arc600-dsp/divsf3.S,
4325 config/arc/ieee-754/arc600-dsp/muldf3.S,
4326 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4327 config/arc/ieee-754/arc600-mul64/divdf3.S,
4328 config/arc/ieee-754/arc600-mul64/divsf3.S,
4329 config/arc/ieee-754/arc600-mul64/muldf3.S,
4330 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4331 config/arc/ieee-754/arc600/divsf3.S,
4332 config/arc/ieee-754/arc600/mulsf3.S,
4333 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4334 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4335 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4336 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4337 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4338 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4339 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4340 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4341 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4342 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4343 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4344 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4345 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4346 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4347 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4348 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4349 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4350 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4351 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4352 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4353 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4354 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4355 vtv_start_preinit.c: Use the standard form for the copyright notice.
4356
4357 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4358 Chung-Lin Tang <cltang@codesourcery.com>
4359 Based on patches from Altera Corporation
4360
4361 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4362 * config/nios2/lib2-nios2.h: New file.
4363 * config/nios2/lib2-divmod-hi.c: New file.
4364 * config/nios2/linux-unwind.h: New file.
4365 * config/nios2/lib2-divmod.c: New file.
4366 * config/nios2/linux-atomic.c: New file.
4367 * config/nios2/t-nios2: New file.
4368 * config/nios2/crti.asm: New file.
4369 * config/nios2/t-linux: New file.
4370 * config/nios2/lib2-divtable.c: New file.
4371 * config/nios2/lib2-mul.c: New file.
4372 * config/nios2/tramp.c: New file.
4373 * config/nios2/crtn.asm: New file.
4374
4375 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
4376
4377 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4378 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4379 from cpuid.h to check vendor signatures.
4380
4381 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4382
4383 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4384 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4385 (get_amd_cpu): Likewise.
4386
4387 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4388
4389 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4390 Haswell.
4391
4392 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4393 H.J. Lu <hongjiu.lu@intel.com>
4394
4395 PR target/59422
4396 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
4397 and AMD_JAGUAR.
4398 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4399 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4400 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4401 FEATURE_XOP and FEATURE_FMA.
4402 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4403 AMDFAM15H_BDVER3.
4404 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
4405 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
4406 FEATURE_FMA4 and FEATURE_XOP.
4407
4408 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4409
4410 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4411 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4412 (get_intel_cpu): Updated.
4413
4414 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4415
4416 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4417
4418 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
4419
4420 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4421 instructions when __SSE_MATH__ is defined.
4422
4423 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4424
4425 * config.host (microblaze-*-rtems*): New.
4426
4427 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4428
4429 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4430 architectures that do not have hardware divide instruction.
4431 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4432
4433 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4434
4435 * longlong.h: Delete (moved to include/).
4436
4437 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4438
4439 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4440 of normal number and qNaN to not raise an inexact exception.
4441
4442 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
4443
4444 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4445
4446 2013-11-28 Matthew Leach <matthew.leach@arm.com>
4447
4448 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4449 for correct opcodes on BE.
4450
4451 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
4452
4453 * soft-fp/op-4.h: Update from glibc.
4454
4455 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4456
4457 * libgcc2.c (__udivmoddi4): Define new implementation when
4458 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4459 divide instructions.
4460
4461 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4462
4463 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4464
4465 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4466
4467 * config/t-softfp (soft-fp-objects-base): New variable.
4468 (soft-fp-objects): Use it.
4469
4470 2013-11-23 David Edelson <dje.gcc@gmail.com>
4471 Andrew Dixie <andrewd@gentrack.com>
4472
4473 PR target/33704
4474 * config/rs6000/aixinitfini.c: New file.
4475 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4476 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4477 symbols.
4478
4479 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4480
4481 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
4482
4483 2013-11-18 Jan Hubicka <jh@suse.cz>
4484
4485 * libgcov-driver.c (run_accounted): Make global level static.
4486 (gcov_exit_merge_summary): Silence warning; do not clear
4487 run_accounted here.
4488 (gcov_exit): Clear it here.
4489
4490 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4491 run_accounted.
4492
4493 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4494 (all_prg, crc32): Remove static vars.
4495 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4496 all_prg.
4497 (gcov_exit_merge_gcda): Add crc32 parameter.
4498 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4499 do not account run if it was already accounted.
4500 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4501 (gcov_exit): Initialize all_prg; update.
4502
4503 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4504
4505 * configure: Regenerate.
4506
4507 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4508 Alan Modra <amodra@gmail.com>
4509
4510 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4511 (frob_update_context): Use it.
4512
4513 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4514 Alan Modra <amodra@gmail.com>
4515
4516 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4517 (trampoline_initial): Provide ELFv2 variant.
4518 (__trampoline_setup): Likewise.
4519
4520 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4521 check for AIX indirect function call sequence if _CALL_ELF == 2.
4522
4523 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4524 Alan Modra <amodra@gmail.com>
4525
4526 * config/rs6000/linux-unwind.h (get_regs): Do not support
4527 old kernel versions if _CALL_ELF == 2.
4528 (frob_update_context): Do not support PLT stub variants only
4529 generated by old linkers if _CALL_ELF == 2.
4530
4531 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4532 Alan Modra <amodra@gmail.com>
4533
4534 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4535 location of CR save area for 64-bit little-endian systems.
4536
4537 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4538
4539 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4540 in tmake_file.
4541 * config/arm/t-vxworks: Delete.
4542
4543 2013-11-10 Kai Tietz <ktietz@redhat.com>
4544
4545 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4546 Increment load-count on use of LIBGCC_SONAME DLL.
4547 (hmod_libgcc): New static variable to hold handle of
4548 LIBGCC_SONAME DLL.
4549 (__gcc_deregister_frame): Decrement load-count of
4550 LIBGCC_SONAME DLL.
4551
4552 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4553
4554 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4555 availability.
4556 * configure: Regenerate
4557
4558 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
4559
4560 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4561 FP_EX_DENORM. Store result to volatile location after SSE division
4562 to close interrupt window. Remove unneeded fwait after x87
4563 division since interrupt window will be closed by emitted fstp.
4564 Rewrite FP_EX_INEXACT handling.
4565
4566 2013-11-06 Joseph Myers <joseph@codesourcery.com>
4567
4568 * soft-fp/README: Update.
4569 * soft-fp/adddf3.c: Update from glibc.
4570 * soft-fp/addsf3.c: Likewise.
4571 * soft-fp/addtf3.c: Likewise.
4572 * soft-fp/divdf3.c: Likewise.
4573 * soft-fp/divsf3.c: Likewise.
4574 * soft-fp/divtf3.c: Likewise.
4575 * soft-fp/double.h: Likewise.
4576 * soft-fp/eqdf2.c: Likewise.
4577 * soft-fp/eqsf2.c: Likewise.
4578 * soft-fp/eqtf2.c: Likewise.
4579 * soft-fp/extenddftf2.c: Likewise.
4580 * soft-fp/extended.h: Likewise.
4581 * soft-fp/extendsfdf2.c: Likewise.
4582 * soft-fp/extendsftf2.c: Likewise.
4583 * soft-fp/extendxftf2.c: Likewise.
4584 * soft-fp/fixdfdi.c: Likewise.
4585 * soft-fp/fixdfsi.c: Likewise.
4586 * soft-fp/fixdfti.c: Likewise.
4587 * soft-fp/fixsfdi.c: Likewise.
4588 * soft-fp/fixsfsi.c: Likewise.
4589 * soft-fp/fixsfti.c: Likewise.
4590 * soft-fp/fixtfdi.c: Likewise.
4591 * soft-fp/fixtfsi.c: Likewise.
4592 * soft-fp/fixtfti.c: Likewise.
4593 * soft-fp/fixunsdfdi.c: Likewise.
4594 * soft-fp/fixunsdfsi.c: Likewise.
4595 * soft-fp/fixunsdfti.c: Likewise.
4596 * soft-fp/fixunssfdi.c: Likewise.
4597 * soft-fp/fixunssfsi.c: Likewise.
4598 * soft-fp/fixunssfti.c: Likewise.
4599 * soft-fp/fixunstfdi.c: Likewise.
4600 * soft-fp/fixunstfsi.c: Likewise.
4601 * soft-fp/fixunstfti.c: Likewise.
4602 * soft-fp/floatdidf.c: Likewise.
4603 * soft-fp/floatdisf.c: Likewise.
4604 * soft-fp/floatditf.c: Likewise.
4605 * soft-fp/floatsidf.c: Likewise.
4606 * soft-fp/floatsisf.c: Likewise.
4607 * soft-fp/floatsitf.c: Likewise.
4608 * soft-fp/floattidf.c: Likewise.
4609 * soft-fp/floattisf.c: Likewise.
4610 * soft-fp/floattitf.c: Likewise.
4611 * soft-fp/floatundidf.c: Likewise.
4612 * soft-fp/floatundisf.c: Likewise.
4613 * soft-fp/floatunditf.c: Likewise.
4614 * soft-fp/floatunsidf.c: Likewise.
4615 * soft-fp/floatunsisf.c: Likewise.
4616 * soft-fp/floatunsitf.c: Likewise.
4617 * soft-fp/floatuntidf.c: Likewise.
4618 * soft-fp/floatuntisf.c: Likewise.
4619 * soft-fp/floatuntitf.c: Likewise.
4620 * soft-fp/gedf2.c: Likewise.
4621 * soft-fp/gesf2.c: Likewise.
4622 * soft-fp/getf2.c: Likewise.
4623 * soft-fp/ledf2.c: Likewise.
4624 * soft-fp/lesf2.c: Likewise.
4625 * soft-fp/letf2.c: Likewise.
4626 * soft-fp/muldf3.c: Likewise.
4627 * soft-fp/mulsf3.c: Likewise.
4628 * soft-fp/multf3.c: Likewise.
4629 * soft-fp/negdf2.c: Likewise.
4630 * soft-fp/negsf2.c: Likewise.
4631 * soft-fp/negtf2.c: Likewise.
4632 * soft-fp/op-1.h: Likewise.
4633 * soft-fp/op-2.h: Likewise.
4634 * soft-fp/op-4.h: Likewise.
4635 * soft-fp/op-8.h: Likewise.
4636 * soft-fp/op-common.h: Likewise.
4637 * soft-fp/quad.h: Likewise.
4638 * soft-fp/single.h: Likewise.
4639 * soft-fp/soft-fp.h: Likewise.
4640 * soft-fp/subdf3.c: Likewise.
4641 * soft-fp/subsf3.c: Likewise.
4642 * soft-fp/subtf3.c: Likewise.
4643 * soft-fp/truncdfsf2.c: Likewise.
4644 * soft-fp/trunctfdf2.c: Likewise.
4645 * soft-fp/trunctfsf2.c: Likewise.
4646 * soft-fp/trunctfxf2.c: Likewise.
4647 * soft-fp/unorddf2.c: Likewise.
4648 * soft-fp/unordsf2.c: Likewise.
4649 * soft-fp/unordtf2.c: Likewise.
4650
4651 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
4652
4653 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4654 (_FP_MUL_MEAT_D): Ditto.
4655 (_FP_DIV_MEAT_S): Ditto.
4656 (_FP_DIV_MEAT_D): Ditto.
4657 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4658 t-softfp-sfdf and t-softfp to tmake_file.
4659
4660 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
4661
4662 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4663 * config/i386/crtprec.c: Ditto.
4664
4665 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4666 Shiva Chen <shiva0217@gmail.com>
4667
4668 * config.host (nds32*-elf*): Add nds32 target.
4669 * config/nds32 : New directory and files.
4670
4671 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
4672
4673 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4674 * config.host (cpu_type) <Setting default>: Add entry for
4675 crisv32-*-*.
4676 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4677 <crisv32-*-linux*>: Adjust.
4678 * longlong.h: Wrap the whole CRIS section in a single
4679 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4680 and sub_ddmmss.
4681 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4682 defined.
4683 [__CRIS__] (__umulsidi3): Define.
4684 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4685 * config/cris/sfp-machine.h: New file.
4686 * config/cris/umulsidi3.S: New file.
4687 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4688 * config/cris/arit.c (SIGNMULT): New macro.
4689 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4690 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4691 saving 3 out of originally 33 cycles from the fastest
4692 path, 3 out of 54 from the medium path and one from the longest
4693 path. Improve comments.
4694
4695 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4696
4697 * sync.c: Remove static aliases and define each function directly
4698 under its real name.
4699
4700 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
4701
4702 * config.host (hppa*64*-*-linux*): Define extra_parts.
4703 (hppa*-*-linux*): Likewise.
4704
4705 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4706
4707 * config/arc/crtgend.S: Add 2013 to Copyright years.
4708 * config/arc/gmon/atomic.h: Likewise.
4709 * config/arc/gmon/auxreg.h: Likewise.
4710 * config/arc/gmon/sys/gmon_out.h: Likewise.
4711 * config/arc/gmon/sys/gmon.h: Likewise.
4712 * config/arc/gmon/prof-freq.c: Likewise.
4713 * config/arc/gmon/mcount.c: Likewise.
4714 * config/arc/gmon/prof-freq-stub.S: Likewise.
4715 * config/arc/gmon/gmon.c: Likewise.
4716 * config/arc/gmon/machine-gmon.h: Likewise.
4717 * config/arc/gmon/profil.S: Likewise.
4718 * config/arc/gmon/dcache_linesz.S: Likewise.
4719 * config/arc/crtg.S: Likewise.
4720 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4721 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4722 * config/arc/ieee-754/adddf3.S: Likewise.
4723 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4724 * config/arc/ieee-754/fixsfsi.S: Likewise.
4725 * config/arc/ieee-754/gtsf2.S: Likewise.
4726 * config/arc/ieee-754/floatsisf.S: Likewise.
4727 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4728 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4729 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4730 * config/arc/ieee-754/fixdfsi.S: Likewise.
4731 * config/arc/ieee-754/addsf3.S: Likewise.
4732 * config/arc/ieee-754/gesf2.S: Likewise.
4733 * config/arc/ieee-754/floatsidf.S: Likewise.
4734 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4735 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4736 * config/arc/ieee-754/gtdf2.S: Likewise.
4737 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4738 * config/arc/ieee-754/uneqdf2.S: Likewise.
4739 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4740 * config/arc/ieee-754/uneqsf2.S: Likewise.
4741 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4742 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4743 * config/arc/ieee-754/eqdf2.S: Likewise.
4744 * config/arc/ieee-754/ordsf2.S: Likewise.
4745 * config/arc/ieee-754/divsf3.S: Likewise.
4746 * config/arc/ieee-754/divdf3.S: Likewise.
4747 * config/arc/ieee-754/floatunsidf.S: Likewise.
4748 * config/arc/ieee-754/orddf2.S: Likewise.
4749 * config/arc/ieee-754/eqsf2.S: Likewise.
4750 * config/arc/ieee-754/gedf2.S: Likewise.
4751 * config/arc/crtn.S: Likewise.
4752 * config/arc/crti.S: Likewise.
4753 * config/arc/t-arc700-uClibc: Likewise.
4754 * config/arc/asm.h: Likewise.
4755 * config/arc/libgcc-excl.ver: Likewise.
4756 * config/arc/t-arc-newlib: Likewise.
4757 * config/arc/divtab-arc700.c: Likewise.
4758 * config/arc/initfini.c: Likewise.
4759 * config/arc/fp-hack.h: Likewise.
4760
4761 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4762 Diego Novillo <dnovillo@google.com>
4763
4764 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
4765 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4766 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4767 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
4768
4769 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4770 Brendan Kehoe <brendan@zen.org>
4771 Simon Cook <simon.cook@embecosm.com>
4772
4773 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4774 * config/arc: New directory.
4775 * longlong.h [__arc__] (umul_ppmm): Remove.
4776 [__arc__] (__umulsidi3): Define.
4777 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4778 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4779
4780 2013-09-17 Jacek Caban <jacek@codeweavers.com>
4781
4782 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4783 CreateSemaphoreA.
4784 * config/i386/gthr-win32.h: Likewise.
4785
4786 2013-09-16 DJ Delorie <dj@redhat.com>
4787
4788 * config/rl78/vregs.h: Add G10 register definitions.
4789 * config/rl78/lib2mul.c: Enable for RL78/G10.
4790 * config/rl78/lib2div.c: Likewise.
4791 * config/rl78/lshrsi3.S: Use vregs.h.
4792 * config/rl78/cmpsi2.S: Likewise.
4793 * config/rl78/trampoline.S: Likewise.
4794 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4795
4796 2013-09-14 DJ Delorie <dj@redhat.com>
4797 Nick Clifton <nickc@redhat.com>
4798
4799 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4800 * config/rl78/vregs.h: New.
4801 * config/rl78/signbit.S: New file. Implements signbit function.
4802 * config/rl78/divmodsi.S: New.
4803 * config/rl78/divmodhi.S: New.
4804 * config/rl78/divmodqi.S: New.
4805 * config/rl78/t-rl78: Build them here...
4806 * config/rl78/lib2div.c: ...but not here.
4807
4808 2013-09-12 DJ Delorie <dj@redhat.com>
4809
4810 * config.host (msp*-*-elf): New.
4811 * config/msp430/: New port.
4812
4813 2013-08-18 Iain Sandoe <iain@codesourcery.com>
4814
4815 PR gcov-profile/58127
4816 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4817 __thread var for emulated TLS.
4818 (__gcov_indirect_call_counters): Likewise.
4819
4820 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
4821 Catherine Moore <clm@codesourcery.com>
4822 Richard Sandiford <rdsandiford@googlemail.com>
4823
4824 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4825 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4826 (CALL_STUB_NO_RET): Likewise.
4827 (CALL_STUB_RET): Likewise.
4828 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4829 __mips16_ret call/return stub symbols.
4830 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4831 to tmake_file.
4832
4833 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4834
4835 * config.host <mips*-*-linux*>: Remove a stray comment.
4836
4837 2013-08-10 Jan Hubicka <jh@suse.cz>
4838
4839 Work around binutils PR14342
4840 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4841 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4842 (L_gcov_indirect_call_profiler_v2): New.
4843
4844 2013-08-06 Jan Hubicka <jh@suse.cz>
4845
4846 * libgcov.c (__gcov_indirect_call_callee,
4847 __gcov_indirect_call_counters): New global vars.
4848 (__gcov_indirect_call_profiler): replace by ...
4849 (__gcov_indirect_call_profiler_v2) ... this one.
4850
4851 2013-08-06 Caroline Tice <cmtice@google.com>
4852
4853 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
4854 vtv_start_preinit.o and vtv_end_preinit.o.
4855 * configure.ac: Add code to check/set enable_vtable_verify.
4856 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
4857 true.
4858 * vtv_start_preinit.c: New file.
4859 * vtv_end_preinit.c: New file.
4860 * vtv_start.c: New file.
4861 * vtv_end.c: New file.
4862 * configure: Regenerated.
4863
4864 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
4865
4866 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4867 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4868 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4869 GPL-3.0-with-GCC-exception.
4870
4871 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
4872
4873 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4874 ISA and up.
4875
4876 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4877
4878 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4879 mapping for FPRs when creating the fallback framestate.
4880
4881 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
4882
4883 PR target/57516
4884 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4885 (__round_s2_const, __round_u2_const)
4886 (__round_s4_const, __round_u4_const, __round_x8):
4887 Saturate result if addition result cannot be represented.
4888
4889 2013-07-15 Matthias Klose <doko@ubuntu.com>
4890
4891 * libgcc2.c: Don't include <limits.h>.
4892
4893 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
4894
4895 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4896
4897 2013-07-06 Jakub Jelinek <jakub@redhat.com>
4898
4899 PR target/29776
4900 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4901
4902 2013-06-28 Jakub Jelinek <jakub@redhat.com>
4903
4904 PR middle-end/36041
4905 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4906 Define.
4907 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4908 instead of table lookups.
4909 (__popcountDI2): Likewise.
4910
4911 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
4912
4913 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4914 correctly.
4915
4916 2013-06-21 Joseph Myers <joseph@codesourcery.com>
4917
4918 PR other/53317
4919 * soft-fp/adddf3.c: Update from glibc.
4920 * soft-fp/addsf3.c: Likewise.
4921 * soft-fp/addtf3.c: Likewise.
4922 * soft-fp/divdf3.c: Likewise.
4923 * soft-fp/divsf3.c: Likewise.
4924 * soft-fp/divtf3.c: Likewise.
4925 * soft-fp/double.h: Likewise.
4926 * soft-fp/eqdf2.c: Likewise.
4927 * soft-fp/eqsf2.c: Likewise.
4928 * soft-fp/eqtf2.c: Likewise.
4929 * soft-fp/extenddftf2.c: Likewise.
4930 * soft-fp/extended.h: Likewise.
4931 * soft-fp/extendsfdf2.c: Likewise.
4932 * soft-fp/extendsftf2.c: Likewise.
4933 * soft-fp/fixdfdi.c: Likewise.
4934 * soft-fp/fixdfsi.c: Likewise.
4935 * soft-fp/fixsfdi.c: Likewise.
4936 * soft-fp/fixsfsi.c: Likewise.
4937 * soft-fp/fixtfdi.c: Likewise.
4938 * soft-fp/fixtfsi.c: Likewise.
4939 * soft-fp/fixunsdfdi.c: Likewise.
4940 * soft-fp/fixunsdfsi.c: Likewise.
4941 * soft-fp/fixunssfdi.c: Likewise.
4942 * soft-fp/fixunssfsi.c: Likewise.
4943 * soft-fp/fixunstfdi.c: Likewise.
4944 * soft-fp/fixunstfsi.c: Likewise.
4945 * soft-fp/floatdidf.c: Likewise.
4946 * soft-fp/floatdisf.c: Likewise.
4947 * soft-fp/floatditf.c: Likewise.
4948 * soft-fp/floatsidf.c: Likewise.
4949 * soft-fp/floatsisf.c: Likewise.
4950 * soft-fp/floatsitf.c: Likewise.
4951 * soft-fp/floatundidf.c: Likewise.
4952 * soft-fp/floatundisf.c: Likewise.
4953 * soft-fp/floatunditf.c: Likewise.
4954 * soft-fp/floatunsidf.c: Likewise.
4955 * soft-fp/floatunsisf.c: Likewise.
4956 * soft-fp/floatunsitf.c: Likewise.
4957 * soft-fp/gedf2.c: Likewise.
4958 * soft-fp/gesf2.c: Likewise.
4959 * soft-fp/getf2.c: Likewise.
4960 * soft-fp/ledf2.c: Likewise.
4961 * soft-fp/lesf2.c: Likewise.
4962 * soft-fp/letf2.c: Likewise.
4963 * soft-fp/muldf3.c: Likewise.
4964 * soft-fp/mulsf3.c: Likewise.
4965 * soft-fp/multf3.c: Likewise.
4966 * soft-fp/negdf2.c: Likewise.
4967 * soft-fp/negsf2.c: Likewise.
4968 * soft-fp/negtf2.c: Likewise.
4969 * soft-fp/op-1.h: Likewise.
4970 * soft-fp/op-2.h: Likewise.
4971 * soft-fp/op-4.h: Likewise.
4972 * soft-fp/op-8.h: Likewise.
4973 * soft-fp/op-common.h: Likewise.
4974 * soft-fp/quad.h: Likewise.
4975 * soft-fp/single.h: Likewise.
4976 * soft-fp/soft-fp.h: Likewise.
4977 * soft-fp/subdf3.c: Likewise.
4978 * soft-fp/subsf3.c: Likewise.
4979 * soft-fp/subtf3.c: Likewise.
4980 * soft-fp/truncdfsf2.c: Likewise.
4981 * soft-fp/trunctfdf2.c: Likewise.
4982 * soft-fp/trunctfsf2.c: Likewise.
4983 * soft-fp/unorddf2.c: Likewise.
4984 * soft-fp/unordsf2.c: Likewise.
4985 * soft-fp/unordtf2.c: Likewise.
4986 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4987 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4988 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4989 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4990 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4991 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4992 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4993 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4994 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4995 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4996 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4997 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4998
4999 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5000
5001 * config/mips/lib2funcs.c: New file.
5002 * config/mips/t-mips (LIB2ADD_ST): Add it.
5003
5004 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5005
5006 PR target/6526
5007 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5008 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5009
5010 2013-06-08 Walter Lee <walt@tilera.com>
5011
5012 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5013 Replace int64_t with long long. Add __extension__ where
5014 appropriate.
5015 * config/tilepro/atomic.c: Include config.h.
5016
5017 2013-06-06 Douglas B Rupp <rupp@adacore.com>
5018
5019 * config.host (arm-wrs-vxworks): Configure with other soft float.
5020
5021 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5022
5023 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5024 (mips64r5900el-*-elf*): New configurations.
5025
5026 2013-06-04 Alan Modra <amodra@gmail.com>
5027
5028 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5029
5030 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5031
5032 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5033
5034 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5035
5036 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5037 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5038 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5039
5040 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5041
5042 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5043 (powerpc-wrs-vxworks): Likewise.
5044
5045 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5046
5047 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5048 signal frames as well.
5049 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5050 STACK_BIAS to the CFA offset.
5051
5052 2013-05-17 Richard Henderson <rth@redhat.com>
5053
5054 PR target/49146
5055 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5056 (execute_cfa_program): Use it when storing to fs->regs.
5057
5058 2013-05-08 Kai Tietz <ktietz@redhat.com>
5059
5060 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5061 (__deregister_frame_info): Likewise.
5062
5063 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5064
5065 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5066 NaN's payload.
5067
5068 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5069
5070 2013-04-25 Alan Modra <amodra@gmail.com>
5071
5072 * config.host: Match little-endian powerpc-linux.
5073
5074 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5075
5076 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5077 as 'unsigned long long' instead of 'unsigned long'.
5078 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5079 'signed long'.
5080
5081 2013-04-10 Julian Brown <julian@codesourcery.com>
5082
5083 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5084 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5085 unsigned char/unsigned short.
5086 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5087
5088 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5089
5090 PR other/55274
5091 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5092
5093 2013-04-04 Meador Inge <meadori@codesourcery.com>
5094
5095 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5096 computing the location of the link register.
5097 (aeabi_uldivmod): Ditto.
5098
5099 2013-03-27 Kai Tietz <ktietz@redhat.com>
5100
5101 * config.host: Add support for cygwin x64 target.
5102 * configure: Regenerated.
5103
5104 2013-03-26 Walter Lee <walt@tilera.com>
5105
5106 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5107 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5108
5109 2013-03-25 Kai Tietz <ktietz@redhat.com>
5110
5111 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5112
5113 2013-03-20 Robert Mason <rbmj@verizon.net>
5114
5115 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5116 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5117 (__gthread_leave_tsd_dtor_context): Add prototypes.
5118 (tls_delete_hook): Update.
5119
5120 2013-03-20 Catherine Moore <clm@codesourcery.com>
5121 Joseph Myers <joseph@codesourcery.com>
5122 Chao-ying Fu <fu@mips.com>
5123
5124 * config/mips/mips16.S: Don't build for microMIPS.
5125 * config/mips/linux-unwind.h: Handle microMIPS frame.
5126 * config/mips/crtn.S (fini, init): New labels.
5127
5128 2013-03-14 Jakub Jelinek <jakub@redhat.com>
5129
5130 PR tree-optimization/53265
5131 * unwind-dw2.c (execute_cfa_program): Avoid
5132 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5133 on targets with DWARF_FRAME_REGISTERS < 32.
5134
5135 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5136
5137 PR target/49880
5138 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5139 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5140
5141 2013-03-07 Sriraman Tallam <tmsriram@google.com>
5142
5143 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5144 sandybridge processors.
5145
5146 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5147
5148 PR target/56529
5149 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5150 inclusion list.
5151
5152 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5153
5154 * config/microblaze/crti.S: Setup stack protection at entry
5155
5156 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
5157
5158 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5159 (__rotldi3): Shift bytewise if applicable.
5160
5161 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5162
5163 * config/aarch64/sync-cache.c
5164 (__aarch64_sync_cache_range): Silence warnings.
5165
5166 2013-02-25 Catherine Moore <clm@codesourcery.com>
5167
5168 Revert:
5169 2013-02-24 Catherine Moore <clm@codesourcery.com>
5170 Joseph Myers <joseph@codesourcery.com>
5171 Chao-ying Fu <fu@mips.com>
5172
5173 * config/mips/mips16.S: Don't build for microMIPS.
5174 * config/mips/linux-unwind.h: Handle microMIPS frame.
5175 * config/mips/crtn.S (fini, init): New labels.
5176
5177 2013-02-24 Catherine Moore <clm@codesourcery.com>
5178 Joseph Myers <joseph@codesourcery.com>
5179 Chao-ying Fu <fu@mips.com>
5180
5181 * config/mips/mips16.S: Don't build for microMIPS.
5182 * config/mips/linux-unwind.h: Handle microMIPS frame.
5183 * config/mips/crtn.S (fini, init): New labels.
5184
5185 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5186 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
5187 as dividend.
5188
5189 2013-02-16 Alan Modra <amodra@gmail.com>
5190
5191 PR target/55431
5192 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5193 (ppc_fallback_frame_state): Always set up save locations for fp
5194 and altivec. Don't bother with non-callee-saved regs, r0-r13
5195 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5196
5197 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
5198
5199 PR target/54222
5200 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5201 _ssmulHA, _ssmulSA.
5202 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5203 _ssmulha3, _usmulusa3, _ssmulsa3.
5204 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5205 (__muldi3): XCALL __muldi3_6 instead of rcall.
5206 (__umulsidi3, __mulsidi3): New functions.
5207 (do_prologue_saves, do_epilogue_restores): New .macros.
5208 (__divdi3_moddi3): Use them.
5209 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5210 (__usmulusa3, __ssmulsa3): New functions.
5211
5212 2013-02-11 Iain Sandoe <iain@codesourcery.com>
5213 Jack Howarth <howarth@bromo.med.uc.edu>
5214 Patrick Marlier <patrick.marlier@gmail.com>
5215
5216 PR libitm/55693
5217 * config/darwin-crt-tm.c: Remove dummy functions hack.
5218
5219 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
5220
5221 PR target/54222
5222 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5223 * config/avr/lib2-object.mk: New iterator to build objects from it.
5224 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5225 lib2funcs.c.
5226 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5227 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5228 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5229 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5230 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5231 * config/avr/lib1funcs-fixed.S: Implement them.
5232
5233 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5234
5235 Update copyright years.
5236
5237 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
5238
5239 PR target/54601
5240 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5241 Add crtcxa to extra_parts.
5242 * config/rs6000/exit.h: New file.
5243 * config/rs6000/cxa_atexit.c: New file.
5244 * config/rs6000/cxa_finalize.c: New file.
5245 * config/rs6000/crtcxa.c: New file.
5246 * config/rs6000/t-aix-cxa: New file.
5247 * config/rs6000/libgcc-aix-cxa.ver: New file.
5248
5249 2013-01-31 Nick Clifton <nickc@redhat.com>
5250
5251 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5252 variant.
5253
5254 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
5255
5256 PR target/54222
5257 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5258 _mulQQ, _mulHQ, _mulHA, _mulSA,
5259 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5260 _divQQ, _divHQ, _divHA, _divSA,
5261 _divUQQ, _divUHQ, _divUHA, _divUSA.
5262
5263 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
5264
5265 * config.host(microblaze*-linux*): tmake_file: Remove
5266 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5267 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5268 to exclude functions from being built with libgcc.c and use
5269 the microblaze assembly.
5270
5271 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5272
5273 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5274 extra_parts.
5275
5276 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5277
5278 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5279 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5280 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5281 alignment operation.
5282
5283 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5284
5285 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5286 loop start address for cache clearing.
5287
5288 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5289
5290 * config/avr/lib1funcs.S: Remove trailing blanks.
5291 * config/avr/lib1funcs-fixed.S: Ditto.
5292
5293 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5294
5295 * config/avr/avr-lib.h: Add GPL copyright notice.
5296
5297 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5298
5299 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5300 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5301 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5302 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5303
5304 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
5305
5306 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5307 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
5308
5309 2013-01-04 Nick Clifton <nickc@redhat.com>
5310
5311 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5312 the CALLT instruction is supported.
5313
5314 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5315
5316 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5317 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5318
5319 2012-12-13 John Tytgat <John@bass-software.com>
5320
5321 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5322 is 25.
5323
5324 2012-12-12 Jakub Jelinek <jakub@redhat.com>
5325
5326 PR libgcc/55451
5327 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5328 undefined signed overflows.
5329
5330 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
5331
5332 PR target/55344
5333 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5334
5335 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
5336
5337 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5338 (FP_TRAPPING_EXCEPTIONS): Define.
5339 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5340 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5341
5342 2012-12-04 Richard Henderson <rth@redhat.com>
5343
5344 PR bootstrap/55571
5345 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5346
5347 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5348
5349 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5350 (FP_EX_SHIFT): Define.
5351 (FP_TRAPPING_EXCEPTIONS): Define.
5352
5353 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5354
5355 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5356 (FP_ROUNDMODE): Use FP_RND_MASK.
5357 * config/aarch64/sfp-exceptions.c: New.
5358 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5359 Use __sfp_handle_exceptions.
5360
5361 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
5362
5363 * config.host: (arm*-*-freebsd*): Remove.
5364 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5365 (arm*-*-elf*): Remove.
5366 (arm*-*-wince-pe*): Remove.
5367 * arm/unwind-arm.c (struct fpa_reg): Delete.
5368 (struct fpa_regs): Delete.
5369 (phase1_vrs): Remove fpa element.
5370 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5371 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5372 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5373 * ieee754-sf.S (floatundisf): Remove FPA support.
5374 (floatdisf): Likewise.
5375 * ieee75f-df.S (floatundidf): Likewise.
5376 (floatdidf): Likewise.
5377
5378 2012-11-29 Kai Tietz <ktietz@redhat.com>
5379
5380 PR target/55445
5381 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5382 * unwind-generic.h: Likewise.
5383 * unwind-seh.c: Likewise.
5384
5385 2012-11-28 Richard Henderson <rth@redhat.com>
5386
5387 PR libgcc/48076
5388 * emutls.c (__emutls_get_address): Avoid race condition between
5389 obj->loc.offset read and emutls_key initialization.
5390
5391 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
5392
5393 Adjust decimal point of signed accum mode to GCC default.
5394
5395 PR target/54222
5396 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5397 _divqq_helper.
5398 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5399 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5400 (__mulha3, __mulsa3)
5401 (__divqq3, __divha3, __divsa3): Adjust to new position of
5402 decimal point of signed accum types.
5403
5404 (__mulusa3_round): New function.
5405 (__mulusa3): Use it.
5406 (__divqq_helper): New function.
5407 (__udivuqq3): Use it.
5408
5409 2012-11-20 Jakub Jelinek <jakub@redhat.com>
5410
5411 PR bootstrap/55370
5412 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5413
5414 2012-11-18 Teresa Johnson <tejohnson@google.com>
5415
5416 PR bootstrap/55051
5417 * libgcov.c (gcov_exit): Remove merged program summary
5418 comparison unless !GCOV_LOCKED.
5419
5420 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
5421
5422 * soft-fp: Updated from glibc upstream.
5423
5424 2012-11-06 Ian Lance Taylor <iant@google.com>
5425
5426 * generic-morestack.c (__generic_morestack): Align the returned
5427 stack pointer to a 32 byte boundary.
5428 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5429 increment the return address until we have decided that we don't
5430 have a varargs function.
5431 (__morestack) [32-bit]: Align stack correctly when calling C
5432 functions.
5433 (__morestack) [64-bit]: Likewise.
5434
5435 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5436
5437 * configure: Regenerate.
5438
5439 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
5440
5441 PR target/55175
5442 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5443 * config/i386/sfp-machine.h: Guard exception handling
5444 code with _SOFT_FLOAT.
5445 * config/i386/32/sfp-machine.h: Guard rounding handling
5446 code with _SOFT_FLOAT.
5447 * config/i386/64/sfp-machine.h: Ditto.
5448
5449 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5450
5451 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5452 as extra_parts.
5453
5454 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
5455
5456 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5457 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5458 when appropriate. Correct structure element types.
5459 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5460 -minline-all-stringops from compile flags.
5461
5462 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5463
5464 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5465
5466 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5467
5468 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
5469
5470 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5471
5472 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5473 tmake_file.
5474
5475 2012-10-23 Ian Bolton <ian.bolton@arm.com>
5476 Jim MacArthur <jim.macarthur@arm.com>
5477 Marcus Shawcroft <marcus.shawcroft@arm.com>
5478 Nigel Stephens <nigel.stephens@arm.com>
5479 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5480 Richard Earnshaw <rearnsha@arm.com>
5481 Sofiane Naci <sofiane.naci@arm.com>
5482 Stephen Thomas <stephen.thomas@arm.com>
5483 Tejas Belagod <tejas.belagod@arm.com>
5484 Yufeng Zhang <yufeng.zhang@arm.com>
5485
5486 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5487 * config/aarch64/crti.S: New file.
5488 * config/aarch64/crtn.S: New file.
5489 * config/aarch64/linux-unwind.h: New file.
5490 * config/aarch64/sfp-machine.h: New file.
5491 * config/aarch64/sync-cache.c: New file.
5492 * config/aarch64/t-aarch64: New file.
5493 * config/aarch64/t-softfp: New file.
5494
5495 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5496
5497 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5498 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5499 no-longer-needed LDBU insns.
5500
5501 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
5502
5503 * config.host
5504 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5505 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5506
5507 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5508
5509 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5510
5511 2012-10-15 Matthias Klose <doko@ubuntu.com>
5512
5513 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5514
5515 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5516
5517 * configure: Regenerate.
5518 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5519
5520 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5521
5522 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5523 instructions for 64bit targets only.
5524
5525 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5526
5527 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5528 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5529 * config/i386/32/sfp-machine.h: ... here.
5530 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5531 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5532 New defines.
5533
5534 2012-10-07 Matthias Klose <doko@ubuntu.com>
5535
5536 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5537 as unused.
5538 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5539
5540 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
5541
5542 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5543 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5544 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5545 (ElfW): Likewise.
5546
5547 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5548
5549 PR other/53889
5550 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5551 Fix parameter names.
5552
5553 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5554
5555 PR target/33135
5556 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5557 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5558 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5559
5560 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5561
5562 PR target/50457
5563 * config/sh/linux-atomic.S: Delete.
5564 * config/sh/linux-atomic.c: New.
5565 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5566 linux-atomic.c. Add cflags to disable warnings.
5567
5568 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5569
5570 PR other/53889
5571 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5572 function.
5573 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5574 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5575 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5576 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5577 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5578 Likewise.
5579 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5580 Likewise.
5581 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5582 Likewise.
5583 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5584 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5585
5586 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
5587
5588 * config.host (hppa-*-openbsd*): New target.
5589 * config/pa/t-openbsd: New file.
5590
5591 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
5592
5593 PR target/54222
5594 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5595 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5596 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5597 (__divsa3): Use __negsi2 to negate r_quoL.
5598 * config/avr/lib1funcs.S (FALIAS): New macro.
5599 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5600 (__negsi2): ...this new function.
5601 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5602 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5603 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5604 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5605 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5606 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5607
5608 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5609
5610 PR target/54089
5611 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5612 (lshrsi3): Reimplement as lshrsi3_r0.
5613
5614 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5615
5616 PR target/46191
5617 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5618 of libgcc.a.
5619
5620 2012-09-07 Teresa Johnson <tejohnson@google.com>
5621
5622 PR gcov-profile/54487
5623 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
5624 differences.
5625
5626 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
5627
5628 PR target/54461
5629 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5630 not configured --with-avrlibc=no.
5631 * config/avr/t-avrlibc: New file.
5632 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5633 (DPBIT_FUNCS): Ditto.
5634 (TPBIT_FUNCS): Ditto.
5635
5636 2012-09-04 Teresa Johnson <tejohnson@google.com>
5637
5638 * libgcov.c (struct gcov_summary_buffer): New structure.
5639 (gcov_histogram_insert): New function.
5640 (gcov_compute_histogram): Ditto.
5641 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5642 histograms during summary merging.
5643
5644 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
5645
5646 * config.host (x86_64-*-openbsd*): New target.
5647
5648 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5649
5650 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5651 attribute.
5652
5653 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5654
5655 PR target/54222
5656 * config/avr/t-avr (conv_X): Rename to func_X.
5657
5658 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5659
5660 PR target/54222
5661 * config/avr/lib1funcs-fixed.S: New file.
5662 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5663 after they are used.
5664 (neg2, neg4): New macros.
5665 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5666 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5667 (__umulhisi3): Speed up MUL variant if there is enough flash.
5668 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5669 avr-modes.def.
5670 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5671 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5672 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5673 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5674 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5675 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5676 (LIB2FUNCS_EXCLUDE): Add supported functions.
5677
5678 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
5679
5680 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5681 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5682 libgcc-s-objects.
5683 * fixed-obj.mk: Only expand dependency if $o is not in
5684 LIB2FUNCS_EXCLUDE.
5685
5686 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5687
5688 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5689
5690 2012-08-22 Joseph Myers <joseph@codesourcery.com>
5691
5692 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5693 depend on --enable-shared.
5694 ($(lib1asmfuncs-o)): Use %.vis files independent of
5695 --enable-shared.
5696 * static-object.mk ($(base)$(objext), $(base).vis)
5697 ($(base)_s$(objext)): Use same rules for visibility handling as in
5698 shared-object.mk.
5699
5700 2012-08-21 Ian Lance Taylor <iant@google.com>
5701
5702 * config/i386/morestack.S (__morestack_non_split): Increase amount
5703 of space allocated for non-split code stack.
5704
5705 2012-08-19 Joseph Myers <joseph@codesourcery.com>
5706
5707 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5708 even if inhibit_libc.
5709
5710 2012-08-17 Julian Brown <julian@codesourcery.com>
5711
5712 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5713 -fexceptions -fnon-call-exceptions if not defined.
5714 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5715 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5716
5717 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5718
5719 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5720 type.
5721
5722 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
5723
5724 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5725 rs6000/t-slibgcc-aix.
5726
5727 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5728
5729 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5730
5731 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5732
5733 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5734
5735 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5736
5737 PR driver/54171
5738 * Makefile.in (version): Replace top_srcdir with srcdir.
5739
5740 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5741
5742 * Makefile.in (version): set to BASE-VER file from gcc directory.
5743
5744 2012-08-01 Nick Clifton <nickc@redhat.com>
5745
5746 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5747 Implements __clrsb for an HImode argument.
5748
5749 2012-07-31 Nick Clifton <nickc@redhat.com>
5750
5751 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5752 Implements __clrsb for an HImode argument.
5753 * config/stormy16/clrsbhi2.c: New file:
5754 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5755
5756 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5757
5758 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5759
5760 2012-07-19 Tristan Gingold <gingold@adacore.com>
5761 Richard Henderson <rth@redhat.com>
5762
5763 * unwind-seh.c: New file.
5764 * unwind-generic.h: Include windows.h for SEH.
5765 (_Unwind_Exception): Use 6 private fields for SEH.
5766 (_GCC_specific_handler): Declare.
5767 * unwind-c.c (__gcc_personality_seh0): New function.
5768 Adjust for SEH.
5769 * config/i386/libgcc-cygming.ver: New file.
5770 * config/i386/t-seh-eh: New file.
5771 * config.host (x86_64-*-mingw*): Default to seh.
5772
5773 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5774
5775 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5776
5777 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
5778
5779 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5780 __builtin_expect when checking for exceptions.
5781 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5782
5783 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5784
5785 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5786 function declaration.
5787 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5788 (FP_RND_MASK): New.
5789 * config/ia64/sfp-exceptions.c: New.
5790 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
5791
5792 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5793
5794 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5795 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5796 * config/i386/64/sfp-machine: ... (delete here) ...
5797 * config/i386/sfp-machine.h: ... to here.
5798 (FP_EX_MASK): Remove.
5799 (FP_RND_MASK): New.
5800 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5801
5802 2012-06-11 Sriraman Tallam <tmsriram@google.com>
5803
5804 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5805 * config/i386/libgcc-sol2.ver: Ditto.
5806 * config/i386/libgcc-glibc.ver: Ditto.
5807
5808 2012-06-11 Roland McGrath <mcgrathr@google.com>
5809
5810 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5811 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5812 pthread_cancel.
5813
5814 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
5815
5816 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5817 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5818 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5819 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5820 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5821 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5822 * config/i386/64/sfp-machine: ... (delete here) ...
5823 * config/i386/sfp-machine.h: ... to here.
5824 (FP_EX_MASK): New.
5825 (__sfp_handle_exceptions): New function declaration.
5826 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5827 * config/i386/sfp-exceptions.c: New.
5828 * config/i386/t-softfp: New.
5829 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5830 i386/t-softfp to tmake_file.
5831
5832 2012-06-03 David S. Miller <davem@davemloft.net>
5833
5834 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5835 change.
5836
5837 2012-05-31 David S. Miller <davem@davemloft.net>
5838
5839 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5840 multiply and divide instructions on 32-bit when V9.
5841 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5842
5843 2012-05-29 Joseph Myers <joseph@codesourcery.com>
5844
5845 * config/arm/ieee754-df.S: Fix typos.
5846 * config/arm/ieee754-sf.S: Fix typos.
5847 * config/c6x/libunwind.S: Fix typos.
5848 * config/epiphany/udivsi3-float.c: Fix typos.
5849 * config/microblaze/muldi3_hard.S: Fix typos.
5850 * config/picochip/adddi3.S: Fix typos.
5851 * config/picochip/ashlsi3.S: Fix typos.
5852 * config/picochip/ashrsi3.S: Fix typos.
5853 * config/picochip/clzsi2.S: Fix typos.
5854 * config/picochip/cmpsi2.S: Fix typos.
5855 * config/picochip/divmod15.S: Fix typos.
5856 * config/picochip/divmodhi4.S: Fix typos.
5857 * config/picochip/divmodsi4.S: Fix typos.
5858 * config/picochip/longjmp.S: Fix typos.
5859 * config/picochip/lshrsi3.S: Fix typos.
5860 * config/picochip/parityhi2.S: Fix typos.
5861 * config/picochip/popcounthi2.S: Fix typos.
5862 * config/picochip/setjmp.S: Fix typos.
5863 * config/picochip/subdi3.S: Fix typos.
5864 * config/picochip/ucmpsi2.S: Fix typos.
5865 * config/picochip/udivmodhi4.S: Fix typos.
5866 * config/picochip/udivmodsi4.S: Fix typos.
5867 * config/spu/divv2df3.c: Fix typos.
5868 * config/spu/mfc_multi_tag_release.c: Fix typos.
5869 * config/spu/mfc_tag_release.c: Fix typos.
5870 * configure.ac: Fix typos.
5871 * configure: Regenerate.
5872
5873 2012-05-25 Ian Lance Taylor <iant@google.com>
5874
5875 * config/i386/morestack.S (__morestack_non_split): Check whether
5876 caller is varargs and needs %bp to hold the stack frame on return.
5877
5878 2012-05-25 Olivier Hainque <hainque@adacore.com>
5879
5880 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5881 sequence in the non pic case on VxWorks.
5882
5883 2012-05-24 Olivier Hainque <hainque@adacore.com>
5884
5885 * Makefile.in: Move dependency on install-unwind_h from
5886 "install-leaf" to "install".
5887
5888 2012-05-24 Olivier Hainque <hainque@adacore.com>
5889
5890 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5891 Use a separate command for stamp removals.
5892
5893 2012-05-21 Andrew Pinski <apinski@cavium.com>
5894
5895 PR bootstrap/53183
5896 * configure.ac: Define the default includes to being none.
5897 * configure: Regenerate.
5898
5899 2012-05-16 Olivier Hainque <hainque@adacore.com>
5900
5901 * Makefile.in (install-unwind_h): Rename into ...
5902 (install-unwind_h-forbuild): New target.
5903 (all): Use it instead of the former install-unwind_h.
5904 (install-unwind_h): Reinstate, copy to user install destination
5905 for include files, not to the internal gcc object directory one.
5906 (install-leaf): Depend on it.
5907
5908 2012-05-15 Olivier Hainque <hainque@adacore.com>
5909
5910 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5911 register numbers. LR_REGNO replaces R_LR.
5912 (ucontext_for): New, helper for ...
5913 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5914 and 5.3 of ...
5915 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5916
5917 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5918
5919 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5920 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5921 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5922 i386/t-cpuinfo ...
5923 (i[34567]86-*-*, x86_64-*-*): ... here.
5924
5925 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5926 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5927
5928 * config/i386/i386-cpuinfo.c: Rename to ...
5929 * config/i386/cpuinfo.c: ... this.
5930 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5931
5932 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5933 (libgcc_cv_init_priority): New test.
5934 * configure: Regenerate.
5935 * config.in: New file.
5936 * Makefile.in (clean): Rename config.h to auto-target.h.
5937 (config.h): Likewise.
5938 (stamp-h): Likewise.
5939
5940 * config/i386/cpuinfo.c (auto-target.h): Include.
5941 (CONSTRUCTOR_PRIORITY): Define.
5942 (__cpu_indicator_init): Use it.
5943
5944 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5945
5946 * longlong.h: Use a URL instead of an FSF postal address.
5947 Replace spaces with tab.
5948
5949 2012-05-08 Teresa Johnson <tejohnson@google.com>
5950
5951 * libgcov.c (gcov_clear, __gcov_reset): New functions.
5952 (__gcov_dump): Ditto.
5953 (gcov_dump_complete): New global variable.
5954 (gcov_exit): Export hidden to enable use in L_gcov_dump.
5955 (__gcov_flush): Outline functionality now in gcov_clear.
5956 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5957
5958 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
5959
5960 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5961 (mips*-*-linux*): Include mips/t-tpbit when long double is
5962 16 bytes long.
5963
5964 2012-04-25 Sriraman Tallam <tmsriram@google.com>
5965
5966 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5967 (get_available_features): New argument. Check for AVX2.
5968 (__cpu_indicator_init): Modify call to get_available_features.
5969
5970 2012-04-25 Alan Modra <amodra@gmail.com>
5971
5972 * config/rs6000/crtsavevr.S: New file.
5973 * config/rs6000/crtrestvr.S: New file.
5974 * config/rs6000/t-savresfgpr: Build the above.
5975 * config/rs6000/t-netbsd: Likewise.
5976
5977 2012-04-24 Sriraman Tallam <tmsriram@google.com>
5978
5979 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5980
5981 2012-04-24 Sriraman Tallam <tmsriram@google.com>
5982
5983 * libgcc/config/i386/i386-cpuinfo.c: New file.
5984 * libgcc/config/i386/t-cpuinfo: New file.
5985 * libgcc/config.host: Include t-cpuinfo.
5986 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5987
5988 2012-04-24 Chao-ying Fu <fu@mips.com>
5989
5990 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5991
5992 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
5993
5994 struct siginfo vs. siginfo_t
5995
5996 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5997 siginfo_t instead of struct siginfo.
5998 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5999 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6000 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6001 (ia64_handle_unwabi): Likewise.
6002 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6003 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6004 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6005 (sh_fallback_frame_state): Likewise.
6006 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6007 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6008
6009 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6010
6011 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6012 system call number.
6013
6014 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6015
6016 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6017 if it hasn't been previously saved.
6018
6019 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6020
6021 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6022 only for glibc.
6023
6024 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
6025
6026 PR target/52737
6027 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6028 instead of __AVR_HAVE_8BIT_SP__.
6029
6030 2012-03-26 Tristan Gingold <gingold@adacore.com>
6031
6032 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6033 (unw_table_entry): Use unw_word instead of unsigned long.
6034 (_Unwind_FindTableEntry): Likewise.
6035 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6036 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6037 (_Unwind_FindTableEntry): Likewise.
6038 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6039 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6040 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6041 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6042 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6043 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6044 (uw_init_context_1, uw_install_context): Likewise.
6045 (unw_word): Move to unwind-ia64.h
6046
6047 2012-03-26 Tristan Gingold <gingold@adacore.com>
6048
6049 * config/vms/vms-ucrt0.c: Update copyright years.
6050 Add a sanity check.
6051 (___gcc_main_flags): Declare.
6052 (__main): Check flags to remap argv and exit code.
6053 * config.host (*-*-*vms*): Adjust extra_parts.
6054 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6055 (crt0.o): Add.
6056
6057 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
6058
6059 * arm/lib1funcs.asm (ctzsi2): New function.
6060 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6061 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6062 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6063 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6064 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6065 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6066
6067 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
6068
6069 * config.host: Add bits to support powerpc64-*-freebsd*.
6070 * config/rs6000/freebsd-unwind.h: New file.
6071 * config/rs6000/t-freebsd64: New file.
6072
6073 2012-03-20 Richard Guenther <rguenther@suse.de>
6074
6075 PR gcov-profile/52627
6076 * libgcov.c (init_mx): Fix mutex name.
6077
6078 2012-03-16 Tristan Gingold <gingold@adacore.com>
6079
6080 * config/ia64/vms-unwind.h: Remove ulong (and replace
6081 it by unw_reg where used). Define unw_reg with __int64.
6082
6083 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6084
6085 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6086 Solaris 8 handling.
6087 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6088 Solaris 8 handling.
6089 (sparc_is_sighandler): Likewise.
6090
6091 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6092
6093 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6094 <= saved reg size.
6095
6096 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6097
6098 * config/arm/crtn.S: Fix typo.
6099
6100 2012-03-13 Richard Guenther <rguenther@suse.de>
6101
6102 * libgcov.c: Remove stdio.h include and NULL un-define.
6103
6104 2012-03-13 Richard Guenther <rguenther@suse.de>
6105
6106 PR target/52569
6107 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6108
6109 2012-03-13 Richard Guenther <rguenther@suse.de>
6110
6111 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6112
6113 2012-03-13 Richard Guenther <rguenther@suse.de>
6114
6115 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6116 and __gthread_mutex_init_function definitions.
6117
6118 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6119
6120 * config.host (mips*-*-openbsd*): Remove.
6121
6122 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6123
6124 * config.host: Remove alpha*-dec-osf5.1* handling.
6125 * config/alpha/gthr-posix.c: Remove.
6126 * config/alpha/libgcc-osf5.ver: Remove.
6127 * config/alpha/osf5-unwind.h: Remove.
6128 * config/alpha/t-osf-pthread: Remove.
6129 * config/alpha/t-slibgcc-osf: Remove.
6130 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6131 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6132 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6133 * mkmap-flat.awk: Remove osf_export handling.
6134
6135 2012-03-12 Richard Guenther <rguenther@suse.de>
6136
6137 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6138 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6139 (__gthread_mutex_init_function): New function.
6140 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6141
6142 PR gcov/49484
6143 * libgcov.c: Include gthr.h.
6144 (__gcov_flush_mx): New global variable.
6145 (init_mx, init_mx_once): New functions.
6146 (__gcov_flush): Protect self with a mutex.
6147 (__gcov_fork): Re-initialize mutex after forking.
6148 * unwind-dw2-fde.c: Change condition under which to use
6149 __GTHREAD_MUTEX_INIT_FUNCTION.
6150
6151 2012-03-12 Tristan Gingold <gingold@adacore.com>
6152
6153 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6154 * config/ia64/t-vms: Likewise.
6155
6156 2012-03-11 Michael Hope <michael.hope@linaro.org>
6157
6158 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6159 for Thumb-2.
6160
6161 2012-03-07 Walter Lee <walt@tilera.com>
6162
6163 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6164 "arch_atomic_".
6165 (atomic_xor): Rename and move definition to
6166 config/tilepro/atomic.h.
6167 (atomic_nand): Ditto.
6168 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6169 "arch_atomic_".
6170 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6171 (arch_atomic_nand): Ditto.
6172
6173 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6174
6175 PR target/52507
6176 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6177
6178 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6179
6180 PR target/52505
6181 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6182 from RAM.
6183
6184 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6185
6186 PR target/52461
6187 PR target/52508
6188 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6189 if RAMPZ affects reading from RAM.
6190 (__tablejump_elpm__): Ditto.
6191 (.xload): Ditto.
6192 (__movmemx_hi): Ditto.
6193 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6194 (__do_global_dtors): Ditto.
6195 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6196 (__movmemx_hi): Ditto.
6197
6198 2012-03-05 Richard Henderson <rth@redhat.com>
6199
6200 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6201 [ARM] (count_trailing_zeros): Use the builtin.
6202
6203 2012-03-01 Kai Tietz <ktietz@redhat.com>
6204
6205 * soft-fp: Imported from glibc upstream.
6206
6207 2012-02-28 Kai Tietz <ktietz@redhat.com>
6208
6209 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6210 for mingw-targets as attribute gcc_struct.
6211
6212 2012-02-28 Ian Lance Taylor <iant@google.com>
6213
6214 * generic-morestack.c (__splitstack_releasecontext): Correct call
6215 to __morestack_release_segments.
6216
6217 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6218
6219 PR target/52390
6220 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6221 for __linux__ when removing signals from __morestack_fullmask.
6222
6223 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
6224
6225 PR target/52261
6226 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6227
6228 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6229
6230 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6231 instead of HAVE_INITFINI_ARRAY.
6232 * config/ia64/crtend.S: Likewise.
6233
6234 2012-02-20 Kai Tietz <ktietz@redhat.com>
6235
6236 PR libstdc++/52300
6237 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6238
6239 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6240 to w32-unwind.h header.
6241
6242 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6243
6244 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6245 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6246 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6247 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6248
6249 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6250
6251 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6252
6253 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6254
6255 PR libitm/52220
6256 * config/darwin-crt-tm.c: Correct typo.
6257
6258 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6259 Patrick Marlier <patrick.marlier@gmail.com>
6260
6261 PR libitm/52220
6262 * config/darwin-crt-tm.c: Generate dummy functions.
6263
6264 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6265 Patrick Marlier <patrick.marlier@gmail.com>
6266
6267 PR libitm/52042
6268 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6269 (__doTMRegistrations): Call it.
6270 (__doTMdeRegistrations): Likewise.
6271
6272 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
6273 Anatoly Sokolov <aesok@post.ru>
6274 Eric Weddington <eric.weddington@atmel.com>
6275
6276 PR target/52261
6277 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6278 (__epilogue_restores__): Ditto.
6279
6280 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6281
6282 PR target/51921
6283 PR target/52205
6284 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6285 Solaris 11 and slightly reformat.
6286 (sparc_is_sighandler): Likewise.
6287
6288 2012-02-14 Walter Lee <walt@tilera.com>
6289
6290 * config.host: Handle tilegx and tilepro.
6291 * config/tilegx/sfp-machine.h: New file.
6292 * config/tilegx/sfp-machine32.h: New file.
6293 * config/tilegx/sfp-machine64.h: New file.
6294 * config/tilegx/t-crtstuff: New file.
6295 * config/tilegx/t-softfp: New file.
6296 * config/tilegx/t-tilegx: New file.
6297 * config/tilepro/atomic.c: New file.
6298 * config/tilepro/atomic.h: New file.
6299 * config/tilepro/linux-unwind.h: New file.
6300 * config/tilepro/sfp-machine.h: New file.
6301 * config/tilepro/softdivide.c: New file.
6302 * config/tilepro/softmpy.S: New file.
6303 * config/tilepro/t-crtstuff: New file.
6304 * config/tilepro/t-tilepro: New file.
6305
6306 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6307
6308 PR libstdc++/51296
6309 PR libstdc++/51906
6310 * gthr-posix.h: Allow static initializer macros to be disabled.
6311 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6312
6313 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6314
6315 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6316 Add t-slibgcc-libgcc to tmake_file.
6317 * config/mips/libgcc-mips16.ver: Revert previous patch.
6318 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6319
6320 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6321 Jayant R Sonar <jayant.sonar@kpitcummins.com>
6322
6323 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6324 * config/cr16/crti.S: New file.
6325 * config/cr16/crtlibid.S: New file.
6326 * config/cr16/crtn.S: New file.
6327 * config/cr16/lib1funcs.S: New file.
6328 * config/cr16/t-cr16: New file.
6329 * config/cr16/t-crtlibid: New file.
6330 * config/cr16/unwind-dw2.h: New file.
6331 * config/cr16/unwind-cr16.c: New file.
6332 * config/cr16/divmodhi3.c: New file.
6333
6334 2012-01-25 Alan Modra <amodra@gmail.com>
6335
6336 * config/rs6000/t-linux64: Delete. Move..
6337 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6338 * config/rs6000/t-linux: ..and libgcc flags to here.
6339
6340 2012-01-22 Douglas B Rupp <rupp@gnat.com>
6341
6342 * config.host (i[34567]86-*-interix3*):
6343 Change triplet to i[34567]86-*-interix[3-9]*.
6344 * configure: Regenerate.
6345
6346 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6347 Richard Sandiford <rdsandiford@googlemail.com>
6348
6349 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6350 * config/mips/mips16.S (__mips16_rdhwr): New function.
6351 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6352
6353 2012-01-11 Nathan Sidwell <nathan@acm.org>
6354
6355 * libgcov.c (__gcov_init): Ignore objects with no functions.
6356
6357 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
6358
6359 PR target/49868
6360 Extend __pgmx semantics to linearize memory.
6361 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6362 * config/avr/lib1funcs.S (__xload_1): New function.
6363 (__movmemx_qi, __movmemx_hi): New functions.
6364 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6365 semantics.
6366
6367 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6368
6369 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6370 purported sigacthandler address isn't null before dereferencing it.
6371 (sparc_is_sighandler): Likewise.
6372
6373 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6374
6375 PR ada/41929
6376 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6377 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6378 (sparc_is_sighandler): Likewise.
6379 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6380
6381 2012-01-06 Tristan Gingold <gingold@adacore.com>
6382
6383 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6384 compatibility thunks...
6385 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6386 (crtbeginS.o, crtendS.o): ... and these to ...
6387 * config/ia64/t-ia64-elf: ... this new file.
6388 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6389 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6390
6391 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6392
6393 * configure: Regenerate.
6394 * config/s390/t-crtstuff: Remove -fPIC.
6395
6396 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6397
6398 PR bootstrap/51006
6399 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6400 for NetBSD.
6401
6402 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6403
6404 PR target/51345
6405 * config/avr/lib1funcs.S: Remove FIXME comments.
6406 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6407
6408 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6409
6410 Implement light-weight DImode support.
6411 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6412 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6413 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6414 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6415
6416 2011-12-30 Nathan Sidwell <nathan@acm.org>
6417
6418 * libgcov.c (gcov_crc32): Remove global var.
6419 (free_fn_data): New function.
6420 (buffer_fn_data): Pass in filename, more robust error recovery.
6421 (crc32_unsigned): New function.
6422 (gcov_exit): More robust detection of new program. More robust
6423 error recovery.
6424 (__gcov_init): Do not update program's crc here.
6425
6426 2011-12-21 Tristan Gingold <gingold@adacore.com>
6427
6428 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6429
6430 2011-12-21 Ian Lance Taylor <iant@google.com>
6431
6432 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6433
6434 2011-12-20 Ian Lance Taylor <iant@google.com>
6435
6436 * config/i386/morestack.S (__morestack_non_split): If there is
6437 enough stack space already, don't split. Ask for more stack space
6438 than we required.
6439
6440 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6441
6442 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6443 `sys/sdt.h'.
6444 (_Unwind_DebugHook): New function.
6445 (uw_restore_core_regs): New define.
6446 (unwind_phase2): Use uw_restore_core_regs instead of
6447 restore_core_regs.
6448 (unwind_phase2_forced): Likewise.
6449 (__gnu_Unwind_Resume): Likewise.
6450
6451 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
6452
6453 * config/alpha/linux-unwind.h: Update copyright years.
6454 (MD_FROB_UPDATE_CONTEXT): New define.
6455 (alpha_frob_update_context): New function.
6456
6457 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6458
6459 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6460 tmake_file rather replacing it.
6461
6462 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6463
6464 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
6465 function is not used for PPC64.
6466 (save_world): Amend comments. Update the VRsave mask to reflect the
6467 saved regs.
6468 (rest_world): Update comments, do not clobber r10, do not use r8.
6469 (eh_rest_world_r10): Amend comments, do not use r8.
6470 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6471 no longer used, move restore of CR and target address to the end of
6472 the routine.
6473
6474 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6475
6476 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6477 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6478
6479 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
6480
6481 PR target/49313
6482 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6483 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6484
6485 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6486
6487 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6488
6489 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
6490
6491 PR target/49313
6492 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6493 * config/avr/lib1funcs.S (__muldi3): New function.
6494
6495 2011-12-06 Andrew Pinski <apinski@cavium.com>
6496
6497 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6498 size of func_ptr.
6499 (__frame_dummy_init_array_entry): Likewise.
6500
6501 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
6502
6503 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6504
6505 PR target/51345
6506 PR target/51002
6507 * config/avr/lib1funcs.S (__prologue_saves__,
6508 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6509 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6510
6511 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6512
6513 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6514
6515 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6516
6517 PR other/51272
6518 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6519 (_ITM_deregisterTMCloneTable): Likewise.
6520 (__register_frame_info): Fix unused warning.
6521 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6522 pthread_default_stacksize_np): Likewise.
6523 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
6524
6525 2011-11-29 DJ Delorie <dj@redhat.com>
6526
6527 * config.host (rl78-*-elf): New case.
6528 * config/rl78: New directory for the Renesas RL78.
6529
6530 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6531
6532 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6533 formatting.
6534
6535 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6536
6537 PR other/51022
6538 * config/rs6000/t-savresfgpr: New file.
6539 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6540 $(srcdir)/config/rs6000/eabi.S.
6541 * config/rs6000/t-ppccomm-ldbl: Remove.
6542 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6543 tmake_file.
6544 (powerpc-*-eabispe*): Likewise.
6545 (powerpc-*-eabi*): Likewise.
6546 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6547 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6548 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6549 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6550 tmake_file.
6551 (powerpc-*-eabisim*): Likewise.
6552 (powerpc-*-elf*): Likewise.
6553 (powerpc-*-eabialtivec*): Likewise.
6554 (powerpc-xilinx-eabi*): Likewise.
6555 (powerpc-*-rtems*): Likewise.
6556 (powerpcle-*-elf*): Likewise.
6557 (powerpcle-*-eabisim*): Likewise.
6558 (powerpcle-*-eabi*): Likewise.
6559
6560 2011-11-27 Ian Lance Taylor <iant@google.com>
6561
6562 * generic-morestack.c (__splitstack_find): Check for NULL old
6563 stack value.
6564 (__splitstack_resetcontext): New function.
6565 (__splitstack_releasecontext): New function.
6566 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6567
6568 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6569
6570 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6571
6572 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6573
6574 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6575
6576 2011-11-26 Richard Henderson <rth@redhat.com>
6577
6578 * config/m68k/linux-atomic.c: New file.
6579 * config/m68k/t-linux: New file.
6580 * config.host (m68k-uclinux, m68k-linux): Use it.
6581
6582 2011-11-26 Richard Henderson <rth@redhat.com>
6583
6584 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6585 (__TMC_END__): Only declare if hidden is available; in the definition,
6586 if hidden is unavailable add a null record.
6587 (deregister_tm_clones, register_tm_clones): New.
6588 (__do_global_dtors_aux, frame_dummy): Use them.
6589 (__do_global_dtors, __do_global_ctors_1): Likewise.
6590
6591 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6592
6593 * config/darwin-crt-tm.c: New file.
6594 * config.host (darwin): Build crttms.o crttme.o to provide
6595 startup and shutdown for tm clones.
6596 * config/t-darwin (crttms.o): New build rule.
6597 (crttme.o): Likewise.
6598
6599 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
6600
6601 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6602 et al.
6603
6604 2011-11-21 Richard Henderson <rth@redhat.com>
6605
6606 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6607 (__TMC_LIST__, __TMC_END__): New.
6608 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6609 (__do_global_dtors): Likewise.
6610 (frame_dummy): Call _ITM_registerTMCloneTable.
6611 (__do_global_ctors_1): Likewise.
6612
6613 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6614
6615 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6616 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6617 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6618 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6619 * config/i386/t-darwin64: Remove.
6620 * config/sh/t-netbsd (LIB2ADD): Remove.
6621
6622 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
6623
6624 PR target/49313
6625 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6626 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6627 * config/avr/lib1funcs.S (wmov): New assembler macro.
6628 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6629 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6630 (__udivmod64): New function.
6631 (__negdi2): New function.
6632
6633 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6634
6635 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6636 *-*-freebsd*aout*): Remove.
6637
6638 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
6639
6640 * static-object.mk (c_flags-$o): Save c_flags.
6641 ($(base)$(objext)): Use it.
6642
6643 2011-11-18 Steve Ellcey <sje@cup.hp.com>
6644
6645 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6646
6647 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
6648
6649 PR target/49868
6650 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6651 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6652 New functions.
6653
6654 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6655
6656 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6657 functions.
6658 (aeabi_uidivmod): Likewise.
6659 (umodsi3): Likewise.
6660 (divsi3): Likewise.
6661 (aeabi_idivmod): Likewise.
6662 (modsi3): Likewise.
6663
6664 2011-11-16 Tristan Gingold <gingold@adacore.com>
6665
6666 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6667
6668 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
6669
6670 PR target/49868
6671 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6672 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6673
6674 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6675
6676 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6677 tmake_file list.
6678 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6679 * config/pa/t-stublib64: Delete.
6680
6681 2011-11-12 Richard Henderson <rth@redhat.com>
6682
6683 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6684 cast the pointer argument to _Unwind_SetGRPtr.
6685
6686 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6687
6688 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6689
6690 2011-11-09 Ian Lance Taylor <iant@google.com>
6691
6692 * generic-morestack.c: Include <string.h>.
6693 (uintptr_type): Define.
6694 (struct initial_sp): Add dont_block_signals field. Reduce size of
6695 extra array by 1.
6696 (allocate_segment): Set prev field to NULL. Don't set
6697 __morestack_current_segment or __morestack_segments.
6698 (__generic_morestack): Update current->prev and *pp after calling
6699 allocate_segment.
6700 (__morestack_block_signals): Don't do anything if
6701 dont_block_signals is set.
6702 (__morestack_unblock_signals): Likewise.
6703 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6704 uintptr_type.
6705 (__splitstack_block_signals): New function.
6706 (enum __splitstack_content_offsets): Define.
6707 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6708 (__splitstack_makecontext): New function.
6709 (__splitstack_block_signals_context): New function.
6710 (__splitstack_find_context): New function.
6711 * config/i386/morestack.S (__morestack_get_guard): New function.
6712 (__morestack_set_guard, __morestack_make_guard): New functions.
6713 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6714
6715 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6716
6717 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6718 (i[34567]86-*-mingw*): ... here.
6719 (x86_64-*-mingw*): ... here.
6720
6721 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6722
6723 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6724
6725 2011-11-07 Nathan Sidwell <nathan@acm.org>
6726
6727 * libgcov.c (struct gcov_fn_buffer): New struct.
6728 (buffer_fn_data): New helper.
6729 (gcov_exit): Rework for new gcov data structures.
6730
6731 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
6732
6733 PR target/49313
6734 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6735
6736 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6737
6738 * config.host (tmake_file): Correct comment.
6739 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6740 t-libgcc-pic.
6741 (bfin*-uclinux*): Likewise.
6742 (bfin*-linux-uclibc*): Likewise.
6743 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6744
6745 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6746 assigning.
6747 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6748 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6749 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6750 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6751 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6752 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6753 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6754 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6755 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6756 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6757 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6758 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6759 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6760
6761 * config/bfin/t-elf: Remove.
6762 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6763
6764 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6765
6766 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6767 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6768 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6769 (lm32-*-elf*): ... this.
6770 (lm32-*-rtems*): ... and this.
6771 Add to tmake_file.
6772 (m32r-*-rtems*): Add to tmake_file.
6773 (moxie-*-rtems*): Likewise.
6774 (sparc-*-rtems*): Likewise.
6775 Remove t-rtems from tmake_file.
6776 (sparc64-*-rtems*): Likewise.
6777 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6778 instead.
6779
6780 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6781
6782 PR bootstrap/50982
6783 * config/gthr-posix.h: Move ...
6784 * gthr-posix.h: ... here.
6785 * config/gthr-lynx.h: Reflect this.
6786 * config/gthr-vxworks.h: Likewise.
6787 * config/rs6000/gthr-aix.h: Likewise.
6788 * configure.ac (target_thread_file): Likewise.
6789 * configure: Regenerate.
6790
6791 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6792
6793 * config.host (arm*-*-rtemseabi*): New target.
6794
6795 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6796
6797 PR other/50991
6798 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6799 extra-parts.
6800
6801 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6802
6803 * config.host (epiphany-*-elf*): New configuration.
6804 * config/epiphany: New Directory.
6805
6806 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6807
6808 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6809 * config/avr/t-rtems: New.
6810 Filter out _exit from LIB1ASMFUNCS.
6811
6812 2011-11-04 David S. Miller <davem@davemloft.net>
6813
6814 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6815 * configure: Rebuild.
6816
6817 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6818
6819 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6820 variable.
6821
6822 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
6823
6824 PR target/50931
6825 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6826 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6827
6828 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6829
6830 PR target/50989
6831 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6832
6833 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6834
6835 * config/c6x/t-elf (LIB2ADDEH): Set.
6836 * config/c6x/t-c6x-elf: Remove.
6837
6838 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6839
6840 * config/i386/sol2-ci.S: Rename to ...
6841 * config/i386/crti.S: ... this.
6842 * config/i386/sol2-cn.S: Rename to ...
6843 * config/i386/crtn.S: ... this.
6844 * config/sparc/sol2-ci.S: Rename to ...
6845 * config/sparc/crti.S: ... this.
6846 * config/sparc/sol2-cn.S: Rename to ...
6847 * config/sparc/crtn.S: ... this.
6848 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6849 (crti.o, crtn.o): Remove.
6850
6851 2011-11-04 Tristan Gingold <gingold@adacore.com>
6852
6853 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6854
6855 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6856
6857 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6858
6859 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
6860
6861 * config.host (crisv32-*-none, cris-*-none): Remove.
6862 (crisv32-*-elf): Append to tmake_file, don't just set it.
6863 (cris-*-elf): Add missing t-fdpbit to tmake_file.
6864
6865 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6866
6867 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6868 (ecrtn$(objext)): Likewise.
6869 (ncrti$(objext)): Likewise.
6870 (ncrtn$(objext)): Likewise.
6871
6872 2011-11-03 Andreas Schwab <schwab@redhat.com>
6873
6874 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6875
6876 2011-11-02 David S. Miller <davem@davemloft.net>
6877
6878 * configure.ac: Set host_address on sparc too.
6879 * configure: Regenerate.
6880 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6881 based upon host_address.
6882 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6883
6884 2011-11-02 Jason Merrill <jason@redhat.com>
6885
6886 * config/rs6000/t-ppccomm: Add missing \.
6887
6888 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6889
6890 * gthr-single.h, gthr.h: New files.
6891 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6892 config/gthr-vxworks.h, config/i386/gthr-win32.h,
6893 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6894 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6895 * config/i386/gthr-win32.c: Include "gthr-win32.h".
6896 * configure.ac (thread_header): New variable.
6897 Set it depending on target_thread_file.
6898 (gthr-default.h): Link from $thread_header.
6899 * configure: Regenerate.
6900 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6901
6902 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6903
6904 * configure.ac (tm_file_): New variable.
6905 Determine from tm_file.
6906 (tm_file, tm_defines): Substitute.
6907 * configure: Regenerate.
6908 * mkheader.sh: New file.
6909 * Makefile.in (clean): Remove libgcc_tm.h.
6910 ($(objects)): Depend on libgcc_tm.h.
6911 (libgcc_tm_defines, libgcc_tm_file): New variables.
6912 (libgcc_tm.h, libgcc_tm.stamp): New targets.
6913 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6914 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6915 ($(extra-parts)): Depend on libgcc_tm.h.
6916 * config.host (tm_defines, tm_file): New variable.
6917 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6918 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6919 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6920 (avr-*-rtems*): Likewise.
6921 (avr-*-*): Likewise.
6922 (frv-*-elf): Likewise.
6923 (frv-*-*linux*): Likewise.
6924 (h8300-*-rtems*): Likewise.
6925 (h8300-*-elf*): Likewise.
6926 (i[34567]86-*-darwin*): Likewise.
6927 (x86_64-*-darwin*): Likewise.
6928 (rx-*-elf): Likewise.
6929 (tic6x-*-uclinux): Likewise.
6930 (tic6x-*-elf): Likewise.
6931 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6932 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6933 * config/i386/cygming-crtbegin.c: Likewise.
6934 * config/i386/cygming-crtend.c: Likewise.
6935 * config/ia64/fde-vms.c: Likewise.
6936 * config/ia64/unwind-ia64.c: Likewise.
6937 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6938 * config/rs6000/darwin-fallback.c: Likewise.
6939 * config/stormy16/lib2funcs.c: Likewise.
6940 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6941 * crtstuff.c: Likewise.
6942 * dfp-bit.h: Likewise.
6943 * emutls.c: Likewise.
6944 * fixed-bit.c: Likewise.
6945 * fp-bit.c: Likewise.
6946 * generic-morestack-thread.c: Likewise.
6947 * generic-morestack.c: Likewise.
6948 * libgcc2.c: Likewise.
6949 * libgcov.c: Likewise.
6950 * unwind-dw2-fde-dip.c: Likewise.
6951 * unwind-dw2-fde.c: Likewise.
6952 * unwind-dw2.c: Likewise.
6953 * unwind-sjlj.c: Likewise.
6954
6955 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6956
6957 * configure.ac: Include ../config/picflag.m4.
6958 (GCC_PICFLAG): Call it.
6959 Substitute.
6960 * configure: Regenerate.
6961 * Makefile.in (gcc_srcdir): Remove.
6962 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6963 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6964 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6965 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6966 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6967 Use $<.
6968 Remove comment.
6969 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6970 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6971 to refer to libgcc2.c.
6972 Use $<.
6973 * config/darwin-64.c: New file.
6974 * config/darwin-crt3.c: Remove comment.
6975 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6976 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6977 config/udivmodsi4.c: New files.
6978 * config/memcmp.c, config/memcpy.c, config/memmove.c,
6979 config/memset.c: New files.
6980 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6981 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6982 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6983 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6984 * config/t-openbsd-thread: New file.
6985 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6986 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6987 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6988 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6989 qrnnd.S.
6990 Adapt filename.
6991 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6992 to refer to gthr-posix.c.
6993 * config/alpha/t-vms (LIB2ADD): Set.
6994 * config/alpha/vms-gcc_shell_handler.c: New file.
6995 * config/arm/bpabi.c, config/arm/fp16.c,
6996 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6997 config/arm/unaligned-funcs.c: New files.
6998 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6999 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7000 * config/arm/t-linux: Likewise.
7001 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7002 * config/arm/t-netbsd: New file.
7003 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7004 * config/arm/t-symbian (LIB2ADD_ST): Set.
7005 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7006 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7007 * config/bfin/t-elf: New file.
7008 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7009 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7010 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7011 config/c6x/ltf.c: New files.
7012 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7013 (HOST_LIBGCC2_CFLAGS): Set.
7014 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7015 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7016 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7017 New files.
7018 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7019 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7020 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7021 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7022 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7023 files.
7024 * config/frv/t-frv (LIB2ADD): Set.
7025 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7026 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7027 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7028 config/h8300/popcounthi2.c: New files.
7029 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7030 * config/i386/gthr-win32.c: New file.
7031 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7032 * config/i386/t-cygwin: Likewise.
7033 * config/i386/t-darwin, config/i386/t-darwin64,
7034 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7035 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7036 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7037 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7038 * config/ia64/quadlib.c: New file.
7039 * config/ia64/t-hpux (LIB2ADD): Set.
7040 * config/ia64/t-ia64: Add comment.
7041 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7042 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7043 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7044 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7045 * config/m32c/t-m32c (LIB2ADD): Set.
7046 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7047 * config/m32r/t-m32r: Likewise.
7048 * config/m68k/fpgnulib.c: New file.
7049 * config/m68k/t-floatlib (LIB2ADD): Set.
7050 (xfgnulib.c): New target.
7051 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7052 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7053 * config/mep/t-mep (LIB2ADD): Set.
7054 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7055 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7056 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7057 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7058 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7059 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7060 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7061 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7062 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7063 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7064 New files.
7065 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7066 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7067 * config/pa/fptr.c, config/pa/lib2funcs.S,
7068 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7069 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7070 (LIB2ADD, LIB2ADD_ST): Set.
7071 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7072 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7073 Set.
7074 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7075 * config/pdp11/t-pdp11: New file.
7076 * config/picochip/libgccExtras/adddi3.S,
7077 config/picochip/libgccExtras/ashlsi3.S,
7078 config/picochip/libgccExtras/ashrsi3.S,
7079 config/picochip/libgccExtras/clzsi2.S,
7080 config/picochip/libgccExtras/cmpsi2.S,
7081 config/picochip/libgccExtras/divmod15.S,
7082 config/picochip/libgccExtras/divmodhi4.S,
7083 config/picochip/libgccExtras/divmodsi4.S,
7084 config/picochip/libgccExtras/lshrsi3.S,
7085 config/picochip/libgccExtras/parityhi2.S,
7086 config/picochip/libgccExtras/popcounthi2.S,
7087 config/picochip/libgccExtras/subdi3.S,
7088 config/picochip/libgccExtras/ucmpsi2.S,
7089 config/picochip/libgccExtras/udivmodhi4.S,
7090 config/picochip/libgccExtras/udivmodsi4.S: New files.
7091 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7092 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7093 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7094 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7095 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7096 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7097 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7098 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7099 files.
7100 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7101 (HOST_LIBGCC2_CFLAGS): Set.
7102 * config/rs6000/t-darwin64: New file.
7103 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7104 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7105 * config/rs6000/t-ppccomm (LIB2ADD): Add
7106 $(srcdir)/config/rs6000/tramp.S.
7107 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7108 Add $(srcdir)/config/rs6000/eabi.S.
7109 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7110 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7111 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7112 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7113 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7114 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7115 * config/rs6000/tramp.S: New file.
7116 * config/s390/t-tpf: Remove.
7117 * config/sh/linux-atomic.S: New file.
7118 * config/sh/t-linux (LIB2ADD): Set.
7119 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7120 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7121 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7122 to unwind-dw2.c.
7123 (HOST_LIBGCC2_CFLAGS): Set.
7124 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7125 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7126 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7127 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7128 config/spu/mfc_multi_tag_release.c,
7129 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7130 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7131 config/spu/multi3.c: New files.
7132 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7133 (HOST_LIBGCC2_CFLAGS): Set.
7134 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7135 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7136 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7137 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7138 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7139 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7140 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7141 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7142 config/stormy16/umodsi3.c: New files.
7143 * config/xtensa/lib2funcs.S: New file.
7144 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7145 * config/xtensa/t-xtensa (LIB2ADD): Set.
7146 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7147 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7148 Add t-freebsd-thread to tmake_file for posix threads.
7149 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7150 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7151 (*-*-lynxos*): Likewise.
7152 (*-*-netbsd*): Likewise.
7153 (*-*-openbsd*): Likewise.
7154 Add t-openbsd-thread to tmake_file for posix threads.
7155 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7156 (*-*-vxworks*): Set tmake_file.
7157 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7158 (alpha*-*-freebsd*): Likewise.
7159 (alpha*-*-netbsd*): Likewise.
7160 (alpha*-*-openbsd*): Likewise.
7161 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7162 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7163 (alpha*-dec-*vms*): Likewise.
7164 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7165 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7166 (bfin*-uclinux*): Likewise.
7167 (bfin*-linux-uclibc*): Likewise.
7168 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7169 (crisv32-*-none): Likewise.
7170 (cris-*-elf): Likewise.
7171 (cris-*-none): Likewise.
7172 (cris-*-linux*, crisv32-*-linux*): Likewise.
7173 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7174 tmake_file.
7175 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7176 tmake_file.
7177 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7178 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7179 (x86_64-*-elf*): Likewise.
7180 (i[34567]86-*-nto-qnx*): Likewise.
7181 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7182 win32 threads.
7183 (x86_64-*-mingw*): Likewise.
7184 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7185 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7186 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7187 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7188 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7189 tmake_file.
7190 (mipsisa64sr71k-*-elf*): Likewise.
7191 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7192 (mips-*-elf*, mipsel-*-elf*): Likewise.
7193 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7194 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7195 (mips*-*-rtems*): Likewise.
7196 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7197 to tmake_file.
7198 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7199 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7200 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7201 (spu-*-elf*): Likewise.
7202 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7203
7204 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7205
7206 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7207 $(srcdir) to refer to $(LIB1ASMSRC).
7208 Use $<.
7209 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7210 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7211 config/arm/lib1funcs.S: New files.
7212 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7213 * config/arm/t-arm: New file.
7214 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7215 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7216 config/arm/t-strongarm-elf: New files.
7217 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7218 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7219 * config/avr/lib1funcs.S: New file.
7220 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7221 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7222 * config/c6x/lib1funcs.S: New file.
7223 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7224 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7225 * config/frv/lib1funcs.S: New file.
7226 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7227 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7228 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7229 * config/ia64/__divxf3.asm: Rename to ...
7230 * config/ia64/__divxf3.S: ... this.
7231 Adapt lib1funcs.asm filename.
7232 * config/ia64/_fixtfdi.asm: Rename to ...
7233 * config/ia64/_fixtfdi.S: ... this.
7234 Adapt lib1funcs.asm filename.
7235 * config/ia64/_fixunstfdi.asm: Rename to ...
7236 * config/ia64/_fixunstfdi.S: ... this.
7237 Adapt lib1funcs.asm filename.
7238 * config/ia64/_floatditf.asm: Rename to ...
7239 * config/ia64/_floatditf.S: ... this.
7240 Adapt lib1funcs.asm filename.
7241 * config/ia64/lib1funcs.S: New file.
7242 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7243 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7244 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7245 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7246 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7247 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7248 * config/mep/lib1funcs.S: New file.
7249 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7250 * config/mips/mips16.S: New file.
7251 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7252 * config/pa/milli64.S: New file.
7253 * config/pa/t-linux, config/pa/t-linux64: New files.
7254 * config/picochip/lib1funcs.S: New file.
7255 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7256 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7257 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7258 * config/sh/t-netbsd: New file.
7259 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7260 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7261 * config/sh/t-sh64: New file.
7262 * config/sparc/lb1spc.S: New file.
7263 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7264 filename.
7265 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7266 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7267 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7268 config/xtensa/lib1funcs.S: New files.
7269 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7270 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7271 tmake_file.
7272 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7273 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7274 (arm*-*-linux*): Likewise.
7275 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7276 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7277 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7278 (arm*-*-ecos-elf): Likewise.
7279 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7280 (arm*-*-rtems*): Likewise.
7281 (arm*-*-elf): Likewise.
7282 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7283 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7284 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7285 (bfin*-uclinux*): Likewise.
7286 (bfin*-linux-uclibc*): Likewise.
7287 (bfin*-rtems*): Likewise.
7288 (bfin*-*): Likewise.
7289 (fido-*-elf): Merge into m68k-*-elf*.
7290 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7291 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7292 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7293 (h8300-*-elf*): Likewise.
7294 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7295 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7296 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7297 (i[34567]86-*-mingw*): Likewise.
7298 (x86_64-*-mingw*): Likewise.
7299 (i[34567]86-*-interix3*): Likewise.
7300 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7301 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7302 (m68k-*-elf*): Also handle fido-*-elf.
7303 Add m68k/t-floatlib to tmake_file.
7304 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7305 (m68k-*-linux*): Likewise.
7306 (m68k-*-rtems*): Likewise.
7307 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7308 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7309 sh64*-*-*.
7310 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7311 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7312 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7313 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7314 sh/t-netbsd to tmake_file.
7315 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7316 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7317 (sh-wrs-vxworks): Likewise.
7318 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7319 *-leon[3-9]*.
7320 (v850*-*-*): Add v850/t-v850 to tmake_file.
7321 (vax-*-linux*): Add vax/t-linux to tmake_file.
7322 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7323
7324 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7325
7326 * crtstuff.c: New file.
7327 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7328 (CRTSTUFF_T_CFLAGS): Define.
7329 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7330 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7331 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7332 crtstuff.c.
7333 Use $<.
7334 (crtbeginT.o): Use $(objext).
7335 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7336 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7337 (gcc-extra-parts): Remove.
7338 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7339 Set extra_parts.
7340 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7341 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7342 Add t-crtstuff-pic to tmake_file.
7343 (*-*-lynxos*): New case.
7344 Set tmake_file, extra_parts.
7345 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7346 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7347 *-*-netbsdelf[2-9]*.
7348 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7349 (*-*-rtems*): Set extra_parts.
7350 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7351 (*-*-uclinux*): New case.
7352 Set extra_parts.
7353 (*-*-vms*): New case.
7354 Set tmake_file, extra_parts.
7355 (*-*-elf): Set extra_parts.
7356 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7357 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7358 vms/t-vms64.
7359 Set extra_parts.
7360 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7361 Set extra_parts.
7362 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7363 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7364 (arm-wrs-vxworks): Append to tmake_file.
7365 Set extra_parts.
7366 (arm*-*-uclinux*): Set extra_parts.
7367 (arm*-*-ecos-elf): Likewise.
7368 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7369 arm*-*-eabi*.
7370 (arm*-*-rtems*): Set extra_parts.
7371 (arm*-*-elf): Likewise.
7372 (avr-*-rtems*): Clear extra_parts.
7373 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7374 Set extra_parts.
7375 (bfin*-uclinux*): Likewise.
7376 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7377 (bfin*-rtems*): Append to tmake_file.
7378 Set extra_parts.
7379 (bfin*-*): Likewise.
7380 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7381 (crisv32-*-elf): ... this.
7382 (crisv32-*-none): ... this.
7383 (cris-*-elf, cris-*-none): New cases.
7384 Add cris/t-elfmulti to tmake_file.
7385 (fr30-*-elf): Append to tmake_file.
7386 Set extra_parts.
7387 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7388 Set extra_parts.
7389 (h8300-*-rtems*): Append to tmake_file.
7390 Set extra_parts.
7391 (h8300-*-elf*): Likewise.
7392 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7393 Set extra_parts.
7394 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7395 Set extra_parts.
7396 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7397 (x86_64-*-elf*): Likewise.
7398 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7399 (x86_64-*-freebsd*): Likewise.
7400 (x86_64-*-netbsd*): Likewise.
7401 (i[34567]86-*-linux*): Likewise.
7402 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7403 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7404 (x86_64-*-linux*): Likewise.
7405 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7406 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7407 tmake_file.
7408 Set extra_parts.
7409 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7410 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7411 Append to extra_parts, remove crtbegin.o, crtend.o.
7412 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7413 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7414 crtend.o, crtbeginS.o, crtendS.o.
7415 (ia64*-*-linux*): Comment extra_parts.
7416 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7417 Set extra_parts.
7418 (iq2000*-*-elf*): Clear extra_parts.
7419 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7420 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7421 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7422 (m32r-*-rtems*): ... this.
7423 Add m32r/t-m32r to tmake_file.
7424 (m68k-*-elf*): Add t-crtin to tmake_file.
7425 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7426 (mcore-*-elf): Likewise.
7427 (microblaze*-*-*): Set extra_parts.
7428 (mips*-sde-elf*): New case.
7429 Set tmake_file, extra_parts.
7430 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7431 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7432 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7433 tmake_file.
7434 Set extra_parts.
7435 (mipsisa64sr71k-*-elf*): Likewise.
7436 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7437 (mips-*-elf*, mipsel-*-elf*): Likewise.
7438 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7439 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7440 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7441 (mips*-*-rtems*): Likewise.
7442 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7443 (moxie-*-*): Split into ...
7444 (moxie-*-elf, moxie-*-uclinux*): ... this.
7445 Add to extra_parts, remove crtbegin.o, crtend.o.
7446 (moxie-*-rtems*): New case.
7447 Set tmake_file.
7448 Clear extra_parts.
7449 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7450 Set extra_parts.
7451 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7452 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7453 tmake_file.
7454 Set extra_parts.
7455 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7456 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7457 Set extra_parts.
7458 (powerpc-*-eabisim*): Likewise.
7459 (powerpc-*-elf*): Likewise.
7460 (powerpc-*-eabialtivec*): Likewise.
7461 (powerpc-xilinx-eabi*): Likewise.
7462 (powerpc-*-eabi*): Likewise.
7463 (powerpc-*-rtems*): Likewise.
7464 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7465 tmake_file.
7466 Set extra_parts.
7467 (powerpc-*-lynxos*): Add to tmake_file.
7468 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7469 rs6000/t-crtstuff, t-crtstuff-pic.
7470 Set extra_parts.
7471 (powerpcle-*-eabisim*): Likewise.
7472 (powerpcle-*-eabi*): Likewise.
7473 (rx-*-elf): Remove extra_parts.
7474 (s390x-ibm-tpf*): Set extra_parts.
7475 (score-*-elf): Set extra_parts.
7476 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7477 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7478 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7479 (sh64l*-*-netbsd*): Split into ...
7480 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7481 Add t-crtstuff-pic to tmake_file.
7482 Set extra_parts.
7483 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7484 Set extra_parts.
7485 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7486 (sparc-*-elf*): Remove t-crtin from tmake_file.
7487 Add to extra_parts, remove crtbegin.o, crtend.o.
7488 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7489 (sparc64-*-linux*): Likewise.
7490 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7491 Add to extra_parts, remove crtbegin.o, crtend.o.
7492 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7493 Add to extra_parts, remove crtbegin.o, crtend.o.
7494 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7495 Add to extra_parts, remove crtbegin.o, crtend.o.
7496 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7497 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7498 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7499 Set extra_parts.
7500 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7501 Set extra_parts.
7502 (tic6x-*-*): Change to ...
7503 (tic6x-*-elf): ... this.
7504 Set extra_parts.
7505 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7506 Set extra_parts.
7507 (am33_2.0-*-linux*): Add comment.
7508 (mep*-*-*): Add mep/t-mep to tmake_file.
7509 Set extra_parts.
7510 * config/alpha/t-vms: New file.
7511 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7512 * config/arm/crti.S, config/arm/crtn.S: New files.
7513 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7514 * config/bfin/crtlibid.S: New file.
7515 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7516 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7517 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7518 (crti.o, crtin.o): New rules.
7519 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7520 * config/c6x/t-uclinux: New file.
7521 * config/cris/t-elfmulti: New file.
7522 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7523 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7524 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7525 * config/frv/t-frv: New file.
7526 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7527 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7528 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7529 New files.
7530 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7531 refer to cygming-crtbegin.c, cygming-crtend.c.
7532 Use $<.
7533 * config/i386/t-nto: New file.
7534 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7535 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7536 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7537 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7538 Use .S extension.
7539 Use $<.
7540 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7541 (crtinitS.o): New rule.
7542 * config/ia64/vms-crtinit.S: New file.
7543 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7544 * config/m32r/initfini.c: New file.
7545 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7546 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7547 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7548 * config/mep/t-mep: New file.
7549 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7550 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7551 * config/mips/crti.S, config/mips/crtn.S: New files.
7552 * config/mips/t-crtstuff: New file.
7553 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7554 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7555 (CUSTOM_CRTIN): Set.
7556 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7557 dependencies.
7558 Use $(srcdir) to refer to crti.S, crtn.S.
7559 Use .S extension, $<.
7560 * config/moxie/crti.asm: Rename to ...
7561 * config/moxie/crti.S: ... this.
7562 * config/moxie/crtn.asm: Rename to ...
7563 * config/moxie/crtn.S: ... this.
7564 * config/moxie/t-moxie: Remove.
7565 * config/pa/stublib.c: New file.
7566 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7567 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7568 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7569 * config/rs6000/t-crtstuff: New file.
7570 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7571 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7572 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7573 Make output file explicit.
7574 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7575 Make output file explicit.
7576 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7577 Make output file explicit.
7578 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7579 Make output file explicit.
7580 * config/score/crti.S, config/score/crtn.S: New files.
7581 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7582 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7583 files.
7584 * config/sh/t-sh, config/sh/t-superh: New files.
7585 * config/sparc/t-linux64: New file.
7586 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7587 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7588 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7589 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7590 * config/t-crtin: Remove.
7591 * config/t-crtstuff-pic: New file.
7592 * config/t-sol2 (CUSTOM_CRTIN): Set.
7593 (crti.o, crtn.o): New rules.
7594 * config/vms/t-vms: New file.
7595 * config/vms/vms-ucrt0.c: New file.
7596 * config/xtensa/t-elf: New file.
7597
7598 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7599
7600 * Makefile.in (SHLIB_NM_FLAGS): Set.
7601 * mkmap-flat.awk, mkmap-symver.awk: New files.
7602 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7603 exceptions.
7604 * configure: Regenerate.
7605 * config/libgcc-glibc.ver: New file.
7606 * config/libgcc-libsystem.ver: New file.
7607 * config/t-libunwind (SHLIB_LC): Set.
7608 * config/t-linux: New file.
7609 * config/t-slibgcc (INSTALL_SHLIB): New.
7610 (SHLIB_INSTALL): Use it.
7611 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7612 to mkmap-symver.awk.
7613 (SHLIB_MAPFILES): Don't append, adapt pathname.
7614 (SHLIB_VERPFX): Set.
7615 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7616 to mkmap-symver.awk.
7617 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7618 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7619 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7620 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7621 to mkmap-flat.awk.
7622 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7623 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7624 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7625 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7626 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7627 * config/i386/libgcc-darwin.10.4.ver,
7628 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7629 New files.
7630 * config/i386/t-darwin: Remove.
7631 * config/i386/t-darwin64: Likewise.
7632 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7633 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7634 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7635 * config/i386/t-linux: New file.
7636 * config/i386/t-mingw32: New file.
7637 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7638 * config/ia64/t-glibc: Rename to ...
7639 * config/ia64/t-linux: ... this.
7640 (SHLIB_MAPFILES): Set.
7641 * config/ia64/t-glibc-libunwind: Rename to ...
7642 * config/ia64/t-linux-libunwind: ... this.
7643 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7644 * config/ia64/t-slibgcc-hpux: New file.
7645 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7646 * config/m68k/t-slibgcc-elf-ver: New file.
7647 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7648 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7649 to mkmap-flat.awk.
7650 * config/pa/t-slibgcc-hpux: New file.
7651 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7652 files.
7653 * config/rs6000/libgcc-darwin.10.4.ver,
7654 config/rs6000/libgcc-darwin.10.5.ver: New files.
7655 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7656 config/rs6000/libgcc-glibc.ver.
7657 * config/rs6000/libgcc-ppc64.ver: Rename to
7658 config/rs6000/libgcc-ibm-ldouble.ver.
7659 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7660 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7661 * config/rs6000/t-ldbl128: Rename to ...
7662 * config/rs6000/t-linux: ... this.
7663 (SHLIB_MAPFILES): Adapt filename.
7664 * config/rs6000/t-slibgcc-aix: New file.
7665 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7666 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7667 libgcc-excl.ver, libgcc-glibc.ver.
7668 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7669 * config/sparc/libgcc-glibc.ver: New file.
7670 * config/sparc/t-linux: New file.
7671 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7672 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7673 t-slibgcc-elf-ver to tmake_file.
7674 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7675 *-*-freebsd[34].
7676 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7677 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7678 t-slibgcc-elf-ver, t-linux to tmake_file.
7679 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7680 tmake_file.
7681 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7682 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7683 (alpha*-dec-*vms*): Likewise.
7684 (arm*-*-freebsd*): Append to tmake_file.
7685 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7686 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7687 arm*-*-linux-*eabi.
7688 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7689 tmake_file for arm*-*-symbianelf*.
7690 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7691 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7692 cris/t-linux.
7693 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7694 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7695 pa/t-slibgcc-dwarf-ver to tmake_file.
7696 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7697 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7698 (hppa*64*-*-hpux11*): Likewise.
7699 (hppa[12]*-*-hpux11*): Likewise.
7700 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7701 i386/t-crtpc, i386/t-crtfm.
7702 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7703 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7704 to tmake_file.
7705 Add i386/t-cygwin to tmake_file.
7706 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7707 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7708 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7709 to tmake_file.
7710 Add i386/t-mingw32 to tmake_file.
7711 (x86_64-*-mingw*): Likewise.
7712 (ia64*-*-freebsd*): Append to tmake_file.
7713 (ia64*-*-linux*): Append to tmake_file.
7714 Replace ia64/t-glibc by ia64/t-linux.
7715 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7716 system libunwind.
7717 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7718 t-slibgcc-hpux to tmake_file.
7719 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7720 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7721 (m32rle-*-linux*): Likewise.
7722 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7723 sjlj exceptions.
7724 (microblaze*-linux*): New case.
7725 Append to tmake_file, add t-slibgcc-nolc-override.
7726 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7727 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7728 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7729 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7730 rs6000/t-slibgcc-aix to tmake_file.
7731 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7732 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7733 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7734 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7735 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7736 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7737 sh*-*-linux*.
7738 (sparc-*-linux*): Append to tmake_file for *-leon*.
7739 Add sparc/t-linux to tmake_file for non-Leon targets.
7740 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7741 (tic6x-*-uclinux): New case.
7742 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7743 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7744 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7745 (am33_2.0-*-linux*): Append to tmake_file.
7746 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7747 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7748 x86_64-*-kfreebsd*-gnu.
7749 Add i386/t-linux to tmake_file.
7750
7751 2011-10-28 Ian Lance Taylor <iant@google.com>
7752
7753 * config/i386/morestack.S: Correct CFI information to do proper
7754 returns throughout function. In 32-bit mode, save %ebx so that it
7755 is restored on unwind.
7756
7757 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7758
7759 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7760 case where B3 isn't the return register.
7761
7762 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7763 logic for doubleword pops.
7764
7765 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
7766
7767 * config/rs6000/t-freebsd: Add wildcard.
7768
7769 2011-10-21 Paul Brook <paul@codesourcery.com>
7770
7771 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7772
7773 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
7774 Eric Botcazou <ebotcazou@adacore.com>
7775
7776 PR target/50737
7777 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7778 fs->signal_frame to 1.
7779
7780 2011-10-07 Ian Lance Taylor <iant@google.com>
7781
7782 * generic-morestack-thread.c: #include <errno.h>.
7783
7784 2011-10-07 Ian Lance Taylor <iant@google.com>
7785
7786 PR target/46093
7787 * generic-morestack.c (__generic_morestack): Make sure the segment
7788 is large enough for both the stack frame and the copied
7789 parameters.
7790
7791 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7792
7793 PR bootstrap/49804
7794 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7795 extra_parts.
7796
7797 2011-09-28 Nick Clifton <nickc@redhat.com>
7798
7799 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7800 64-bit doubles are not enabled.
7801 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7802 and floatunsisf functions.
7803
7804 2011-09-13 Paul Brook <paul@codesourcery.com>
7805
7806 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7807 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7808 * unwind-arm-common.inc: New file.
7809 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7810 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7811 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7812 * config/c6x/libunwind.S: New file.
7813 * config/c6x/pr-support.c: New file.
7814 * config/c6x/unwind-c6x.c: New file.
7815 * config/c6x/unwind-c6x.h: New file.
7816 * config/c6x/t-c6x-elf: New file.
7817
7818 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
7819
7820 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7821 (ASM_DIVZERO): Ditto.
7822 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7823
7824 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7825
7826 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7827
7828 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
7829
7830 PR target/50090
7831 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7832 instead of an assembly one.
7833
7834 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
7835
7836 PR bootstrap/50047
7837 * Makefile.in (install-unwind_h): Create
7838 $(gcc_objdir)/include/unwind.h atomically.
7839
7840 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7841
7842 * Makefile.in (install-unwind_h): Remove destination file first.
7843
7844 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7845
7846 * sync.c: New file.
7847 * config/mips/t-mips16: New file.
7848 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7849 (mips*-*-linux*): Likewise.
7850 (mips*-sde-elf*): Likewise.
7851 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7852 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7853 Add mips/t-mips16 to tmake_file.
7854 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7855 (mips-*-elf*): Likewise.
7856 (mips64-*-elf*): Likewise.
7857 (mips64orion-*-elf*): Likewise.
7858 (mips*-*-rtems*): Likewise.
7859 (mipstx39-*-elf*): Likewise.
7860 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7861 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7862 LIBGCC_SYNC_CFLAGS.
7863 Use $(srcdir) to refer to sync.c.
7864 Use $<.
7865 ($(libgcc-sync-funcs-o)): Likewise.
7866 ($(libgcc-sync-size-funcs-s-o)): Likewise.
7867 ($(libgcc-sync-funcs-s-o)): Likewise.
7868
7869 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7870
7871 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7872 t-libunwind.
7873
7874 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7875
7876 PR other/48007
7877 * config/i386/value-unwind.h: New.
7878
7879 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
7880
7881 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7882 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7883 Add to tmake_file rather than overriding it.
7884
7885 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7886
7887 * config/t-softfp: Remove.
7888 * soft-fp: Moved from ../gcc/config.
7889 * soft-fp/README: Remove t-softfp reference.
7890 * soft-fp/t-softfp: Move to config/t-softfp.
7891 (softfp_machine_header): Remove.
7892 (softfp_file_list): Remove config subdir.
7893 (soft-fp-objects): New variable.
7894 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7895 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7896 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7897 * config/t-softfp-excl: New file.
7898 * config/t-softfp-sfdf: New file.
7899 * config/t-softfp-tf: New file.
7900 * config/no-sfp-machine.h: New file.
7901 * config/arm/sfp-machine.h: New file.
7902 * config/arm/t-softfp: New file.
7903 * config/c6x/sfp-machine.h: New file.
7904 * config/i386/32/t-fprules-softfp: Rename to ...
7905 * config/i386/32/t-softfp: ... this.
7906 (tifunctions, LIB2ADD): Remove.
7907 (softfp_int_modes): Override.
7908 * config/i386/64/t-softfp-compat (tf-functions): Remove config
7909 subdir.
7910 * config/i386/64/eqtf2.c: Likewise.
7911 * config/i386/64/getf2.c: Likewise.
7912 * config/i386/64/letf2.c: Likewise.
7913 * config/ia64/sft-machine.h: New file.
7914 * config/ia64/t-fprules-softfp: Rename to ...
7915 * config/ia64/t-softfp: ... this.
7916 * config/lm32/sfp-machine.h: New file.
7917 * config/moxie/t-moxie-softfp: Remove.
7918 * config/rs6000/ibm-ldouble-format: New file.
7919 * config/rs6000/ibm-ldouble.c: New file.
7920 * config/rs6000/libgcc-ppc-glibc.ver: New file
7921 * config/rs6000/libgcc-ppc64.ver: New file
7922 * config/rs6000/sfp-machine.h: New file.
7923 * config/rs6000/t-freebsd: New file.
7924 * config/rs6000/t-ibm-ldouble: New file.
7925 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7926 libgcc-ppc-glibc.ver.
7927 * config/rs6000/t-linux64: New file.
7928 * config/rs6000/t-ppccomm (LIB2ADD): Add
7929 $(srcdir)/config/rs6000/ibm-ldouble.c.
7930 * config/rs6000/t-ppccomm-ldbl: New file.
7931 * config/score/sfp-machine.h: New file.
7932 * config.host (sfp_machine_header): Explain.
7933 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7934 t-softfp to tmake_file.
7935 (arm*-*-uclinux*): Likewise.
7936 (arm*-*-ecos-elf): Likewise.
7937 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7938 (arm*-*-rtems*): Likewise.
7939 (arm*-*-elf): Likewise.
7940 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7941 in tmake_file.
7942 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7943 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7944 (lm32-*-uclinux*): Likewise.
7945 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7946 t-softfp-excl, t-softfp.
7947 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7948 (powerpc64-*-darwin*): Likewise.
7949 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7950 to tmake_file.
7951 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7952 tmake_file.
7953 (powerpc-*-eabisim*): Likewise.
7954 (powerpc-*-elf*): Likewise.
7955 (powerpc-*-eabialtivec*): Likewise.
7956 (powerpc-xilinx-eabi*): Likewise.
7957 (powerpc-*-rtems*): Likewise.
7958 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7959 t-softfp-excl, t-softfp to tmake_file.
7960 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7961 rs6000/t-ppccomm-ldbl to tmake_file.
7962 (powerpcle-*-elf*): Likewise.
7963 (powerpcle-*-eabisim*): Likewise.
7964 (powerpcle-*-eabi*): Likewise.
7965 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7966 rs6000/t-ibm-ldouble to tmake_file.
7967 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7968 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7969 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7970 (tic6x-*-*): Likewise.
7971 (i[34567]86-*-darwin*, x86_64-*-darwin*,
7972 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7973 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7974 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7975 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7976 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7977 t-softfp to tmake_file.
7978 * configure.ac (sfp_machine_header): Provide default if unset.
7979 Substitute.
7980 Link sfp-machine.h to config/$sfp_machine_header.
7981 * configure: Regenerate.
7982
7983 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7984
7985 * Makefile.in (double_type_size, long_double_type_size): Set.
7986 Remove $(fpbit-in-libgcc) support.
7987 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7988 (fpbit-src): New variable.
7989 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7990 Compile with -DFLOAT $(FPBIT_CFLAGS).
7991 Use $<.
7992 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7993 Compile with $(FPBIT_CFLAGS).
7994 Use $<.
7995 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7996 Compile with -DFLOAT $(TPBIT_CFLAGS).
7997 Use $<.
7998 * configure.ac (double_type_size, long_double_type_size):
7999 Determine and substitute.
8000 * configure: Regenerate.
8001 * fp-bit.c, fp-bit.h: New files.
8002 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8003 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8004 * config/mips/t-mips: New file.
8005 * config/mips/t-sdemtk: New file.
8006 * config/rs6000/ppc64-fp.c: New file.
8007 * config/rs6000/t-darwin (LIB2ADD): Add
8008 $(srcdir)/config/rs6000/ppc64-fp.c.
8009 * config/rs6000/t-ppc64-fp: New file.
8010 * config/rx/rx-lib.h: New file.
8011 * config/rx/t-rx (FPBIT): Set to true.
8012 ($(gcc_objdir)/fp-bit.c): Remove.
8013 (DPBIT): Set to true only with -m64bit-doubles.
8014 ($(gcc_objdir)/dp-bit.c): Remove.
8015 * config/sparc/t-softfp: Remove.
8016 * config/spu/t-elf: New file.
8017 * config/t-fdpbit, config/t-fpbit: New files.
8018 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8019 (mips*-*-*): Likewise.
8020 (arm-wrs-vxworks): Likewise.
8021 (arm*-*-freebsd*): Likewise.
8022 (avr-*-rtems*): Add t-fpbit to tmake_file.
8023 (avr-*-*): Likewise.
8024 (bfin*-elf*): Add t-fdpbit to tmake_file.
8025 (bfin*-uclinux*): Likewise.
8026 (bfin*-linux-uclibc*): Likewise.
8027 (bfin*-rtems*): New case.
8028 Add t-fdpbit to tmake_file.
8029 (bfin*-*): Add t-fdpbit to tmake_file.
8030 (crisv32-*-elf): Likewise.
8031 (cris-*-linux*): Likewise.
8032 (fr30-*-elf): Likewise.
8033 (frv-*-elf, frv-*-*linux*): Likewise.
8034 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8035 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8036 (m32r-*-elf*): Likewise.
8037 (m32rle-*-elf*): Likewise.
8038 (m32r-*-linux*): Likewise.
8039 (m32rle-*-linux*): Likewise.
8040 (mcore-*-elf): Add t-fdpbit to tmake_file.
8041 (microblaze*-*-*): Likewise.
8042 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8043 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8044 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8045 Fix typo.
8046 Add mips/t-tpbit to tmake-file.
8047 (mips*-*-linux*): Fix typo.
8048 (mips*-sde-elf*): New case
8049 Add mips/t-sdemtk unless using newlib.
8050 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8051 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8052 (mn10300-*-*): Likewise.
8053 (pdp11-*-*): Likewise.
8054 (picochip-*-*): Add t-fpbit to tmake_file.
8055 (powerpc-*-eabisimaltivec*): Likewise.
8056 (powerpc-*-eabisim*): Likewise.
8057 (powerpc-*-elf*): Likewise.
8058 (powerpc-*-eabialtivec*): Likewise.
8059 (powerpc-xilinx-eabi*): New case.
8060 Add t-fdpbit to tmake_file.
8061 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8062 (powerpc-*-rtems*): Likewise.
8063 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8064 tmake_file.
8065 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8066 tmake_file.
8067 (powerpc-*-lynxos*): Likewise.
8068 (powerpcle-*-elf*): Likewise.
8069 (powerpcle-*-eabisim*): Likewise.
8070 (powerpcle-*-eabi*): Likewise.
8071 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8072 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8073 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8074 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8075 (rx-*-elf): Add t-fdpbit to tmake_file.
8076 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8077 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8078 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8079 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8080 sh*-*-netbsd*.
8081 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8082 (sh-wrs-vxworks): Likewise.
8083 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8084 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8085 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8086 (sparc64-*-rtems*): ... new case.
8087 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8088 (spu-*-elf*): Likewise.
8089 Add spu/t-elf to tmake_file.
8090 (v850*-*-*): Add t-fdpbit to tmake_file.
8091 (xstormy16-*-elf): Likewise.
8092 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8093 (mep*-*-*): Likewise.
8094
8095 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8096
8097 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8098 variables.
8099 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8100 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8101 (install-unwind_h): New target.
8102 (all): Depend on it.
8103 * config.host (unwind_header): New variable.
8104 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8105 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8106 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8107 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8108 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8109 Set unwind_header.
8110 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8111 Set unwind_header.
8112 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8113 arm*-*-eabi*.
8114 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8115 Set unwind_header.
8116 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8117 (ia64*-*-freebsd*): Likewise.
8118 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8119 tmake_file.
8120 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8121 $with_system_libunwind.
8122 (ia64*-*-hpux*): Set tmake_file.
8123 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8124 (picochip-*-*): Set tmake_file.
8125 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8126 md_unwind_header.
8127 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8128 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8129 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8130 (xtensa*-*-elf*): Set tmake_file.
8131 (xtensa*-*-linux*): Likewise.
8132 * configure.ac: Include ../config/unwind_ipinfo.m4.
8133 Call GCC_CHECK_UNWIND_GETIPINFO.
8134 Link unwind.h to $unwind_header.
8135 * configure: Regenerate.
8136 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8137 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8138 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8139 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8140 * config/unwind-dw2-fde-darwin.c: New file.
8141 * config/arm/libunwind.S, config/arm/pr-support.c,
8142 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8143 config/arm/unwind-arm.h,: New files.
8144 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8145 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8146 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8147 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8148 config/ia64/unwind-ia64.h: New files.
8149 * config/picochip/t-picochip: New file.
8150 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8151 files.
8152 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8153 * config/s390/t-tpf (LIB2ADDEH): Remove.
8154 * config/t-darwin (LIB2ADDEH): Set.
8155 * config/t-eh-dw2-dip: New file.
8156 * config/t-libunwind, config/t-libunwind-elf: New files.
8157 * config/t-sol2 (LIB2ADDEH): Remove.
8158 * config/xtensa/t-xtensa: New file.
8159
8160 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8161
8162 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8163 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8164 long long to check rt_sigreturn syscall.
8165
8166 2011-08-02 Alan Modra <amodra@gmail.com>
8167
8168 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8169 Restore for indirect call bcrtl from correct stack slot, and only
8170 if cfa+40 isn't valid.
8171
8172 2011-08-01 Julian Brown <julian@codesourcery.com>
8173
8174 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8175 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8176 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8177
8178 2011-08-01 Julian Brown <julian@codesourcery.com>
8179
8180 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8181 (libgcc-std.ver.in): Use above.
8182 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8183 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8184 throughout file.
8185 * config/t-fixedpoint-gnu-prefix: New file.
8186 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8187 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8188 instead of __PFX__.
8189
8190 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8191
8192 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8193 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8194 for x86-64. Properly check __x86_64__ and __LP64__.
8195
8196 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8197
8198 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8199 version.
8200 (_FP_WS_TYPE): Likewise.
8201 (_FP_I_TYPE): Likewise.
8202
8203 2011-07-28 Alan Modra <amodra@gmail.com>
8204
8205 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8206 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8207 in a plt call stub. Do restore r2 if stopped on bctrl.
8208
8209 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8210
8211 * config.host (i[3456x]86-*-netware*): Remove.
8212 * config/i386/netware-crt0.c, config/i386/t-nwld,
8213 config/i386/t-slibgcc-nwld: Remove.
8214
8215 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8216
8217 * config.host: Handle tic6x-*-*.
8218 * config/c6x/c6x-abi.h: New file.
8219
8220 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8221
8222 * config/i386/crtprec.c: New file.
8223 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8224 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8225 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8226 (x86_64-*-darwin*): Likewise.
8227 (i[34567]86-*-solaris2*: Likewise.
8228
8229 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8230
8231 * config/alpha/crtfastmath.c: New file.
8232 * config/i386/crtfastmath.c: New file.
8233 * config/ia64/crtfastmath.c: New file.
8234 * config/mips/crtfastmath.c: New file.
8235 * config/sparc/crtfastmath.c: New file.
8236
8237 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8238 crtfastmath.c.
8239 Add -frandom-seed=gcc-crtfastmath.
8240 * config/alpha/t-crtfm: Remove.
8241 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8242 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8243
8244 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8245 (alpha*-dec-osf5.1*): Likewise.
8246 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8247 Add crtfastmath.o to extra_parts.
8248 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8249 Add crtfastmath.o to extra_parts.
8250 (x86_64-*-darwin*): Likewise.
8251 (x86_64-*-mingw*): Likewise.
8252 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8253 (ia64*-*-freebsd*): Likewise.
8254 (ia64*-*-linux*): Likewise.
8255 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8256 Add crtfastmath.o to extra_parts.
8257
8258 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8259
8260 * config/darwin-crt3.o: New file.
8261 * config/rs6000/darwin-crt2.c: New file.
8262 * config/t-darwin: New file.
8263 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8264 (crt2.o): New rule.
8265 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8266 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8267 (powerpc64-*-darwin*): Likewise.
8268
8269 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8270
8271 * config/i386/netware-crt0.c: New file.
8272 * config/i386/t-nwld: Rename to ...
8273 * config/i386/t-slibgcc-nwld: ... this.
8274 * config/i386/t-nwld: New file.
8275 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8276 tmake_file.
8277 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8278 extra_parts.
8279
8280 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8281
8282 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8283 i386/t-crtstuff.
8284 * configure: Regenerate.
8285
8286 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8287
8288 * dfp-bit.c, dfp-bit.h: New files.
8289 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8290 variables.
8291 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8292 ($(d64pbit-o)): Likewise.
8293 ($(d128pbit-o)): Likewise.
8294 * config/t-dfprules: New file.
8295 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8296 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8297 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8298 (x86_64-*-linux*): Likewise.
8299 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8300 (i[34567]86-*-cygwin*): Likewise.
8301 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8302 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8303
8304 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8305
8306 * Makfile.in (LIBGCOV): New variable.
8307 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8308 * libgcov.c: New file.
8309
8310 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8311
8312 * fixed-bit.c, fixed-bit.h: New files.
8313 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8314 refer to fixed-bit.c.
8315
8316 2011-07-07 Joseph Myers <joseph@codesourcery.com>
8317
8318 * config.host (*local*): Remove.
8319
8320 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8321
8322 PR target/39150
8323 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8324 like i?86-*-solaris2.1[0-9]*.
8325 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8326 * configure.ac (i?86-*-solaris2*): Likewise.
8327 * configure: Regenerate.
8328
8329 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
8330
8331 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8332 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8333 md_unwind_header by splitting out of...
8334 (i[34567]86-*-linux*): ... this.
8335 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8336 Remove md_unwind_header by splitting out of...
8337 (x86_64-*-linux*): ... this.
8338
8339 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
8340
8341 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8342
8343 2011-06-28 Nick Clifton <nickc@redhat.com>
8344
8345 * config.host: Recognize all V850 variants.
8346
8347 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
8348
8349 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8350
8351 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8352
8353 * shared-object.mk (c_flags-$o): Save c_flags.
8354 ($(base)$(objext)): Use it.
8355 ($(base)_s$(objext)): Likewise.
8356
8357 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8358
8359 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8360 * libgcc-std.ver.in (GCC_4.7.0): New section.
8361
8362 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
8363
8364 PR target/49313
8365 PR target/29524
8366 * config/avr/t-avr: Fix line endings.
8367 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8368 _parityXX2.
8369
8370 2011-06-14 Olivier Hainque <hainque@adacore.com>
8371 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8372
8373 * config/mips/irix6-unwind.h: New file.
8374 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8375
8376 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8377
8378 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8379 (sparc64_fallback_frame_state): Use it.
8380 (sparc64_frob_update_context): Further adjust context.
8381 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8382 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8383 * config/sparc/sol2-cn.S: Likewise.
8384
8385 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8386
8387 * enable-execute-stack-empty.c: New file.
8388 * enable-execute-stack-mprotect.c: New file.
8389 * config/i386/enable-execute-stack-mingw32.c: New file.
8390 * config.host (enable_execute_stack): New variable.
8391 Select appropriate variants.
8392 * configure.ac: Link enable-execute-stack.c to
8393 $enable_execute_stack.
8394 * configure: Regenerate.
8395 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8396 (lib2funcs): Remove _enable_execute_stack.
8397
8398 2011-06-09 David S. Miller <davem@davemloft.net>
8399 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8400
8401 * config.host (sparc-*-linux*): Correct md_unwind_header
8402 filename.
8403 (s390x-ibm-tpf*): Fix typo.
8404
8405 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8406
8407 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8408 Add crtfastmath.o to extra_parts.
8409 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8410 mips/t-crtfm.
8411 * config/mips/t-crtfm: Remove.
8412
8413 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8414
8415 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8416
8417 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8418
8419 * config.host (sh*-*-linux*): Fix typo.
8420
8421 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8422
8423 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8424 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8425 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8426 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8427 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8428 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8429 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8430 Wrap in !__MINGW64__.
8431 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8432 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8433 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8434 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8435 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8436 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8437 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8438 Wrap in !__LP64__.
8439 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8440 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8441 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8442 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8443 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8444 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8445 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8446 * config/no-unwind.h: New file.
8447 * config.host (md_unwind_header): Document.
8448 Define.
8449 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8450 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8451 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8452 hppa[12]*-*-hpux11*): Set md_unwind_header.
8453 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8454 Set md_unwind_header.
8455 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8456 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8457 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8458 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8459 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8460 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8461 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8462 md_unwind_header.
8463 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8464 * configure: Regenerate.
8465
8466 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8467
8468 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8469 Set tmake_file, extra_parts.
8470 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8471 Remove O32 support.
8472 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8473 Remove O32 support.
8474 * config/mips/t-irix6: New file.
8475 * config/mips/t-slibgcc-irix: New file.
8476
8477 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8478
8479 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8480 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8481
8482 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8483
8484 * configure.ac (target_thread_file): Determine thread model.
8485 * configure: Regenerate.
8486 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8487 * config/alpha/t-alpha: New file.
8488 * config/alpha/t-crtfm: Use $<.
8489 * config/alpha/t-ieee: New file.
8490 * config/alpha/t-osf-pthread: New file.
8491 * config/alpha/t-slibgcc-osf: New file.
8492 * config/alpha/libgcc-osf5.ver: New file.
8493
8494 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8495
8496 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8497 tmake_file.
8498 Add crtfastmath.o to extra_parts.
8499
8500 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8501
8502 * config/gmon-sol2.c: Reindent.
8503 Cleanup comments.
8504 Remove, correct casts.
8505 Use STDERR_FILENO, NULL.
8506 (BASEADDRESS): Remove.
8507 (minbrk): Remove.
8508 (errno, sbrk): Remove declarations.
8509 (monstartup) [hp300]: Remove.
8510 (mcount): Remove.
8511
8512 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8513
8514 * Makefile.in (cpu_type): Define.
8515 * config.host (i[34567]86-*-rtems*): Handle it.
8516 (i[34567]86-*-solaris2*): Move body ...
8517 (*-*-solaris2*): ... here.
8518 New case, generalize.
8519 (sparc-*-elf*): Handle it.
8520 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8521 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8522 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8523 Fold into ...
8524 (sparc*-*-solaris2*): ... this.
8525 New case.
8526 (sparc64-*-elf*): Handle it.
8527 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8528 Merge ../gcc/config/i386/gmon-sol2.c.
8529 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8530 Use C comments.
8531 Merge ../gcc/config/i386/sol2-gc1.asm.
8532 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8533 Use C comments.
8534 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8535 Use C comments.
8536 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8537 * config/i386/t-crtstuff: New file.
8538 * config/i386/t-softfp: New file.
8539 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8540 $(T)crti.o, $(T)crtn.o): Remove.
8541 (gcrt1.o): New rule.
8542 (TARGET_LIBGCC2_CFLAGS): Remove.
8543 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8544 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8545 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8546 * config/sparc/t-sol2: New file.
8547 * config/sparc/t-crtfm: Move to ...
8548 * config/t-crtfm: ... this.
8549 Use $(cpu_type), $<.
8550 * config/t-crtin: New file.
8551 * config/sparc/t-softfp: New file.
8552 * config/sparc/t-softmul: New file.
8553 * config/t-rtems: New file.
8554 * config/t-slibgcc: New file.
8555 * config/t-slibgcc-elf-ver: New file.
8556 * config/t-slibgcc-gld: New file.
8557 * config/t-slibgcc-sld: New file.
8558 * config/t-sol2: New file.
8559 * configure.ac: Include ../config/lib-ld.m4.
8560 Call AC_LIB_PROG_LD_GNU.
8561 Substitute cpu_type.
8562 * configure: Regenerate.
8563
8564 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8565
8566 PR bootstrap/49173
8567 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8568 libgcc-std.ver in the build directory.
8569 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8570 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8571
8572 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8573
8574 * libgcc-std.ver.in: New file.
8575 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8576 variables.
8577 (libgcc-std.ver): New rule.
8578 * config/t-gnu-prefix: New file.
8579
8580 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8581
8582 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8583
8584 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8585
8586 * config/i386/darwin-lib.h: New file.
8587
8588 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8589
8590 * config/arm/symbian-lib.h: New.
8591
8592 2011-05-04 Chris Demetriou <cgd@google.com>
8593
8594 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8595 (__x86.get_pc_thunk.bx): ...this.
8596 (__morestack): Adjust for rename, remove undef of __i686.
8597
8598 2011-05-03 Chris Demetriou <cgd@google.com>
8599
8600 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8601
8602 2011-03-22 Joseph Myers <joseph@codesourcery.com>
8603
8604 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8605 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8606 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8607 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8608 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8609 Remove cases.
8610
8611 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
8612
8613 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8614 Adjust copyright year.
8615
8616 2011-03-07 Ian Lance Taylor <iant@google.com>
8617
8618 * generic-morestack.c (__splitstack_find): Adjust returned stack
8619 pointer to include all registers pushed by __morestack.
8620
8621 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8622
8623 PR target/40125
8624 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8625 (toolexecdir): Calculate and AC_SUBST.
8626 (toolexeclibdir): Likewise.
8627 * Makefile.in (target_noncanonical): Import.
8628 (toolexecdir): Likewise.
8629 (toolexeclibdir): Likewise.
8630 * configure: Regenerate.
8631
8632 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8633
8634 PR target/46040
8635 * config/arm/bpabi.h: Rename to...
8636 * config/arm/bpabi-lib.h: ...this.
8637
8638 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8639
8640 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8641 appropriate.
8642 * configure: Regenerate.
8643
8644 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8645
8646 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8647 __FLOAT_WORD_ORDER__.
8648 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8649 Delete.
8650
8651 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8652
8653 PR other/46202
8654 * Makefile.in (install-strip): New phony target.
8655
8656 2010-11-07 Ian Lance Taylor <iant@google.com>
8657
8658 PR target/46089
8659 * config/i386/morestack.S (__morestack_large_model): New
8660 function.
8661
8662 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8663
8664 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8665 Delete.
8666 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8667
8668 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8669
8670 * config/arm/bpabi.h: New file.
8671 * config/frv/frv-abi.h: New file.
8672
8673 2010-10-01 Ian Lance Taylor <iant@google.com>
8674
8675 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8676 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8677
8678 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8679
8680 PR target/45858
8681 * config.host: Add the missing `$'.
8682
8683 2010-09-30 Michael Eager <eager@eagercon.com>
8684
8685 * config.host: Add microblaze*-*-*.
8686 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8687 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8688 udivsi3.asm,umodsi3.asm}: New.
8689
8690 2010-09-28 Ian Lance Taylor <iant@google.com>
8691
8692 * configure.ac: Adjust CFI test to test assembler directly rather
8693 than checking gcc preprocessor macro.
8694 * configure: Rebuild.
8695
8696 2010-09-27 Ian Lance Taylor <iant@google.com>
8697
8698 * configure.ac: Test whether assembler supports CFI directives.
8699 * config.host: Only add t-stack and i386/t-stack-i386 to
8700 tmake_file if libgcc_cv_cfi is "yes".
8701 * configure: Rebuild.
8702
8703 2010-09-27 Ian Lance Taylor <iant@google.com>
8704
8705 * generic-morestack.h: New file.
8706 * generic-morestack.c: New file.
8707 * generic-morestack-thread.c: New file.
8708 * config/i386/morestack.S: New file.
8709 * config/t-stack: New file.
8710 * config/i386/t-stack-i386: New file.
8711 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8712 i386/t-stack-i386 to tmake_file.
8713
8714 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8715
8716 * Makefile.in (libgcc-extra-parts): Check for static archives and
8717 invoke ranlib after installing them.
8718 (gcc-extra-parts): Likewise.
8719 (install-leaf): Likewise.
8720
8721 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8722
8723 * configure: Regenerated.
8724
8725 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
8726
8727 * configure: Regenerated.
8728
8729 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8730 Andrew Pinski <pinskia@gmail.com>
8731
8732 PR target/40959
8733 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8734
8735 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8736
8737 PR target/45524
8738 * configure: Regenerated.
8739
8740 2010-09-06 Andreas Schwab <schwab@redhat.com>
8741
8742 * configure: Regenerate.
8743
8744 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8745
8746 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8747 64bit targets.
8748 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8749 for 64bit targets.
8750
8751 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8752 Iain Sandoe <iains@gcc.gnu.org>
8753
8754 PR target/45476
8755 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8756 LIB2FUNCS_EXCLUDE functions.
8757
8758 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8759
8760 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8761 Include dfp.m4.
8762 * configure: Regenerate.
8763
8764 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
8765
8766 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8767 i386/t-freebsd to tmake_file.
8768 * config/i386/t-freebsd: New file.
8769 * config/i386/libgcc-bsd.ver: New file.
8770
8771 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8772
8773 * config.host (powerpc*-eabispe*): Set tmake_file.
8774 (powerpc*-eabi*): Likewise.
8775 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8776 crtbeginS, crtendS, crtbeginT.
8777
8778 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
8779
8780 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8781 to tmake_file. Add crtfastmath.o to extra_parts.
8782 * config/mips/t-crtfm: New.
8783
8784 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
8785
8786 * config.host (sparc64-*-rtems*): New target.
8787
8788 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8789
8790 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8791 assembler syntax.
8792
8793 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8794
8795 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8796
8797 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8798
8799 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8800 alpha-dec-osf5.0* support.
8801
8802 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
8803
8804 * config.host: Add lm32-*-rtems*.
8805
8806 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8807 Uros Bizjak <ubizjak@gmail.com>
8808
8809 PR target/39048
8810 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8811 like other remaining 32-bit x86 OSes.
8812 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8813 assembler syntax.
8814 * config/i386/libgcc-sol2.ver: New file.
8815 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8816
8817 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
8818
8819 PR c/43553
8820 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8821 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8822 is used and substitute set_use_emutls.
8823 * configure: Regenerated.
8824
8825 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8826
8827 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8828
8829 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8830
8831 PR target/38085
8832 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8833 MULTILIB_CFLAGS.
8834 ($(T)gcrt1.o): Likewise.
8835 ($(T)crt1.o): Likewise.
8836 ($(T)crti.o): Likewise.
8837 ($(T)crtn.o): Likewise.
8838
8839 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8840
8841 PR other/42980
8842 * Makefile.in (install): Use $(MAKE) string in rule, for
8843 parallel make.
8844
8845 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8846
8847 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8848 * config/mmix/t-mmix: New file.
8849 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8850
8851 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8852
8853 PR java/41991
8854 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8855 SHLIB_MAPFILES.
8856
8857 2010-01-04 Anthony Green <green@moxielogic.com>
8858
8859 * config/moxie/crti.asm, config/moxie/crtn.asm,
8860 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8861 config/moxie/t-moxie: New files.
8862 * config.host: Add t-moxie-softfp reference.
8863
8864 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
8865
8866 PR other/39888
8867 * config/t-slibgcc-darwin: Fix embedded rpaths for
8868 --enable-version-specific-runtime-libs, build extension stub
8869 libs exposing features available from current libgcc_s.
8870
8871 2009-11-11 Jon Beniston <jon@beniston.com>
8872
8873 * config.host: Add lm32 targets.
8874 * config/lm32: New directory.
8875 * config/lm32/libgcc_lm32.h: New file.
8876 * config/lm32/_mulsi3.c: New file.
8877 * config/lm32/_udivmodsi4.c: New file.
8878 * config/lm32/_divsi3.c: New file.
8879 * config/lm32/_modsi3.c: New file.
8880 * config/lm32/_udivsi3.c: New file.
8881 * config/lm32/_umodsi3.c: New file.
8882 * config/lm32/_lshrsi3.S: New file.
8883 * config/lm32/_ashrsi3.S: New file.
8884 * config/lm32/_ashlsi3.S: New file.
8885 * config/lm32/crti.S: New file.
8886 * config/lm32/crtn.S: New file.
8887 * config/lm32/t-lm32: New file.
8888 * config/lm32/t-elf: New file.
8889 * config/lm32/t-uclinux: New file.
8890
8891 2009-10-26 Nick Clifton <nickc@redhat.com>
8892
8893 * config.host: Add support for RX target.
8894 * config/rx: New directory.
8895 * config/rx/rx-abi-functions.c: New file. Supplementary
8896 functions for libgcc to support the RX ABI.
8897 * config/rx/rx-abi.h: New file. Supplementary header file for
8898 libgcc RX ABI functions.
8899 * config/rx/t-rx: New file: Makefile fragment for building
8900 libgcc for the RX.
8901
8902 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
8903
8904 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8905 constraint of y0 to "g".
8906
8907 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8908
8909 * config.host: Include the s390 makefile fragments.
8910 * config/s390/32/_fixdfdi.c: New file.
8911 * config/s390/32/_fixsfdi.c: New file.
8912 * config/s390/32/_fixtfdi.c: New file.
8913 * config/s390/32/_fixunsdfdi.c: New file.
8914 * config/s390/32/_fixunssfdi.c: New file.
8915 * config/s390/32/_fixunstfdi.c: New file.
8916 * config/s390/32/t-floattodi: New file.
8917 * config/s390/libgcc-glibc.ver: New file.
8918 * config/s390/t-crtstuff: New file.
8919 * config/s390/t-linux: New file.
8920 * config/s390/t-tpf: New file.
8921
8922 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8923
8924 * configure.ac (AC_PREREQ): Bump to 2.64.
8925
8926 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
8927
8928 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8929
8930 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8931
8932 * configure: Regenerate.
8933
8934 2009-08-09 Douglas B Rupp <rupp@gnat.com>
8935
8936 * config.host (ia64-hp-*vms*): New target.
8937 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8938 with ia64-hp-*vms*.
8939
8940 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8941
8942 * configure.ac: Add snippet for maintainer-mode.
8943 * configure: Regenerate.
8944 * Makefile.in (AUTOCONF, configure_deps): New variables.
8945 ($(srcdir)/configure)): New rule, active only with maintainer
8946 mode turned on.
8947
8948 2009-06-23 DJ Delorie <dj@redhat.com>
8949
8950 Add MeP port.
8951 * config.host: Add mep support.
8952
8953 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
8954
8955 * config.host: Add i386/${host_address}/t-fprules-softfp and
8956 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
8957
8958 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8959 for mingw targets.
8960 * config/i386/64/_multc3.c: Likewise.
8961 * config/i386/64/_powitf2.c: Likewise.
8962 * config/i386/64/eqtf2.c: Likewise.
8963 * config/i386/64/getf2.c: Likewise.
8964 * config/i386/64/letf2.c: Likewise.
8965 * config/i386/64/letf2.c: Likewise.
8966 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8967 unsigned long long for x64 mingw targets.
8968 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8969 (_FP_I_TYPE): Define as long long for x64 mingw target.
8970
8971 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
8972
8973 * config.host (vax-*-linux*): New.
8974
8975 2009-05-31 Anthony Green <green@moxielogic.com>
8976
8977 * config.host: Add moxie support.
8978 * config/moxie/t-moxie: New file.
8979
8980 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
8981
8982 * config.host: Add i386/${host_address}/t-fprules-softfp and
8983 t-softfp to tmake_file for i[34567]86-*-cygwin*.
8984
8985 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
8986
8987 * config.host: Add i386/${host_address}/t-fprules-softfp to
8988 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8989
8990 2009-04-09 Nick Clifton <nickc@redhat.com>
8991
8992 * config/ia64/tf-signs.c: Change copyright header to refer to
8993 version 3 of the GNU General Public License with version 3.1
8994 of the GCC Runtime Library Exception and to point readers at
8995 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8996 web page.
8997 * config/i386/32/tf-signs.c: Likewise.
8998 * config/libbid/_addsub_dd.c: Likewise.
8999 * config/libbid/_addsub_sd.c: Likewise.
9000 * config/libbid/_addsub_td.c: Likewise.
9001 * config/libbid/_dd_to_df.c: Likewise.
9002 * config/libbid/_dd_to_di.c: Likewise.
9003 * config/libbid/_dd_to_sd.c: Likewise.
9004 * config/libbid/_dd_to_sf.c: Likewise.
9005 * config/libbid/_dd_to_si.c: Likewise.
9006 * config/libbid/_dd_to_td.c: Likewise.
9007 * config/libbid/_dd_to_tf.c: Likewise.
9008 * config/libbid/_dd_to_udi.c: Likewise.
9009 * config/libbid/_dd_to_usi.c: Likewise.
9010 * config/libbid/_dd_to_xf.c: Likewise.
9011 * config/libbid/_df_to_dd.c: Likewise.
9012 * config/libbid/_df_to_sd.c: Likewise.
9013 * config/libbid/_df_to_td.c: Likewise.
9014 * config/libbid/_di_to_dd.c: Likewise.
9015 * config/libbid/_di_to_sd.c: Likewise.
9016 * config/libbid/_di_to_td.c: Likewise.
9017 * config/libbid/_div_dd.c: Likewise.
9018 * config/libbid/_div_sd.c: Likewise.
9019 * config/libbid/_div_td.c: Likewise.
9020 * config/libbid/_eq_dd.c: Likewise.
9021 * config/libbid/_eq_sd.c: Likewise.
9022 * config/libbid/_eq_td.c: Likewise.
9023 * config/libbid/_ge_dd.c: Likewise.
9024 * config/libbid/_ge_sd.c: Likewise.
9025 * config/libbid/_ge_td.c: Likewise.
9026 * config/libbid/_gt_dd.c: Likewise.
9027 * config/libbid/_gt_sd.c: Likewise.
9028 * config/libbid/_gt_td.c: Likewise.
9029 * config/libbid/_isinfd128.c: Likewise.
9030 * config/libbid/_isinfd32.c: Likewise.
9031 * config/libbid/_isinfd64.c: Likewise.
9032 * config/libbid/_le_dd.c: Likewise.
9033 * config/libbid/_le_sd.c: Likewise.
9034 * config/libbid/_le_td.c: Likewise.
9035 * config/libbid/_lt_dd.c: Likewise.
9036 * config/libbid/_lt_sd.c: Likewise.
9037 * config/libbid/_lt_td.c: Likewise.
9038 * config/libbid/_mul_dd.c: Likewise.
9039 * config/libbid/_mul_sd.c: Likewise.
9040 * config/libbid/_mul_td.c: Likewise.
9041 * config/libbid/_ne_dd.c: Likewise.
9042 * config/libbid/_ne_sd.c: Likewise.
9043 * config/libbid/_ne_td.c: Likewise.
9044 * config/libbid/_sd_to_dd.c: Likewise.
9045 * config/libbid/_sd_to_df.c: Likewise.
9046 * config/libbid/_sd_to_di.c: Likewise.
9047 * config/libbid/_sd_to_sf.c: Likewise.
9048 * config/libbid/_sd_to_si.c: Likewise.
9049 * config/libbid/_sd_to_td.c: Likewise.
9050 * config/libbid/_sd_to_tf.c: Likewise.
9051 * config/libbid/_sd_to_udi.c: Likewise.
9052 * config/libbid/_sd_to_usi.c: Likewise.
9053 * config/libbid/_sd_to_xf.c: Likewise.
9054 * config/libbid/_sf_to_dd.c: Likewise.
9055 * config/libbid/_sf_to_sd.c: Likewise.
9056 * config/libbid/_sf_to_td.c: Likewise.
9057 * config/libbid/_si_to_dd.c: Likewise.
9058 * config/libbid/_si_to_sd.c: Likewise.
9059 * config/libbid/_si_to_td.c: Likewise.
9060 * config/libbid/_td_to_dd.c: Likewise.
9061 * config/libbid/_td_to_df.c: Likewise.
9062 * config/libbid/_td_to_di.c: Likewise.
9063 * config/libbid/_td_to_sd.c: Likewise.
9064 * config/libbid/_td_to_sf.c: Likewise.
9065 * config/libbid/_td_to_si.c: Likewise.
9066 * config/libbid/_td_to_tf.c: Likewise.
9067 * config/libbid/_td_to_udi.c: Likewise.
9068 * config/libbid/_td_to_usi.c: Likewise.
9069 * config/libbid/_td_to_xf.c: Likewise.
9070 * config/libbid/_tf_to_dd.c: Likewise.
9071 * config/libbid/_tf_to_sd.c: Likewise.
9072 * config/libbid/_tf_to_td.c: Likewise.
9073 * config/libbid/_udi_to_dd.c: Likewise.
9074 * config/libbid/_udi_to_sd.c: Likewise.
9075 * config/libbid/_udi_to_td.c: Likewise.
9076 * config/libbid/_unord_dd.c: Likewise.
9077 * config/libbid/_unord_sd.c: Likewise.
9078 * config/libbid/_unord_td.c: Likewise.
9079 * config/libbid/_usi_to_dd.c: Likewise.
9080 * config/libbid/_usi_to_sd.c: Likewise.
9081 * config/libbid/_usi_to_td.c: Likewise.
9082 * config/libbid/_xf_to_dd.c: Likewise.
9083 * config/libbid/_xf_to_sd.c: Likewise.
9084 * config/libbid/_xf_to_td.c: Likewise.
9085 * config/libbid/bid128.c: Likewise.
9086 * config/libbid/bid128_2_str.h: Likewise.
9087 * config/libbid/bid128_2_str_macros.h: Likewise.
9088 * config/libbid/bid128_2_str_tables.c: Likewise.
9089 * config/libbid/bid128_add.c: Likewise.
9090 * config/libbid/bid128_compare.c: Likewise.
9091 * config/libbid/bid128_div.c: Likewise.
9092 * config/libbid/bid128_fma.c: Likewise.
9093 * config/libbid/bid128_logb.c: Likewise.
9094 * config/libbid/bid128_minmax.c: Likewise.
9095 * config/libbid/bid128_mul.c: Likewise.
9096 * config/libbid/bid128_next.c: Likewise.
9097 * config/libbid/bid128_noncomp.c: Likewise.
9098 * config/libbid/bid128_quantize.c: Likewise.
9099 * config/libbid/bid128_rem.c: Likewise.
9100 * config/libbid/bid128_round_integral.c: Likewise.
9101 * config/libbid/bid128_scalb.c: Likewise.
9102 * config/libbid/bid128_sqrt.c: Likewise.
9103 * config/libbid/bid128_string.c: Likewise.
9104 * config/libbid/bid128_to_int16.c: Likewise.
9105 * config/libbid/bid128_to_int32.c: Likewise.
9106 * config/libbid/bid128_to_int64.c: Likewise.
9107 * config/libbid/bid128_to_int8.c: Likewise.
9108 * config/libbid/bid128_to_uint16.c: Likewise.
9109 * config/libbid/bid128_to_uint32.c: Likewise.
9110 * config/libbid/bid128_to_uint64.c: Likewise.
9111 * config/libbid/bid128_to_uint8.c: Likewise.
9112 * config/libbid/bid32_to_bid128.c: Likewise.
9113 * config/libbid/bid32_to_bid64.c: Likewise.
9114 * config/libbid/bid64_add.c: Likewise.
9115 * config/libbid/bid64_compare.c: Likewise.
9116 * config/libbid/bid64_div.c: Likewise.
9117 * config/libbid/bid64_fma.c: Likewise.
9118 * config/libbid/bid64_logb.c: Likewise.
9119 * config/libbid/bid64_minmax.c: Likewise.
9120 * config/libbid/bid64_mul.c: Likewise.
9121 * config/libbid/bid64_next.c: Likewise.
9122 * config/libbid/bid64_noncomp.c: Likewise.
9123 * config/libbid/bid64_quantize.c: Likewise.
9124 * config/libbid/bid64_rem.c: Likewise.
9125 * config/libbid/bid64_round_integral.c: Likewise.
9126 * config/libbid/bid64_scalb.c: Likewise.
9127 * config/libbid/bid64_sqrt.c: Likewise.
9128 * config/libbid/bid64_string.c: Likewise.
9129 * config/libbid/bid64_to_bid128.c: Likewise.
9130 * config/libbid/bid64_to_int16.c: Likewise.
9131 * config/libbid/bid64_to_int32.c: Likewise.
9132 * config/libbid/bid64_to_int64.c: Likewise.
9133 * config/libbid/bid64_to_int8.c: Likewise.
9134 * config/libbid/bid64_to_uint16.c: Likewise.
9135 * config/libbid/bid64_to_uint32.c: Likewise.
9136 * config/libbid/bid64_to_uint64.c: Likewise.
9137 * config/libbid/bid64_to_uint8.c: Likewise.
9138 * config/libbid/bid_b2d.h: Likewise.
9139 * config/libbid/bid_binarydecimal.c: Likewise.
9140 * config/libbid/bid_conf.h: Likewise.
9141 * config/libbid/bid_convert_data.c: Likewise.
9142 * config/libbid/bid_decimal_data.c: Likewise.
9143 * config/libbid/bid_decimal_globals.c: Likewise.
9144 * config/libbid/bid_div_macros.h: Likewise.
9145 * config/libbid/bid_dpd.c: Likewise.
9146 * config/libbid/bid_flag_operations.c: Likewise.
9147 * config/libbid/bid_from_int.c: Likewise.
9148 * config/libbid/bid_functions.h: Likewise.
9149 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9150 * config/libbid/bid_inline_add.h: Likewise.
9151 * config/libbid/bid_internal.h: Likewise.
9152 * config/libbid/bid_round.c: Likewise.
9153 * config/libbid/bid_sqrt_macros.h: Likewise.
9154
9155 2009-04-09 Jakub Jelinek <jakub@redhat.com>
9156
9157 * Makefile.in: Change copyright header to refer to version
9158 3 of the GNU General Public License and to point readers at the
9159 COPYING3 file and the FSF's license web page.
9160 * config.host: Likewise.
9161
9162 2009-04-07 Alan Modra <amodra@bigpond.net.au>
9163
9164 * config.host: Reorder and merge to match config.gcc change.
9165
9166 2009-04-03 Alan Modra <amodra@bigpond.net.au>
9167
9168 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9169
9170 2009-03-28 Joseph Myers <joseph@codesourcery.com>
9171
9172 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9173 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9174 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9175 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9176
9177 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
9178
9179 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9180 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9181
9182 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9183
9184 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9185 ia64/t-softfp-compat to tmake_file.
9186
9187 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9188
9189 * config/ia64/__divxf3.asm: New.
9190 * config/ia64/_fixtfdi.asm: Likewise.
9191 * config/ia64/_fixunstfdi.asm: Likewise.
9192 * config/ia64/_floatditf.asm: Likewise.
9193 * config/ia64/t-fprules-softfp: Likewise.
9194 * config/ia64/t-softfp-compat: Likewise.
9195 * config/ia64/tf-signs.c: Likewise.
9196
9197 2009-01-18 Ben Elliston <bje@au.ibm.com>
9198
9199 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9200
9201 2009-01-16 Ben Elliston <bje@au.ibm.com>
9202
9203 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9204 to tmake_file.
9205
9206 2009-01-13 Ben Elliston <bje@au.ibm.com>
9207
9208 * config/t-softfp: New file.
9209 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9210 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9211
9212 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
9213
9214 * config.host: Add m32r*-*-rtems*.
9215
9216 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
9217
9218 * config.host: Add m32c*-*-rtems*.
9219
9220 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9221
9222 PR bootstrap/33100
9223 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9224 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9225 * configure: Regenerate.
9226 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9227 tmake_file here from gcc/config.gcc.
9228 Move extra_parts here from gcc/config.gcc.
9229 * config/i386/t-sol2: Move here from gcc/config/i386.
9230 Use gcc_srcdir instead of srcdir.
9231
9232 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9233
9234 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9235 case.
9236
9237 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9238
9239 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9240
9241 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9242
9243 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9244
9245 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9246
9247 Add picoChip port.
9248 * config.host: Add picochip-*-*.
9249
9250 2008-08-06 Bob Wilson <bob.wilson@acm.org>
9251
9252 * config.host: Match more processor names for Xtensa.
9253
9254 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9255
9256 * config/i386/64/t-softfp-compat: Update comments.
9257
9258 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9259
9260 * config/i386/64/_divtc3-compat.c: Moved to ...
9261 * config/i386/64/_divtc3.c: Here.
9262
9263 * config/i386/64/_multc3-compat.c: Moved to ...
9264 * config/i386/64/_multc3.c: Here.
9265
9266 * config/i386/64/_powitf2-compat.c: Moved to ...
9267 * config/i386/64/_powitf2.c: Here.
9268
9269 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9270 .c suffix instead of -compat.c.
9271
9272 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
9273
9274 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9275 (_FP_MUL_MEAT_D): Ditto.
9276 (_FP_DIV_MEAT_S): Ditto.
9277 (_FP_DIV_MEAT_D): Ditto.
9278
9279 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9280
9281 * Makefile.in: Add support for __sync_* libgcc functions.
9282
9283 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9284
9285 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9286
9287 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9288
9289 PR boostrap/36702
9290 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9291 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9292
9293 * config/i386/64/t-fprules-softfp: Moved to ...
9294 * config/i386/64/t-softfp-compat: This. New.
9295
9296 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
9297
9298 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9299 Initialize f with 0.0.
9300
9301 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9302
9303 PR target/36669
9304 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9305
9306 * config/i386/64/_divtc3-compat.c: New.
9307 * config/i386/64/_multc3-compat.c: Likewise.
9308 * config/i386/64/_powitf2-compat.c: Likewise.
9309 * config/i386/64/eqtf2.c: Likewise.
9310 * config/i386/64/getf2.c: Likewise.
9311 * config/i386/64/letf2.c: Likewise.
9312 * config/i386/64/t-fprules-softfp: Likewise.
9313
9314 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9315
9316 * config.host: Add i386/${host_address}/t-fprules-softfp to
9317 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
9318 i[34567]86-*-linux*, x86_64-*-linux*.
9319
9320 * configure.ac: Set host_address to 64 or 32 for x86.
9321 * configure: Regenerated.
9322
9323 * Makefile.in (config.status): Also depend on
9324 $(srcdir)/config.host.
9325
9326 * config/i386/32/t-fprules-softfp: New.
9327 * config/i386/32/tf-signs.c: Likewise.
9328
9329 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9330
9331 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9332 Uros Bizjak <ubizjak@gmail.com>
9333
9334 * config/i386/32/sfp-machine.h: New.
9335
9336 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9337
9338 * config/rs6000/t-ppccomm: Remove rules that conflict with
9339 auto-generated rules.
9340
9341 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9342
9343 * configure.ac: sinclude override.m4.
9344 * configure: Regenerate.
9345
9346 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9347
9348 * configure: Regenerate.
9349
9350 2008-06-10 Joseph Myers <joseph@codesourcery.com>
9351
9352 * Makefile.in (DECNUMINC): Remove
9353 -I$(MULTIBUILDTOP)../../libdecnumber.
9354 * gstdint.h: New.
9355
9356 2008-06-07 Joseph Myers <joseph@codesourcery.com>
9357
9358 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9359 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9360 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9361 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9362 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9363 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9364 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9365 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9366 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9367 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9368 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9369 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9370 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9371 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9372
9373 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9374
9375 * config.host (sh2[lbe]*-*-linux*): Allow target.
9376
9377 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9378
9379 * config/rs6000/t-ppccomm: Add build rules for new files.
9380 (LIB2ADD_ST): New variable.
9381
9382 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9383
9384 PR target/34210
9385 PR target/35508
9386 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9387 * config/t-avr: New file. Build 16bit libgcc functions.
9388
9389 2008-03-02 Jakub Jelinek <jakub@redhat.com>
9390
9391 PR target/35401
9392 * config/t-slibgcc-darwin: Make install-leaf dependent on
9393 install-darwin-libgcc-stubs instead of install.
9394
9395 2008-01-25 Joseph Myers <joseph@codesourcery.com>
9396
9397 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9398 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9399 sh-*-rtemscoff*): Remove cases.
9400
9401 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9402
9403 * Makefile.in (all): Use install-leaf rather than install.
9404 (install): Split most of the rule into...
9405 (install-leaf): ...this new one.
9406
9407 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
9408 Paolo Bonzini <bonzini@gnu.org>
9409
9410 PR target/30572
9411 * Makefile.in: Use @shlib_slibdir@ substitution to get
9412 correct install name on darwin.
9413 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
9414
9415 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
9416
9417 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9418 cris-*-elf and cris-*-none.
9419 (crisv32-*-linux*): Similar, as cris-*-linux*.
9420
9421 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9422
9423 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9424
9425 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9426
9427 PR regression/33926
9428 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9429 * configure: Regenerated.
9430
9431 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9432
9433 * Makefile.in (dfp-filenames): Replace decimal_globals,
9434 decimal_data, binarydecimal and convert_data with
9435 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9436 and bid_convert_data, respectively.
9437
9438 2007-09-17 Chao-ying Fu <fu@mips.com>
9439 Nigel Stephens <nigel@mips.com>
9440
9441 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9442 * Makefile.in (fixed_point): Define.
9443 Check if fixed_point is yes to build support functions.
9444 * configure.ac: Check for fixed_point support.
9445 * configure: Regenerated.
9446 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9447 funcs, modes, from, to.
9448
9449 2007-09-11 Janis Johnson <janis187@us.ibm.com
9450
9451 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9452
9453 2007-09-10 Janis Johnson <janis187@us.ibm.com>
9454
9455 * Makefile.in (dfp-filenames): Remove decUtility, add
9456 decDouble, decPacked, decQuad, decSingle.
9457
9458 2007-08-27 Hans Kester <hans.kester@ellips.nl>
9459
9460 * config.host : Add x86_64-elf target.
9461
9462 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9463
9464 * configure.ac (set_have_cc_tls): Add a missing =.
9465 * configure: Regenerated.
9466
9467 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9468
9469 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9470 and x86_64-*-linux*.
9471
9472 * config/t-tls: New file.
9473
9474 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
9475
9476 * configure.ac: Include ../config/enable.m4 and
9477 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9478 supports TLS and substitute set_have_cc_tls.
9479 * configure: Regenerated.
9480
9481 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9482
9483 * Makefile.in: Use libbid for DFP when BID is enabled.
9484
9485 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9486
9487 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
9488 extra_parts. Add config/i386/t-cygming to tmake_file.
9489 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9490
9491 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9492 Danny Smith <dannysmith@users.sourceforge.net>
9493
9494 PR target/29498
9495 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9496 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9497 * config/i386/t-crtfm: Compile crtfastmath.o with
9498 -minline-all-stringops.
9499
9500 2007-05-10 Richard Sandiford <richard@codesourcery.com>
9501
9502 * config.host (sparc-wrs-vxworks): New target.
9503
9504 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
9505
9506 * config.host: Recognize fido.
9507
9508 2007-04-04 Janis Johnson <janis187@us.ibm.com>
9509
9510 * configure: Check host, not target, for decimal float support.
9511
9512 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
9513
9514 * config/i386/t-crtpc: New file.
9515 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
9516 (x86_64-*-linux*): Ditto.
9517
9518 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
9519
9520 * config.host (x86_64-*-mingw*): New target.
9521
9522 2007-03-23 Michael Meissner <michael.meissner@amd.com>
9523 H.J. Lu <hongjiu.lu@intel.com>
9524
9525 * Makefile.in (enable_decimal_float): New.
9526 (DECNUMINC): Add
9527 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9528 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9529 (decbits-filenames): This.
9530 (decbits-objects): New.
9531 (libgcc-objects): Add $(decbits-objects).
9532
9533 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9534 Substitute enable_decimal_float.
9535 * configure: Regenerated.
9536
9537 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
9538
9539 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9540
9541 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9542
9543 * Makefile.in (install-info): New dummy target.
9544
9545 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9546
9547 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9548
9549 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9550
9551 * Makefile.in: Add install-html and install-pdf dummy
9552 targets.
9553
9554 2007-02-05 Roger Sayle <roger@eyesopen.com>
9555 Daniel Jacobowitz <dan@codesourcery.com>
9556
9557 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9558 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9559 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9560
9561 2007-01-29 Janis Johnson <janis187@us.ibm.com>
9562
9563 * Makefile.in (dec-filenames): Add decExcept.
9564
9565 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9566
9567 PR bootstrap/30469
9568 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9569 -fprofile-use.
9570
9571 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9572
9573 * configure.ac: Add --enable-version-specific-runtime-libs.
9574 Correct $slibdir default.
9575 * configure: Regenerated.
9576
9577 2007-01-23 Joseph Myers <joseph@codesourcery.com>
9578
9579 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9580
9581 2007-01-21 Andrew Pinski <pinskia@gmail.com>
9582
9583 PR target/30519
9584 * config.host (alpha*-*-linux*): Set extra_parts.
9585
9586 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9587
9588 * config/sh/t-linux: New.
9589 * config.host (sh*-*-linux*): Set tmake_file.
9590
9591 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9592
9593 * Makefile.in (install): Handle multilibs.
9594
9595 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9596
9597 * Makefile.in: Added .PHONY entry for documentation targets.
9598
9599 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9600
9601 * Makefile.in: Add empty info, html, dvi, pdf targets.
9602
9603 2007-01-04 Mike Stump <mrs@apple.com>
9604
9605 * Makefile.in (MAKEINFO): Remove.
9606 (PERL): Likewise.
9607
9608 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
9609
9610 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9611 * configure: Regenerate.
9612 * Makefile.in (host_subdir): Substitute it.
9613 (gcc_objdir): Use it.
9614
9615 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9616
9617 * config.host (ia64*-*-linux*): Set tmake_file.
9618
9619 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9620
9621 * Makefile.in (version): Define.
9622
9623 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9624 Paolo Bonzini <bonzini@gnu.org>
9625
9626 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9627 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9628 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9629 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9630 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9631 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9632 * configure: Generated.
9633 \f
9634 Copyright (C) 2007-2018 Free Software Foundation, Inc.
9635
9636 Copying and distribution of this file, with or without modification,
9637 are permitted in any medium without royalty provided the copyright
9638 notice and this notice are preserved.