linux-unwind.h (pa32_fallback_frame_state): Add cast.
[gcc.git] / libgcc / ChangeLog
1 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
2
3 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
4
5 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
6
7 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
8 4_FP_W_TYPEs are used for IEEE quad precision.
9 * soft-fp/extendhftf2.c: Likewise.
10 * soft-fp/extendsftf2.c: Likewise.
11 * soft-fp/extendxftf2.c: Likewise.
12 * soft-fp/trunctfdf2.c: Likewise.
13 * soft-fp/trunctfhf2.c: Likewise.
14 * soft-fp/trunctfsf2.c: Likewise.
15 * soft-fp/trunctfxf2.c: Likewise.
16 * config/rs6000/ibm-ldouble.c: Likewise.
17
18 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
19
20 * config.host: Simplify various *-*-solaris2.1[0-9]* to
21 *-*-solaris2*.
22 * configure.ac: Likewise.
23 * configure: Regenerate.
24
25 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
26 Solaris 10 and Solaris 11 < snv_125 handling.
27
28 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
29
30 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
31
32 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
33
34 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
35 * config/i386/cpuinfo.h (enum processor_features): Add
36 FEATURE_AVX512BF16.
37
38 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
39 Bernd Edlinger <bernd.edlinger@hotmail.de>
40 Jakub Jelinek <jakub@redhat.com>
41
42 PR target/89093
43 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
44 * config/arm/unwind-arm.c: Likewise.
45 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
46 attribute for ARM.
47
48 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
49
50 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
51 (RT_SIGRETURN): Update.
52 (nds32_fallback_frame_state): Update.
53
54 2019-02-21 Martin Sebor <msebor@redhat.com>
55
56 * libgcc2.h (__clear_cache): Correct signature.
57 * libgcc2.c (__clear_cache): Same.
58
59 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
60
61 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
62 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
63
64 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
65
66 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
67 regno instead of index to DWARF_ZERO_REG.
68
69 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
70
71 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
72 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
73
74 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
75
76 * config/alpha/t-linux: Add -mfp-rounding-mode=d
77 to HOST_LIBGCC2_CFLAGS.
78
79 2019-01-23 Joseph Myers <joseph@codesourcery.com>
80
81 PR libgcc/88931
82 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
83
84 2019-01-18 Martin Liska <mliska@suse.cz>
85
86 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
87 to ...
88 (__gcov_indirect_call_profiler_v3): ... this.
89 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
90 (__gcov_indirect_call_profiler_v3): Likewise.
91 * Makefile.in: Bump function name.
92
93 2019-01-18 Martin Liska <mliska@suse.cz>
94
95 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
96 (gcov_version): Use in gcov_error.
97 (merge_one_data): Likewise.
98 (dump_one_gcov): Likewise.
99
100 2019-01-18 Martin Liska <mliska@suse.cz>
101
102 * libgcov-driver.c (gcov_version_string): New function.
103 (gcov_version): Convert version integer into string.
104
105 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
106 Kwok Cheung Yeung <kcy@codesourcery.com>
107 Julian Brown <julian@codesourcery.com>
108 Tom de Vries <tom@codesourcery.com>
109
110 * config.host: Recognize amdgcn*-*-amdhsa.
111 * config/gcn/crt0.c: New file.
112 * config/gcn/lib2-divmod-hi.c: New file.
113 * config/gcn/lib2-divmod.c: New file.
114 * config/gcn/lib2-gcn.h: New file.
115 * config/gcn/sfp-machine.h: New file.
116 * config/gcn/t-amdgcn: New file.
117
118 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
119
120 PR other/16615
121
122 * config/c6x/libunwind.S: Mechanically replace "can not" with
123 "cannot".
124 * config/tilepro/atomic.h: Likewise.
125 * config/vxlib-tls.c: Likewise.
126 * generic-morestack-thread.c: Likewise.
127 * generic-morestack.c: Likewise.
128 * mkmap-symver.awk: Likewise.
129
130 2019-01-01 Jakub Jelinek <jakub@redhat.com>
131
132 Update copyright years.
133
134 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
135
136 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
137 to ignore -Waddress-of-packed-member.
138
139 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
140
141 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
142 parameter and corresponding code.
143 (ARM_FUNC_START): Likewise in both definitions.
144 Also update footer comment about condition that need to match with
145 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
146 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
147 defined. Weakly define it in this case.
148 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
149 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
150 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
151 comment to keep condition in sync with the one in
152 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
153
154 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
155
156 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
157 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
158
159 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
160
161 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
162 and .cfi_endproc directives for VxWorks targets.
163
164 2018-12-05 Paul Koning <ni1d@arrl.net>
165
166 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
167
168 2018-11-27 Alan Modra <amodra@gmail.com>
169
170 * config/rs6000/morestack.S (__stack_split_initialize),
171 (__morestack_get_guard, __morestack_set_guard),
172 (__morestack_make_guard): Provide CFI covering these functions.
173 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
174
175 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
176
177 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
178 (sc_pt_regs_lr): Update for kernel.
179 (sc_pt_regs_tls): Update for kernel.
180
181 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
182
183 * config/csky/linux-unwind.h: Fix coding style.
184
185 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
186
187 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
188 (csky_fallback_frame_state): Modify the check of the
189 instructions to adapt to changes in the kernel
190
191 2018-11-09 Stafford Horne <shorne@gmail.com>
192 Richard Henderson <rth@twiddle.net>
193
194 * config.host: Add OpenRISC support.
195 * config/or1k/*: New.
196
197 2018-11-08 Kito Cheng <kito@andestech.com>
198
199 * soft-fp/adddf3.c: Update from glibc.
200 * soft-fp/addsf3.c: Likewise.
201 * soft-fp/addtf3.c: Likewise.
202 * soft-fp/divdf3.c: Likewise.
203 * soft-fp/divsf3.c: Likewise.
204 * soft-fp/divtf3.c: Likewise.
205 * soft-fp/double.h: Likewise.
206 * soft-fp/eqdf2.c: Likewise.
207 * soft-fp/eqsf2.c: Likewise.
208 * soft-fp/eqtf2.c: Likewise.
209 * soft-fp/extenddftf2.c: Likewise.
210 * soft-fp/extended.h: Likewise.
211 * soft-fp/extendhftf2.c: Likewise.
212 * soft-fp/extendsfdf2.c: Likewise.
213 * soft-fp/extendsftf2.c: Likewise.
214 * soft-fp/extendxftf2.c: Likewise.
215 * soft-fp/fixdfdi.c: Likewise.
216 * soft-fp/fixdfsi.c: Likewise.
217 * soft-fp/fixdfti.c: Likewise.
218 * soft-fp/fixhfti.c: Likewise.
219 * soft-fp/fixsfdi.c: Likewise.
220 * soft-fp/fixsfsi.c: Likewise.
221 * soft-fp/fixsfti.c: Likewise.
222 * soft-fp/fixtfdi.c: Likewise.
223 * soft-fp/fixtfsi.c: Likewise.
224 * soft-fp/fixtfti.c: Likewise.
225 * soft-fp/fixunsdfdi.c: Likewise.
226 * soft-fp/fixunsdfsi.c: Likewise.
227 * soft-fp/fixunsdfti.c: Likewise.
228 * soft-fp/fixunshfti.c: Likewise.
229 * soft-fp/fixunssfdi.c: Likewise.
230 * soft-fp/fixunssfsi.c: Likewise.
231 * soft-fp/fixunssfti.c: Likewise.
232 * soft-fp/fixunstfdi.c: Likewise.
233 * soft-fp/fixunstfsi.c: Likewise.
234 * soft-fp/fixunstfti.c: Likewise.
235 * soft-fp/floatdidf.c: Likewise.
236 * soft-fp/floatdisf.c: Likewise.
237 * soft-fp/floatditf.c: Likewise.
238 * soft-fp/floatsidf.c: Likewise.
239 * soft-fp/floatsisf.c: Likewise.
240 * soft-fp/floatsitf.c: Likewise.
241 * soft-fp/floattidf.c: Likewise.
242 * soft-fp/floattihf.c: Likewise.
243 * soft-fp/floattisf.c: Likewise.
244 * soft-fp/floattitf.c: Likewise.
245 * soft-fp/floatundidf.c: Likewise.
246 * soft-fp/floatundisf.c: Likewise.
247 * soft-fp/floatunditf.c: Likewise.
248 * soft-fp/floatunsidf.c: Likewise.
249 * soft-fp/floatunsisf.c: Likewise.
250 * soft-fp/floatunsitf.c: Likewise.
251 * soft-fp/floatuntidf.c: Likewise.
252 * soft-fp/floatuntihf.c: Likewise.
253 * soft-fp/floatuntisf.c: Likewise.
254 * soft-fp/floatuntitf.c: Likewise.
255 * soft-fp/gedf2.c: Likewise.
256 * soft-fp/gesf2.c: Likewise.
257 * soft-fp/getf2.c: Likewise.
258 * soft-fp/half.h: Likewise.
259 * soft-fp/ledf2.c: Likewise.
260 * soft-fp/lesf2.c: Likewise.
261 * soft-fp/letf2.c: Likewise.
262 * soft-fp/muldf3.c: Likewise.
263 * soft-fp/mulsf3.c: Likewise.
264 * soft-fp/multf3.c: Likewise.
265 * soft-fp/negdf2.c: Likewise.
266 * soft-fp/negsf2.c: Likewise.
267 * soft-fp/negtf2.c: Likewise.
268 * soft-fp/op-1.h: Likewise.
269 * soft-fp/op-2.h: Likewise.
270 * soft-fp/op-4.h: Likewise.
271 * soft-fp/op-8.h: Likewise.
272 * soft-fp/op-common.h: Likewise.
273 * soft-fp/quad.h: Likewise.
274 * soft-fp/single.h: Likewise.
275 * soft-fp/soft-fp.h: Likewise.
276 * soft-fp/subdf3.c: Likewise.
277 * soft-fp/subsf3.c: Likewise.
278 * soft-fp/subtf3.c: Likewise.
279 * soft-fp/truncdfsf2.c: Likewise.
280 * soft-fp/trunctfdf2.c: Likewise.
281 * soft-fp/trunctfhf2.c: Likewise.
282 * soft-fp/trunctfsf2.c: Likewise.
283 * soft-fp/trunctfxf2.c: Likewise.
284 * soft-fp/unorddf2.c: Likewise.
285 * soft-fp/unordsf2.c: Likewise.
286 * soft-fp/unordtf2.c: Likewise.
287
288 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
289
290 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
291 * config/i386/cpuinfo.h (processor_types): Add znver2.
292
293 2018-11-01 Paul Koning <ni1d@arrl.net>
294
295 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
296 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
297
298 2018-10-31 Joseph Myers <joseph@codesourcery.com>
299
300 PR bootstrap/82856
301 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
302 * configure: Regenerate.
303
304 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
305
306 * config/arc/lib1funcs.S (_muldi3): New function.
307 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
308
309 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
310
311 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
312
313 2018-10-25 Martin Liska <mliska@suse.cz>
314
315 PR other/87735
316 * libgcov-profiler.c: Revert.
317
318 2018-10-24 Martin Liska <mliska@suse.cz>
319
320 * libgcov-profiler.c: Start from 1 in order to distinguish
321 functions which were seen and these that were not.
322
323 2018-10-18 Paul Koning <ni1d@arrl.net>
324
325 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
326 standard.
327 * divmod.c: Update references to __udivmodsi4.
328 * udivmod.c: Ditto.
329 * udivhi3.c: New file.
330 * udivmodhi4.c: New file.
331 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
332
333 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
334
335 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
336
337 2018-10-12 Olivier Hainque <hainque@adacore.com>
338
339 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
340 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
341
342 2018-10-08 Paul Koning <ni1d@arrl.net>
343
344 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
345
346 2018-10-04 Martin Liska <mliska@suse.cz>
347
348 PR gcov-profile/84107
349 * libgcov-profiler.c (__gcov_indirect_call):
350 Change type to indirect_call_tuple.
351 (struct indirect_call_tuple): New struct.
352 (__gcov_indirect_call_topn_profiler): Change type.
353 (__gcov_indirect_call_profiler_v2): Use the new
354 variables.
355 * libgcov.h (struct indirect_call_tuple): New struct
356 definition.
357
358 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
359
360 * libgcc2.c (isnan): Use __builtin_isnan.
361 (isfinite): Use __builtin_isfinite.
362 (isinf): Use __builtin_isinf.
363
364 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
365
366 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
367
368 2018-09-21 Alexandre Oliva <oliva@adacore.com>
369
370 * config/vxcache.c: New file. Provide __clear_cache, based on
371 the cacheTextUpdate VxWorks service.
372 * config/t-vxworks (LIB2ADD): Add vxcache.c.
373 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
374 * config/t-vxwoks7: Likewise.
375
376 2018-09-21 Martin Liska <mliska@suse.cz>
377
378 * libgcov-driver.c (crc32_unsigned): Remove.
379 (gcov_histogram_insert): Likewise.
380 (gcov_compute_histogram): Likewise.
381 (compute_summary): Simplify rapidly.
382 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
383 (merge_summary): Rapidly simplify.
384 (dump_one_gcov): Ignore gcov_summary.
385 (gcov_do_dump): Do not handle program summary, it's not
386 used.
387 * libgcov-util.c (tag_summary): Remove.
388 (read_gcda_finalize): Fix coding style.
389 (read_gcda_file): Initialize curr_object_summary.
390 (compute_summary): Remove.
391 (calculate_overlap): Remove settings of run_max.
392
393 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
394
395 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
396 ucontext_t type instead.
397 (nds32_fallback_frame_state): Remove struct _sigframe statement.
398
399 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
400
401 * config/nds32/t-nds32-glibc: New file.
402
403 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
404
405 * configure.ac (solaris_ld_v2_maps): New test.
406 * configure: Regenerate.
407 * Makefile.in (solaris_ld_v2_maps): New variable.
408 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
409 if supported.
410
411 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
412
413 PR target/86951
414 * config/arm/lib1funcs.asm (speculation_barrier): New function.
415 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
416 to build.
417
418 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
419
420 * config/unwind-dw2-fde-darwin.c
421 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
422 * config/darwin10-unwind-find-enc-func.c: … to here.
423 * config/t-darwin: Build Darwin10 unwinder shim crt.
424 * libgcc/config.host: Add the Darwin10 unwinder shim.
425
426 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
427
428 * config.host: Add crtbegin.o and crtend.o for
429 powerpc-wrs-vxworks target.
430
431 2018-08-17 Jojo <jijie_rong@c-sky.com>
432 Huibin Wang <huibin_wang@c-sky.com>
433 Sandra Loosemore <sandra@codesourcery.com>
434 Chung-Lin Tang <cltang@codesourcery.com>
435
436 C-SKY port: libgcc
437
438 * config.host: Add C-SKY support.
439 * config/csky/*: New.
440
441 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
442
443 * config/nds32/t-nds32-isr: Rearrange object dependency.
444 * config/nds32/initfini.c: Add dwarf2 unwinding support.
445 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
446 and registers usage.
447 * config/nds32/isr-library/excp_isr.S: Ditto.
448 * config/nds32/isr-library/intr_isr.S: Ditto.
449 * config/nds32/isr-library/reset.S: Ditto.
450 * config/nds32/isr-library/restore_all.inc: Ditto.
451 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
452 * config/nds32/isr-library/restore_partial.inc: Ditto.
453 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
454 * config/nds32/isr-library/save_all.inc: Ditto.
455 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
456 * config/nds32/isr-library/save_partial.inc: Ditto.
457 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
458 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
459
460 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
461
462 * config/pa/linux-atomic.c: Update comment.
463 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
464 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
465 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
466 __ATOMIC_RELAXED for atomic loads.
467 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
468 unordered store to release lock.
469 (__sync_lock_release_8): Likewise.
470 (SYNC_LOCK_RELEASE_2): Remove define.
471
472 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
473
474 PR libgcc/86512
475 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
476 exponent goes negative. Update my email address.
477 * config/arm/ieee754-sf.S: Likewise.
478
479 2018-08-01 Martin Liska <mliska@suse.cz>
480
481 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
482 check that __gcov_indirect_call_callee is non-null.
483
484 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
485
486 * config/arm/ieee754-df.S: Fix comment for code working on
487 architectures >= 4.
488 * config/arm/ieee754-sf.S: Likewise.
489
490 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
491
492 PR libgcc/85334
493 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
494 Removed.
495
496 2018-07-05 James Clarke <jrtc27@jrtc27.com>
497
498 * configure: Regenerated.
499
500 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
501
502 * Makefile.in (install_leaf): Use enable_gcov instead of
503 enable_libgcov.
504
505 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
506
507 * configure.ac: Add --disable-gcov option.
508 * configure: Regenerate.
509 * Makefile.in: Honour @enable_gcov@.
510
511 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
512
513 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
514 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
515 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
516 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
517 __ARM_ARCH__.
518 * config/arm/ieee754-sf.S: Likewise.
519 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
520
521 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
522
523 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
524 longer supported.
525 * config/arm/ieee754-sf.S: Likewise.
526
527 2018-06-20 Than McIntosh <thanm@google.com>
528
529 PR libgcc/86213
530 * generic-morestack.c (allocate_segment): Move calls to getenv and
531 getpagesize to __morestack_load_mmap.
532 (__morestack_load_mmap) Initialize static_pagesize and
533 use_guard_page here so as to avoid clobbering SSE regs during a
534 __morestack call.
535
536 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
537
538 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
539 support modules with -mno-gnu-attribute.
540 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
541
542 2018-06-07 Olivier Hainque <hainque@adacore.com>
543
544 * config/t-vxworks (LIBGCC_INCLUDES): Add
545 -I$(MULTIBUILDTOP)../../gcc/include.
546 * config/t-vxworks7: Likewise. Reformat a bit to match
547 the t-vxworks layout.
548
549 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
550
551 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
552
553 2018-06-07 Martin Liska <mliska@suse.cz>
554
555 * libgcov-driver.c: Rename cs_all to all and assign it from
556 all_prg.
557
558 2018-06-07 Martin Liska <mliska@suse.cz>
559
560 PR bootstrap/86057
561 * libgcov-driver-system.c (replace_filename_variables): Use
562 memcpy instead of mempcpy.
563 (allocate_filename_struct): Do not allocate filename, allocate
564 prefix and set it.
565 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
566 here and properly copy content into it.
567 * libgcov-driver.c (struct gcov_filename): Remove max_length
568 field, change prefix from size_t into char *.
569 (compute_summary): Do not calculate longest filename.
570 (gcov_do_dump): Release memory of gf.filename after each file.
571 * libgcov-util.c (compute_summary): Use new signature of
572 compute_summary.
573 (calculate_overlap): Likewise.
574
575 2018-06-05 Martin Liska <mliska@suse.cz>
576
577 PR gcov-profile/47618
578 * libgcov-driver-system.c (replace_filename_variables): New
579 function.
580 (gcov_exit_open_gcda_file): Use it.
581
582 2018-06-05 Martin Liska <mliska@suse.cz>
583
584 * libgcov-driver.c (gcov_compute_histogram): Remove usage
585 of gcov_ctr_summary.
586 (compute_summary): Do it just for a single summary.
587 (merge_one_data): Likewise.
588 (merge_summary): Simplify as we read just single summary.
589 (dump_one_gcov): Pass proper argument.
590 * libgcov-util.c (compute_one_gcov): Simplify as we have just
591 single summary.
592 (gcov_info_count_all_cold): Likewise.
593 (calculate_overlap): Likewise.
594
595 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
596 Monk Chiang <sh.chiang04@gmail.com>
597
598 * config.host (nds32*-linux*): New.
599 * config/nds32/linux-atomic.c: New file.
600 * config/nds32/linux-unwind.h: New file.
601
602 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
603
604 PR target/85591
605 * config/i386/cpuinfo.c (get_amd_cpu): Return
606 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
607
608 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
609
610 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
611
612 2018-05-29 Martin Liska <mliska@suse.cz>
613
614 PR gcov-profile/85759
615 * libgcov-driver-system.c (gcov_error): Introduce usage of
616 GCOV_EXIT_AT_ERROR env. variable.
617 * libgcov-driver.c (merge_one_data): Print error that we
618 overwrite a gcov file with a different timestamp.
619
620 2018-05-23 Kalamatee <kalamatee@gmail.com>
621
622 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
623 path to Lf$finfty.
624
625 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
626 Monk Chiang <sh.chiang04@gmail.com>
627 Jim Wilson <jimw@sifive.com>
628
629 * config/riscv/save-restore.S: Add support for rv32e.
630
631 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
632
633 * config/arm/libunwind.S: Update comment relating to armv5.
634
635 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
636
637 * config/arm/cmse.c (cmse_check_address_range): Replace
638 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
639
640 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
641
642 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
643 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
644
645 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
646
647 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
648 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
649
650 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
651
652 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
653
654 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
655 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
656
657 PR libgcc/84292
658 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
659 op_and_fetch to return the right result.
660
661 2018-04-27 Alan Modra <amodra@gmail.com>
662
663 PR libgcc/85532
664 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
665 -fno-asynchronous-unwind-tables.
666
667 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
668
669 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
670 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
671
672 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
673
674 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
675 when including "config/i386/shadow-stack-unwind.h".
676
677 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
678
679 * configure: Regenerated.
680
681 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
682
683 PR target/85456
684 * config/rs6000/_powikf2.c: New file. Add support for the
685 __builtin_powil function when long double is IEEE 128-bit floating
686 point.
687 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
688 __powikf2 support.
689 (__powikf2): Likewise.
690 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
691 (__powikf2_hw): Likewise.
692 (__powikf2): Likewise.
693 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
694 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
695 (_powikf2-hw.c): Likewise.
696
697 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
698
699 PR libgcc/85334
700 * unwind-generic.h (_Unwind_Frames_Increment): New.
701 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
702 Likewise.
703 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
704 count with _Unwind_Frames_Increment.
705 (_Unwind_ForcedUnwind_Phase2): Likewise.
706
707 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
708
709 PR libgcc/85379
710 * config/i386/morestack.S (__stack_split_initialize): Add
711 _CET_ENDBR.
712
713 2018-04-19 Jakub Jelinek <jakub@redhat.com>
714
715 * configure: Regenerated.
716
717 2018-04-18 David Malcolm <dmalcolm@redhat.com>
718
719 PR jit/85384
720 * configure: Regenerate.
721
722 2018-04-16 Jakub Jelinek <jakub@redhat.com>
723
724 PR target/84945
725 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
726 -Wdangling-else warnings. Mask shift counts to avoid
727 -Wshift-count-negative and -Wshift-count-overflow false positives.
728
729 2018-04-06 Ruslan Bukin <br@bsdpad.com>
730
731 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
732
733 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
734
735 PR target/85100
736 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
737 (XSTATE_FP): Likewise.
738 (XSTATE_SSE): Likewise.
739 (XSTATE_YMM): Likewise.
740 (XSTATE_OPMASK): Likewise.
741 (XSTATE_ZMM): Likewise.
742 (XSTATE_HI_ZMM): Likewise.
743 (XCR_AVX_ENABLED_MASK): Likewise.
744 (XCR_AVX512F_ENABLED_MASK): Likewise.
745 (get_available_features): Enable AVX and AVX512 features only
746 if their states are supported by OSXSAVE.
747
748 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
749
750 PR target/85025
751 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
752 Fix a typo, tmp => 255.
753
754 2018-03-20 Jakub Jelinek <jakub@redhat.com>
755
756 PR target/84945
757 * config/i386/cpuinfo.h (__cpu_features2): Declare.
758 * config/i386/cpuinfo.c (__cpu_features2): New variable for
759 ifndef SHARED only.
760 (set_feature): Define.
761 (get_available_features): Use set_feature macro. Set __cpu_features2
762 to the second word of features ifndef SHARED.
763
764 2018-03-15 Julia Koval <julia.koval@intel.com>
765
766 * config/i386/cpuinfo.c (get_available_features): Add
767 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
768 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
769 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
770 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
771 FEATURE_AVX512BITALG.
772
773 2018-03-14 Julia Koval <julia.koval@intel.com>
774
775 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
776 icelake client and icelake server.
777
778 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
779
780 * config/pa/fptr.c (_dl_read_access_allowed): New.
781 (__canonicalize_funcptr_for_compare): Use it.
782
783 2018-02-28 Jakub Jelinek <jakub@redhat.com>
784
785 PR debug/83917
786 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
787 $asm_hidden_op if visibility ("hidden") attribute works.
788 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
789 * config/i386/i386-asm.h: Don't include auto-host.h.
790 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
791 PACKAGE_URL): Don't undefine.
792 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
793 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
794 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
795 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
796 definition instead of hardcoded .hidden.
797 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
798 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
799 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
800 (USE_GAS_CFI_DIRECTIVES): Don't define.
801 * configure: Regenerated.
802 * config.in: Likewise.
803
804 2018-02-26 Jakub Jelinek <jakub@redhat.com>
805
806 PR debug/83917
807 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
808 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
809 inclusion of auto-target.h and auto-host.h.
810 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
811 __GCC_HAVE_DWARF2_CFI_ASM.
812 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
813 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
814 cfi_pop): Define.
815 * config/i386/cygwin.S: Don't include auto-host.h here, just
816 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
817 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
818 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
819 * config/i386/resms64fx.h: Add cfi_* directives.
820 * config/i386/resms64x.h: Likewise.
821
822 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
823
824 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
825 .literal_position directive.
826 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
827
828 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
829
830 PR target/84148
831 * configure: Regenerate.
832
833 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
834
835 PR target/84239
836 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
837 Include cetintrin.h not x86intrin.h.
838
839 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
840
841 PR target/84239
842 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
843 Use new _get_ssp and _inc_ssp intrinsics.
844
845 2018-02-02 Julia Koval <julia.koval@intel.com>
846
847 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
848
849 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
850
851 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
852 option.
853 (__divsi3): Use RF16 safe registers.
854 (__modsi3): Likewise.
855
856 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
857
858 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
859 (__divsf3): Make NaN return value quiet.
860 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
861 (__divdf3): Make NaN return value quiet.
862
863 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
864
865 * config/rl78/anddi3.S: New assembly file.
866 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
867
868 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
869
870 * config/rl78/umindi3.S: New assembly file.
871 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
872
873 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
874
875 * config/rl78/smindi3.S: New assembly file.
876 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
877
878 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
879
880 * config/rl78/smaxdi3.S: New assembly file.
881 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
882
883 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
884
885 * config/rl78/umaxdi3.S: New assembly file.
886 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
887
888 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
889
890 PR lto/83452
891 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
892 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
893
894 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
895
896 * config/aarch64/value-unwind.h (aarch64_vg): New function.
897 (DWARF_LAZY_REGISTER_VALUE): Define.
898 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
899 to provide a fallback register value.
900
901 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
902
903 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
904 __ibm128, instead of trying to use long double.
905 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
906 accomidate -mabi=ieeelongdouble multilibs.
907 (CVT_IBM128_TO_FLOAT128): Likewise.
908 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
909 the appropriate IBM extended double type.
910 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
911 (__gcc_qsub): Likewise.
912 (__gcc_qmul): Likewise.
913 (__gcc_qdiv): Likewise.
914 (pack_ldouble): Likewise.
915 (__gcc_qneg): Likewise.
916 (__gcc_qeq): Likewise.
917 (__gcc_qne): Likewise.
918 (__gcc_qge): Likewise.
919 (__gcc_qle): Likewise.
920 (__gcc_stoq): Likewise.
921 (__gcc_dtoq): Likewise.
922 (__gcc_itoq): Likewise.
923 (__gcc_utoq): Likewise.
924 (__gcc_qunord): Likewise.
925 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
926 quad-float128.h for the definitions.
927 (COPYSIGN): Use the f128 version instead of the q version.
928 (INFINITY): Likewise.
929 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
930 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
931 quad-float128.h for the definitions.
932 (COPYSIGN): Use the f128 version instead of the q version.
933 (INFINITY): Likewise.
934 (FABS): Likewise.
935 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
936 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
937 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
938
939 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
940
941 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
942 configuration.
943
944 2018-01-03 Jakub Jelinek <jakub@redhat.com>
945
946 Update copyright years.
947
948 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
949
950 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
951 * config/riscv/multi3.c: New file.
952 * config/riscv/multi3.S: Remove.
953
954 2017-12-08 Jim Wilson <jimw@sifive.com>
955
956 * config/riscv/div.S: Use FUNC_* macros.
957 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
958 * config/riscv/save-restore.S: Likewise.
959 * config/riscv/riscv-asm.h: New.
960
961 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
962
963 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
964 * config/rs6000/_divkc3.c (__divkc3): Likewise.
965
966 PR libgcc/83112
967 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
968 correct type for all ifunc resolvers to silence -Wattribute-alias
969 warnings. Eliminate the forward declaration of the resolver
970 functions which is no longer needed.
971 (__subkf3_resolve): Likewise.
972 (__mulkf3_resolve): Likewise.
973 (__divkf3_resolve): Likewise.
974 (__negkf2_resolve): Likewise.
975 (__eqkf2_resolve): Likewise.
976 (__nekf2_resolve): Likewise.
977 (__gekf2_resolve): Likewise.
978 (__gtkf2_resolve): Likewise.
979 (__lekf2_resolve): Likewise.
980 (__ltkf2_resolve): Likewise.
981 (__unordkf2_resolve): Likewise.
982 (__extendsfkf2_resolve): Likewise.
983 (__extenddfkf2_resolve): Likewise.
984 (__trunckfsf2_resolve): Likewise.
985 (__trunckfdf2_resolve): Likewise.
986 (__fixkfsi_resolve): Likewise.
987 (__fixkfdi_resolve): Likewise.
988 (__fixunskfsi_resolve): Likewise.
989 (__fixunskfdi_resolve): Likewise.
990 (__floatsikf_resolve): Likewise.
991 (__floatdikf_resolve): Likewise.
992 (__floatunsikf_resolve): Likewise.
993 (__floatundikf_resolve): Likewise.
994 (__extendkftf2_resolve): Likewise.
995 (__trunctfkf2_resolve): Likewise.
996
997 PR libgcc/83103
998 * config/rs6000/quad-float128.h (TF): Don't define if long double
999 is IEEE 128-bit floating point.
1000 (TCtype): Define as either TCmode or KCmode, depending on whether
1001 long double is IEEE 128-bit floating point.
1002 (__mulkc3_sw): Add declarations for software/hardware versions of
1003 complex multiply/divide.
1004 (__divkc3_sw): Likewise.
1005 (__mulkc3_hw): Likewise.
1006 (__divkc3_hw): Likewise.
1007 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1008 handlers to switch between using software emulation and hardware
1009 float128 instructions, build the complex multiply/divide functions
1010 for both software and hardware support.
1011 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1012 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1013 (__divkc3_resolve): Likewise.
1014 (__mulkc3): Likewise.
1015 (__divkc3): Likewise.
1016 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1017 (fp128_hw_src): Likewise.
1018 (fp128_hw_static_obj): Likewise.
1019 (fp128_hw_shared_obj): Likewise.
1020 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1021 _mulkc3.c and _divkc3.c, changing the function name.
1022 (_divkc3-hw.c): Likewise.
1023 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1024 and _divkc3-hw.c.
1025
1026 2017-11-26 Julia Koval <julia.koval@intel.com>
1027
1028 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1029 * config/i386/cpuinfo.h (processor_subtypes): Add
1030 INTEL_COREI7_CANNONLAKE.
1031
1032 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1033
1034 PR bootstrap/83015
1035 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1036 parameter.
1037 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1038 * config/ia64/unwind-ia64.c: Add frames parameter.
1039 * unwind-sjlj.c: Likewise.
1040
1041 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1042
1043 * config/i386/linux-unwind.h: Include
1044 config/i386/shadow-stack-unwind.h.
1045 * config/i386/shadow-stack-unwind.h: New file.
1046 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1047 pass it to _Unwind_Frames_Extra.
1048 * unwind-generic.h (_Unwind_Frames_Extra): New.
1049 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1050 parameter. Add local variable frames to count number of frames.
1051 (_Unwind_ForcedUnwind_Phase2): Likewise.
1052 (_Unwind_RaiseException): Add local variable frames to count
1053 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1054 uw_install_context.
1055 (_Unwind_ForcedUnwind): Likewise.
1056 (_Unwind_Resume): Likewise.
1057 (_Unwind_Resume_or_Rethrow): Likewise.
1058
1059 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1060
1061 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1062 (CET_FLAGS): New.
1063 * config/i386/morestack.S: Include <cet.h>.
1064 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1065 * config/i386/resms64.h: Include <cet.h>.
1066 * config/i386/resms64f.h: Likewise.
1067 * config/i386/resms64fx.h: Likewise.
1068 * config/i386/resms64x.h: Likewise.
1069 * config/i386/savms64.h: Likewise.
1070 * config/i386/savms64f.h: Likewise.
1071 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1072 (CRTSTUFF_T_CFLAGS): Likewise.
1073 * configure.ac: Include ../config/cet.m4.
1074 Set and substitute CET_FLAGS.
1075 * configure: Regenerated.
1076
1077 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1078
1079 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1080 renaming.
1081 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1082 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1083 * configure: Regenerate.
1084
1085 2017-11-07 Tom de Vries <tom@codesourcery.com>
1086
1087 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1088 after "do {} while (0)".
1089
1090 2017-11-07 Tom de Vries <tom@codesourcery.com>
1091
1092 PR other/82784
1093 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1094 semicolon after "do {} while (0)".
1095 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1096 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1097 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1098 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1099
1100 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1101
1102 PR libgcc/82635
1103 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1104 sysctl to determine whether we're in a trampoline.
1105 Keep the pattern matching method for systems without
1106 KERN_PROC_SIGTRAMP sysctl.
1107
1108 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1109 Vineet Gupta <vgupta@synopsys.com>
1110
1111 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1112 * config/arc/linux-unwind-reg.def: New file.
1113 * config/arc/linux-unwind-reg.h: Likewise.
1114
1115 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1116
1117 * config/rl78/subdi3.S: New assembly file.
1118 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1119
1120 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1121
1122 * config/rl78/adddi3.S: New assembly file.
1123 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1124
1125 2017-10-13 Jakub Jelinek <jakub@redhat.com>
1126
1127 PR target/82274
1128 * libgcc2.c (__mulvDI3): If both operands have
1129 the same highpart of -1 and the topmost bit of lowpart is 0,
1130 multiplication overflows even if both lowparts are 0.
1131
1132 2017-09-28 James Bowman <james.bowman@ftdichip.com>
1133
1134 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1135
1136 2017-09-26 Joseph Myers <joseph@codesourcery.com>
1137
1138 * config/microblaze/crti.S, config/microblaze/crtn.S,
1139 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1140 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1141 config/microblaze/mulsi3.S,
1142 config/microblaze/stack_overflow_exit.S,
1143 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1144 config/pa/milli64.S: Add .note.GNU-stack section.
1145
1146 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
1147
1148 * configure.ac: Add Check for HAVE_AS_AVX.
1149 * config.in: Regenerate.
1150 * configure: Likewise.
1151 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1152 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1153 Correct out-of-date comments.
1154
1155 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1156
1157 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1158 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1159
1160 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
1161
1162 * config/i386/i386-asm.h (PASTE2): New macro.
1163 (ASMNAME): Modify to use PASTE2.
1164 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1165 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
1166 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
1167 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
1168 * config/i386/resms64f.S: Likewise.
1169 * config/i386/resms64fx.S: Likewise.
1170 * config/i386/resms64x.S: Likewise.
1171 * config/i386/savms64.S: Likewise.
1172 * config/i386/savms64f.S: Likewise.
1173 * config/i386/avx_resms64.S: New file that only defines a macro and
1174 includes it's corresponding header file.
1175 * config/i386/avx_resms64f.S: Likewise.
1176 * config/i386/avx_resms64fx.S: Likewise.
1177 * config/i386/avx_resms64x.S: Likewise.
1178 * config/i386/avx_savms64.S: Likewise.
1179 * config/i386/avx_savms64f.S: Likewise.
1180 * config/i386/sse_resms64.S: Likewise.
1181 * config/i386/sse_resms64f.S: Likewise.
1182 * config/i386/sse_resms64fx.S: Likewise.
1183 * config/i386/sse_resms64x.S: Likewise.
1184 * config/i386/sse_savms64.S: Likewise.
1185 * config/i386/sse_savms64f.S: Likewise.
1186 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
1187
1188 2017-09-01 Olivier Hainque <hainque@adacore.com>
1189 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1190
1191 2017-08-31 Olivier Hainque <hainque@adacore.com>
1192
1193 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1194 match as powerpc-wrs-vxworks*.
1195
1196 2017-08-07 Jonathan Yong <10walls@gmail.com>
1197
1198 * config.host (*-cygwin): Include file from mingw
1199 config/i386/enable-execute-stack-mingw32.c
1200
1201 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
1202 Doug Rupp <rupp@adacore.com>
1203 Olivier Hainque <hainque@adacore.com>
1204
1205 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1206 as well as arm-wrs-vxworks.
1207 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1208 LIB2ADDEH.
1209 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1210 __exidx_start and __exidx_end for downloadable modules.
1211
1212 2017-08-01 Olivier Hainque <hainque@adacore.com>
1213
1214 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1215 * config/t-vxworks7: Likewise.
1216
1217 2017-08-01 Olivier Hainque <hainque@adacore.com>
1218
1219 * config/t-vxworks: Instead of redefining LIB2ADD,
1220 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1221
1222 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1223
1224 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1225
1226 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
1227
1228 PR testsuite/80759
1229 * config.host: include i386/t-msabi for darwin and solaris.
1230 * config/i386/i386-asm.h
1231 (ELFFN): Rename to FN_TYPE.
1232 (FN_SIZE): New macro.
1233 (FN_HIDDEN): Likewise.
1234 (ASMNAME): Likewise.
1235 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1236 .globl.
1237 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1238 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1239 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1240 .macro.
1241 * config/i386/resms64f.S: Likewise.
1242 * config/i386/resms64fx.S: Likewise.
1243 * config/i386/resms64x.S: Likewise.
1244 * config/i386/savms64.S: Likewise.
1245 * config/i386/savms64f.S: Likewise.
1246
1247 2017-07-19 John Marino <gnugcc@marino.st>
1248
1249 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1250
1251 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1252
1253 PR target/81193
1254 * configure.ac (PowerPC float128 hardware support): Test whether
1255 we can use __builtin_cpu_supports before enabling the ifunc
1256 handler.
1257 * configure: Regenerate.
1258
1259 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
1260
1261 * config.host: Remove uclibc from arc target spec.
1262
1263 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1264
1265 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1266
1267 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1268
1269 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1270 (have_ieee_hw_p): Delete function.
1271 (SW_OR_HW) Use __builtin_cpu_supports().
1272
1273 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1274
1275 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1276
1277 2017-07-03 Olivier Hainque <hainque@adacore.com>
1278
1279 * config/t-vxworks7: New file, really.
1280
1281 2017-06-28 Joseph Myers <joseph@codesourcery.com>
1282
1283 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1284 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1285 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1286 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1287 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1288 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1289 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1290 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1291 config/sh/linux-unwind.h (sh_fallback_frame_state),
1292 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1293 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1294 ucontext_t instead of struct ucontext.
1295
1296 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
1297
1298 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1299 (x86_64-wrs-vxworks7): Likewise.
1300
1301 2017-06-27 Olivier Hainque <hainque@adacore.com>
1302
1303 * config/t-vxworks7: New file.
1304 * config.host (*-*-vxworks7): Use it.
1305
1306 2017-06-22 Matt Turner <mattst88@gmail.com>
1307
1308 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1309 skylake case.
1310
1311 2017-06-21 Richard Biener <rguenther@suse.de>
1312
1313 PR gcov-profile/81080
1314 * configure.ac: Add AC_SYS_LARGEFILE.
1315 * libgcov.h: Include auto-target.h before tsystem.h to pick
1316 up _FILE_OFFSET_BITS which might differ for multilibs.
1317 * config.in: Regenerate.
1318 * configure: Likewise.
1319
1320 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
1321
1322 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1323
1324 2017-06-09 Martin Liska <mliska@suse.cz>
1325
1326 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1327 Reset __gcov_indirect_call_callee to NULL.
1328
1329 2017-06-08 Olivier Hainque <hainque@adacore.com>
1330
1331 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1332 the set of -I options, support for direct inclusions of net/uio.h
1333 by VxWorks header files via ioLib.h.
1334
1335 2017-06-07 Tony Reix <tony.reix@atos.net>
1336 Matthieu Sarter <matthieu.sarter.external@atos.net>
1337 David Edelsohn <dje.gcc@gmail.com>
1338
1339 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1340 unconditionally.
1341 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1342 AIX 7.2 support.
1343
1344 2017-06-02 Olivier Hainque <hainque@adacore.com>
1345
1346 * config/vxlib.c (__gthread_once): Add missing value to
1347 return statement.
1348
1349 2017-05-30 Olivier Hainque <hainque@adacore.com>
1350
1351 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1352 dollar sign before $(MULTIDIR).
1353
1354 2017-05-26 Richard Henderson <rth@redhat.com>
1355
1356 PR libgcc/80037
1357 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1358
1359 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1360
1361 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1362 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1363 * config/arm/unwind-arm.c: Implement the above.
1364
1365 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1366
1367 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1368 section for a non-executable stack.
1369
1370 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1371
1372 PR target/80600
1373 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1374
1375 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
1376
1377 * config.host: Add i386/t-msabi to i386/t-linux file list.
1378 * config/i386/i386-asm.h: New file.
1379 * config/i386/resms64.S: New file.
1380 * config/i386/resms64f.S: New file.
1381 * config/i386/resms64fx.S: New file.
1382 * config/i386/resms64x.S: New file.
1383 * config/i386/savms64.S: New file.
1384 * config/i386/savms64f.S: New file.
1385 * config/i386/t-msabi: New file.
1386
1387 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1388
1389 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1390 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1391
1392 2017-05-05 Joshua Conner <joshconner@google.com>
1393
1394 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1395 pc-relative indirect handling for fuchsia.
1396 * config/t-slibgcc-fuchsia: New file.
1397 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
1398 x86_64-*-fuchsia*): Add definitions.
1399
1400 2017-04-19 Martin Liska <mliska@suse.cz>
1401
1402 PR gcov-profile/80435
1403 * Makefile.in: Install gcov.h.
1404 * gcov.h: New file.
1405 * libgcov.h: Use the header and make __gcov_flush publicly
1406 visible.
1407
1408 2017-04-18 Martin Liska <mliska@suse.cz>
1409
1410 PR gcov-profile/78783
1411 * libgcov-driver.c (gcov_get_filename): New function.
1412
1413 2017-04-07 Jeff Law <law@redhat.com>
1414
1415 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1416 target makefile fragment.
1417 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1418
1419 2017-04-07 Alan Modra <amodra@gmail.com>
1420
1421 PR target/45053
1422 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1423
1424 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
1425
1426 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1427
1428 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1429
1430 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1431
1432 2017-03-10 John Marino <gnugcc@marino.st>
1433
1434 * config/aarch64/freebsd-unwind.h: New file.
1435 * config.host: Add aarch64-*-freebsd unwinder.
1436
1437 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1438
1439 * config/rs6000/crtrestvr.s: Use .machine altivec.
1440 * config/rs6000/crtsavevr.s: Ditto.
1441
1442 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1443
1444 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1445 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1446 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1447 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1448 * configure: Regenerate.
1449 * config.in: Regenerate.
1450
1451 2017-03-02 Jonathan Yong <10walls@gmail.com>
1452
1453 * config/i386/gthr-win32.h: Define NOGDI before
1454 windows.h include to prevent w32api CC_NONE macro
1455 clash with libgfortran.
1456
1457 2017-03-02 Jonathan Yong <10walls@gmail.com>
1458
1459 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1460
1461 2017-02-16 Andrew Pinski <apinski@cavium.com>
1462
1463 * config/aarch64/value-unwind.h: New file.
1464 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1465 to tm_file.
1466
1467 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1468
1469 * config.host: Add RISC-V tuples.
1470 * config/riscv/atomic.c: New file.
1471 * config/riscv/crti.S: Likewise.
1472 * config/riscv/crtn.S: Likewise.
1473 * config/riscv/div.S: Likewise.
1474 * config/riscv/linux-unwind.h: Likewise.
1475 * config/riscv/muldi3.S: Likewise.
1476 * config/riscv/multi3.S: Likewise.
1477 * config/riscv/save-restore.S: Likewise.
1478 * config/riscv/sfp-machine.h: Likewise.
1479 * config/riscv/t-elf: Likewise.
1480 * config/riscv/t-elf32: Likewise.
1481 * config/riscv/t-elf64: Likewise.
1482 * config/riscv/t-softfp32: Likewise.
1483 * config/riscv/t-softfp64: Likewise.
1484
1485 2017-01-24 Jakub Jelinek <jakub@redhat.com>
1486
1487 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1488 /* FALLTHRU */ comments.
1489
1490 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1491
1492 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1493
1494 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1495
1496 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1497 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1498 DW_CFA_GNU_window_save for AArch64 and LP64.
1499
1500 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1501
1502 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1503
1504 2017-01-19 Jiong Wang <jiong.wang@arm.com>
1505
1506 * config/aarch64/aarch64-unwind.h: New file.
1507 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1508 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1509 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1510 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1511 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1512 (aarch64_post_extract_frame_addr): New function.
1513 (aarch64_post_frob_eh_handler_addr): New function.
1514 (aarch64_frob_update_context): New function.
1515 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1516 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1517 aarch64*-*-freebsd*):
1518 Initialize md_unwind_header to include aarch64-unwind.h.
1519 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1520 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1521 __aarch64__.
1522 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1523 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1524 (uw_frob_return_addr): New function.
1525 (uw_install_context): Use uw_frob_return_addr.
1526
1527 2017-01-17 Jakub Jelinek <jakub@redhat.com>
1528
1529 PR other/79046
1530 * configure.ac: Add GCC_BASE_VER.
1531 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1532 version from BASE-VER file.
1533 * configure: Regenerated.
1534
1535 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
1536
1537 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1538 libmul_f5.a): Filter archived prerequisites.
1539
1540 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1541
1542 * config/i386/cpuinfo.h (processor_features): Add
1543 FEATURE_AVX512VPOPCNTDQ.
1544 * config/i386/cpuinfo.c (get_available_features): Habdle new
1545 feature.
1546
1547 2017-01-04 Joseph Myers <joseph@codesourcery.com>
1548
1549 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1550 payload if [__mips_nan2008].
1551
1552 2017-01-04 Alan Modra <amodra@gmail.com>
1553
1554 * Makefile.in (configure_deps): Update.
1555 * configure: Regenerate.
1556
1557 2017-01-01 Jakub Jelinek <jakub@redhat.com>
1558
1559 Update copyright years.
1560
1561 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1562
1563 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1564 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1565 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1566
1567 2016-12-17 Matthias Klose <doko@ubuntu.com>
1568
1569 * config/arc/gmon: Remove empty directory.
1570
1571 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1572
1573 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1574 crtgend.
1575 (arc*-*-elf*): Likewise.
1576 * config/arc/t-arc: Remove old gmon lib targets.
1577 * config/arc/crtg.S: Remove.
1578 * config/arc/crtgend.S: Likewise.
1579 * config/arc/gmon/atomic.h: Likewise.
1580 * config/arc/gmon/auxreg.h: Likewise.
1581 * config/arc/gmon/dcache_linesz.S: Likewise.
1582 * config/arc/gmon/gmon.c: Likewise.
1583 * config/arc/gmon/machine-gmon.h: Likewise.
1584 * config/arc/gmon/mcount.c: Likewise.
1585 * config/arc/gmon/prof-freq-stub.S: Likewise.
1586 * config/arc/gmon/prof-freq.c: Likewise.
1587 * config/arc/gmon/profil.S: Likewise.
1588 * config/arc/gmon/sys/gmon.h: Likewise.
1589 * config/arc/gmon/sys/gmon_out.h: Likewise.
1590 * config/arc/t-arc-newlib: Likewise.
1591 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1592
1593 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1594
1595 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1596
1597 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1598
1599 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1600 R16 instead of push + pop.
1601 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1602
1603 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1604
1605 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1606 tmake_file.
1607
1608 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1609
1610 * config.host (arc*-*-linux-uclibc*): Use default extra
1611 objects. Include linux-android header.
1612 * config/arc/crti.S (_init): Declare symbol as function.
1613 (_fini): Likewise.
1614
1615 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1616
1617 PR fortran/78379
1618 * config/i386/cpuinfo.c: Move denums for processor vendors,
1619 processor type, processor subtypes and declaration of
1620 struct __processor_model into
1621 * config/i386/cpuinfo.h: New header file.
1622
1623 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1624 Thomas Preud'homme <thomas.preudhomme@arm.com>
1625
1626 * config/arm/cmse_nonsecure_call.S: New.
1627 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1628
1629 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1630 Thomas Preud'homme <thomas.preudhomme@arm.com>
1631
1632 * config/arm/t-arm (HAVE_CMSE): New.
1633 * config/arm/cmse.c: New.
1634
1635 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1636
1637 PR gcc/74748
1638 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1639 use generic linker version information on Blackfin.
1640
1641 PR gcc/74748
1642 * libgcc/mkmap-symver.awk: add support for skip_underscore
1643
1644 2016-11-27 Iain Sandoe <iain@codesourcery.com>
1645 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1646
1647 PR target/67710
1648 * config/t-darwin: Default builds to 10.5 codegen.
1649
1650 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1651
1652 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1653 (_FP_NANSIGN_H): Likewise.
1654 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1655 (softfp_truncations): Add tfhf.
1656 (softfp_extras): Add required conversion functions.
1657
1658 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1659 Matthew Wahab <matthew.wahab@arm.com>
1660
1661 * config/arm/fp16.c (binary64): New.
1662 (__gnu_d2h_internal): New.
1663 (__gnu_d2h_ieee): New.
1664 (__gnu_d2h_alternative): New.
1665
1666 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1667 Matthew Wahab <matthew.wahab@arm.com>
1668
1669 * config/arm/fp16.c (struct format): New.
1670 (binary32): New.
1671 (__gnu_float2h_internal): New. Body moved from
1672 __gnu_f2h_internal and generalize.
1673 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1674 Call it with binary32.
1675
1676 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1677
1678 * soft-fp/extendhftf2.c: Update from glibc.
1679 * soft-fp/fixhfti.c: Likewise.
1680 * soft-fp/fixunshfti.c: Likewise.
1681 * soft-fp/floattihf.c: Likewise.
1682 * soft-fp/floatuntihf.c: Likewise.
1683 * soft-fp/half.h: Likewise.
1684 * soft-fp/trunctfhf2.c: Likewise.
1685
1686 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
1687
1688 PR libgcc/77813
1689 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1690 __TMC_END__ behind a passthrough asm.
1691
1692 2016-11-18 Walter Lee <walt@tilera.com>
1693
1694 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1695
1696 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1697
1698 * config/i386/cpuinfo.c (processor_features): Add
1699 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1700
1701 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1702
1703 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1704 (__ARC_NORM__): Use instead ARC_OPTFPE.
1705 * config/arc/fp-hack.h: Likewise.
1706 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1707 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1708
1709 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
1710
1711 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1712 * config/nvptx/mgomp.c: New file.
1713 * config/nvptx/t-nvptx: Add mgomp.c
1714
1715 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1716
1717 PR libgcc/68468
1718 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1719
1720 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1721
1722 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1723 of checking for cpus.
1724 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1725 (__modsi3, __clzsi2): Likewise.
1726
1727 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1728
1729 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1730 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1731 * config/i386/t-cpuinfo-static: New.
1732
1733 2016-11-03 Martin Liska <mliska@suse.cz>
1734
1735 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1736 (__gcov_time_profiler_atomic): Likewise.
1737
1738 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1739
1740 PR libgcc/78067
1741 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1742 count_leading_zeros.
1743
1744 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
1745
1746 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1747 * libgcc2.c (__divmoddi4): New function.
1748 * libgcc2.h (__divmoddi4): Declare.
1749 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1750 and __PFX_divmodti4.
1751
1752 2016-10-24 Florian Weimer <fweimer@redhat.com>
1753
1754 PR libgcc/78064
1755 * unwind-c.c: Include auto-target.h.
1756
1757 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
1758
1759 * config/pa/pa64-hpux-lib.h: New file.
1760 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1761 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1762 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1763 hppa*64*-*-hpux11*.
1764
1765 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1766
1767 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1768 definition.
1769 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1770 definition.
1771 * config/xtensa/t-windowed (LIB2ADDEH): Use
1772 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1773 or xtensa/t-linux.
1774
1775 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1776
1777 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1778 __ieee754_sqrt): New functions.
1779 (__divdf3): Add implementation with new FPU instructions under
1780 #if XCHAL_HAVE_DFP_DIV.
1781 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1782 __ieee754_sqrtf): New functions.
1783 (__divsf3): Add implementation with new FPU instructions under
1784 #if XCHAL_HAVE_FP_DIV.
1785 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1786 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1787
1788 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1789
1790 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1791 equivalent.
1792 * config/tilepro/atomic.c: Likewise and stop casting model to
1793 enum memmodel.
1794
1795 2016-10-10 Joseph Myers <joseph@codesourcery.com>
1796
1797 PR target/77586
1798 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1799 soft-fp.
1800
1801 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1802
1803 * config.host: Add support for aarch64-*-freebsd*.
1804
1805 2016-10-05 Andreas Schwab <schwab@suse.de>
1806
1807 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1808 (.section .init_array): Don't call __do_jv_register_classes.
1809 (.section .init): Likewise.
1810
1811 2016-10-04 Jakub Jelinek <jakub@redhat.com>
1812
1813 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1814 (__JCR_LIST__): Remove.
1815 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1816 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1817 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1818 * config/ia64/crtend.S (__JCR_END__): Remove.
1819 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1820 conditionals.
1821 (__JCR_LIST__, __JCR_END__): Remove.
1822 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1823 (__do_global_ctors_1): Likewise.
1824
1825 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
1826
1827 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1828 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1829
1830 2016-09-27 Martin Liska <mliska@suse.cz>
1831
1832 PR gcov-profile/7970
1833 PR gcov-profile/16855
1834 PR gcov-profile/44779
1835 * libgcov-driver.c (__gcov_init): Do not register a atexit
1836 handler.
1837 (__gcov_exit): Rename from gcov_exit.
1838 * libgcov.h (__gcov_exit): Declare.
1839
1840 2016-09-27 Martin Liska <mliska@suse.cz>
1841
1842 PR bootstrap/77749
1843 * Makefile.in: Remove _gcov_merge_delta.
1844 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1845 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1846 * libgcov.h: Remove declaration of __gcov_merge_delta.
1847
1848 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1849
1850 * configure.ac: Do not create links, only substitute the filenames.
1851 * configure: Regenerate.
1852 * Makefile.in: Assign the substitution results to variables.
1853 (LIBGCC_LINKS): Define.
1854 (enable-execute-stack.c): New rule.
1855 (unwind.h): Likewise.
1856 (md-unwind-support.h): Likewise.
1857 (sfp-machine.h): Likewise.
1858 (gthr-default.h): Likewise.
1859 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1860 unwind.h as prerequisite of install-unwind_h-forbuild.
1861
1862 2016-09-16 Jakub Jelinek <jakub@redhat.com>
1863
1864 PR libgcc/71744
1865 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1866 is not the primary registry and atomics are available.
1867 (any_objects_registered): New variable.
1868 (__register_frame_info_bases, __register_frame_info_table_bases):
1869 Atomically store 1 to any_objects_registered after registering first
1870 unwind info.
1871 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1872
1873 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1874
1875 PR target/63250
1876 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1877 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1878 (HFtype): Likewise.
1879 (HCtype): Likewise.
1880 (__divhc3): Likewise.
1881 (__mulhc3): Likewise.
1882 * libgcc2.c: Support _mulhc3 and _divhc3.
1883
1884 2016-09-07 Joseph Myers <joseph@codesourcery.com>
1885
1886 PR libgcc/77519
1887 * libgcc2.c (NOTRUNC): Invert settings.
1888
1889 2016-09-06 Martin Liska <mliska@suse.cz>
1890
1891 PR gcov-profile/77378
1892 PR gcov-profile/77466
1893 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1894 conditionaly enable/disable *_atomic functions.
1895
1896 2016-08-26 Joseph Myers <joseph@codesourcery.com>
1897
1898 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1899 where not already enabled.
1900
1901 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1902
1903 * config/mips/linux-unwind.h: Use sys/syscall.h.
1904
1905 2016-08-16 Joseph Myers <joseph@codesourcery.com>
1906
1907 PR libgcc/77265
1908 * soft-fp/adddf3.c: Update from glibc.
1909 * soft-fp/addsf3.c: Likewise.
1910 * soft-fp/addtf3.c: Likewise.
1911 * soft-fp/divdf3.c: Likewise.
1912 * soft-fp/divsf3.c: Likewise.
1913 * soft-fp/divtf3.c: Likewise.
1914 * soft-fp/double.h: Likewise.
1915 * soft-fp/eqdf2.c: Likewise.
1916 * soft-fp/eqsf2.c: Likewise.
1917 * soft-fp/eqtf2.c: Likewise.
1918 * soft-fp/extenddftf2.c: Likewise.
1919 * soft-fp/extended.h: Likewise.
1920 * soft-fp/extendsfdf2.c: Likewise.
1921 * soft-fp/extendsftf2.c: Likewise.
1922 * soft-fp/extendxftf2.c: Likewise.
1923 * soft-fp/fixdfdi.c: Likewise.
1924 * soft-fp/fixdfsi.c: Likewise.
1925 * soft-fp/fixdfti.c: Likewise.
1926 * soft-fp/fixsfdi.c: Likewise.
1927 * soft-fp/fixsfsi.c: Likewise.
1928 * soft-fp/fixsfti.c: Likewise.
1929 * soft-fp/fixtfdi.c: Likewise.
1930 * soft-fp/fixtfsi.c: Likewise.
1931 * soft-fp/fixtfti.c: Likewise.
1932 * soft-fp/fixunsdfdi.c: Likewise.
1933 * soft-fp/fixunsdfsi.c: Likewise.
1934 * soft-fp/fixunsdfti.c: Likewise.
1935 * soft-fp/fixunssfdi.c: Likewise.
1936 * soft-fp/fixunssfsi.c: Likewise.
1937 * soft-fp/fixunssfti.c: Likewise.
1938 * soft-fp/fixunstfdi.c: Likewise.
1939 * soft-fp/fixunstfsi.c: Likewise.
1940 * soft-fp/fixunstfti.c: Likewise.
1941 * soft-fp/floatdidf.c: Likewise.
1942 * soft-fp/floatdisf.c: Likewise.
1943 * soft-fp/floatditf.c: Likewise.
1944 * soft-fp/floatsidf.c: Likewise.
1945 * soft-fp/floatsisf.c: Likewise.
1946 * soft-fp/floatsitf.c: Likewise.
1947 * soft-fp/floattidf.c: Likewise.
1948 * soft-fp/floattisf.c: Likewise.
1949 * soft-fp/floattitf.c: Likewise.
1950 * soft-fp/floatundidf.c: Likewise.
1951 * soft-fp/floatundisf.c: Likewise.
1952 * soft-fp/floatunditf.c: Likewise.
1953 * soft-fp/floatunsidf.c: Likewise.
1954 * soft-fp/floatunsisf.c: Likewise.
1955 * soft-fp/floatunsitf.c: Likewise.
1956 * soft-fp/floatuntidf.c: Likewise.
1957 * soft-fp/floatuntisf.c: Likewise.
1958 * soft-fp/floatuntitf.c: Likewise.
1959 * soft-fp/gedf2.c: Likewise.
1960 * soft-fp/gesf2.c: Likewise.
1961 * soft-fp/getf2.c: Likewise.
1962 * soft-fp/ledf2.c: Likewise.
1963 * soft-fp/lesf2.c: Likewise.
1964 * soft-fp/letf2.c: Likewise.
1965 * soft-fp/muldf3.c: Likewise.
1966 * soft-fp/mulsf3.c: Likewise.
1967 * soft-fp/multf3.c: Likewise.
1968 * soft-fp/negdf2.c: Likewise.
1969 * soft-fp/negsf2.c: Likewise.
1970 * soft-fp/negtf2.c: Likewise.
1971 * soft-fp/op-1.h: Likewise.
1972 * soft-fp/op-2.h: Likewise.
1973 * soft-fp/op-4.h: Likewise.
1974 * soft-fp/op-8.h: Likewise.
1975 * soft-fp/op-common.h: Likewise.
1976 * soft-fp/quad.h: Likewise.
1977 * soft-fp/single.h: Likewise.
1978 * soft-fp/soft-fp.h: Likewise.
1979 * soft-fp/subdf3.c: Likewise.
1980 * soft-fp/subsf3.c: Likewise.
1981 * soft-fp/subtf3.c: Likewise.
1982 * soft-fp/truncdfsf2.c: Likewise.
1983 * soft-fp/trunctfdf2.c: Likewise.
1984 * soft-fp/trunctfsf2.c: Likewise.
1985 * soft-fp/trunctfxf2.c: Likewise.
1986 * soft-fp/unorddf2.c: Likewise.
1987 * soft-fp/unordsf2.c: Likewise.
1988 * soft-fp/unordtf2.c: Likewise.
1989
1990 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1991
1992 PR gcov-profile/67097
1993 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1994
1995 2016-08-10 Martin Liska <mliska@suse.cz>
1996
1997 PR gcov-profile/58306
1998 * Makefile.in: New functions (modules) are added.
1999 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2000 function.
2001 (__gcov_pow2_profiler_atomic): New function.
2002 (__gcov_one_value_profiler_body): New argument is instroduced.
2003 (__gcov_one_value_profiler): Call with the new argument.
2004 (__gcov_one_value_profiler_atomic): Likewise.
2005 (__gcov_indirect_call_profiler_v2): Likewise.
2006 (__gcov_time_profiler_atomic): New function.
2007 (__gcov_average_profiler_atomic): Likewise.
2008 (__gcov_ior_profiler_atomic): Likewise.
2009 * libgcov.h: Declare the aforementioned functions.
2010
2011 2016-08-09 Martin Liska <mliska@suse.cz>
2012
2013 * libgcov-util.c: Fix typo and GNU coding style.
2014
2015 2016-08-09 Martin Liska <mliska@suse.cz>
2016
2017 * Makefile.in: Remove __gcov_indirect_call_profiler.
2018 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2019 function.
2020 * libgcov.h: And the declaration of the function.
2021
2022 2016-08-09 Martin Liska <mliska@suse.cz>
2023
2024 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2025 power of two.
2026
2027 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2028
2029 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2030 * config/rs6000/_mulkc3.c: Likewise.
2031
2032 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
2033
2034 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2035 zero_reg as previous call to __umulhisi3 already cleared it.
2036
2037 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2038
2039 PR target/59833
2040 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2041
2042 2016-07-19 Nick Clifton <nickc@redhat.com>
2043
2044 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2045 Add crtinit.o and crtfini.o to extra_parts.
2046
2047 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2048
2049 * config/rs6000/_divkc3.c: New.
2050 * config/rs6000/_mulkc3.c: New.
2051 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2052 and _divkc3.
2053 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2054 fp128_ppc_funcs.
2055
2056 2016-07-11 Hale Wang <hale.wang@arm.com>
2057 Andre Vieira <andre.simoesdiasvieira@arm.com>
2058
2059 * config/arm/lib1funcs.S: Add new wrapper.
2060
2061 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2062
2063 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2064
2065 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2066
2067 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2068 and ARMv5t* rather than for a fixed list of architectures.
2069
2070 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2071
2072 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2073 implementation suitable for.
2074 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2075 for all Thumb-1 only targets.
2076 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2077 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2078 __ARM_ARCH_6M__.
2079 (EQUIV): Likewise.
2080 (ARM_FUNC_ALIAS): Likewise.
2081 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2082 version.
2083 (modsi3): Likewise.
2084 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2085 (clzdi2): Likewise.
2086 (ctzsi2): Likewise.
2087 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2088 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2089 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2090 __ARM_ARCH_6M__ and add comment to indicate the connection between
2091 this condition and the one in gcc/config/arm/elf.h.
2092 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2093 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2094 * config/arm/t-softfp: Likewise.
2095
2096 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2097
2098 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2099 CTOR_LISTS_DEFINED_EXTERNALLY.
2100
2101 2016-06-28 Walter Lee <walt@tilera.com>
2102
2103 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2104 asm/unistd.h.
2105 (SPR_CMPEXCH_VALUE): Define for tilegx.
2106 (__NR_FAST_cmpxchg): Define for tilepro.
2107 (__NR_FAST_atomic_update): Define for tilepro.
2108 (__NR_FAST_cmpxchg64): Define for tilepro.
2109
2110 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2111
2112 * config.host: Add suport for arm*-*-phoenix* targets.
2113
2114 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2115
2116 * config.host: Remove support for mep-*.
2117 * config/mep/lib1funcs.S: Remove.
2118 * config/mep/lib2funcs.c: Remove.
2119 * config/mep/t-mep: Remove.
2120 * config/mep/tramp.c: Remove.
2121
2122 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2123
2124 * config.host: Remove support for avr-rtems.
2125 * config/avr/t-rtems: Remove.
2126
2127 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2128
2129 * config.host: Remove m32r-rtems support.
2130
2131 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2132
2133 * config.host: Remove h8300-rtems support.
2134
2135 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2136
2137 * config.host: Remove support for knetbsd.
2138
2139 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2140
2141 * config.host: Remove support for openbsd 2 and 3.
2142
2143 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2144
2145 * config.host: Remove interix support.
2146 * config/i386/t-interix: Remove.
2147
2148 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
2149
2150 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2151 least-significant bit in function pointer for fixup.
2152
2153 2016-06-05 Aaron Conole <aconole@redhat.com>
2154 Nathan Sidwell <nathan@acm.org>
2155
2156 PR libgcc/71400
2157 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2158 (get_gcov_error_file): Check __gcov_error_file before trying to
2159 initialize it.
2160 (gcov_error): Always use get_gcov_error_file.
2161
2162 2016-06-02 Aaron Conole <aconole@redhat.com>
2163
2164 * libgcov-driver-system.c (__gcov_error_file): New.
2165 (get_gcov_error_file): New.
2166 (gcov_error): Use and set __gcov_error_file.
2167 (gcov_error_exit): New.
2168 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2169
2170 2016-05-26 Nathan Sidwell <nathan@acm.org>
2171
2172 * config/nvptx/free.asm: Delete.
2173 * config/nvptx/malloc.asm: Delete.
2174 * config/nvptx/realloc.c: Delete.
2175 * t-nvptx: Update.
2176
2177 2016-05-25 Nathan Sidwell <nathan@acm.org>
2178
2179 * config/nvptx/crt0.s: Delete.
2180 * config/nvptx/crt0.c: New.
2181 * t-nvptx: Update.
2182
2183 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2184
2185 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
2186 dw2/seh configuration.
2187 [x86_64-*-mingw*]: Likewise.
2188
2189 2016-05-10 Joel Sherrill <joel@rtems.org>
2190
2191 PR libgcc/70720
2192 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2193 targets so the same extra_parts are built. Also have tmake_file add
2194 on to its value rather than override.
2195
2196 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2197
2198 * config.host: Remove SH5 support.
2199 * configure: Likewise.
2200
2201 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2202
2203 * config/sh/crt1.S: Remove SH5 support.
2204 * config/sh/crti.S: Likewise.
2205 * config/sh/crtn.S: Likewise.
2206 * config/sh/lib1funcs-4-300.S: Likewise.
2207 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2208 * config/sh/lib1funcs.S: Likewise.
2209 * config/sh/linux-unwind.h: Likewise.
2210 * config/sh/t-sh64: Delete.
2211
2212 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2213
2214 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2215
2216 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2217 Joern Rennecke <joern.rennecke@embecosm.com>
2218
2219 * config/arc/crttls.S: New file.
2220 * config/arc/t-arc: New rule.
2221 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2222
2223 2016-04-25 Nick Clifton <nickc@redhat.com>
2224
2225 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2226 (__mspabi_cmpd): Likewise.
2227 * config/msp430/floathidf.c (__floathidf): Likewise.
2228 * config/msp430/floathisf.c (__floathisf): Likewise
2229 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2230 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2231 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2232 second parameter.
2233 (__ashrsi3): Likewise.
2234
2235 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2236
2237 * config/m68k/linux-atomic.c: Do not include unistd.h
2238
2239 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2240
2241 * config/arm/ieee754-df.S: Fix typos in comments.
2242
2243 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2244
2245 PR target/70381
2246 * configure.ac (powerpc*-*-linux*): Rework tests to build
2247 __float128 emulation routines to not depend on using #pragma GCC
2248 target to enable -mfloat128.
2249 * configure: Regnerate.
2250
2251 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2252
2253 PR target/67172
2254 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2255 __MINGW32__ is defined.
2256
2257 2016-03-28 James Bowman <james.bowman@ftdichip.com>
2258
2259 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
2260
2261 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2262
2263 PR libgcc/70363
2264 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2265 built with an assembler that does not support ISA 3.0
2266 instructions, rename __extendkftf2_sw to __extendkftf2.
2267
2268 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2269
2270 PR target/38239
2271 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2272 call-clobbered registers.
2273 (internal_mcount): Remove __i386__ handling.
2274
2275 2016-02-26 Joel Sherrill <joel@rtems.org>
2276
2277 * config.host: Add x86_64-*-rtems*.
2278
2279 2016-02-26 Joel Sherrill <joel@rtems.org>
2280
2281 * libgcc/config.host: Add aarch64-*-rtems*.
2282
2283 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2284 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2285
2286 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2287 union of u64 and double.
2288 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2289 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2290 value.
2291 (FP_ROUNDMODE): Update the usage of _fpscr.
2292
2293 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2294
2295 PR driver/68463
2296 * Makefile.in (crtoffloadtable$(objext)): New rule.
2297 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2298 enable_offload_targets is not empty.
2299 * configure: Regenerate.
2300 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2301 crtoffloadtable.
2302
2303 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2304
2305 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2306 .literal_position before the function.
2307 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2308 Likewise.
2309
2310 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2311
2312 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2313 * config/s390/morestack.S: New file.
2314 * config/s390/t-stack-s390: New file.
2315 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2316
2317 2016-02-12 Walter Lee <walt@tilera.com>
2318
2319 * config.host (tilegx*-*-linux*): remove ti from
2320 softfp_int_modes for 32-bit configs.
2321
2322 2016-02-10 Ian Lance Taylor <iant@google.com>
2323
2324 PR go/68562
2325 * config/i386/morestack.S (__stack_split_initialize): Align
2326 stack.
2327
2328 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2329
2330 PR bootstrap/69611
2331 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2332 __FLOAT128__ to compile only for __float128 capable targets.
2333
2334 2016-01-25 Jakub Jelinek <jakub@redhat.com>
2335
2336 PR target/69444
2337 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2338 instead of ___NO_FPRS__.
2339
2340 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
2341 Steven Munroe <munroesj@linux.vnet.ibm.com>
2342 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2343
2344 * config/rs6000/float128-sed: New files to convert TF names to KF
2345 names for PowerPC IEEE 128-bit floating point support.
2346 * config/rs6000/float128-sed-hw: Likewise.
2347
2348 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2349 floating point hardware support.
2350
2351 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2352 128-bit floating point software emulation or use ISA 3.0 hardware
2353 support if it is available.
2354
2355 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2356 floating point.
2357
2358 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2359 floating point to IBM extended double.
2360
2361 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2362 double to IEEE 128-bit floating point.
2363
2364 * config/rs6000/t-float128: New Makefile fragments to enable
2365 building __float128 emulation support.
2366 * config/rs6000/t-float128-hw: Likewise.
2367
2368 * config/rs6000/sfp-exceptions.c: New file to provide exception
2369 support for IEEE 128-bit floating point.
2370
2371 * config/rs6000/floattikf.c: New files for converting between IEEE
2372 128-bit floating point and signed/unsigned 128-bit integers.
2373 * config/rs6000/fixunskfti.c: Likewise.
2374 * config/rs6000/fixkfti.c: Likewise.
2375 * config/rs6000/floatuntikf.c: Likewise.
2376
2377 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2378 when building on 64-bit systems, or when VSX is enabled.
2379 (_FP_W_TYPE): Likewise.
2380 (_FP_WS_TYPE): Likewise.
2381 (_FP_I_TYPE): Likewise.
2382 (TItype): Define on 64-bit systems.
2383 (UTItype): Likewise.
2384 (TI_BITS): Likewise.
2385 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2386 (_FP_MUL_MEAT_Q): Likewise.
2387 (_FP_DIV_MEAT_D): Likewise.
2388 (_FP_DIV_MEAT_Q): Likewise.
2389 (_FP_NANFRAC_D): Likewise.
2390 (_FP_NANFRAC_Q): Likewise.
2391 (ISA_BIT): Add exception support if we are being compiled on a
2392 machine with hardware floating point support to build the IEEE
2393 128-bit emulation functions.
2394 (FP_EX_INVALID): Likewise.
2395 (FP_EX_OVERFLOW): Likewise.
2396 (FP_EX_UNDERFLOW): Likewise.
2397 (FP_EX_DIVZERO): Likewise.
2398 (FP_EX_INEXACT): Likewise.
2399 (FP_EX_ALL): Likewise.
2400 (__sfp_handle_exceptions): Likewise.
2401 (FP_HANDLE_EXCEPTIONS): Likewise.
2402 (FP_RND_NEAREST): Likewise.
2403 (FP_RND_ZERO): Likewise.
2404 (FP_RND_PINF): Likewise.
2405 (FP_RND_MINF): Likewise.
2406 (FP_RND_MASK): Likewise.
2407 (_FP_DECL_EX): Likewise.
2408 (FP_INIT_ROUNDMODE): Likewise.
2409 (FP_ROUNDMODE): Likewise.
2410
2411 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2412 VSX code, enable IEEE 128-bit floating point. If the compiler can
2413 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2414 floating point hardware instructions and it supports declaring
2415 functions with the ifunc attribute, enable ifunc functions to
2416 switch between software and hardware support.
2417 * configure.ac (powerpc*-*-linux*): Likewise.
2418 * configure: Regenerate.
2419
2420 2016-01-15 Nick Clifton <nickc@redhat.com>
2421
2422 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2423 dependency as the source file to be compiled.
2424 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2425 (lib2hw_mul_f5.o): Likewise.
2426
2427 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2428
2429 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2430 * libgcc/config/rs6000/fixkfti.c: Likewise.
2431 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2432 * libgcc/config/rs6000/float128-hw.c: Likewise.
2433 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2434 * libgcc/config/rs6000/float128-sed: Likewise.
2435 * libgcc/config/rs6000/floattikf.c: Likewise.
2436 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2437 * libgcc/config/rs6000/quad-float128.h: Likewise.
2438 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2439 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2440 * libgcc/config/rs6000/t-float128: Likewise.
2441 * libgcc/config/rs6000/t-float128-hw: Likewise.
2442 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2443 * libgcc/config.host: Likewise.
2444 * libgcc/configure: Likewise.
2445 * libgcc/configure.ac: Likewise.
2446
2447 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2448 Steven Munroe <munroesj@linux.vnet.ibm.com>
2449 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2450
2451 * config/rs6000/sfp-exceptions.c: New file to provide exception
2452 support for IEEE 128-bit floating point.
2453
2454 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2455 floating point hardware support.
2456
2457 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2458 point conversions.
2459 * config/rs6000/fixunskfti.c: Likewise.
2460 * config/rs6000/fixkfti.c: Likewise.
2461 * config/rs6000/floatuntikf.c: Likewise.
2462 * config/rs6000/extendkftf2-sw.c: Likewise.
2463 * config/rs6000/trunctfkf2-sw.c: Likewise.
2464
2465 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2466 128-bit floating point software emulation or use ISA 3.0 hardware
2467 support if it is available.
2468
2469 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2470 floating point.
2471
2472 * config/rs6000/t-float128: New Makefile fragments to enable
2473 building __float128 emulation support.
2474 * config/rs6000/t-float128-hw: Likewise.
2475
2476 * config/rs6000/float128-sed: New file to convert TF names to KF
2477 names for PowerPC IEEE 128-bit floating point support.
2478
2479 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2480 when building on 64-bit systems, or when VSX is enabled.
2481 (_FP_W_TYPE): Likewise.
2482 (_FP_WS_TYPE): Likewise.
2483 (_FP_I_TYPE): Likewise.
2484 (TItype): Define on 64-bit systems.
2485 (UTItype): Likewise.
2486 (TI_BITS): Likewise.
2487 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2488 (_FP_MUL_MEAT_Q): Likewise.
2489 (_FP_DIV_MEAT_D): Likewise.
2490 (_FP_DIV_MEAT_Q): Likewise.
2491 (_FP_NANFRAC_D): Likewise.
2492 (_FP_NANFRAC_Q): Likewise.
2493 (ISA_BIT): Add exception support if we are being compiled on a
2494 machine with hardware floating point support to build the IEEE
2495 128-bit emulation functions.
2496 (FP_EX_INVALID): Likewise.
2497 (FP_EX_OVERFLOW): Likewise.
2498 (FP_EX_UNDERFLOW): Likewise.
2499 (FP_EX_DIVZERO): Likewise.
2500 (FP_EX_INEXACT): Likewise.
2501 (FP_EX_ALL): Likewise.
2502 (__sfp_handle_exceptions): Likewise.
2503 (FP_HANDLE_EXCEPTIONS): Likewise.
2504 (FP_RND_NEAREST): Likewise.
2505 (FP_RND_ZERO): Likewise.
2506 (FP_RND_PINF): Likewise.
2507 (FP_RND_MINF): Likewise.
2508 (FP_RND_MASK): Likewise.
2509 (_FP_DECL_EX): Likewise.
2510 (FP_INIT_ROUNDMODE): Likewise.
2511 (FP_ROUNDMODE): Likewise.
2512
2513 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2514 compiler can do __float128.
2515 * configure: Regenerate.
2516
2517 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2518 VSX code, enable IEEE 128-bit floating point.
2519
2520 2016-01-05 Olivier Hainque <hainque@adacore.com>
2521
2522 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
2523 specificities.
2524
2525 2016-01-04 Jakub Jelinek <jakub@redhat.com>
2526
2527 Update copyright years.
2528
2529 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2530
2531 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2532 soft-fp targets.
2533
2534 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2535
2536 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2537 instead of abort to avoid dependency on stdlib.h.
2538
2539 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
2540
2541 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2542 to initialize call to __dl_fixup once.
2543
2544 2015-12-04 Nick Clifton <nickc@redhat.com>
2545
2546 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2547 Allow for the second argument being negative.
2548 * config.host (extra_parts): Define for MSP430. Create separate
2549 libraries for each of the hardware multiply formats.
2550 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2551 that are needed.
2552 * config/msp430/lib2mul.c: Likewise.
2553 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2554 Add rules to build hardware multiply libraries.
2555 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2556 __mspabi_divul function.
2557 (__mspabi_divllu): New stub function.
2558
2559 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
2560
2561 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2562 fixup values if saved GOT address doesn't match runtime address.
2563 (fixup_branch_offset): Reorder list.
2564
2565 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2566
2567 * Makefile.in (VTV_CFLAGS): New variable.
2568 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2569 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2570 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2571 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2572 to extra_parts if $enable_vtable_verify = yes.
2573
2574 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2575
2576 PR target/68059
2577 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2578 (write): ...this and fix the return type.
2579
2580 2015-11-19 DJ Delorie <dj@redhat.com>
2581
2582 * config/msp430/lib2hw_mul.S: Fix alignment.
2583
2584 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2585
2586 * config/nvptx/reduction.c: New.
2587 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2588
2589 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
2590
2591 * config/rs6000/on_exit.c: New file.
2592 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2593 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2594
2595 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2596
2597 * config/arc/dp-hack.h: Add support for ARCHS.
2598 * config/arc/ieee-754/divdf3.S: Likewise.
2599 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2600 * config/arc/ieee-754/muldf3.S: Likewise.
2601 * config/arc/ieee-754/mulsf3.S: Likewise
2602 * config/arc/lib1funcs.S: Likewise
2603 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2604 for ARCv2 cores.
2605 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2606 for ARCv2 cores.
2607 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2608 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2609 cores.
2610
2611 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2612
2613 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2614 value.
2615 * config/ia64/crtend.S: Likewise.
2616
2617 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2618
2619 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2620 __CHAR_BIT__ instead of BITS_PER_UNIT.
2621 * fixed-bit.h: Likewise.
2622 * fp-bit.h: Likewise.
2623 * libgcc2.c (__popcountSI2): Likewise.
2624 (__popcountDI2): Likewise.
2625 * libgcc2.h: Likewise.
2626 * libgcov.h: Likewise.
2627
2628 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
2629
2630 * config/rs6000/atexit.c: New file.
2631 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2632 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2633 * config/rs6000/cxa_finalize.c
2634 (catomic_compare_and_exchange_bool_acq): Negate return value.
2635
2636 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2637
2638 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2639 (processor_subtypes): Add znver1.
2640 (get_amd_cpu): Detect znver1.
2641
2642 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2643
2644 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2645 Include crtfastmath.o.
2646
2647 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2648
2649 PR libgcc/66883
2650 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
2651
2652 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2653
2654 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2655 * config/rl78/divmodsi.S: Update return register to r8.
2656 * config/rl78/divmodhi.S: Update return register to r8,r9.
2657 Branch to main_loop_done_himode to pop registers before return.
2658
2659 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2660
2661 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2662 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2663
2664 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2665
2666 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2667
2668 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2669
2670 * config.host (xtensa*-*-uclinux*): New configuration.
2671
2672 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2673
2674 * config/i386/cpuinfo.c (processor_features): Add
2675 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2676
2677 2015-09-28 Joseph Myers <joseph@codesourcery.com>
2678
2679 * soft-fp/adddf3.c: Update from glibc.
2680 * soft-fp/addsf3.c: Likewise.
2681 * soft-fp/addtf3.c: Likewise.
2682 * soft-fp/divdf3.c: Likewise.
2683 * soft-fp/divsf3.c: Likewise.
2684 * soft-fp/divtf3.c: Likewise.
2685 * soft-fp/double.h: Likewise.
2686 * soft-fp/eqdf2.c: Likewise.
2687 * soft-fp/eqsf2.c: Likewise.
2688 * soft-fp/eqtf2.c: Likewise.
2689 * soft-fp/extenddftf2.c: Likewise.
2690 * soft-fp/extended.h: Likewise.
2691 * soft-fp/extendsfdf2.c: Likewise.
2692 * soft-fp/extendsftf2.c: Likewise.
2693 * soft-fp/extendxftf2.c: Likewise.
2694 * soft-fp/fixdfdi.c: Likewise.
2695 * soft-fp/fixdfsi.c: Likewise.
2696 * soft-fp/fixdfti.c: Likewise.
2697 * soft-fp/fixsfdi.c: Likewise.
2698 * soft-fp/fixsfsi.c: Likewise.
2699 * soft-fp/fixsfti.c: Likewise.
2700 * soft-fp/fixtfdi.c: Likewise.
2701 * soft-fp/fixtfsi.c: Likewise.
2702 * soft-fp/fixtfti.c: Likewise.
2703 * soft-fp/fixunsdfdi.c: Likewise.
2704 * soft-fp/fixunsdfsi.c: Likewise.
2705 * soft-fp/fixunsdfti.c: Likewise.
2706 * soft-fp/fixunssfdi.c: Likewise.
2707 * soft-fp/fixunssfsi.c: Likewise.
2708 * soft-fp/fixunssfti.c: Likewise.
2709 * soft-fp/fixunstfdi.c: Likewise.
2710 * soft-fp/fixunstfsi.c: Likewise.
2711 * soft-fp/fixunstfti.c: Likewise.
2712 * soft-fp/floatdidf.c: Likewise.
2713 * soft-fp/floatdisf.c: Likewise.
2714 * soft-fp/floatditf.c: Likewise.
2715 * soft-fp/floatsidf.c: Likewise.
2716 * soft-fp/floatsisf.c: Likewise.
2717 * soft-fp/floatsitf.c: Likewise.
2718 * soft-fp/floattidf.c: Likewise.
2719 * soft-fp/floattisf.c: Likewise.
2720 * soft-fp/floattitf.c: Likewise.
2721 * soft-fp/floatundidf.c: Likewise.
2722 * soft-fp/floatundisf.c: Likewise.
2723 * soft-fp/floatunditf.c: Likewise.
2724 * soft-fp/floatunsidf.c: Likewise.
2725 * soft-fp/floatunsisf.c: Likewise.
2726 * soft-fp/floatunsitf.c: Likewise.
2727 * soft-fp/floatuntidf.c: Likewise.
2728 * soft-fp/floatuntisf.c: Likewise.
2729 * soft-fp/floatuntitf.c: Likewise.
2730 * soft-fp/gedf2.c: Likewise.
2731 * soft-fp/gesf2.c: Likewise.
2732 * soft-fp/getf2.c: Likewise.
2733 * soft-fp/ledf2.c: Likewise.
2734 * soft-fp/lesf2.c: Likewise.
2735 * soft-fp/letf2.c: Likewise.
2736 * soft-fp/muldf3.c: Likewise.
2737 * soft-fp/mulsf3.c: Likewise.
2738 * soft-fp/multf3.c: Likewise.
2739 * soft-fp/negdf2.c: Likewise.
2740 * soft-fp/negsf2.c: Likewise.
2741 * soft-fp/negtf2.c: Likewise.
2742 * soft-fp/op-1.h: Likewise.
2743 * soft-fp/op-2.h: Likewise.
2744 * soft-fp/op-4.h: Likewise.
2745 * soft-fp/op-8.h: Likewise.
2746 * soft-fp/op-common.h: Likewise.
2747 * soft-fp/quad.h: Likewise.
2748 * soft-fp/single.h: Likewise.
2749 * soft-fp/soft-fp.h: Likewise.
2750 * soft-fp/subdf3.c: Likewise.
2751 * soft-fp/subsf3.c: Likewise.
2752 * soft-fp/subtf3.c: Likewise.
2753 * soft-fp/truncdfsf2.c: Likewise.
2754 * soft-fp/trunctfdf2.c: Likewise.
2755 * soft-fp/trunctfsf2.c: Likewise.
2756 * soft-fp/trunctfxf2.c: Likewise.
2757 * soft-fp/unorddf2.c: Likewise.
2758 * soft-fp/unordsf2.c: Likewise.
2759 * soft-fp/unordtf2.c: Likewise.
2760
2761 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
2762
2763 PR libgcc/67624
2764 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2765
2766 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2767
2768 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2769 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2770 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2771 messages.
2772 (internal_mcount): Likewise.
2773 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2774 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2775
2776 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2777
2778 * configure.ac (libgcc_cv_solaris_crts): New test.
2779 * configure: Regenerate.
2780 * config.in: Regenerate.
2781 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2782 * config/gmon-sol2.c: Rename to ...
2783 * config/sol2/gmon.c: ... this.
2784 Include auto-target.h.
2785 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2786 * config/t-sol2: Rename to ...
2787 * config/sol2/t-sol2: ... this.
2788 (gmon.o): Reflect renaming.
2789 (crtp.o, crtpg.o): New rules.
2790 * config.host (*-*-solaris2*): Reflect renaming.
2791 Use system CRTs if present.
2792 Remove default CRT case.
2793
2794 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
2795
2796 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2797 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2798 __kernel_cmpxchg2.
2799 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2800 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2801 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2802 (__sync_lock_test_and_set_##WIDTH): Likewise.
2803 (__sync_lock_release_##WIDTH): Likewise.
2804 (__sync_fetch_and_##OP##_4): Change result to match type of
2805 __kernel_cmpxchg.
2806 (__sync_##OP##_and_fetch_4): Likewise.
2807 (__sync_val_compare_and_swap_4): Likewise.
2808 (__sync_bool_compare_and_swap_4): likewise.
2809 (__sync_lock_test_and_set_4): Likewise.
2810 (__sync_lock_release_4): Likewise.
2811 (FETCH_AND_OP_2): Add long long variants.
2812 (OP_AND_FETCH_2): Likewise.
2813 (COMPARE_AND_SWAP_2 ): Likewise.
2814 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2815 (SYNC_LOCK_RELEASE_2): Likewise.
2816 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2817
2818 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
2819
2820 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2821 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2822 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2823 (get_available_features): Habdle new features.
2824
2825 2015-09-21 James Bowman <james.bowman@ftdichip.com>
2826
2827 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2828 memory layout. Deal correctly with BSS region larger than 32K.
2829 Handle a watchdog reset like a power-on reset. Clean up unused
2830 code.
2831
2832 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
2833 David Edelsohn <dje.gcc@gmail.com>
2834
2835 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2836 * config/rs6000/crtdbase.S: New file.
2837 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2838
2839 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2840
2841 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2842 Add support for call0 ABI.
2843
2844 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
2845
2846 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2847
2848 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2849
2850 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2851 (__GTHREAD_HAS_COND): Likewise.
2852 (__gthread_t): Likewise.
2853 (__gthread_cond_t): Likewise.
2854 (__gthread_time_t): Likewise.
2855 (__GTHREAD_MUTEX_INIT): Likewise.
2856 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2857 (__GTHREAD_COND_INIT): Likewise.
2858 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2859 (__GTHREAD_TIME_INIT): Likewise.
2860 (__gthread_create): Likewise.
2861 (__gthread_join): Likewise.
2862 (__gthread_detach): Likewise.
2863 (__gthread_equal): Likewise.
2864 (__gthread_self): Likewise.
2865 (__gthread_yield): Likewise.
2866 (__gthread_cond_broadcast): Likewise.
2867 (__gthread_cond_signal): Likewise.
2868 (__gthread_cond_wait): Likewise.
2869 (__gthread_cond_timedwait): Likewise.
2870 (__gthread_cond_wait_recursive): Likewise.
2871 (__gthread_cond_destroy): Likewise.
2872 (rtems_gxx_once): Delete.
2873 (rtems_gxx_key_create): Likewise.
2874 (rtems_gxx_key_delete): Likewise.
2875 (rtems_gxx_getspecific): Likewise.
2876 (rtems_gxx_setspecific): Likewise.
2877 (rtems_gxx_mutex_init): Likewise.
2878 (rtems_gxx_mutex_destroy): Likewise.
2879 (rtems_gxx_mutex_lock): Likewise.
2880 (rtems_gxx_mutex_trylock): Likewise.
2881 (rtems_gxx_mutex_unlock): Likewise.
2882 (rtems_gxx_recursive_mutex_init): Likewise.
2883 (rtems_gxx_recursive_mutex_lock): Likewise.
2884 (rtems_gxx_recursive_mutex_trylock): Likewise.
2885 (rtems_gxx_recursive_mutex_unlock): Likewise.
2886 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2887 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2888 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2889 (__gthread_once): Likewise.
2890 (__gthread_key_create): Likewise.
2891 (__gthread_key_delete): Likewise.
2892 (__gthread_getspecific): Likewise.
2893 (__gthread_setspecific): Likewise.
2894 (__gthread_key_t): Use <pthread.h> type.
2895 (__gthread_once_t): Likewise
2896 (__gthread_mutex_t): Use <sys/lock.h> type.
2897 (__gthread_recursive_mutex_t): Likewise
2898 (__gthread_mutex_lock): Use <sys/lock.h> function.
2899 (__gthread_mutex_trylock): Likewise.
2900 (__gthread_mutex_timedlock): Likewise.
2901 (__gthread_mutex_unlock): Likewise.
2902 (__gthread_mutex_destroy): Likewise.
2903 (__gthread_recursive_mutex_lock): Likewise.
2904 (__gthread_recursive_mutex_trylock): Likewise.
2905 (__gthread_recursive_mutex_timedlock): Likewise.
2906 (__gthread_recursive_mutex_unlock): Likewise.
2907 (__gthread_recursive_mutex_destroy): Likewise.
2908
2909 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2910
2911 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2912 context->sp instead of context->cfa.
2913
2914 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2915
2916 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2917 with unwind-dw2-fde-dip.
2918
2919 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2920
2921 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2922 CALL12 followed by series of ENTRY to spill windowed registers.
2923 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2924 instead of making linux spill syscall.
2925
2926 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2927
2928 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2929 (get_intel_cpu): Likewise.
2930
2931 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2932
2933 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2934 (get_intel_cpu): Add Knights Landing support.
2935
2936 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
2937
2938 PR target/66954
2939 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2940 (get_available_features): Handle FEATURE_PCLMUL.
2941
2942 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2943
2944 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2945 Broadwell.
2946
2947 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
2948
2949 PR target/66954
2950 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2951 (get_available_features): Handle FEATURE_AES.
2952
2953 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2954
2955 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2956 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2957
2958 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2959
2960 * offloadstuff.c: Constify host data.
2961
2962 2015-07-17 Jan Beulich <jbeulich@suse.com>
2963
2964 * config/t-softfp: Split up "else ifneq".
2965
2966 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2967 Cesar Philippidis <cesar@codesourcery.com>
2968 Chung-Lin Tang <cltang@codesourcery.com>
2969
2970 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2971 for __nios2_arch__ level.
2972
2973 2015-07-13 John Marino <gnugcc@marino.st>
2974
2975 * config/i386/t-dragonfly: New.
2976
2977 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
2978
2979 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2980 better match light-weight syscall argument order.
2981 (__kernel_cmpxchg2): Likewise.
2982 Adjust callers.
2983
2984 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2985
2986 * config.host: Support i[34567]86-*-elfiamcu target.
2987 * config/t-softfp-sfdftf: New file.
2988 * config/i386/32/t-iamcu: Likewise.
2989 * configure: Regenerated.
2990
2991 2015-06-23 James Lemke <jwlemke@codesourcery.com>
2992
2993 libgcc/config/arm/
2994 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2995
2996 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2997
2998 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2999
3000 2015-05-27 John Marino <gnugcc@marino.st>
3001
3002 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3003 md_unwind_header
3004 * config/i386/freebsd-unwind.h: New.
3005
3006 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
3007
3008 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3009 i386/t-crtfm to tmake_file.
3010 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3011 (set_fast_math): Use set_fast_math_sse for SSE targets.
3012 * config/i386/t-crtfm: Remove.
3013
3014 2015-05-21 Alan Modra <amodra@gmail.com>
3015
3016 PR libgcc/66225
3017 * config/rs6000/morestack.S: Remove ".abiversion 1".
3018
3019 2015-05-20 Alan Modra <amodra@gmail.com>
3020
3021 * config/rs6000/morestack.S: New.
3022 * config/rs6000/t-stack-rs6000: New.
3023 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3024 to tmake_file.
3025 * generic-morestack.c: Don't build for powerpc 32-bit.
3026
3027 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3028
3029 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3030 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3031
3032 2015-05-16 James Bowman <james.bowman@ftdichip.com>
3033
3034 * config.host: FT32 target added.
3035 * config/ft32/*: New files for FT32 target.
3036
3037 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3038
3039 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3040 New macros.
3041 * config/arm/ieee754-df.S: Add CFI directives.
3042 * config/arm/ieee754-sf.S: Add CFI directives.
3043
3044 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3045
3046 * configure.ac: Include config/sjlj.m4.
3047 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3048 * config.in: Regenerate.
3049 * configure: Likewise.
3050 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3051
3052 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
3053
3054 * libgcov-util.c: Add space between string literal and macro name.
3055
3056 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3057 Chris Jones <chrisj@nvidia.com>
3058 Joshua Conner <jconner@nvidia.com>
3059
3060 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3061 (arm*-*-uclinux*): Likewise.
3062 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3063 * config/arm/crtfastmath.c: New file.
3064
3065 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3066
3067 * Makefile.in (real_host_noncanonical): New variable.
3068 (libsubdir): Use it.
3069 * configure.ac (real_host_noncanonical): Compute. Remove special
3070 case for intelmicemul.
3071 * configure: Regenerate.
3072
3073 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3074
3075 * config/frv/elf-lib.h: New file.
3076 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3077 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3078 to tm_file.
3079
3080 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3081
3082 * config/frv/frvbengin.c: Do not include defaults.h
3083 * config/frv/frvend.c: Ditto.
3084
3085 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3086
3087 * config.host: Add h8300-*-linux
3088 * config/h8300/t-linux: New file.
3089 * config/h8300/lib1funs.s: Change symbol prefix.
3090 * config/h8300/sfp-machine.h: 64bit double support.
3091
3092 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3093 Szabolcs Nagy <szabolcs.nagy@arm.com>
3094
3095 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3096 Linux if target provides dl_iterate_phdr.
3097
3098 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3099
3100 PR target/65612
3101 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3102 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3103 (__cpu_indicator_init@GCC_4.8.0): New.
3104 (__cpu_model@GCC_4.8.0): Likewise.
3105 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3106 -DUSE_ELF_SYMVER.
3107
3108 2015-04-16 Nick Clifton <nickc@redhat.com>
3109
3110 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3111 and __modhi3 functions.
3112 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3113 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3114
3115 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3116
3117 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3118 do-while loop as macro body to avoid warnings.
3119
3120 2015-04-10 Jakub Jelinek <jakub@redhat.com>
3121 Iain Sandoe <iain@codesourcery.com>
3122
3123 PR target/65351
3124 * configure: Regenerate.
3125
3126 2015-04-07 Jakub Jelinek <jakub@redhat.com>
3127 Iain Sandoe <iain@codesourcery.com>
3128
3129 PR target/65351
3130 * configure: Regenerate.
3131
3132 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3133
3134 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3135
3136 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
3137
3138 Implement call0 ABI for xtensa
3139 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3140 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3141 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3142 use ret in call0 ABI.
3143 * config/xtensa/t-windowed: New file.
3144 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3145 * libgcc/configure: Regenerated.
3146 * libgcc/configure.ac: Check if xtensa target is configured for
3147 windowed ABI and thus needs to use custom unwind code.
3148
3149 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
3150
3151 PR libgcc/64885
3152 * gthr-single.h: Use __unused__ attribute instead of unused.
3153 * config/gthr-vxworks.h: Likewise.
3154 * config/i386/gthr-win32.h: Likewise.
3155
3156 2015-02-27 Kai Tietz <ktietz@redhat.com>
3157
3158 PR target/65038
3159 * config.in: Regenerated.
3160 * configure: Likewise.
3161 * configure.ac (AC_HEADER_STDC): Added explicit.
3162 (AC_CHECK_HEADERS): Check for default headers plus
3163 for ftw.h header.
3164 * libgcov-util.c (gcov_read_profile_dir): Disable use
3165 of ftw-function, if header is not found.
3166 (ftw_read_file): Likewise.
3167
3168 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3169
3170 PR target/65181
3171 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3172 -Dinhibit_libc.
3173
3174 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3175
3176 * config/arm/bpabi.S (test_div_by_zero): Make label names
3177 consistent between thumb2 and arm mode cases. Separate the
3178 signed comparison on the high word of the numerator from the
3179 unsigned comparison on the low word.
3180 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3181 signed comparison.
3182
3183 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3184
3185 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3186 and <string.h>.
3187 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3188
3189 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3190
3191 PR gcov-profile/61889
3192 * libgcov-driver-system.c: undefine clashing macro for mkdir.
3193
3194 2015-02-02 Nick Clifton <nickc@redhat.com>
3195
3196 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3197 rounding up the fraction.
3198
3199 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
3200
3201 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3202 oldval and newval to const void *. Fix typo.
3203 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3204 (FETCH_AND_OP_WORD): Likewise.
3205 (OP_AND_FETCH_WORD): Likewise.
3206 (COMPARE_AND_SWAP_2): Likewise.
3207 (__sync_val_compare_and_swap_4): Likewise.
3208 (__sync_lock_test_and_set_4): Likewise.
3209 (SYNC_LOCK_RELEASE_2): Likewise.
3210 Remove support for long long atomic operations.
3211
3212 2015-01-27 Caroline Tice <cmtice@google.com>
3213
3214 Committing VTV Cywin/Ming patch for Patrick Wollgast
3215 * Makefile.in: Move rules to build vtv_*.o out of the check
3216 for CUSTOM_CRTSTUFF.
3217 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3218 i[34567]86-*-mingw*)
3219 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3220 enable_vtable_verify.
3221
3222 2015-01-27 Nick Clifton <nickc@redhat.com>
3223
3224 * config/rl78/cmpsi2.S: Use function start and end macros.
3225 (__gcc_bcmp): New function.
3226 * config/rl78/lshrsi3.S: Use function start and end macros.
3227 * config/rl78/mulsi3.S: Add support for G10.
3228 (__mulqi3): New function for G10.
3229 * config/rl78/signbit.S: Use function start and end macros.
3230 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3231 fpmath-sf.S.
3232 (LIB2FUNCS_EXCLUDE): Define.
3233 (LIB2FUNCS_ST): Define.
3234 * config/rl78/trampoline.S: Use function start and end macros.
3235 * config/rl78/vregs.h (START_FUNC): New macro.
3236 (START_ANOTHER_FUNC): New macro.
3237 (END_FUNC): New macro.
3238 (END_ANOTHER_FUNC): New macro.
3239 * config/rl78/bit-count.S: New file. Contains assembler
3240 implementations of the bit counting functions: ___clzhi2,
3241 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3242 __paritysi2, __popcounthi2 and __popcountsi2.
3243 * config/rl78/fpbit-sf.S: New file. Contains assembler
3244 implementationas of the math functions: __negsf2, __cmpsf2,
3245 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3246 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3247 * config/rl78/fpmath-sf.S: New file. Contains assembler
3248 implementations of the math functions: __subsf3, __addsf3,
3249 __mulsf3 and __divsf3
3250
3251 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3252
3253 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3254 Add i386/elf-lib.h to tm_file.
3255 * config/i386/elf-lib.h: Fix comment.
3256 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3257 && __sun__ && __svr4__]: Remove workaround.
3258
3259 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3260
3261 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3262 FEATURE_BMI2.
3263 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3264
3265 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3266
3267 * config/i386/cpuinfo.c (processor_subtypes): Add
3268 INTEL_COREI7_BROADWELL.
3269 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3270 model numbers.
3271
3272 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
3273
3274 * config/i386/elf-lib.h: New file.
3275 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3276 Wrap definition in #ifdef __i386__.
3277 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3278 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3279 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3280 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3281 to tm_file.
3282
3283 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3284
3285 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3286 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3287
3288 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3289
3290 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3291 Update rt_sigframe format and address for current Nios II
3292 Linux conventions.
3293
3294 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3295
3296 * config.host (arm*-*-freebsd*): Add new configuration for
3297 arm*-*-freebsd*.
3298 * config/arm/freebsd-atomic.c: New file.
3299 * config/arm/t-freebsd: Likewise.
3300 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3301 'PC-relative indirect' OS's.
3302
3303 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3304
3305 * config.host: Add Visium support.
3306 * config/visium: New directory.
3307
3308 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3309
3310 Update copyright years.
3311
3312 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3313
3314 * config.host: Support mipsisa32r6 and mipsisa64r6.
3315 * config/mips/mips16.S: Do not build for R6.
3316
3317 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3318
3319 * config/sh/crt.h: New.
3320 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3321 symbols.
3322 * config/sh/crt1.S: Likewise.
3323
3324 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
3325
3326 PR libgcc/63832
3327 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3328 func_ptr *dtor_list temporary variable to avoid "array subscript
3329 is above array bounds" warnings.
3330
3331 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
3332
3333 * Makefile.in (with_aix_soname): Define.
3334 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3335 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3336 * configure: Recreate.
3337
3338 2014-12-05 Olivier Hainque <hainque@adacore.com>
3339
3340 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3341 now provided by defaults.h.
3342
3343 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3344
3345 PR target/55351
3346 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3347 whether it's defined.
3348
3349 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3350
3351 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3352 * config/i386/cpuinfo.c (get_available_features): Detect it.
3353
3354 2014-11-27 Tony Wang <tony.wang@arm.com>
3355
3356 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3357 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3358 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3359
3360 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3361
3362 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3363
3364 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
3365
3366 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3367 instead.
3368
3369 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3370 John David Anglin <danglin@gcc.gnu.org>
3371
3372 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3373 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3374 (OP_AND_FETCH_2): Likewise.
3375 (COMPARE_AND_SWAP_2): Likewise.
3376 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3377 (SYNC_LOCK_RELEASE_2): Likewise.
3378 (SUBWORD_SYNC_OP): Remove.
3379 (SUBWORD_VAL_CAS): Likewise.
3380 (SUBWORD_BOOL_CAS): Likewise.
3381 (FETCH_AND_OP_WORD): Update.
3382 Consistently use signed types.
3383
3384 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3385 Thomas Schwinge <thomas@codesourcery.com>
3386 Ilya Verbin <ilya.verbin@intel.com>
3387 Andrey Turetskiy <andrey.turetskiy@intel.com>
3388
3389 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3390 (crtoffloadend$(objext)): Likewise.
3391 * configure: Regenerate.
3392 * configure.ac (accel_dir_suffix): Compute new variable.
3393 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3394 if enable_offload_targets is not empty.
3395 * offloadstuff.c: New file.
3396
3397 2014-11-13 Nick Clifton <nickc@redhat.com>
3398
3399 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3400 Use START_FUNC and END_FUNC macros to enable linker garbage
3401 collection.
3402 * config/rl78/divmodqi.S: Likewise.
3403 * config/rl78/divmodsi.S: Likewise.
3404 * config/rl78/mulsi3.S: Likewise.
3405 * config/rl78/lib2div.c: Remove G10 functions.
3406 * config/rl78/lib2muls.c: Likewise.
3407 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3408 * config/rl78/vregs.h (START_FUNC): New macro.
3409 (END_FUNC): New macro.
3410
3411 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3412
3413 * config/mips/mips16.S: Set .module when supported. Update O32
3414 FP64 calling convention and use for FPXX when possible. Add FPXX
3415 calling convention fallback case.
3416
3417 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3418
3419 * config.host: Handle nvptx-*-*.
3420 * shared-object.mk (as-flags-$o): Define.
3421 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3422 -xassembler-with-cpp.
3423 * static-object.mk: Identical changes.
3424 * config/nvptx/t-nvptx: New file.
3425 * config/nvptx/crt0.s: New file.
3426 * config/nvptx/free.asm: New file.
3427 * config/nvptx/malloc.asm: New file.
3428 * config/nvptx/realloc.c: New file.
3429
3430 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3431
3432 * Makefile.in (libgcc.map.in): New target.
3433 (libgcc.map): Use libgcc.map.in.
3434 * config/t-softfp (softfp_compat): New variable to be set by
3435 users.
3436 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3437 variables.
3438 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3439 directory.
3440 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3441 that use compat symbols and disable all code unless [SHARED].
3442 * config/t-softfp-compat: New file.
3443 * find-symver.awk: New file.
3444 * configure.ac (--with-glibc-version): New configure option.
3445 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3446 * configure: Regenerate.
3447 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3448 soft-float and e500.
3449
3450 2014-10-29 Joseph Myers <joseph@codesourcery.com>
3451
3452 * config/t-hardfp (hardfp_exclusions): Document new variable for
3453 user to define.
3454 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3455 * config/t-softfp (softfp_extras): Document new variable for user
3456 to define.
3457 (softfp_func_list): Add functions from $(softfp_extras).
3458 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3459 * config.host (powerpc*-*-linux*): For e500v1, use
3460 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3461 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3462 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3463
3464 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
3465
3466 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3467 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3468 memory read accesses are ok.
3469
3470 2014-10-25 Joseph Myers <joseph@codesourcery.com>
3471
3472 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3473 * configure: Regenerate.
3474 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3475 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3476 of soft-fp for 32-bit classic hard float. Do not use
3477 t-softfp-excl for soft float.
3478
3479 2014-10-22 Joseph Myers <joseph@codesourcery.com>
3480
3481 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3482 configurations.
3483 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3484 Remove variables.
3485
3486 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
3487
3488 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3489 introduced with 2014-10-21 trunk r216525.
3490
3491 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
3492 Vidya Praveen <vidya.praveen@atmel.com>
3493 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3494 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3495 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
3496
3497 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3498 order.
3499
3500 Updated library functions for AVRTINY arch.
3501 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3502 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3503 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3504 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3505 wsubi/wadi macors.
3506 (__mulsi3_helper): Update stack, preserve callee saved regs and
3507 argument from stack. Restore callee save registers.
3508 (__mulpsi3): Likewise.
3509 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3510 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
3511 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
3512 AVRTINY.
3513 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3514 (__do_copy_data): Added new definition for AVRTINY.
3515 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3516 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3517 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3518 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3519 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3520 macors.
3521 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
3522 AVRTINY.
3523
3524 Fix broken long multiplication on tiny arch.
3525
3526 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3527
3528 * soft-fp/double.h: Update from glibc.
3529 * soft-fp/eqdf2.c: Likewise.
3530 * soft-fp/eqsf2.c: Likewise.
3531 * soft-fp/eqtf2.c: Likewise.
3532 * soft-fp/extenddftf2.c: Likewise.
3533 * soft-fp/extended.h: Likewise.
3534 * soft-fp/extendsfdf2.c: Likewise.
3535 * soft-fp/extendsftf2.c: Likewise.
3536 * soft-fp/extendxftf2.c: Likewise.
3537 * soft-fp/gedf2.c: Likewise.
3538 * soft-fp/gesf2.c: Likewise.
3539 * soft-fp/getf2.c: Likewise.
3540 * soft-fp/ledf2.c: Likewise.
3541 * soft-fp/lesf2.c: Likewise.
3542 * soft-fp/letf2.c: Likewise.
3543 * soft-fp/op-1.h: Likewise.
3544 * soft-fp/op-2.h: Likewise.
3545 * soft-fp/op-4.h: Likewise.
3546 * soft-fp/op-8.h: Likewise.
3547 * soft-fp/op-common.h: Likewise.
3548 * soft-fp/quad.h: Likewise.
3549 * soft-fp/single.h: Likewise.
3550 * soft-fp/soft-fp.h: Likewise.
3551 * soft-fp/unorddf2.c: Likewise.
3552 * soft-fp/unordsf2.c: Likewise.
3553 * soft-fp/unordtf2.c: Likewise.
3554 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3555 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3556 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3557 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3558 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3559 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3560 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3561 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3562 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3563 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3564
3565 2014-10-08 Rong Xu <xur@google.com>
3566
3567 * libgcov-util.c (read_gcda_file): Fix format.
3568 (find_match_gcov_info): Ditto.
3569 (calculate_2_entries): New.
3570 (compute_one_gcov): Ditto.
3571 (gcov_info_count_all_cold): Ditto.
3572 (gcov_info_count_all_zero): Ditto.
3573 (extract_file_basename): Ditto.
3574 (get_file_basename): Ditto.
3575 (set_flag): Ditto.
3576 (matched_gcov_info): Ditto.
3577 (calculate_overlap): Ditto.
3578 (gcov_profile_overlap): Ditto.
3579 * libgcov-driver.c (compute_summary): Make
3580 it avavilable for external calls.
3581
3582 2014-10-06 Rong Xu <xur@google.com>
3583
3584 * Makefile.in: Ditto.
3585 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3586 (gcov_sort_icall_topn_counter): Ditto.
3587 (gcov_sort_topn_counter_arrays): Ditto.
3588 (dump_one_gcov): Sort indirect_call topn counters.
3589 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3590 function.
3591 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3592 utility function.
3593 (__gcov_indirect_call_topn_profiler): New profiler function.
3594 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3595 * libgcov.h: New decls.
3596
3597 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3598
3599 * config.host: Remove support for score-*.
3600
3601 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3602
3603 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3604 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3605 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3606 __LIBGCC_XF_MANT_DIG__.
3607 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3608 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3609 __LIBGCC_TF_MANT_DIG__.
3610 * libgcc2.c (NOTRUNC): Define in terms of
3611 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3612 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3613
3614 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3615
3616 PR target/63312
3617 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3618 New macros.
3619
3620 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
3621
3622 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3623 override USE_PT_GNU_EH_FRAME.
3624 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3625 check USE_EH_FRAME_REGISTRY_ALWAYS against
3626 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3627 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3628 variable for substituted force_explicit_eh_registry.
3629 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3630 * configure.ac (explicit-exception-frame-registration):
3631 New AC_ARG_ENABLE.
3632 * configure: Regenerate.
3633
3634 2014-09-19 Olivier Hainque <hainque@adacore.com>
3635
3636 * config.host (powerpc-wrs-vxworksmils): New configuration,
3637 same as vxworksae.
3638
3639 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3640
3641 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3642
3643 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3644
3645 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3646 bits not set bits as indicating trapping exceptions.
3647
3648 2014-09-17 Nathan sidwell <nathan@acm.org>
3649
3650 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3651 (LIBGCOV_DRIVER): ... here.
3652 * libgcov-driver.c (gcov_master): New.
3653 (gcov_exit): Remove from master chain.
3654 (__gcov_init): Add to master chain if version compatible. Don't
3655 clear the version.
3656 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3657 (gcov_reset_int): Clear master chain, if compatible.
3658 (gcov_dump_int): New internal interface. Dump master chain, if
3659 compatible.
3660 (gcov_dump): Alias for gcov_dump_int.
3661 * libgcov.h (struct gcov_root): Add next and prev fields.
3662 (struct gcov_master): New struct.
3663 (__gcov_master): New.
3664 (gcov_dump_int): Declare.
3665
3666 2014-09-17 Olivier Hainque <hainque@adacore.com>
3667
3668 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3669 and crtbegin.o + crtend.o to extra_parts.
3670
3671 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3672
3673 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3674 __LIBGCC_HAS_SF_MODE__.
3675 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3676 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3677 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3678 * config/libbid/bid_gcc_intrinsics.h
3679 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3680 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3681 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3682 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3683 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3684 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3685
3686 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
3687
3688 PR target/63223
3689 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3690 and R24 as needed. Make work for all devices and .text locations.
3691 (__do_global_ctors, __do_global_dtors): Use word addresses.
3692 (__tablejump__, __tablejump_elpm__): Remove functions.
3693 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3694 Add _tablejump2.
3695 (XICALL, XIJMP): New macros.
3696
3697 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3698 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3699
3700 * config.host (aarch64*): Include crtfastmath.o and
3701 t-crtfm.
3702 * config/aarch64/crtfastmath.c: New file.
3703
3704 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3705
3706 * config.host: Remove picochip support.
3707 * config/picochip/adddi3.S: Remove.
3708 * config/picochip/ashlsi3.S: Remove.
3709 * config/picochip/ashlsi3.c: Remove.
3710 * config/picochip/ashrsi3.S: Remove.
3711 * config/picochip/ashrsi3.c: Remove.
3712 * config/picochip/clzsi2.S: Remove.
3713 * config/picochip/cmpsi2.S: Remove.
3714 * config/picochip/divmod15.S: Remove.
3715 * config/picochip/divmodhi4.S: Remove.
3716 * config/picochip/divmodsi4.S: Remove.
3717 * config/picochip/lib1funcs.S: Remove.
3718 * config/picochip/longjmp.S: Remove.
3719 * config/picochip/lshrsi3.S: Remove.
3720 * config/picochip/lshrsi3.c: Remove.
3721 * config/picochip/parityhi2.S: Remove.
3722 * config/picochip/popcounthi2.S: Remove.
3723 * config/picochip/setjmp.S: Remove.
3724 * config/picochip/subdi3.S: Remove.
3725 * config/picochip/t-picochip: Remove.
3726 * config/picochip/ucmpsi2.S: Remove.
3727 * config/picochip/udivmodhi4.S: Remove.
3728 * config/picochip/udivmodsi4.S: Remove.
3729
3730 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3731
3732 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3733 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3734 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3735 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3736 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3737 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3738 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3739 defined and LIBGCC2_HAS_DF_MODE is defined.
3740 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3741 defined and LIBGCC2_HAS_XF_MODE is defined.
3742 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3743 defined and LIBGCC2_HAS_TF_MODE is defined.
3744
3745 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3746
3747 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3748 and ROUND_TOWARDS_ZERO conditionals.
3749
3750 2014-09-07 Nathan sidwell <nathan@acm.org>
3751
3752 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3753 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3754
3755 2014-09-05 Joseph Myers <joseph@codesourcery.com>
3756
3757 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3758 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3759 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3760 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3761 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3762 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3763 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3764 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3765 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3766 (DWARF_FRAME_REGISTERS): Change all uses to
3767 __LIBGCC_DWARF_FRAME_REGISTERS__.
3768 (EH_RETURN_STACKADJ_RTX): Change all uses to
3769 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3770 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3771 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3772 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3773 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3774 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3775 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3776 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3777 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3778 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3779 __LIBGCC_STACK_POINTER_REGNUM__.
3780 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3781 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3782 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3783 to __LIBGCC_STACK_POINTER_REGNUM__.
3784 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3785 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3786 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3787 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3788 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3789 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3790 (STACK_POINTER_REGNUM): Change all uses to
3791 __LIBGCC_STACK_POINTER_REGNUM__.
3792 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3793 use to __LIBGCC_STACK_POINTER_REGNUM__.
3794 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3795 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3796 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3797 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3798 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3799 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3800 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3801 to __LIBGCC_STACK_POINTER_REGNUM__.
3802 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3803 Remove conditional definition.
3804 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3805 __LIBGCC_TEXT_SECTION_ASM_OP__.
3806 (EH_FRAME_SECTION_NAME): Change all uses to
3807 __LIBGCC_EH_FRAME_SECTION_NAME__.
3808 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3809 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3810 (CTORS_SECTION_ASM_OP): Change all uses to
3811 __LIBGCC_CTORS_SECTION_ASM_OP__.
3812 (DTORS_SECTION_ASM_OP): Change all uses to
3813 __LIBGCC_DTORS_SECTION_ASM_OP__.
3814 (JCR_SECTION_NAME): Change all uses to
3815 __LIBGCC_JCR_SECTION_NAME__.
3816 (INIT_SECTION_ASM_OP): Change all uses to
3817 __LIBGCC_INIT_SECTION_ASM_OP__.
3818 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3819 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3820 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3821 __LIBGCC_STACK_GROWS_DOWNWARD__.
3822 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3823 __LIBGCC_INIT_SECTION_ASM_OP__.
3824 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3825 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3826 (EH_FRAME_SECTION_NAME): Change all uses to
3827 __LIBGCC_EH_FRAME_SECTION_NAME__.
3828 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3829 definitions. Change all uses to
3830 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3831 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3832 __LIBGCC_STACK_GROWS_DOWNWARD__.
3833 (DWARF_FRAME_REGISTERS): Change all uses to
3834 __LIBGCC_DWARF_FRAME_REGISTERS__.
3835 (EH_RETURN_STACKADJ_RTX): Change all uses to
3836 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3837 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3838 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3839 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3840 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3841 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3842
3843 2014-09-02 Nathan sidwell <nathan@acm.org>
3844
3845 * libgcov-interface.c (STRONG_ALIAS): New.
3846 (__gcov_flush): Call __gcov_reset_int.
3847 (__gcov_reset): Strong alias for ...
3848 (__gcov_reset_ing): ... this renamed hidden version.
3849 * libgcov.h (__gcov_reset_int): New declaration.
3850
3851 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3852
3853 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3854 call from here...
3855 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3856 (__dso_handle): Define on Cygwin.
3857 * config/i386/t-cygming (crtbeginS.o): New rule.
3858 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3859
3860 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3861 declaration syntax.
3862
3863 2014-08-13 Steve Ellcey <sellcey@mips.com>
3864
3865 * crtstuff.c: Undef caddr_t.
3866
3867 2014-08-12 Steve Ellcey <sellcey@mips.com>
3868
3869 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3870
3871 2014-08-07 Nathan Sidwell <nathan@acm.org>
3872
3873 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3874 (LIBGCOV_DRIVER): ... to here.
3875 * libgcov.h (gcov_do_dump): New #define.
3876 (struct gcov_root): New.
3877 (__gcov_root): New declaration.
3878 (__gcov_dump_one): Declare.
3879 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3880 run_accounted): Delete.
3881 (gcov_compute_histogram): Add LIST argument, adjust.
3882 (compute_summary): Adjust gcov_compute_histogram call.
3883 (gcov_do_dump): Not hidden, static in libgcov.
3884 (gcov_clear): Move to interface.c.
3885 (__gcov_dump_one): New, broken out of ...
3886 (gcov_exit): ... here. Make static.
3887 (__gcov_root): New.
3888 (__gcov_init): Adjust.
3889 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3890 declarations.
3891 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3892 (gcov_clear): Moved from driver.c. Add LIST argument.
3893 (__gcov_reset): Adjust for changed interfaces.
3894 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3895
3896 2014-08-04 Rohit <rohitarulraj@freescale.com>
3897
3898 PR target/60102
3899 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
3900 based on change in SPE high register numbers and 3 HTM registers.
3901
3902 2014-08-01 Nathan Sidwell <nathan@acm.org>
3903
3904 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3905 LIBGCOV_INTERFACE): Reformat.
3906 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3907 IN_GCOV_TOOL.
3908 * libgcov-interface.c: Reformat some comments.
3909 (__gcov_flush_mx): Add declaration. Tidy up definition.
3910
3911 2014-07-31 Alan Modra <amodra@gmail.com>
3912 Peter Bergner <bergner@vnet.ibm.com>
3913
3914 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3915 (pack_ldouble): New function.
3916 (__gcc_qadd): Use it.
3917 (__gcc_qmul): Likewise.
3918 (__gcc_qdiv): Likewise.
3919 (__gcc_qneg): Likewise.
3920 (__gcc_stoq): Likewise.
3921 (__gcc_dtoq): Likewise.
3922
3923 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3924
3925 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3926 (__tpf_eh_return): Add original return address as second parameter.
3927 Handle cases where unwinder routines were called directly, instead
3928 of from within the C++ library.
3929
3930 2014-07-29 Nathan Sidwell <nathan@acm.org>
3931
3932 * libgcov.h: Move renaming of entry points to lib gcov specific
3933 portion.
3934 (gcov_do_dump): New rename.
3935 (gcov_rewrite): Remove inline, make HIDDEN.
3936 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3937 (gcov_exit_compute_summary): Rename to ...
3938 (compute_summary): ... here. Add LIST argument.
3939 (gcov_exit_merge_gcda): Rename to ...
3940 (merge_one_data): ... here.
3941 (gcov_exit_write_gcda): Rename to ...
3942 (write_one_data): ... here.
3943 (gcov_exit_merge_summary): Rename to ...
3944 (merge_summary): Add RUN_COUNTED argument.
3945 (gcov_exit_dump_gcov): Rename to ...
3946 (dump_one_gcov): Add RUN_COUNTED argument.
3947 (gcov_do_dump): New function, broken out of ...
3948 (gcov_exit): ... here. Call it.
3949
3950 2014-07-27 Anthony Green <green@moxielogic.com>
3951
3952 * config.host: Add moxiebox configuration suppport.
3953
3954 2014-07-27 Nathan Sidwell <nathan@acm.org>
3955
3956 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3957 (struct gcov_filename): ... here. Include buffer and max length
3958 fields.
3959 (gcov_max_filename): Remove.
3960 (gi_filename): Remove.
3961 (gcov_exit_compute_summary): Compute max filename here.
3962 (gcov_exit_merge_gcda): Add filename parm, adjust.
3963 (gcov_exit_merge_summary): Likewise.
3964 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3965 (gcov_exit): Likewise.
3966 (__gcov_init): Don't calculate max length here.
3967 * libgcov_util.c (max_filename_len): Remove.
3968 (read_gcda_file): Don't calculate max length here.
3969 (gcov_read_profile_dir): Don't propagate here.
3970 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3971 struct gcov_filename changes.
3972 (gcov_exit_open_gcda_file): Likewise.
3973
3974 2014-07-25 Nathan Sidwell <nathan@acm.org>
3975
3976 * libgcov-driver.c (set_gcov_dump_complete,
3977 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3978 functions polluting user's namespace.
3979 (gcov_exit): Set variable directly.
3980 (gcov_clear): Reset variable directly.
3981 * libgcov-interface.c (get_gcov_dymp_complete,
3982 reset_gov_dump_complete): Remove declarations.
3983 (__gcov_reset, __gcov_dump): Don't call them.
3984
3985 2014-07-24 DJ Delorie <dj@redhat.com>
3986
3987 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
3988 (__gcc_deregister_frame): Move logic to detect deregister function
3989 to ...
3990 (__gcc_register_frame): here, so it's consistent with the register
3991 logic.
3992
3993 2014-07-23 Nathan Sidwell <nathan@acm.org>
3994
3995 * libgcov-driver.c (set_gcov_list): Remove.
3996 (gcov_list): Make non-static in GCOV_TOOL.
3997 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3998
3999 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
4000
4001 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4002 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4003 Don't use SYNC_LOCK_RELEASE for int type.
4004
4005 2014-07-14 Richard Biener <rguenther@suse.de>
4006
4007 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4008
4009 2014-07-11 Rong Xu <xur@google.com>
4010
4011 * libgcov-util.c (gcov_max_filename): Fix declartion.
4012
4013 2014-07-10 Rong Xu <xur@google.com>
4014
4015 Add gcov-tool: an offline gcda profile processing tool
4016 Support.
4017 * libgcov-driver.c (gcov_max_filename): Make available
4018 to gcov-tool.
4019 * libgcov-merge.c (__gcov_merge_add): Replace
4020 gcov_read_counter() with a Macro.
4021 (__gcov_merge_ior): Ditto.
4022 (__gcov_merge_time_profile): Ditto.
4023 (__gcov_merge_single): Ditto.
4024 (__gcov_merge_delta): Ditto.
4025 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4026 in the utility functions.
4027 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4028 gcov_list object link lists.
4029 (tag_function): Ditto.
4030 (tag_blocks): Ditto.
4031 (tag_arcs): Ditto.
4032 (tag_lines): Ditto.
4033 (tag_counters): Ditto.
4034 (tag_summary): Ditto.
4035 (read_gcda_finalize): Ditto.
4036 (read_gcda_file): Ditto.
4037 (ftw_read_file): Ditto.
4038 (read_profile_dir_init): Ditto.
4039 (gcov_read_profile_dir): Ditto.
4040 (gcov_read_counter_mem): Ditto.
4041 (gcov_get_merge_weight): Ditto.
4042 (merge_wrapper): A wrapper function that calls merging handler.
4043 (gcov_merge): Merge two gcov_info objects with weights.
4044 (find_match_gcov_info): Find the matched gcov_info in the list.
4045 (gcov_profile_merge): Merge two gcov_info object lists.
4046 (__gcov_add_counter_op): Process edge profile counter values.
4047 (__gcov_ior_counter_op): Process IOR profile counter values.
4048 (__gcov_delta_counter_op): Process delta profile counter values.
4049 (__gcov_single_counter_op): Process single profile counter values.
4050 (fp_scale): Callback function for float-point scaling.
4051 (int_scale): Callback function for integer fraction scaling.
4052 (gcov_profile_scale): Scaling profile counters.
4053 (gcov_profile_normalize): Normalize profile counters.
4054 * libgcov.h: Add headers and functions for gcov-tool use.
4055 (gcov_get_counter): New.
4056 (gcov_get_counter_target): Ditto.
4057 (struct gcov_info): Make the functions field mutable in gcov-tool
4058 compilation.
4059
4060 2014-06-23 Kai Tietz <ktietz@redhat.com>
4061
4062 PR libgcc/61585
4063 * unwind-seh.c (_Unwind_GetGR): Check for proper
4064 index range.
4065 (_Unwind_SetGR): Likewise.
4066
4067 2014-05-22 Nick Clifton <nickc@redhat.com>
4068
4069 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4070 -mhwmult=none.
4071
4072 2014-05-22 Teresa Johnson <tejohnson@google.com>
4073
4074 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4075 include.
4076
4077 2014-05-20 John Marino <gnugcc@marino.st>
4078
4079 * config.host (*-*-dragonfly*): New target.
4080 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4081 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4082 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4083 * config/i386/dragonfly-unwind.h: New.
4084
4085 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4086
4087 PR libgcc/60166
4088 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4089 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4090
4091 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4092
4093 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4094 implementation.
4095
4096 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
4097
4098 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4099
4100 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4101
4102 PR libgcc/61097
4103 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4104 if --enable-shared.
4105
4106 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4107
4108 Work around for current cygwin32 build problems.
4109 * config/i386/cygming-crtbegin.c (__register_frame_info,
4110 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4111 functions only for 64-bit systems.
4112
4113 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4114
4115 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4116 (sigill_caught, sigill_hdlr): Remove.
4117
4118 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4119
4120 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4121 check.
4122 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4123 Solaris 9 single-threaded support.
4124 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4125 Solaris 9 single-threaded support. Add call_user_handler code
4126 sequences.
4127 (sparc_is_sighandler): Likewise.
4128
4129 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4130
4131 * config.host: Append t-floattodi to tmake_file depending on
4132 host_address.
4133
4134 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4135
4136 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
4137
4138 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
4139
4140 PR libgcc/60472
4141 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
4142 variable to avoid "array subscript is above array bounds" warnings.
4143 Use __builtin_expect when checking *jcr_list for NULL.
4144
4145 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4146
4147 PR libgcc/59339
4148 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4149 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4150 vtv_*.o to extra_parts if enable_vtable_verify.
4151
4152 2014-03-06 Nick Clifton <nickc@redhat.com>
4153
4154 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4155 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4156
4157 2014-02-28 Joey Ye <joey.ye@arm.com>
4158
4159 PR libgcc/60166
4160 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4161 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4162 Set to zero.
4163
4164 2014-02-24 Walter Lee <walt@tilera.com>
4165
4166 * config.host: Support "tilegx*" and "tilepro*" triplets.
4167 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4168 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4169
4170 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4171 Chung-Lin Tang <cltang@codesourcery.com>
4172
4173 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4174 * config/nios2/crti.S: Remove .file directive.
4175 * config/nios2/crtn.S: Likewise.
4176
4177 2014-02-18 Kai Tietz <ktietz@redhat.com>
4178 Jonathan Schleifer <js@webkeks.org>
4179
4180 PR objc/56870
4181 * unwind-seh.c (_GCC_specific_handler): Pass proper
4182 value to unwind-handler.
4183
4184 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4185
4186 * soft-fp/adddf3.c: Update from glibc.
4187 * soft-fp/addsf3.c: Likewise.
4188 * soft-fp/addtf3.c: Likewise.
4189 * soft-fp/divdf3.c: Likewise.
4190 * soft-fp/divsf3.c: Likewise.
4191 * soft-fp/divtf3.c: Likewise.
4192 * soft-fp/double.h: Likewise.
4193 * soft-fp/eqdf2.c: Likewise.
4194 * soft-fp/eqsf2.c: Likewise.
4195 * soft-fp/eqtf2.c: Likewise.
4196 * soft-fp/extenddftf2.c: Likewise.
4197 * soft-fp/extended.h: Likewise.
4198 * soft-fp/extendsfdf2.c: Likewise.
4199 * soft-fp/extendsftf2.c: Likewise.
4200 * soft-fp/extendxftf2.c: Likewise.
4201 * soft-fp/fixdfdi.c: Likewise.
4202 * soft-fp/fixdfsi.c: Likewise.
4203 * soft-fp/fixdfti.c: Likewise.
4204 * soft-fp/fixsfdi.c: Likewise.
4205 * soft-fp/fixsfsi.c: Likewise.
4206 * soft-fp/fixsfti.c: Likewise.
4207 * soft-fp/fixtfdi.c: Likewise.
4208 * soft-fp/fixtfsi.c: Likewise.
4209 * soft-fp/fixtfti.c: Likewise.
4210 * soft-fp/fixunsdfdi.c: Likewise.
4211 * soft-fp/fixunsdfsi.c: Likewise.
4212 * soft-fp/fixunsdfti.c: Likewise.
4213 * soft-fp/fixunssfdi.c: Likewise.
4214 * soft-fp/fixunssfsi.c: Likewise.
4215 * soft-fp/fixunssfti.c: Likewise.
4216 * soft-fp/fixunstfdi.c: Likewise.
4217 * soft-fp/fixunstfsi.c: Likewise.
4218 * soft-fp/fixunstfti.c: Likewise.
4219 * soft-fp/floatdidf.c: Likewise.
4220 * soft-fp/floatdisf.c: Likewise.
4221 * soft-fp/floatditf.c: Likewise.
4222 * soft-fp/floatsidf.c: Likewise.
4223 * soft-fp/floatsisf.c: Likewise.
4224 * soft-fp/floatsitf.c: Likewise.
4225 * soft-fp/floattidf.c: Likewise.
4226 * soft-fp/floattisf.c: Likewise.
4227 * soft-fp/floattitf.c: Likewise.
4228 * soft-fp/floatundidf.c: Likewise.
4229 * soft-fp/floatundisf.c: Likewise.
4230 * soft-fp/floatunditf.c: Likewise.
4231 * soft-fp/floatunsidf.c: Likewise.
4232 * soft-fp/floatunsisf.c: Likewise.
4233 * soft-fp/floatunsitf.c: Likewise.
4234 * soft-fp/floatuntidf.c: Likewise.
4235 * soft-fp/floatuntisf.c: Likewise.
4236 * soft-fp/floatuntitf.c: Likewise.
4237 * soft-fp/gedf2.c: Likewise.
4238 * soft-fp/gesf2.c: Likewise.
4239 * soft-fp/getf2.c: Likewise.
4240 * soft-fp/ledf2.c: Likewise.
4241 * soft-fp/lesf2.c: Likewise.
4242 * soft-fp/letf2.c: Likewise.
4243 * soft-fp/muldf3.c: Likewise.
4244 * soft-fp/mulsf3.c: Likewise.
4245 * soft-fp/multf3.c: Likewise.
4246 * soft-fp/negdf2.c: Likewise.
4247 * soft-fp/negsf2.c: Likewise.
4248 * soft-fp/negtf2.c: Likewise.
4249 * soft-fp/op-1.h: Likewise.
4250 * soft-fp/op-2.h: Likewise.
4251 * soft-fp/op-4.h: Likewise.
4252 * soft-fp/op-8.h: Likewise.
4253 * soft-fp/op-common.h: Likewise.
4254 * soft-fp/quad.h: Likewise.
4255 * soft-fp/single.h: Likewise.
4256 * soft-fp/soft-fp.h: Likewise.
4257 * soft-fp/subdf3.c: Likewise.
4258 * soft-fp/subsf3.c: Likewise.
4259 * soft-fp/subtf3.c: Likewise.
4260 * soft-fp/truncdfsf2.c: Likewise.
4261 * soft-fp/trunctfdf2.c: Likewise.
4262 * soft-fp/trunctfsf2.c: Likewise.
4263 * soft-fp/trunctfxf2.c: Likewise.
4264 * soft-fp/unorddf2.c: Likewise.
4265 * soft-fp/unordsf2.c: Likewise.
4266 * soft-fp/unordtf2.c: Likewise.
4267 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4268 macro.
4269 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4270 Likewise.
4271 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4272 Likewise.
4273 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4274 Likewise.
4275 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4276 Likewise.
4277 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4278 Likewise.
4279 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4280 Likewise.
4281 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4282 Likewise.
4283 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4284 Likewise.
4285 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4286 Likewise.
4287 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4288 Likewise.
4289 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4290 Likewise.
4291 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4292 Likewise.
4293 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4294 Likewise.
4295 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4296 Likewise.
4297 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4298 Likewise.
4299
4300 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4301
4302 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4303 cannot be represented.
4304 * config/s390/32/_fixsfdi.c: Likewise.
4305 * config/s390/32/_fixtfdi.c: Likewise.
4306 * config/s390/32/_fixunsdfdi.c: Likewise.
4307 * config/s390/32/_fixunssfdi.c: Likewise.
4308 * config/s390/32/_fixunstfdi.c: Likewise.
4309
4310 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4311
4312 * configure.ac (libgcc_cv_mips_hard_float): New.
4313 * configure: Regenerate.
4314 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4315 t-softfp-sfdf for hard-float targets.
4316 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4317 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4318 (softfp_truncations, softfp_exclude_libgcc2): New.
4319 * config/t-hardfp: New file.
4320 * config/t-hardfp-sfdf: Likewise.
4321 * config/hardfp.c: Likewise.
4322
4323 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4324
4325 * config.host: Include t-floattodi also for s390x.
4326 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4327 * config/s390/32/_fixsfdi.c: Likewise.
4328 * config/s390/32/_fixtfdi.c: Likewise.
4329 * config/s390/32/_fixunsdfdi.c: Likewise.
4330 * config/s390/32/_fixunssfdi.c: Likewise.
4331 * config/s390/32/_fixunstfdi.c: Likewise.
4332
4333 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4334
4335 PR target/59788
4336 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4337 (install-libgcc-unwind-map-forbuild): New target.
4338 (all): Depend on install-libgcc-unwind-map-forbuild.
4339 (install-libgcc-unwind-map): New target.
4340 (install): Depend on install-libgcc-unwind-map.
4341
4342 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4343
4344 * config/nios2/crti.S (_init): Initialize GOT pointer from
4345 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4346
4347 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4348
4349 * configure.ac: Check __mips64 when setting host_address.
4350 * configure: Regenerate.
4351 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4352 mips/t-mips64 and t-softfp.
4353 (mips*-*-linux*): Don't add mips/t-tpbit.
4354 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4355 (DPBIT, DPBIT_CFLAGS): Delete.
4356 * config/mips/sfp-machine.h: New file.
4357 * config/mips/t-mips64: Likewise.
4358 * config/mips/t-softfp-tf: Likewise.
4359 * config/mips/t-tpbit: Delete.
4360
4361 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4362
4363 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4364 as long long.
4365
4366 2014-01-25 Walter Lee <walt@tilera.com>
4367
4368 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4369 config.h or system.h.
4370 (bool) Define.
4371
4372 2014-01-25 Walter Lee <walt@tilera.com>
4373
4374 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4375 (post_atomic_barrier): Ditto.
4376 (__fetch_and_do): New macro.
4377 (__atomic_fetch_and_do): Use __fetch_and_do.
4378 (__sync_fetch_and_do): New macro.
4379 (__sync_fetch_and_add_4): New function.
4380 (__sync_fetch_and_sub_4): New function.
4381 (__sync_fetch_and_or_4): New function.
4382 (__sync_fetch_and_and_4): New function.
4383 (__sync_fetch_and_xor_4): New function.
4384 (__sync_fetch_and_nand_4): New function.
4385 (__sync_fetch_and_add_8): New function.
4386 (__sync_fetch_and_sub_8): New function.
4387 (__sync_fetch_and_or_8): New function.
4388 (__sync_fetch_and_and_8): New function.
4389 (__sync_fetch_and_xor_8): New function.
4390 (__sync_fetch_and_nand_8): New function.
4391 (__do_and_fetch): New macro.
4392 (__atomic_do_and_fetch): Use __do_and_fetch.
4393 (__sync_do_and_fetch): New macro.
4394 (__sync_add_and_fetch_4): New function.
4395 (__sync_sub_and_fetch_4): New function.
4396 (__sync_or_and_fetch_4): New function.
4397 (__sync_and_and_fetch_4): New function.
4398 (__sync_xor_and_fetch_4): New function.
4399 (__sync_nand_and_fetch_4): New function.
4400 (__sync_add_and_fetch_8): New function.
4401 (__sync_sub_and_fetch_8): New function.
4402 (__sync_or_and_fetch_8): New function.
4403 (__sync_and_and_fetch_8): New function.
4404 (__sync_xor_and_fetch_8): New function.
4405 (__sync_nand_and_fetch_8): New function.
4406 (__sync_exchange_methods): New macro.
4407 (__sync_val_compare_and_swap_4): New function.
4408 (__sync_bool_compare_and_swap_4): New function.
4409 (__sync_lock_test_and_test_4): New function.
4410 (__sync_val_compare_and_swap_8): New function.
4411 (__sync_bool_compare_and_swap_8): New function.
4412 (__sync_lock_test_and_test_8): New function.
4413 (__subword_cmpxchg_body): New macro.
4414 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4415 (__atomic_compare_exchange_2): Ditto.
4416 (__sync_subword_cmpxchg): New macro.
4417 (__sync_val_compare_and_swap_1): New function.
4418 (__sync_bool_compare_and_swap_1): New function.
4419 (__sync_val_compare_and_swap_2): New function.
4420 (__sync_bool_compare_and_swap_2): New function.
4421 (__atomic_subword): Rename to ...
4422 (__subword): ... New name.
4423 (__atomic_subword_fetch): Use __subword.
4424 (__sync_subword_fetch): New macro.
4425 (__sync_fetch_and_add_1): New function.
4426 (__sync_fetch_and_sub_1): New function.
4427 (__sync_fetch_and_or_1): New function.
4428 (__sync_fetch_and_and_1): New function.
4429 (__sync_fetch_and_xor_1): New function.
4430 (__sync_fetch_and_nand_1): New function.
4431 (__sync_fetch_and_add_2): New function.
4432 (__sync_fetch_and_sub_2): New function.
4433 (__sync_fetch_and_or_2): New function.
4434 (__sync_fetch_and_and_2): New function.
4435 (__sync_fetch_and_xor_2): New function.
4436 (__sync_fetch_and_nand_2): New function.
4437 (__sync_add_and_fetch_1): New function.
4438 (__sync_sub_and_fetch_1): New function.
4439 (__sync_or_and_fetch_1): New function.
4440 (__sync_and_and_fetch_1): New function.
4441 (__sync_xor_and_fetch_1): New function.
4442 (__sync_nand_and_fetch_1): New function.
4443 (__sync_add_and_fetch_2): New function.
4444 (__sync_sub_and_fetch_2): New function.
4445 (__sync_or_and_fetch_2): New function.
4446 (__sync_and_and_fetch_2): New function.
4447 (__sync_xor_and_fetch_2): New function.
4448 (__sync_nand_and_fetch_2): New function.
4449 (__atomic_subword_lock): Use __subword.
4450 (__sync_subword_lock): New macro.
4451 (__sync_lock_test_and_set_1): New function.
4452 (__sync_lock_test_and_set_2): New function.
4453
4454 2014-01-25 Walter Lee <walt@tilera.com>
4455
4456 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4457 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4458 (__atomic_subword): Ditto.
4459
4460 2014-01-25 Walter Lee <walt@tilera.com>
4461
4462 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4463 a prefix op argument.
4464 (__atomic_nand_fetch_4): Add prefix op.
4465 (__atomic_nand_fetch_8): Ditto.
4466
4467 2014-01-21 Baruch Siach <barch@tkos.co.il>
4468
4469 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4470
4471 2014-01-09 Rong Xu <xur@google.com>
4472
4473 * libgcov-driver.c (this_prg): make it local to save
4474 bss space.
4475 (gcov_exit_compute_summary): Ditto.
4476 (gcov_exit_merge_gcda): Ditto.
4477 (gcov_exit_merge_summary): Ditto.
4478 (gcov_exit_dump_gcov): Ditto.
4479
4480 2014-01-08 Rong Xu <xur@google.com>
4481
4482 * libgcov-driver.c: Use libgcov.h.
4483 (buffer_fn_data): Use xmalloc instead of malloc.
4484 (gcov_exit_merge_gcda): Ditto.
4485 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4486 * libgcov.h: New common header files for libgcov-*.h.
4487 * libgcov-interface.c: Use libgcov.h
4488 * libgcov-merge.c: Ditto.
4489 * libgcov-profiler.c: Ditto.
4490 * Makefile.in: Add dependence to libgcov.h
4491
4492 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4493
4494 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4495 case of small numerator and finite nonzero result.
4496
4497 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4498
4499 Update copyright years
4500
4501 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4502
4503 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4504 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4505 config/arc/dp-hack.h, config/arc/fp-hack.h,
4506 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4507 config/arc/ieee-754/arc600-dsp/divdf3.S,
4508 config/arc/ieee-754/arc600-dsp/divsf3.S,
4509 config/arc/ieee-754/arc600-dsp/muldf3.S,
4510 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4511 config/arc/ieee-754/arc600-mul64/divdf3.S,
4512 config/arc/ieee-754/arc600-mul64/divsf3.S,
4513 config/arc/ieee-754/arc600-mul64/muldf3.S,
4514 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4515 config/arc/ieee-754/arc600/divsf3.S,
4516 config/arc/ieee-754/arc600/mulsf3.S,
4517 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4518 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4519 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4520 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4521 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4522 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4523 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4524 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4525 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4526 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4527 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4528 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4529 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4530 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4531 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4532 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4533 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4534 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4535 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4536 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4537 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4538 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4539 vtv_start_preinit.c: Use the standard form for the copyright notice.
4540
4541 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4542 Chung-Lin Tang <cltang@codesourcery.com>
4543 Based on patches from Altera Corporation
4544
4545 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4546 * config/nios2/lib2-nios2.h: New file.
4547 * config/nios2/lib2-divmod-hi.c: New file.
4548 * config/nios2/linux-unwind.h: New file.
4549 * config/nios2/lib2-divmod.c: New file.
4550 * config/nios2/linux-atomic.c: New file.
4551 * config/nios2/t-nios2: New file.
4552 * config/nios2/crti.asm: New file.
4553 * config/nios2/t-linux: New file.
4554 * config/nios2/lib2-divtable.c: New file.
4555 * config/nios2/lib2-mul.c: New file.
4556 * config/nios2/tramp.c: New file.
4557 * config/nios2/crtn.asm: New file.
4558
4559 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
4560
4561 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4562 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4563 from cpuid.h to check vendor signatures.
4564
4565 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4566
4567 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4568 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4569 (get_amd_cpu): Likewise.
4570
4571 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4572
4573 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4574 Haswell.
4575
4576 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4577 H.J. Lu <hongjiu.lu@intel.com>
4578
4579 PR target/59422
4580 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
4581 and AMD_JAGUAR.
4582 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4583 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4584 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4585 FEATURE_XOP and FEATURE_FMA.
4586 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4587 AMDFAM15H_BDVER3.
4588 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
4589 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
4590 FEATURE_FMA4 and FEATURE_XOP.
4591
4592 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4593
4594 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4595 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4596 (get_intel_cpu): Updated.
4597
4598 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4599
4600 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4601
4602 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
4603
4604 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4605 instructions when __SSE_MATH__ is defined.
4606
4607 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4608
4609 * config.host (microblaze-*-rtems*): New.
4610
4611 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4612
4613 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4614 architectures that do not have hardware divide instruction.
4615 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4616
4617 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4618
4619 * longlong.h: Delete (moved to include/).
4620
4621 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4622
4623 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4624 of normal number and qNaN to not raise an inexact exception.
4625
4626 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
4627
4628 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4629
4630 2013-11-28 Matthew Leach <matthew.leach@arm.com>
4631
4632 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4633 for correct opcodes on BE.
4634
4635 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
4636
4637 * soft-fp/op-4.h: Update from glibc.
4638
4639 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4640
4641 * libgcc2.c (__udivmoddi4): Define new implementation when
4642 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4643 divide instructions.
4644
4645 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4646
4647 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4648
4649 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4650
4651 * config/t-softfp (soft-fp-objects-base): New variable.
4652 (soft-fp-objects): Use it.
4653
4654 2013-11-23 David Edelson <dje.gcc@gmail.com>
4655 Andrew Dixie <andrewd@gentrack.com>
4656
4657 PR target/33704
4658 * config/rs6000/aixinitfini.c: New file.
4659 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4660 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4661 symbols.
4662
4663 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4664
4665 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
4666
4667 2013-11-18 Jan Hubicka <jh@suse.cz>
4668
4669 * libgcov-driver.c (run_accounted): Make global level static.
4670 (gcov_exit_merge_summary): Silence warning; do not clear
4671 run_accounted here.
4672 (gcov_exit): Clear it here.
4673
4674 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4675 run_accounted.
4676
4677 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4678 (all_prg, crc32): Remove static vars.
4679 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4680 all_prg.
4681 (gcov_exit_merge_gcda): Add crc32 parameter.
4682 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4683 do not account run if it was already accounted.
4684 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4685 (gcov_exit): Initialize all_prg; update.
4686
4687 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4688
4689 * configure: Regenerate.
4690
4691 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4692 Alan Modra <amodra@gmail.com>
4693
4694 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4695 (frob_update_context): Use it.
4696
4697 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4698 Alan Modra <amodra@gmail.com>
4699
4700 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4701 (trampoline_initial): Provide ELFv2 variant.
4702 (__trampoline_setup): Likewise.
4703
4704 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4705 check for AIX indirect function call sequence if _CALL_ELF == 2.
4706
4707 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4708 Alan Modra <amodra@gmail.com>
4709
4710 * config/rs6000/linux-unwind.h (get_regs): Do not support
4711 old kernel versions if _CALL_ELF == 2.
4712 (frob_update_context): Do not support PLT stub variants only
4713 generated by old linkers if _CALL_ELF == 2.
4714
4715 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4716 Alan Modra <amodra@gmail.com>
4717
4718 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4719 location of CR save area for 64-bit little-endian systems.
4720
4721 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4722
4723 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4724 in tmake_file.
4725 * config/arm/t-vxworks: Delete.
4726
4727 2013-11-10 Kai Tietz <ktietz@redhat.com>
4728
4729 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4730 Increment load-count on use of LIBGCC_SONAME DLL.
4731 (hmod_libgcc): New static variable to hold handle of
4732 LIBGCC_SONAME DLL.
4733 (__gcc_deregister_frame): Decrement load-count of
4734 LIBGCC_SONAME DLL.
4735
4736 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4737
4738 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4739 availability.
4740 * configure: Regenerate
4741
4742 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
4743
4744 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4745 FP_EX_DENORM. Store result to volatile location after SSE division
4746 to close interrupt window. Remove unneeded fwait after x87
4747 division since interrupt window will be closed by emitted fstp.
4748 Rewrite FP_EX_INEXACT handling.
4749
4750 2013-11-06 Joseph Myers <joseph@codesourcery.com>
4751
4752 * soft-fp/README: Update.
4753 * soft-fp/adddf3.c: Update from glibc.
4754 * soft-fp/addsf3.c: Likewise.
4755 * soft-fp/addtf3.c: Likewise.
4756 * soft-fp/divdf3.c: Likewise.
4757 * soft-fp/divsf3.c: Likewise.
4758 * soft-fp/divtf3.c: Likewise.
4759 * soft-fp/double.h: Likewise.
4760 * soft-fp/eqdf2.c: Likewise.
4761 * soft-fp/eqsf2.c: Likewise.
4762 * soft-fp/eqtf2.c: Likewise.
4763 * soft-fp/extenddftf2.c: Likewise.
4764 * soft-fp/extended.h: Likewise.
4765 * soft-fp/extendsfdf2.c: Likewise.
4766 * soft-fp/extendsftf2.c: Likewise.
4767 * soft-fp/extendxftf2.c: Likewise.
4768 * soft-fp/fixdfdi.c: Likewise.
4769 * soft-fp/fixdfsi.c: Likewise.
4770 * soft-fp/fixdfti.c: Likewise.
4771 * soft-fp/fixsfdi.c: Likewise.
4772 * soft-fp/fixsfsi.c: Likewise.
4773 * soft-fp/fixsfti.c: Likewise.
4774 * soft-fp/fixtfdi.c: Likewise.
4775 * soft-fp/fixtfsi.c: Likewise.
4776 * soft-fp/fixtfti.c: Likewise.
4777 * soft-fp/fixunsdfdi.c: Likewise.
4778 * soft-fp/fixunsdfsi.c: Likewise.
4779 * soft-fp/fixunsdfti.c: Likewise.
4780 * soft-fp/fixunssfdi.c: Likewise.
4781 * soft-fp/fixunssfsi.c: Likewise.
4782 * soft-fp/fixunssfti.c: Likewise.
4783 * soft-fp/fixunstfdi.c: Likewise.
4784 * soft-fp/fixunstfsi.c: Likewise.
4785 * soft-fp/fixunstfti.c: Likewise.
4786 * soft-fp/floatdidf.c: Likewise.
4787 * soft-fp/floatdisf.c: Likewise.
4788 * soft-fp/floatditf.c: Likewise.
4789 * soft-fp/floatsidf.c: Likewise.
4790 * soft-fp/floatsisf.c: Likewise.
4791 * soft-fp/floatsitf.c: Likewise.
4792 * soft-fp/floattidf.c: Likewise.
4793 * soft-fp/floattisf.c: Likewise.
4794 * soft-fp/floattitf.c: Likewise.
4795 * soft-fp/floatundidf.c: Likewise.
4796 * soft-fp/floatundisf.c: Likewise.
4797 * soft-fp/floatunditf.c: Likewise.
4798 * soft-fp/floatunsidf.c: Likewise.
4799 * soft-fp/floatunsisf.c: Likewise.
4800 * soft-fp/floatunsitf.c: Likewise.
4801 * soft-fp/floatuntidf.c: Likewise.
4802 * soft-fp/floatuntisf.c: Likewise.
4803 * soft-fp/floatuntitf.c: Likewise.
4804 * soft-fp/gedf2.c: Likewise.
4805 * soft-fp/gesf2.c: Likewise.
4806 * soft-fp/getf2.c: Likewise.
4807 * soft-fp/ledf2.c: Likewise.
4808 * soft-fp/lesf2.c: Likewise.
4809 * soft-fp/letf2.c: Likewise.
4810 * soft-fp/muldf3.c: Likewise.
4811 * soft-fp/mulsf3.c: Likewise.
4812 * soft-fp/multf3.c: Likewise.
4813 * soft-fp/negdf2.c: Likewise.
4814 * soft-fp/negsf2.c: Likewise.
4815 * soft-fp/negtf2.c: Likewise.
4816 * soft-fp/op-1.h: Likewise.
4817 * soft-fp/op-2.h: Likewise.
4818 * soft-fp/op-4.h: Likewise.
4819 * soft-fp/op-8.h: Likewise.
4820 * soft-fp/op-common.h: Likewise.
4821 * soft-fp/quad.h: Likewise.
4822 * soft-fp/single.h: Likewise.
4823 * soft-fp/soft-fp.h: Likewise.
4824 * soft-fp/subdf3.c: Likewise.
4825 * soft-fp/subsf3.c: Likewise.
4826 * soft-fp/subtf3.c: Likewise.
4827 * soft-fp/truncdfsf2.c: Likewise.
4828 * soft-fp/trunctfdf2.c: Likewise.
4829 * soft-fp/trunctfsf2.c: Likewise.
4830 * soft-fp/trunctfxf2.c: Likewise.
4831 * soft-fp/unorddf2.c: Likewise.
4832 * soft-fp/unordsf2.c: Likewise.
4833 * soft-fp/unordtf2.c: Likewise.
4834
4835 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
4836
4837 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4838 (_FP_MUL_MEAT_D): Ditto.
4839 (_FP_DIV_MEAT_S): Ditto.
4840 (_FP_DIV_MEAT_D): Ditto.
4841 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4842 t-softfp-sfdf and t-softfp to tmake_file.
4843
4844 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
4845
4846 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4847 * config/i386/crtprec.c: Ditto.
4848
4849 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4850 Shiva Chen <shiva0217@gmail.com>
4851
4852 * config.host (nds32*-elf*): Add nds32 target.
4853 * config/nds32 : New directory and files.
4854
4855 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
4856
4857 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4858 * config.host (cpu_type) <Setting default>: Add entry for
4859 crisv32-*-*.
4860 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4861 <crisv32-*-linux*>: Adjust.
4862 * longlong.h: Wrap the whole CRIS section in a single
4863 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4864 and sub_ddmmss.
4865 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4866 defined.
4867 [__CRIS__] (__umulsidi3): Define.
4868 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4869 * config/cris/sfp-machine.h: New file.
4870 * config/cris/umulsidi3.S: New file.
4871 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4872 * config/cris/arit.c (SIGNMULT): New macro.
4873 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4874 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4875 saving 3 out of originally 33 cycles from the fastest
4876 path, 3 out of 54 from the medium path and one from the longest
4877 path. Improve comments.
4878
4879 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4880
4881 * sync.c: Remove static aliases and define each function directly
4882 under its real name.
4883
4884 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
4885
4886 * config.host (hppa*64*-*-linux*): Define extra_parts.
4887 (hppa*-*-linux*): Likewise.
4888
4889 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4890
4891 * config/arc/crtgend.S: Add 2013 to Copyright years.
4892 * config/arc/gmon/atomic.h: Likewise.
4893 * config/arc/gmon/auxreg.h: Likewise.
4894 * config/arc/gmon/sys/gmon_out.h: Likewise.
4895 * config/arc/gmon/sys/gmon.h: Likewise.
4896 * config/arc/gmon/prof-freq.c: Likewise.
4897 * config/arc/gmon/mcount.c: Likewise.
4898 * config/arc/gmon/prof-freq-stub.S: Likewise.
4899 * config/arc/gmon/gmon.c: Likewise.
4900 * config/arc/gmon/machine-gmon.h: Likewise.
4901 * config/arc/gmon/profil.S: Likewise.
4902 * config/arc/gmon/dcache_linesz.S: Likewise.
4903 * config/arc/crtg.S: Likewise.
4904 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4905 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4906 * config/arc/ieee-754/adddf3.S: Likewise.
4907 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4908 * config/arc/ieee-754/fixsfsi.S: Likewise.
4909 * config/arc/ieee-754/gtsf2.S: Likewise.
4910 * config/arc/ieee-754/floatsisf.S: Likewise.
4911 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4912 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4913 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4914 * config/arc/ieee-754/fixdfsi.S: Likewise.
4915 * config/arc/ieee-754/addsf3.S: Likewise.
4916 * config/arc/ieee-754/gesf2.S: Likewise.
4917 * config/arc/ieee-754/floatsidf.S: Likewise.
4918 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4919 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4920 * config/arc/ieee-754/gtdf2.S: Likewise.
4921 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4922 * config/arc/ieee-754/uneqdf2.S: Likewise.
4923 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4924 * config/arc/ieee-754/uneqsf2.S: Likewise.
4925 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4926 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4927 * config/arc/ieee-754/eqdf2.S: Likewise.
4928 * config/arc/ieee-754/ordsf2.S: Likewise.
4929 * config/arc/ieee-754/divsf3.S: Likewise.
4930 * config/arc/ieee-754/divdf3.S: Likewise.
4931 * config/arc/ieee-754/floatunsidf.S: Likewise.
4932 * config/arc/ieee-754/orddf2.S: Likewise.
4933 * config/arc/ieee-754/eqsf2.S: Likewise.
4934 * config/arc/ieee-754/gedf2.S: Likewise.
4935 * config/arc/crtn.S: Likewise.
4936 * config/arc/crti.S: Likewise.
4937 * config/arc/t-arc700-uClibc: Likewise.
4938 * config/arc/asm.h: Likewise.
4939 * config/arc/libgcc-excl.ver: Likewise.
4940 * config/arc/t-arc-newlib: Likewise.
4941 * config/arc/divtab-arc700.c: Likewise.
4942 * config/arc/initfini.c: Likewise.
4943 * config/arc/fp-hack.h: Likewise.
4944
4945 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4946 Diego Novillo <dnovillo@google.com>
4947
4948 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
4949 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4950 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4951 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
4952
4953 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4954 Brendan Kehoe <brendan@zen.org>
4955 Simon Cook <simon.cook@embecosm.com>
4956
4957 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4958 * config/arc: New directory.
4959 * longlong.h [__arc__] (umul_ppmm): Remove.
4960 [__arc__] (__umulsidi3): Define.
4961 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4962 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4963
4964 2013-09-17 Jacek Caban <jacek@codeweavers.com>
4965
4966 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4967 CreateSemaphoreA.
4968 * config/i386/gthr-win32.h: Likewise.
4969
4970 2013-09-16 DJ Delorie <dj@redhat.com>
4971
4972 * config/rl78/vregs.h: Add G10 register definitions.
4973 * config/rl78/lib2mul.c: Enable for RL78/G10.
4974 * config/rl78/lib2div.c: Likewise.
4975 * config/rl78/lshrsi3.S: Use vregs.h.
4976 * config/rl78/cmpsi2.S: Likewise.
4977 * config/rl78/trampoline.S: Likewise.
4978 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4979
4980 2013-09-14 DJ Delorie <dj@redhat.com>
4981 Nick Clifton <nickc@redhat.com>
4982
4983 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4984 * config/rl78/vregs.h: New.
4985 * config/rl78/signbit.S: New file. Implements signbit function.
4986 * config/rl78/divmodsi.S: New.
4987 * config/rl78/divmodhi.S: New.
4988 * config/rl78/divmodqi.S: New.
4989 * config/rl78/t-rl78: Build them here...
4990 * config/rl78/lib2div.c: ...but not here.
4991
4992 2013-09-12 DJ Delorie <dj@redhat.com>
4993
4994 * config.host (msp*-*-elf): New.
4995 * config/msp430/: New port.
4996
4997 2013-08-18 Iain Sandoe <iain@codesourcery.com>
4998
4999 PR gcov-profile/58127
5000 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5001 __thread var for emulated TLS.
5002 (__gcov_indirect_call_counters): Likewise.
5003
5004 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
5005 Catherine Moore <clm@codesourcery.com>
5006 Richard Sandiford <rdsandiford@googlemail.com>
5007
5008 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5009 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5010 (CALL_STUB_NO_RET): Likewise.
5011 (CALL_STUB_RET): Likewise.
5012 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5013 __mips16_ret call/return stub symbols.
5014 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5015 to tmake_file.
5016
5017 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5018
5019 * config.host <mips*-*-linux*>: Remove a stray comment.
5020
5021 2013-08-10 Jan Hubicka <jh@suse.cz>
5022
5023 Work around binutils PR14342
5024 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5025 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5026 (L_gcov_indirect_call_profiler_v2): New.
5027
5028 2013-08-06 Jan Hubicka <jh@suse.cz>
5029
5030 * libgcov.c (__gcov_indirect_call_callee,
5031 __gcov_indirect_call_counters): New global vars.
5032 (__gcov_indirect_call_profiler): replace by ...
5033 (__gcov_indirect_call_profiler_v2) ... this one.
5034
5035 2013-08-06 Caroline Tice <cmtice@google.com>
5036
5037 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
5038 vtv_start_preinit.o and vtv_end_preinit.o.
5039 * configure.ac: Add code to check/set enable_vtable_verify.
5040 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
5041 true.
5042 * vtv_start_preinit.c: New file.
5043 * vtv_end_preinit.c: New file.
5044 * vtv_start.c: New file.
5045 * vtv_end.c: New file.
5046 * configure: Regenerated.
5047
5048 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5049
5050 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5051 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5052 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5053 GPL-3.0-with-GCC-exception.
5054
5055 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5056
5057 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5058 ISA and up.
5059
5060 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5061
5062 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5063 mapping for FPRs when creating the fallback framestate.
5064
5065 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
5066
5067 PR target/57516
5068 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5069 (__round_s2_const, __round_u2_const)
5070 (__round_s4_const, __round_u4_const, __round_x8):
5071 Saturate result if addition result cannot be represented.
5072
5073 2013-07-15 Matthias Klose <doko@ubuntu.com>
5074
5075 * libgcc2.c: Don't include <limits.h>.
5076
5077 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
5078
5079 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5080
5081 2013-07-06 Jakub Jelinek <jakub@redhat.com>
5082
5083 PR target/29776
5084 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5085
5086 2013-06-28 Jakub Jelinek <jakub@redhat.com>
5087
5088 PR middle-end/36041
5089 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5090 Define.
5091 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5092 instead of table lookups.
5093 (__popcountDI2): Likewise.
5094
5095 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5096
5097 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5098 correctly.
5099
5100 2013-06-21 Joseph Myers <joseph@codesourcery.com>
5101
5102 PR other/53317
5103 * soft-fp/adddf3.c: Update from glibc.
5104 * soft-fp/addsf3.c: Likewise.
5105 * soft-fp/addtf3.c: Likewise.
5106 * soft-fp/divdf3.c: Likewise.
5107 * soft-fp/divsf3.c: Likewise.
5108 * soft-fp/divtf3.c: Likewise.
5109 * soft-fp/double.h: Likewise.
5110 * soft-fp/eqdf2.c: Likewise.
5111 * soft-fp/eqsf2.c: Likewise.
5112 * soft-fp/eqtf2.c: Likewise.
5113 * soft-fp/extenddftf2.c: Likewise.
5114 * soft-fp/extended.h: Likewise.
5115 * soft-fp/extendsfdf2.c: Likewise.
5116 * soft-fp/extendsftf2.c: Likewise.
5117 * soft-fp/fixdfdi.c: Likewise.
5118 * soft-fp/fixdfsi.c: Likewise.
5119 * soft-fp/fixsfdi.c: Likewise.
5120 * soft-fp/fixsfsi.c: Likewise.
5121 * soft-fp/fixtfdi.c: Likewise.
5122 * soft-fp/fixtfsi.c: Likewise.
5123 * soft-fp/fixunsdfdi.c: Likewise.
5124 * soft-fp/fixunsdfsi.c: Likewise.
5125 * soft-fp/fixunssfdi.c: Likewise.
5126 * soft-fp/fixunssfsi.c: Likewise.
5127 * soft-fp/fixunstfdi.c: Likewise.
5128 * soft-fp/fixunstfsi.c: Likewise.
5129 * soft-fp/floatdidf.c: Likewise.
5130 * soft-fp/floatdisf.c: Likewise.
5131 * soft-fp/floatditf.c: Likewise.
5132 * soft-fp/floatsidf.c: Likewise.
5133 * soft-fp/floatsisf.c: Likewise.
5134 * soft-fp/floatsitf.c: Likewise.
5135 * soft-fp/floatundidf.c: Likewise.
5136 * soft-fp/floatundisf.c: Likewise.
5137 * soft-fp/floatunditf.c: Likewise.
5138 * soft-fp/floatunsidf.c: Likewise.
5139 * soft-fp/floatunsisf.c: Likewise.
5140 * soft-fp/floatunsitf.c: Likewise.
5141 * soft-fp/gedf2.c: Likewise.
5142 * soft-fp/gesf2.c: Likewise.
5143 * soft-fp/getf2.c: Likewise.
5144 * soft-fp/ledf2.c: Likewise.
5145 * soft-fp/lesf2.c: Likewise.
5146 * soft-fp/letf2.c: Likewise.
5147 * soft-fp/muldf3.c: Likewise.
5148 * soft-fp/mulsf3.c: Likewise.
5149 * soft-fp/multf3.c: Likewise.
5150 * soft-fp/negdf2.c: Likewise.
5151 * soft-fp/negsf2.c: Likewise.
5152 * soft-fp/negtf2.c: Likewise.
5153 * soft-fp/op-1.h: Likewise.
5154 * soft-fp/op-2.h: Likewise.
5155 * soft-fp/op-4.h: Likewise.
5156 * soft-fp/op-8.h: Likewise.
5157 * soft-fp/op-common.h: Likewise.
5158 * soft-fp/quad.h: Likewise.
5159 * soft-fp/single.h: Likewise.
5160 * soft-fp/soft-fp.h: Likewise.
5161 * soft-fp/subdf3.c: Likewise.
5162 * soft-fp/subsf3.c: Likewise.
5163 * soft-fp/subtf3.c: Likewise.
5164 * soft-fp/truncdfsf2.c: Likewise.
5165 * soft-fp/trunctfdf2.c: Likewise.
5166 * soft-fp/trunctfsf2.c: Likewise.
5167 * soft-fp/unorddf2.c: Likewise.
5168 * soft-fp/unordsf2.c: Likewise.
5169 * soft-fp/unordtf2.c: Likewise.
5170 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5171 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5172 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5173 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5174 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5175 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5176 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5177 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5178 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5179 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5180 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5181 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5182
5183 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5184
5185 * config/mips/lib2funcs.c: New file.
5186 * config/mips/t-mips (LIB2ADD_ST): Add it.
5187
5188 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5189
5190 PR target/6526
5191 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5192 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5193
5194 2013-06-08 Walter Lee <walt@tilera.com>
5195
5196 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5197 Replace int64_t with long long. Add __extension__ where
5198 appropriate.
5199 * config/tilepro/atomic.c: Include config.h.
5200
5201 2013-06-06 Douglas B Rupp <rupp@adacore.com>
5202
5203 * config.host (arm-wrs-vxworks): Configure with other soft float.
5204
5205 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5206
5207 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5208 (mips64r5900el-*-elf*): New configurations.
5209
5210 2013-06-04 Alan Modra <amodra@gmail.com>
5211
5212 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5213
5214 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5215
5216 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5217
5218 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5219
5220 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5221 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5222 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5223
5224 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5225
5226 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5227 (powerpc-wrs-vxworks): Likewise.
5228
5229 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5230
5231 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5232 signal frames as well.
5233 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5234 STACK_BIAS to the CFA offset.
5235
5236 2013-05-17 Richard Henderson <rth@redhat.com>
5237
5238 PR target/49146
5239 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5240 (execute_cfa_program): Use it when storing to fs->regs.
5241
5242 2013-05-08 Kai Tietz <ktietz@redhat.com>
5243
5244 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5245 (__deregister_frame_info): Likewise.
5246
5247 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5248
5249 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5250 NaN's payload.
5251
5252 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5253
5254 2013-04-25 Alan Modra <amodra@gmail.com>
5255
5256 * config.host: Match little-endian powerpc-linux.
5257
5258 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5259
5260 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5261 as 'unsigned long long' instead of 'unsigned long'.
5262 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5263 'signed long'.
5264
5265 2013-04-10 Julian Brown <julian@codesourcery.com>
5266
5267 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5268 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5269 unsigned char/unsigned short.
5270 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5271
5272 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5273
5274 PR other/55274
5275 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5276
5277 2013-04-04 Meador Inge <meadori@codesourcery.com>
5278
5279 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5280 computing the location of the link register.
5281 (aeabi_uldivmod): Ditto.
5282
5283 2013-03-27 Kai Tietz <ktietz@redhat.com>
5284
5285 * config.host: Add support for cygwin x64 target.
5286 * configure: Regenerated.
5287
5288 2013-03-26 Walter Lee <walt@tilera.com>
5289
5290 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5291 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5292
5293 2013-03-25 Kai Tietz <ktietz@redhat.com>
5294
5295 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5296
5297 2013-03-20 Robert Mason <rbmj@verizon.net>
5298
5299 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5300 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5301 (__gthread_leave_tsd_dtor_context): Add prototypes.
5302 (tls_delete_hook): Update.
5303
5304 2013-03-20 Catherine Moore <clm@codesourcery.com>
5305 Joseph Myers <joseph@codesourcery.com>
5306 Chao-ying Fu <fu@mips.com>
5307
5308 * config/mips/mips16.S: Don't build for microMIPS.
5309 * config/mips/linux-unwind.h: Handle microMIPS frame.
5310 * config/mips/crtn.S (fini, init): New labels.
5311
5312 2013-03-14 Jakub Jelinek <jakub@redhat.com>
5313
5314 PR tree-optimization/53265
5315 * unwind-dw2.c (execute_cfa_program): Avoid
5316 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5317 on targets with DWARF_FRAME_REGISTERS < 32.
5318
5319 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5320
5321 PR target/49880
5322 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5323 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5324
5325 2013-03-07 Sriraman Tallam <tmsriram@google.com>
5326
5327 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5328 sandybridge processors.
5329
5330 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5331
5332 PR target/56529
5333 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5334 inclusion list.
5335
5336 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5337
5338 * config/microblaze/crti.S: Setup stack protection at entry
5339
5340 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
5341
5342 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5343 (__rotldi3): Shift bytewise if applicable.
5344
5345 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5346
5347 * config/aarch64/sync-cache.c
5348 (__aarch64_sync_cache_range): Silence warnings.
5349
5350 2013-02-25 Catherine Moore <clm@codesourcery.com>
5351
5352 Revert:
5353 2013-02-24 Catherine Moore <clm@codesourcery.com>
5354 Joseph Myers <joseph@codesourcery.com>
5355 Chao-ying Fu <fu@mips.com>
5356
5357 * config/mips/mips16.S: Don't build for microMIPS.
5358 * config/mips/linux-unwind.h: Handle microMIPS frame.
5359 * config/mips/crtn.S (fini, init): New labels.
5360
5361 2013-02-24 Catherine Moore <clm@codesourcery.com>
5362 Joseph Myers <joseph@codesourcery.com>
5363 Chao-ying Fu <fu@mips.com>
5364
5365 * config/mips/mips16.S: Don't build for microMIPS.
5366 * config/mips/linux-unwind.h: Handle microMIPS frame.
5367 * config/mips/crtn.S (fini, init): New labels.
5368
5369 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5370 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
5371 as dividend.
5372
5373 2013-02-16 Alan Modra <amodra@gmail.com>
5374
5375 PR target/55431
5376 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5377 (ppc_fallback_frame_state): Always set up save locations for fp
5378 and altivec. Don't bother with non-callee-saved regs, r0-r13
5379 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5380
5381 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
5382
5383 PR target/54222
5384 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5385 _ssmulHA, _ssmulSA.
5386 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5387 _ssmulha3, _usmulusa3, _ssmulsa3.
5388 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5389 (__muldi3): XCALL __muldi3_6 instead of rcall.
5390 (__umulsidi3, __mulsidi3): New functions.
5391 (do_prologue_saves, do_epilogue_restores): New .macros.
5392 (__divdi3_moddi3): Use them.
5393 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5394 (__usmulusa3, __ssmulsa3): New functions.
5395
5396 2013-02-11 Iain Sandoe <iain@codesourcery.com>
5397 Jack Howarth <howarth@bromo.med.uc.edu>
5398 Patrick Marlier <patrick.marlier@gmail.com>
5399
5400 PR libitm/55693
5401 * config/darwin-crt-tm.c: Remove dummy functions hack.
5402
5403 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
5404
5405 PR target/54222
5406 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5407 * config/avr/lib2-object.mk: New iterator to build objects from it.
5408 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5409 lib2funcs.c.
5410 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5411 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5412 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5413 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5414 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5415 * config/avr/lib1funcs-fixed.S: Implement them.
5416
5417 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5418
5419 Update copyright years.
5420
5421 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
5422
5423 PR target/54601
5424 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5425 Add crtcxa to extra_parts.
5426 * config/rs6000/exit.h: New file.
5427 * config/rs6000/cxa_atexit.c: New file.
5428 * config/rs6000/cxa_finalize.c: New file.
5429 * config/rs6000/crtcxa.c: New file.
5430 * config/rs6000/t-aix-cxa: New file.
5431 * config/rs6000/libgcc-aix-cxa.ver: New file.
5432
5433 2013-01-31 Nick Clifton <nickc@redhat.com>
5434
5435 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5436 variant.
5437
5438 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
5439
5440 PR target/54222
5441 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5442 _mulQQ, _mulHQ, _mulHA, _mulSA,
5443 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5444 _divQQ, _divHQ, _divHA, _divSA,
5445 _divUQQ, _divUHQ, _divUHA, _divUSA.
5446
5447 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
5448
5449 * config.host(microblaze*-linux*): tmake_file: Remove
5450 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5451 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5452 to exclude functions from being built with libgcc.c and use
5453 the microblaze assembly.
5454
5455 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5456
5457 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5458 extra_parts.
5459
5460 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5461
5462 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5463 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5464 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5465 alignment operation.
5466
5467 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5468
5469 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5470 loop start address for cache clearing.
5471
5472 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5473
5474 * config/avr/lib1funcs.S: Remove trailing blanks.
5475 * config/avr/lib1funcs-fixed.S: Ditto.
5476
5477 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5478
5479 * config/avr/avr-lib.h: Add GPL copyright notice.
5480
5481 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5482
5483 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5484 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5485 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5486 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5487
5488 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
5489
5490 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5491 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
5492
5493 2013-01-04 Nick Clifton <nickc@redhat.com>
5494
5495 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5496 the CALLT instruction is supported.
5497
5498 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5499
5500 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5501 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5502
5503 2012-12-13 John Tytgat <John@bass-software.com>
5504
5505 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5506 is 25.
5507
5508 2012-12-12 Jakub Jelinek <jakub@redhat.com>
5509
5510 PR libgcc/55451
5511 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5512 undefined signed overflows.
5513
5514 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
5515
5516 PR target/55344
5517 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5518
5519 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
5520
5521 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5522 (FP_TRAPPING_EXCEPTIONS): Define.
5523 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5524 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5525
5526 2012-12-04 Richard Henderson <rth@redhat.com>
5527
5528 PR bootstrap/55571
5529 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5530
5531 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5532
5533 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5534 (FP_EX_SHIFT): Define.
5535 (FP_TRAPPING_EXCEPTIONS): Define.
5536
5537 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5538
5539 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5540 (FP_ROUNDMODE): Use FP_RND_MASK.
5541 * config/aarch64/sfp-exceptions.c: New.
5542 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5543 Use __sfp_handle_exceptions.
5544
5545 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
5546
5547 * config.host: (arm*-*-freebsd*): Remove.
5548 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5549 (arm*-*-elf*): Remove.
5550 (arm*-*-wince-pe*): Remove.
5551 * arm/unwind-arm.c (struct fpa_reg): Delete.
5552 (struct fpa_regs): Delete.
5553 (phase1_vrs): Remove fpa element.
5554 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5555 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5556 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5557 * ieee754-sf.S (floatundisf): Remove FPA support.
5558 (floatdisf): Likewise.
5559 * ieee75f-df.S (floatundidf): Likewise.
5560 (floatdidf): Likewise.
5561
5562 2012-11-29 Kai Tietz <ktietz@redhat.com>
5563
5564 PR target/55445
5565 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5566 * unwind-generic.h: Likewise.
5567 * unwind-seh.c: Likewise.
5568
5569 2012-11-28 Richard Henderson <rth@redhat.com>
5570
5571 PR libgcc/48076
5572 * emutls.c (__emutls_get_address): Avoid race condition between
5573 obj->loc.offset read and emutls_key initialization.
5574
5575 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
5576
5577 Adjust decimal point of signed accum mode to GCC default.
5578
5579 PR target/54222
5580 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5581 _divqq_helper.
5582 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5583 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5584 (__mulha3, __mulsa3)
5585 (__divqq3, __divha3, __divsa3): Adjust to new position of
5586 decimal point of signed accum types.
5587
5588 (__mulusa3_round): New function.
5589 (__mulusa3): Use it.
5590 (__divqq_helper): New function.
5591 (__udivuqq3): Use it.
5592
5593 2012-11-20 Jakub Jelinek <jakub@redhat.com>
5594
5595 PR bootstrap/55370
5596 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5597
5598 2012-11-18 Teresa Johnson <tejohnson@google.com>
5599
5600 PR bootstrap/55051
5601 * libgcov.c (gcov_exit): Remove merged program summary
5602 comparison unless !GCOV_LOCKED.
5603
5604 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
5605
5606 * soft-fp: Updated from glibc upstream.
5607
5608 2012-11-06 Ian Lance Taylor <iant@google.com>
5609
5610 * generic-morestack.c (__generic_morestack): Align the returned
5611 stack pointer to a 32 byte boundary.
5612 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5613 increment the return address until we have decided that we don't
5614 have a varargs function.
5615 (__morestack) [32-bit]: Align stack correctly when calling C
5616 functions.
5617 (__morestack) [64-bit]: Likewise.
5618
5619 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5620
5621 * configure: Regenerate.
5622
5623 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
5624
5625 PR target/55175
5626 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5627 * config/i386/sfp-machine.h: Guard exception handling
5628 code with _SOFT_FLOAT.
5629 * config/i386/32/sfp-machine.h: Guard rounding handling
5630 code with _SOFT_FLOAT.
5631 * config/i386/64/sfp-machine.h: Ditto.
5632
5633 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5634
5635 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5636 as extra_parts.
5637
5638 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
5639
5640 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5641 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5642 when appropriate. Correct structure element types.
5643 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5644 -minline-all-stringops from compile flags.
5645
5646 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5647
5648 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5649
5650 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5651
5652 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
5653
5654 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5655
5656 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5657 tmake_file.
5658
5659 2012-10-23 Ian Bolton <ian.bolton@arm.com>
5660 Jim MacArthur <jim.macarthur@arm.com>
5661 Marcus Shawcroft <marcus.shawcroft@arm.com>
5662 Nigel Stephens <nigel.stephens@arm.com>
5663 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5664 Richard Earnshaw <rearnsha@arm.com>
5665 Sofiane Naci <sofiane.naci@arm.com>
5666 Stephen Thomas <stephen.thomas@arm.com>
5667 Tejas Belagod <tejas.belagod@arm.com>
5668 Yufeng Zhang <yufeng.zhang@arm.com>
5669
5670 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5671 * config/aarch64/crti.S: New file.
5672 * config/aarch64/crtn.S: New file.
5673 * config/aarch64/linux-unwind.h: New file.
5674 * config/aarch64/sfp-machine.h: New file.
5675 * config/aarch64/sync-cache.c: New file.
5676 * config/aarch64/t-aarch64: New file.
5677 * config/aarch64/t-softfp: New file.
5678
5679 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5680
5681 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5682 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5683 no-longer-needed LDBU insns.
5684
5685 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
5686
5687 * config.host
5688 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5689 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5690
5691 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5692
5693 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5694
5695 2012-10-15 Matthias Klose <doko@ubuntu.com>
5696
5697 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5698
5699 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5700
5701 * configure: Regenerate.
5702 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5703
5704 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5705
5706 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5707 instructions for 64bit targets only.
5708
5709 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5710
5711 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5712 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5713 * config/i386/32/sfp-machine.h: ... here.
5714 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5715 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5716 New defines.
5717
5718 2012-10-07 Matthias Klose <doko@ubuntu.com>
5719
5720 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5721 as unused.
5722 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5723
5724 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
5725
5726 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5727 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5728 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5729 (ElfW): Likewise.
5730
5731 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5732
5733 PR other/53889
5734 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5735 Fix parameter names.
5736
5737 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5738
5739 PR target/33135
5740 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5741 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5742 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5743
5744 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5745
5746 PR target/50457
5747 * config/sh/linux-atomic.S: Delete.
5748 * config/sh/linux-atomic.c: New.
5749 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5750 linux-atomic.c. Add cflags to disable warnings.
5751
5752 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5753
5754 PR other/53889
5755 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5756 function.
5757 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5758 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5759 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5760 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5761 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5762 Likewise.
5763 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5764 Likewise.
5765 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5766 Likewise.
5767 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5768 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5769
5770 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
5771
5772 * config.host (hppa-*-openbsd*): New target.
5773 * config/pa/t-openbsd: New file.
5774
5775 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
5776
5777 PR target/54222
5778 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5779 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5780 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5781 (__divsa3): Use __negsi2 to negate r_quoL.
5782 * config/avr/lib1funcs.S (FALIAS): New macro.
5783 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5784 (__negsi2): ...this new function.
5785 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5786 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5787 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5788 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5789 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5790 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5791
5792 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5793
5794 PR target/54089
5795 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5796 (lshrsi3): Reimplement as lshrsi3_r0.
5797
5798 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5799
5800 PR target/46191
5801 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5802 of libgcc.a.
5803
5804 2012-09-07 Teresa Johnson <tejohnson@google.com>
5805
5806 PR gcov-profile/54487
5807 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
5808 differences.
5809
5810 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
5811
5812 PR target/54461
5813 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5814 not configured --with-avrlibc=no.
5815 * config/avr/t-avrlibc: New file.
5816 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5817 (DPBIT_FUNCS): Ditto.
5818 (TPBIT_FUNCS): Ditto.
5819
5820 2012-09-04 Teresa Johnson <tejohnson@google.com>
5821
5822 * libgcov.c (struct gcov_summary_buffer): New structure.
5823 (gcov_histogram_insert): New function.
5824 (gcov_compute_histogram): Ditto.
5825 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5826 histograms during summary merging.
5827
5828 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
5829
5830 * config.host (x86_64-*-openbsd*): New target.
5831
5832 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5833
5834 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5835 attribute.
5836
5837 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5838
5839 PR target/54222
5840 * config/avr/t-avr (conv_X): Rename to func_X.
5841
5842 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5843
5844 PR target/54222
5845 * config/avr/lib1funcs-fixed.S: New file.
5846 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5847 after they are used.
5848 (neg2, neg4): New macros.
5849 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5850 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5851 (__umulhisi3): Speed up MUL variant if there is enough flash.
5852 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5853 avr-modes.def.
5854 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5855 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5856 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5857 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5858 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5859 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5860 (LIB2FUNCS_EXCLUDE): Add supported functions.
5861
5862 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
5863
5864 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5865 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5866 libgcc-s-objects.
5867 * fixed-obj.mk: Only expand dependency if $o is not in
5868 LIB2FUNCS_EXCLUDE.
5869
5870 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5871
5872 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5873
5874 2012-08-22 Joseph Myers <joseph@codesourcery.com>
5875
5876 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5877 depend on --enable-shared.
5878 ($(lib1asmfuncs-o)): Use %.vis files independent of
5879 --enable-shared.
5880 * static-object.mk ($(base)$(objext), $(base).vis)
5881 ($(base)_s$(objext)): Use same rules for visibility handling as in
5882 shared-object.mk.
5883
5884 2012-08-21 Ian Lance Taylor <iant@google.com>
5885
5886 * config/i386/morestack.S (__morestack_non_split): Increase amount
5887 of space allocated for non-split code stack.
5888
5889 2012-08-19 Joseph Myers <joseph@codesourcery.com>
5890
5891 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5892 even if inhibit_libc.
5893
5894 2012-08-17 Julian Brown <julian@codesourcery.com>
5895
5896 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5897 -fexceptions -fnon-call-exceptions if not defined.
5898 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5899 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5900
5901 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5902
5903 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5904 type.
5905
5906 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
5907
5908 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5909 rs6000/t-slibgcc-aix.
5910
5911 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5912
5913 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5914
5915 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5916
5917 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5918
5919 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5920
5921 PR driver/54171
5922 * Makefile.in (version): Replace top_srcdir with srcdir.
5923
5924 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5925
5926 * Makefile.in (version): set to BASE-VER file from gcc directory.
5927
5928 2012-08-01 Nick Clifton <nickc@redhat.com>
5929
5930 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5931 Implements __clrsb for an HImode argument.
5932
5933 2012-07-31 Nick Clifton <nickc@redhat.com>
5934
5935 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5936 Implements __clrsb for an HImode argument.
5937 * config/stormy16/clrsbhi2.c: New file:
5938 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5939
5940 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5941
5942 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5943
5944 2012-07-19 Tristan Gingold <gingold@adacore.com>
5945 Richard Henderson <rth@redhat.com>
5946
5947 * unwind-seh.c: New file.
5948 * unwind-generic.h: Include windows.h for SEH.
5949 (_Unwind_Exception): Use 6 private fields for SEH.
5950 (_GCC_specific_handler): Declare.
5951 * unwind-c.c (__gcc_personality_seh0): New function.
5952 Adjust for SEH.
5953 * config/i386/libgcc-cygming.ver: New file.
5954 * config/i386/t-seh-eh: New file.
5955 * config.host (x86_64-*-mingw*): Default to seh.
5956
5957 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5958
5959 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5960
5961 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
5962
5963 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5964 __builtin_expect when checking for exceptions.
5965 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5966
5967 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5968
5969 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5970 function declaration.
5971 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5972 (FP_RND_MASK): New.
5973 * config/ia64/sfp-exceptions.c: New.
5974 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
5975
5976 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5977
5978 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5979 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5980 * config/i386/64/sfp-machine: ... (delete here) ...
5981 * config/i386/sfp-machine.h: ... to here.
5982 (FP_EX_MASK): Remove.
5983 (FP_RND_MASK): New.
5984 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5985
5986 2012-06-11 Sriraman Tallam <tmsriram@google.com>
5987
5988 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5989 * config/i386/libgcc-sol2.ver: Ditto.
5990 * config/i386/libgcc-glibc.ver: Ditto.
5991
5992 2012-06-11 Roland McGrath <mcgrathr@google.com>
5993
5994 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5995 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5996 pthread_cancel.
5997
5998 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
5999
6000 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6001 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6002 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6003 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6004 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6005 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6006 * config/i386/64/sfp-machine: ... (delete here) ...
6007 * config/i386/sfp-machine.h: ... to here.
6008 (FP_EX_MASK): New.
6009 (__sfp_handle_exceptions): New function declaration.
6010 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6011 * config/i386/sfp-exceptions.c: New.
6012 * config/i386/t-softfp: New.
6013 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6014 i386/t-softfp to tmake_file.
6015
6016 2012-06-03 David S. Miller <davem@davemloft.net>
6017
6018 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6019 change.
6020
6021 2012-05-31 David S. Miller <davem@davemloft.net>
6022
6023 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6024 multiply and divide instructions on 32-bit when V9.
6025 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6026
6027 2012-05-29 Joseph Myers <joseph@codesourcery.com>
6028
6029 * config/arm/ieee754-df.S: Fix typos.
6030 * config/arm/ieee754-sf.S: Fix typos.
6031 * config/c6x/libunwind.S: Fix typos.
6032 * config/epiphany/udivsi3-float.c: Fix typos.
6033 * config/microblaze/muldi3_hard.S: Fix typos.
6034 * config/picochip/adddi3.S: Fix typos.
6035 * config/picochip/ashlsi3.S: Fix typos.
6036 * config/picochip/ashrsi3.S: Fix typos.
6037 * config/picochip/clzsi2.S: Fix typos.
6038 * config/picochip/cmpsi2.S: Fix typos.
6039 * config/picochip/divmod15.S: Fix typos.
6040 * config/picochip/divmodhi4.S: Fix typos.
6041 * config/picochip/divmodsi4.S: Fix typos.
6042 * config/picochip/longjmp.S: Fix typos.
6043 * config/picochip/lshrsi3.S: Fix typos.
6044 * config/picochip/parityhi2.S: Fix typos.
6045 * config/picochip/popcounthi2.S: Fix typos.
6046 * config/picochip/setjmp.S: Fix typos.
6047 * config/picochip/subdi3.S: Fix typos.
6048 * config/picochip/ucmpsi2.S: Fix typos.
6049 * config/picochip/udivmodhi4.S: Fix typos.
6050 * config/picochip/udivmodsi4.S: Fix typos.
6051 * config/spu/divv2df3.c: Fix typos.
6052 * config/spu/mfc_multi_tag_release.c: Fix typos.
6053 * config/spu/mfc_tag_release.c: Fix typos.
6054 * configure.ac: Fix typos.
6055 * configure: Regenerate.
6056
6057 2012-05-25 Ian Lance Taylor <iant@google.com>
6058
6059 * config/i386/morestack.S (__morestack_non_split): Check whether
6060 caller is varargs and needs %bp to hold the stack frame on return.
6061
6062 2012-05-25 Olivier Hainque <hainque@adacore.com>
6063
6064 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6065 sequence in the non pic case on VxWorks.
6066
6067 2012-05-24 Olivier Hainque <hainque@adacore.com>
6068
6069 * Makefile.in: Move dependency on install-unwind_h from
6070 "install-leaf" to "install".
6071
6072 2012-05-24 Olivier Hainque <hainque@adacore.com>
6073
6074 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6075 Use a separate command for stamp removals.
6076
6077 2012-05-21 Andrew Pinski <apinski@cavium.com>
6078
6079 PR bootstrap/53183
6080 * configure.ac: Define the default includes to being none.
6081 * configure: Regenerate.
6082
6083 2012-05-16 Olivier Hainque <hainque@adacore.com>
6084
6085 * Makefile.in (install-unwind_h): Rename into ...
6086 (install-unwind_h-forbuild): New target.
6087 (all): Use it instead of the former install-unwind_h.
6088 (install-unwind_h): Reinstate, copy to user install destination
6089 for include files, not to the internal gcc object directory one.
6090 (install-leaf): Depend on it.
6091
6092 2012-05-15 Olivier Hainque <hainque@adacore.com>
6093
6094 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6095 register numbers. LR_REGNO replaces R_LR.
6096 (ucontext_for): New, helper for ...
6097 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6098 and 5.3 of ...
6099 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6100
6101 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6102
6103 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6104 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6105 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6106 i386/t-cpuinfo ...
6107 (i[34567]86-*-*, x86_64-*-*): ... here.
6108
6109 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6110 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6111
6112 * config/i386/i386-cpuinfo.c: Rename to ...
6113 * config/i386/cpuinfo.c: ... this.
6114 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6115
6116 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6117 (libgcc_cv_init_priority): New test.
6118 * configure: Regenerate.
6119 * config.in: New file.
6120 * Makefile.in (clean): Rename config.h to auto-target.h.
6121 (config.h): Likewise.
6122 (stamp-h): Likewise.
6123
6124 * config/i386/cpuinfo.c (auto-target.h): Include.
6125 (CONSTRUCTOR_PRIORITY): Define.
6126 (__cpu_indicator_init): Use it.
6127
6128 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6129
6130 * longlong.h: Use a URL instead of an FSF postal address.
6131 Replace spaces with tab.
6132
6133 2012-05-08 Teresa Johnson <tejohnson@google.com>
6134
6135 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6136 (__gcov_dump): Ditto.
6137 (gcov_dump_complete): New global variable.
6138 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6139 (__gcov_flush): Outline functionality now in gcov_clear.
6140 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6141
6142 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6143
6144 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6145 (mips*-*-linux*): Include mips/t-tpbit when long double is
6146 16 bytes long.
6147
6148 2012-04-25 Sriraman Tallam <tmsriram@google.com>
6149
6150 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6151 (get_available_features): New argument. Check for AVX2.
6152 (__cpu_indicator_init): Modify call to get_available_features.
6153
6154 2012-04-25 Alan Modra <amodra@gmail.com>
6155
6156 * config/rs6000/crtsavevr.S: New file.
6157 * config/rs6000/crtrestvr.S: New file.
6158 * config/rs6000/t-savresfgpr: Build the above.
6159 * config/rs6000/t-netbsd: Likewise.
6160
6161 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6162
6163 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6164
6165 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6166
6167 * libgcc/config/i386/i386-cpuinfo.c: New file.
6168 * libgcc/config/i386/t-cpuinfo: New file.
6169 * libgcc/config.host: Include t-cpuinfo.
6170 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6171
6172 2012-04-24 Chao-ying Fu <fu@mips.com>
6173
6174 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6175
6176 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6177
6178 struct siginfo vs. siginfo_t
6179
6180 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6181 siginfo_t instead of struct siginfo.
6182 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6183 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6184 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6185 (ia64_handle_unwabi): Likewise.
6186 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6187 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6188 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6189 (sh_fallback_frame_state): Likewise.
6190 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6191 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6192
6193 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6194
6195 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6196 system call number.
6197
6198 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6199
6200 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6201 if it hasn't been previously saved.
6202
6203 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6204
6205 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6206 only for glibc.
6207
6208 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
6209
6210 PR target/52737
6211 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6212 instead of __AVR_HAVE_8BIT_SP__.
6213
6214 2012-03-26 Tristan Gingold <gingold@adacore.com>
6215
6216 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6217 (unw_table_entry): Use unw_word instead of unsigned long.
6218 (_Unwind_FindTableEntry): Likewise.
6219 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6220 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6221 (_Unwind_FindTableEntry): Likewise.
6222 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6223 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6224 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6225 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6226 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6227 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6228 (uw_init_context_1, uw_install_context): Likewise.
6229 (unw_word): Move to unwind-ia64.h
6230
6231 2012-03-26 Tristan Gingold <gingold@adacore.com>
6232
6233 * config/vms/vms-ucrt0.c: Update copyright years.
6234 Add a sanity check.
6235 (___gcc_main_flags): Declare.
6236 (__main): Check flags to remap argv and exit code.
6237 * config.host (*-*-*vms*): Adjust extra_parts.
6238 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6239 (crt0.o): Add.
6240
6241 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
6242
6243 * arm/lib1funcs.asm (ctzsi2): New function.
6244 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6245 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6246 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6247 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6248 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6249 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6250
6251 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
6252
6253 * config.host: Add bits to support powerpc64-*-freebsd*.
6254 * config/rs6000/freebsd-unwind.h: New file.
6255 * config/rs6000/t-freebsd64: New file.
6256
6257 2012-03-20 Richard Guenther <rguenther@suse.de>
6258
6259 PR gcov-profile/52627
6260 * libgcov.c (init_mx): Fix mutex name.
6261
6262 2012-03-16 Tristan Gingold <gingold@adacore.com>
6263
6264 * config/ia64/vms-unwind.h: Remove ulong (and replace
6265 it by unw_reg where used). Define unw_reg with __int64.
6266
6267 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6268
6269 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6270 Solaris 8 handling.
6271 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6272 Solaris 8 handling.
6273 (sparc_is_sighandler): Likewise.
6274
6275 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6276
6277 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6278 <= saved reg size.
6279
6280 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6281
6282 * config/arm/crtn.S: Fix typo.
6283
6284 2012-03-13 Richard Guenther <rguenther@suse.de>
6285
6286 * libgcov.c: Remove stdio.h include and NULL un-define.
6287
6288 2012-03-13 Richard Guenther <rguenther@suse.de>
6289
6290 PR target/52569
6291 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6292
6293 2012-03-13 Richard Guenther <rguenther@suse.de>
6294
6295 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6296
6297 2012-03-13 Richard Guenther <rguenther@suse.de>
6298
6299 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6300 and __gthread_mutex_init_function definitions.
6301
6302 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6303
6304 * config.host (mips*-*-openbsd*): Remove.
6305
6306 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6307
6308 * config.host: Remove alpha*-dec-osf5.1* handling.
6309 * config/alpha/gthr-posix.c: Remove.
6310 * config/alpha/libgcc-osf5.ver: Remove.
6311 * config/alpha/osf5-unwind.h: Remove.
6312 * config/alpha/t-osf-pthread: Remove.
6313 * config/alpha/t-slibgcc-osf: Remove.
6314 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6315 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6316 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6317 * mkmap-flat.awk: Remove osf_export handling.
6318
6319 2012-03-12 Richard Guenther <rguenther@suse.de>
6320
6321 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6322 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6323 (__gthread_mutex_init_function): New function.
6324 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6325
6326 PR gcov/49484
6327 * libgcov.c: Include gthr.h.
6328 (__gcov_flush_mx): New global variable.
6329 (init_mx, init_mx_once): New functions.
6330 (__gcov_flush): Protect self with a mutex.
6331 (__gcov_fork): Re-initialize mutex after forking.
6332 * unwind-dw2-fde.c: Change condition under which to use
6333 __GTHREAD_MUTEX_INIT_FUNCTION.
6334
6335 2012-03-12 Tristan Gingold <gingold@adacore.com>
6336
6337 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6338 * config/ia64/t-vms: Likewise.
6339
6340 2012-03-11 Michael Hope <michael.hope@linaro.org>
6341
6342 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6343 for Thumb-2.
6344
6345 2012-03-07 Walter Lee <walt@tilera.com>
6346
6347 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6348 "arch_atomic_".
6349 (atomic_xor): Rename and move definition to
6350 config/tilepro/atomic.h.
6351 (atomic_nand): Ditto.
6352 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6353 "arch_atomic_".
6354 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6355 (arch_atomic_nand): Ditto.
6356
6357 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6358
6359 PR target/52507
6360 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6361
6362 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6363
6364 PR target/52505
6365 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6366 from RAM.
6367
6368 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6369
6370 PR target/52461
6371 PR target/52508
6372 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6373 if RAMPZ affects reading from RAM.
6374 (__tablejump_elpm__): Ditto.
6375 (.xload): Ditto.
6376 (__movmemx_hi): Ditto.
6377 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6378 (__do_global_dtors): Ditto.
6379 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6380 (__movmemx_hi): Ditto.
6381
6382 2012-03-05 Richard Henderson <rth@redhat.com>
6383
6384 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6385 [ARM] (count_trailing_zeros): Use the builtin.
6386
6387 2012-03-01 Kai Tietz <ktietz@redhat.com>
6388
6389 * soft-fp: Imported from glibc upstream.
6390
6391 2012-02-28 Kai Tietz <ktietz@redhat.com>
6392
6393 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6394 for mingw-targets as attribute gcc_struct.
6395
6396 2012-02-28 Ian Lance Taylor <iant@google.com>
6397
6398 * generic-morestack.c (__splitstack_releasecontext): Correct call
6399 to __morestack_release_segments.
6400
6401 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6402
6403 PR target/52390
6404 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6405 for __linux__ when removing signals from __morestack_fullmask.
6406
6407 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
6408
6409 PR target/52261
6410 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6411
6412 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6413
6414 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6415 instead of HAVE_INITFINI_ARRAY.
6416 * config/ia64/crtend.S: Likewise.
6417
6418 2012-02-20 Kai Tietz <ktietz@redhat.com>
6419
6420 PR libstdc++/52300
6421 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6422
6423 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6424 to w32-unwind.h header.
6425
6426 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6427
6428 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6429 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6430 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6431 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6432
6433 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6434
6435 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6436
6437 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6438
6439 PR libitm/52220
6440 * config/darwin-crt-tm.c: Correct typo.
6441
6442 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6443 Patrick Marlier <patrick.marlier@gmail.com>
6444
6445 PR libitm/52220
6446 * config/darwin-crt-tm.c: Generate dummy functions.
6447
6448 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6449 Patrick Marlier <patrick.marlier@gmail.com>
6450
6451 PR libitm/52042
6452 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6453 (__doTMRegistrations): Call it.
6454 (__doTMdeRegistrations): Likewise.
6455
6456 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
6457 Anatoly Sokolov <aesok@post.ru>
6458 Eric Weddington <eric.weddington@atmel.com>
6459
6460 PR target/52261
6461 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6462 (__epilogue_restores__): Ditto.
6463
6464 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6465
6466 PR target/51921
6467 PR target/52205
6468 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6469 Solaris 11 and slightly reformat.
6470 (sparc_is_sighandler): Likewise.
6471
6472 2012-02-14 Walter Lee <walt@tilera.com>
6473
6474 * config.host: Handle tilegx and tilepro.
6475 * config/tilegx/sfp-machine.h: New file.
6476 * config/tilegx/sfp-machine32.h: New file.
6477 * config/tilegx/sfp-machine64.h: New file.
6478 * config/tilegx/t-crtstuff: New file.
6479 * config/tilegx/t-softfp: New file.
6480 * config/tilegx/t-tilegx: New file.
6481 * config/tilepro/atomic.c: New file.
6482 * config/tilepro/atomic.h: New file.
6483 * config/tilepro/linux-unwind.h: New file.
6484 * config/tilepro/sfp-machine.h: New file.
6485 * config/tilepro/softdivide.c: New file.
6486 * config/tilepro/softmpy.S: New file.
6487 * config/tilepro/t-crtstuff: New file.
6488 * config/tilepro/t-tilepro: New file.
6489
6490 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6491
6492 PR libstdc++/51296
6493 PR libstdc++/51906
6494 * gthr-posix.h: Allow static initializer macros to be disabled.
6495 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6496
6497 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6498
6499 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6500 Add t-slibgcc-libgcc to tmake_file.
6501 * config/mips/libgcc-mips16.ver: Revert previous patch.
6502 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6503
6504 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6505 Jayant R Sonar <jayant.sonar@kpitcummins.com>
6506
6507 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6508 * config/cr16/crti.S: New file.
6509 * config/cr16/crtlibid.S: New file.
6510 * config/cr16/crtn.S: New file.
6511 * config/cr16/lib1funcs.S: New file.
6512 * config/cr16/t-cr16: New file.
6513 * config/cr16/t-crtlibid: New file.
6514 * config/cr16/unwind-dw2.h: New file.
6515 * config/cr16/unwind-cr16.c: New file.
6516 * config/cr16/divmodhi3.c: New file.
6517
6518 2012-01-25 Alan Modra <amodra@gmail.com>
6519
6520 * config/rs6000/t-linux64: Delete. Move..
6521 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6522 * config/rs6000/t-linux: ..and libgcc flags to here.
6523
6524 2012-01-22 Douglas B Rupp <rupp@gnat.com>
6525
6526 * config.host (i[34567]86-*-interix3*):
6527 Change triplet to i[34567]86-*-interix[3-9]*.
6528 * configure: Regenerate.
6529
6530 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6531 Richard Sandiford <rdsandiford@googlemail.com>
6532
6533 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6534 * config/mips/mips16.S (__mips16_rdhwr): New function.
6535 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6536
6537 2012-01-11 Nathan Sidwell <nathan@acm.org>
6538
6539 * libgcov.c (__gcov_init): Ignore objects with no functions.
6540
6541 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
6542
6543 PR target/49868
6544 Extend __pgmx semantics to linearize memory.
6545 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6546 * config/avr/lib1funcs.S (__xload_1): New function.
6547 (__movmemx_qi, __movmemx_hi): New functions.
6548 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6549 semantics.
6550
6551 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6552
6553 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6554 purported sigacthandler address isn't null before dereferencing it.
6555 (sparc_is_sighandler): Likewise.
6556
6557 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6558
6559 PR ada/41929
6560 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6561 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6562 (sparc_is_sighandler): Likewise.
6563 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6564
6565 2012-01-06 Tristan Gingold <gingold@adacore.com>
6566
6567 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6568 compatibility thunks...
6569 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6570 (crtbeginS.o, crtendS.o): ... and these to ...
6571 * config/ia64/t-ia64-elf: ... this new file.
6572 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6573 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6574
6575 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6576
6577 * configure: Regenerate.
6578 * config/s390/t-crtstuff: Remove -fPIC.
6579
6580 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6581
6582 PR bootstrap/51006
6583 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6584 for NetBSD.
6585
6586 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6587
6588 PR target/51345
6589 * config/avr/lib1funcs.S: Remove FIXME comments.
6590 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6591
6592 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6593
6594 Implement light-weight DImode support.
6595 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6596 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6597 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6598 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6599
6600 2011-12-30 Nathan Sidwell <nathan@acm.org>
6601
6602 * libgcov.c (gcov_crc32): Remove global var.
6603 (free_fn_data): New function.
6604 (buffer_fn_data): Pass in filename, more robust error recovery.
6605 (crc32_unsigned): New function.
6606 (gcov_exit): More robust detection of new program. More robust
6607 error recovery.
6608 (__gcov_init): Do not update program's crc here.
6609
6610 2011-12-21 Tristan Gingold <gingold@adacore.com>
6611
6612 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6613
6614 2011-12-21 Ian Lance Taylor <iant@google.com>
6615
6616 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6617
6618 2011-12-20 Ian Lance Taylor <iant@google.com>
6619
6620 * config/i386/morestack.S (__morestack_non_split): If there is
6621 enough stack space already, don't split. Ask for more stack space
6622 than we required.
6623
6624 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6625
6626 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6627 `sys/sdt.h'.
6628 (_Unwind_DebugHook): New function.
6629 (uw_restore_core_regs): New define.
6630 (unwind_phase2): Use uw_restore_core_regs instead of
6631 restore_core_regs.
6632 (unwind_phase2_forced): Likewise.
6633 (__gnu_Unwind_Resume): Likewise.
6634
6635 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
6636
6637 * config/alpha/linux-unwind.h: Update copyright years.
6638 (MD_FROB_UPDATE_CONTEXT): New define.
6639 (alpha_frob_update_context): New function.
6640
6641 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6642
6643 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6644 tmake_file rather replacing it.
6645
6646 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6647
6648 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
6649 function is not used for PPC64.
6650 (save_world): Amend comments. Update the VRsave mask to reflect the
6651 saved regs.
6652 (rest_world): Update comments, do not clobber r10, do not use r8.
6653 (eh_rest_world_r10): Amend comments, do not use r8.
6654 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6655 no longer used, move restore of CR and target address to the end of
6656 the routine.
6657
6658 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6659
6660 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6661 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6662
6663 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
6664
6665 PR target/49313
6666 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6667 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6668
6669 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6670
6671 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6672
6673 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
6674
6675 PR target/49313
6676 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6677 * config/avr/lib1funcs.S (__muldi3): New function.
6678
6679 2011-12-06 Andrew Pinski <apinski@cavium.com>
6680
6681 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6682 size of func_ptr.
6683 (__frame_dummy_init_array_entry): Likewise.
6684
6685 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
6686
6687 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6688
6689 PR target/51345
6690 PR target/51002
6691 * config/avr/lib1funcs.S (__prologue_saves__,
6692 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6693 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6694
6695 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6696
6697 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6698
6699 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6700
6701 PR other/51272
6702 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6703 (_ITM_deregisterTMCloneTable): Likewise.
6704 (__register_frame_info): Fix unused warning.
6705 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6706 pthread_default_stacksize_np): Likewise.
6707 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
6708
6709 2011-11-29 DJ Delorie <dj@redhat.com>
6710
6711 * config.host (rl78-*-elf): New case.
6712 * config/rl78: New directory for the Renesas RL78.
6713
6714 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6715
6716 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6717 formatting.
6718
6719 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6720
6721 PR other/51022
6722 * config/rs6000/t-savresfgpr: New file.
6723 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6724 $(srcdir)/config/rs6000/eabi.S.
6725 * config/rs6000/t-ppccomm-ldbl: Remove.
6726 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6727 tmake_file.
6728 (powerpc-*-eabispe*): Likewise.
6729 (powerpc-*-eabi*): Likewise.
6730 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6731 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6732 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6733 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6734 tmake_file.
6735 (powerpc-*-eabisim*): Likewise.
6736 (powerpc-*-elf*): Likewise.
6737 (powerpc-*-eabialtivec*): Likewise.
6738 (powerpc-xilinx-eabi*): Likewise.
6739 (powerpc-*-rtems*): Likewise.
6740 (powerpcle-*-elf*): Likewise.
6741 (powerpcle-*-eabisim*): Likewise.
6742 (powerpcle-*-eabi*): Likewise.
6743
6744 2011-11-27 Ian Lance Taylor <iant@google.com>
6745
6746 * generic-morestack.c (__splitstack_find): Check for NULL old
6747 stack value.
6748 (__splitstack_resetcontext): New function.
6749 (__splitstack_releasecontext): New function.
6750 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6751
6752 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6753
6754 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6755
6756 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6757
6758 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6759
6760 2011-11-26 Richard Henderson <rth@redhat.com>
6761
6762 * config/m68k/linux-atomic.c: New file.
6763 * config/m68k/t-linux: New file.
6764 * config.host (m68k-uclinux, m68k-linux): Use it.
6765
6766 2011-11-26 Richard Henderson <rth@redhat.com>
6767
6768 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6769 (__TMC_END__): Only declare if hidden is available; in the definition,
6770 if hidden is unavailable add a null record.
6771 (deregister_tm_clones, register_tm_clones): New.
6772 (__do_global_dtors_aux, frame_dummy): Use them.
6773 (__do_global_dtors, __do_global_ctors_1): Likewise.
6774
6775 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6776
6777 * config/darwin-crt-tm.c: New file.
6778 * config.host (darwin): Build crttms.o crttme.o to provide
6779 startup and shutdown for tm clones.
6780 * config/t-darwin (crttms.o): New build rule.
6781 (crttme.o): Likewise.
6782
6783 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
6784
6785 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6786 et al.
6787
6788 2011-11-21 Richard Henderson <rth@redhat.com>
6789
6790 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6791 (__TMC_LIST__, __TMC_END__): New.
6792 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6793 (__do_global_dtors): Likewise.
6794 (frame_dummy): Call _ITM_registerTMCloneTable.
6795 (__do_global_ctors_1): Likewise.
6796
6797 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6798
6799 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6800 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6801 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6802 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6803 * config/i386/t-darwin64: Remove.
6804 * config/sh/t-netbsd (LIB2ADD): Remove.
6805
6806 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
6807
6808 PR target/49313
6809 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6810 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6811 * config/avr/lib1funcs.S (wmov): New assembler macro.
6812 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6813 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6814 (__udivmod64): New function.
6815 (__negdi2): New function.
6816
6817 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6818
6819 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6820 *-*-freebsd*aout*): Remove.
6821
6822 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
6823
6824 * static-object.mk (c_flags-$o): Save c_flags.
6825 ($(base)$(objext)): Use it.
6826
6827 2011-11-18 Steve Ellcey <sje@cup.hp.com>
6828
6829 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6830
6831 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
6832
6833 PR target/49868
6834 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6835 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6836 New functions.
6837
6838 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6839
6840 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6841 functions.
6842 (aeabi_uidivmod): Likewise.
6843 (umodsi3): Likewise.
6844 (divsi3): Likewise.
6845 (aeabi_idivmod): Likewise.
6846 (modsi3): Likewise.
6847
6848 2011-11-16 Tristan Gingold <gingold@adacore.com>
6849
6850 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6851
6852 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
6853
6854 PR target/49868
6855 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6856 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6857
6858 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6859
6860 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6861 tmake_file list.
6862 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6863 * config/pa/t-stublib64: Delete.
6864
6865 2011-11-12 Richard Henderson <rth@redhat.com>
6866
6867 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6868 cast the pointer argument to _Unwind_SetGRPtr.
6869
6870 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6871
6872 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6873
6874 2011-11-09 Ian Lance Taylor <iant@google.com>
6875
6876 * generic-morestack.c: Include <string.h>.
6877 (uintptr_type): Define.
6878 (struct initial_sp): Add dont_block_signals field. Reduce size of
6879 extra array by 1.
6880 (allocate_segment): Set prev field to NULL. Don't set
6881 __morestack_current_segment or __morestack_segments.
6882 (__generic_morestack): Update current->prev and *pp after calling
6883 allocate_segment.
6884 (__morestack_block_signals): Don't do anything if
6885 dont_block_signals is set.
6886 (__morestack_unblock_signals): Likewise.
6887 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6888 uintptr_type.
6889 (__splitstack_block_signals): New function.
6890 (enum __splitstack_content_offsets): Define.
6891 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6892 (__splitstack_makecontext): New function.
6893 (__splitstack_block_signals_context): New function.
6894 (__splitstack_find_context): New function.
6895 * config/i386/morestack.S (__morestack_get_guard): New function.
6896 (__morestack_set_guard, __morestack_make_guard): New functions.
6897 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6898
6899 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6900
6901 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6902 (i[34567]86-*-mingw*): ... here.
6903 (x86_64-*-mingw*): ... here.
6904
6905 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6906
6907 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6908
6909 2011-11-07 Nathan Sidwell <nathan@acm.org>
6910
6911 * libgcov.c (struct gcov_fn_buffer): New struct.
6912 (buffer_fn_data): New helper.
6913 (gcov_exit): Rework for new gcov data structures.
6914
6915 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
6916
6917 PR target/49313
6918 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6919
6920 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6921
6922 * config.host (tmake_file): Correct comment.
6923 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6924 t-libgcc-pic.
6925 (bfin*-uclinux*): Likewise.
6926 (bfin*-linux-uclibc*): Likewise.
6927 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6928
6929 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6930 assigning.
6931 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6932 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6933 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6934 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6935 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6936 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6937 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6938 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6939 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6940 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6941 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6942 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6943 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6944
6945 * config/bfin/t-elf: Remove.
6946 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6947
6948 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6949
6950 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6951 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6952 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6953 (lm32-*-elf*): ... this.
6954 (lm32-*-rtems*): ... and this.
6955 Add to tmake_file.
6956 (m32r-*-rtems*): Add to tmake_file.
6957 (moxie-*-rtems*): Likewise.
6958 (sparc-*-rtems*): Likewise.
6959 Remove t-rtems from tmake_file.
6960 (sparc64-*-rtems*): Likewise.
6961 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6962 instead.
6963
6964 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6965
6966 PR bootstrap/50982
6967 * config/gthr-posix.h: Move ...
6968 * gthr-posix.h: ... here.
6969 * config/gthr-lynx.h: Reflect this.
6970 * config/gthr-vxworks.h: Likewise.
6971 * config/rs6000/gthr-aix.h: Likewise.
6972 * configure.ac (target_thread_file): Likewise.
6973 * configure: Regenerate.
6974
6975 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6976
6977 * config.host (arm*-*-rtemseabi*): New target.
6978
6979 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6980
6981 PR other/50991
6982 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6983 extra-parts.
6984
6985 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6986
6987 * config.host (epiphany-*-elf*): New configuration.
6988 * config/epiphany: New Directory.
6989
6990 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6991
6992 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6993 * config/avr/t-rtems: New.
6994 Filter out _exit from LIB1ASMFUNCS.
6995
6996 2011-11-04 David S. Miller <davem@davemloft.net>
6997
6998 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6999 * configure: Rebuild.
7000
7001 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7002
7003 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7004 variable.
7005
7006 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
7007
7008 PR target/50931
7009 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7010 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7011
7012 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7013
7014 PR target/50989
7015 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7016
7017 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7018
7019 * config/c6x/t-elf (LIB2ADDEH): Set.
7020 * config/c6x/t-c6x-elf: Remove.
7021
7022 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7023
7024 * config/i386/sol2-ci.S: Rename to ...
7025 * config/i386/crti.S: ... this.
7026 * config/i386/sol2-cn.S: Rename to ...
7027 * config/i386/crtn.S: ... this.
7028 * config/sparc/sol2-ci.S: Rename to ...
7029 * config/sparc/crti.S: ... this.
7030 * config/sparc/sol2-cn.S: Rename to ...
7031 * config/sparc/crtn.S: ... this.
7032 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7033 (crti.o, crtn.o): Remove.
7034
7035 2011-11-04 Tristan Gingold <gingold@adacore.com>
7036
7037 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7038
7039 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7040
7041 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7042
7043 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
7044
7045 * config.host (crisv32-*-none, cris-*-none): Remove.
7046 (crisv32-*-elf): Append to tmake_file, don't just set it.
7047 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7048
7049 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7050
7051 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7052 (ecrtn$(objext)): Likewise.
7053 (ncrti$(objext)): Likewise.
7054 (ncrtn$(objext)): Likewise.
7055
7056 2011-11-03 Andreas Schwab <schwab@redhat.com>
7057
7058 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7059
7060 2011-11-02 David S. Miller <davem@davemloft.net>
7061
7062 * configure.ac: Set host_address on sparc too.
7063 * configure: Regenerate.
7064 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7065 based upon host_address.
7066 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7067
7068 2011-11-02 Jason Merrill <jason@redhat.com>
7069
7070 * config/rs6000/t-ppccomm: Add missing \.
7071
7072 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7073
7074 * gthr-single.h, gthr.h: New files.
7075 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7076 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7077 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7078 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7079 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7080 * configure.ac (thread_header): New variable.
7081 Set it depending on target_thread_file.
7082 (gthr-default.h): Link from $thread_header.
7083 * configure: Regenerate.
7084 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7085
7086 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7087
7088 * configure.ac (tm_file_): New variable.
7089 Determine from tm_file.
7090 (tm_file, tm_defines): Substitute.
7091 * configure: Regenerate.
7092 * mkheader.sh: New file.
7093 * Makefile.in (clean): Remove libgcc_tm.h.
7094 ($(objects)): Depend on libgcc_tm.h.
7095 (libgcc_tm_defines, libgcc_tm_file): New variables.
7096 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7097 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7098 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7099 ($(extra-parts)): Depend on libgcc_tm.h.
7100 * config.host (tm_defines, tm_file): New variable.
7101 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7102 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7103 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7104 (avr-*-rtems*): Likewise.
7105 (avr-*-*): Likewise.
7106 (frv-*-elf): Likewise.
7107 (frv-*-*linux*): Likewise.
7108 (h8300-*-rtems*): Likewise.
7109 (h8300-*-elf*): Likewise.
7110 (i[34567]86-*-darwin*): Likewise.
7111 (x86_64-*-darwin*): Likewise.
7112 (rx-*-elf): Likewise.
7113 (tic6x-*-uclinux): Likewise.
7114 (tic6x-*-elf): Likewise.
7115 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7116 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7117 * config/i386/cygming-crtbegin.c: Likewise.
7118 * config/i386/cygming-crtend.c: Likewise.
7119 * config/ia64/fde-vms.c: Likewise.
7120 * config/ia64/unwind-ia64.c: Likewise.
7121 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7122 * config/rs6000/darwin-fallback.c: Likewise.
7123 * config/stormy16/lib2funcs.c: Likewise.
7124 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7125 * crtstuff.c: Likewise.
7126 * dfp-bit.h: Likewise.
7127 * emutls.c: Likewise.
7128 * fixed-bit.c: Likewise.
7129 * fp-bit.c: Likewise.
7130 * generic-morestack-thread.c: Likewise.
7131 * generic-morestack.c: Likewise.
7132 * libgcc2.c: Likewise.
7133 * libgcov.c: Likewise.
7134 * unwind-dw2-fde-dip.c: Likewise.
7135 * unwind-dw2-fde.c: Likewise.
7136 * unwind-dw2.c: Likewise.
7137 * unwind-sjlj.c: Likewise.
7138
7139 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7140
7141 * configure.ac: Include ../config/picflag.m4.
7142 (GCC_PICFLAG): Call it.
7143 Substitute.
7144 * configure: Regenerate.
7145 * Makefile.in (gcc_srcdir): Remove.
7146 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7147 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7148 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7149 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7150 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7151 Use $<.
7152 Remove comment.
7153 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7154 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7155 to refer to libgcc2.c.
7156 Use $<.
7157 * config/darwin-64.c: New file.
7158 * config/darwin-crt3.c: Remove comment.
7159 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7160 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7161 config/udivmodsi4.c: New files.
7162 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7163 config/memset.c: New files.
7164 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7165 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7166 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7167 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7168 * config/t-openbsd-thread: New file.
7169 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7170 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7171 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7172 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7173 qrnnd.S.
7174 Adapt filename.
7175 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7176 to refer to gthr-posix.c.
7177 * config/alpha/t-vms (LIB2ADD): Set.
7178 * config/alpha/vms-gcc_shell_handler.c: New file.
7179 * config/arm/bpabi.c, config/arm/fp16.c,
7180 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7181 config/arm/unaligned-funcs.c: New files.
7182 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7183 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7184 * config/arm/t-linux: Likewise.
7185 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7186 * config/arm/t-netbsd: New file.
7187 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7188 * config/arm/t-symbian (LIB2ADD_ST): Set.
7189 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7190 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7191 * config/bfin/t-elf: New file.
7192 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7193 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7194 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7195 config/c6x/ltf.c: New files.
7196 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7197 (HOST_LIBGCC2_CFLAGS): Set.
7198 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7199 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7200 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7201 New files.
7202 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7203 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7204 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7205 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7206 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7207 files.
7208 * config/frv/t-frv (LIB2ADD): Set.
7209 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7210 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7211 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7212 config/h8300/popcounthi2.c: New files.
7213 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7214 * config/i386/gthr-win32.c: New file.
7215 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7216 * config/i386/t-cygwin: Likewise.
7217 * config/i386/t-darwin, config/i386/t-darwin64,
7218 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7219 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7220 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7221 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7222 * config/ia64/quadlib.c: New file.
7223 * config/ia64/t-hpux (LIB2ADD): Set.
7224 * config/ia64/t-ia64: Add comment.
7225 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7226 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7227 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7228 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7229 * config/m32c/t-m32c (LIB2ADD): Set.
7230 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7231 * config/m32r/t-m32r: Likewise.
7232 * config/m68k/fpgnulib.c: New file.
7233 * config/m68k/t-floatlib (LIB2ADD): Set.
7234 (xfgnulib.c): New target.
7235 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7236 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7237 * config/mep/t-mep (LIB2ADD): Set.
7238 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7239 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7240 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7241 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7242 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7243 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7244 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7245 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7246 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7247 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7248 New files.
7249 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7250 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7251 * config/pa/fptr.c, config/pa/lib2funcs.S,
7252 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7253 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7254 (LIB2ADD, LIB2ADD_ST): Set.
7255 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7256 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7257 Set.
7258 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7259 * config/pdp11/t-pdp11: New file.
7260 * config/picochip/libgccExtras/adddi3.S,
7261 config/picochip/libgccExtras/ashlsi3.S,
7262 config/picochip/libgccExtras/ashrsi3.S,
7263 config/picochip/libgccExtras/clzsi2.S,
7264 config/picochip/libgccExtras/cmpsi2.S,
7265 config/picochip/libgccExtras/divmod15.S,
7266 config/picochip/libgccExtras/divmodhi4.S,
7267 config/picochip/libgccExtras/divmodsi4.S,
7268 config/picochip/libgccExtras/lshrsi3.S,
7269 config/picochip/libgccExtras/parityhi2.S,
7270 config/picochip/libgccExtras/popcounthi2.S,
7271 config/picochip/libgccExtras/subdi3.S,
7272 config/picochip/libgccExtras/ucmpsi2.S,
7273 config/picochip/libgccExtras/udivmodhi4.S,
7274 config/picochip/libgccExtras/udivmodsi4.S: New files.
7275 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7276 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7277 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7278 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7279 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7280 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7281 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7282 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7283 files.
7284 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7285 (HOST_LIBGCC2_CFLAGS): Set.
7286 * config/rs6000/t-darwin64: New file.
7287 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7288 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7289 * config/rs6000/t-ppccomm (LIB2ADD): Add
7290 $(srcdir)/config/rs6000/tramp.S.
7291 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7292 Add $(srcdir)/config/rs6000/eabi.S.
7293 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7294 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7295 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7296 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7297 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7298 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7299 * config/rs6000/tramp.S: New file.
7300 * config/s390/t-tpf: Remove.
7301 * config/sh/linux-atomic.S: New file.
7302 * config/sh/t-linux (LIB2ADD): Set.
7303 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7304 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7305 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7306 to unwind-dw2.c.
7307 (HOST_LIBGCC2_CFLAGS): Set.
7308 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7309 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7310 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7311 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7312 config/spu/mfc_multi_tag_release.c,
7313 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7314 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7315 config/spu/multi3.c: New files.
7316 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7317 (HOST_LIBGCC2_CFLAGS): Set.
7318 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7319 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7320 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7321 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7322 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7323 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7324 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7325 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7326 config/stormy16/umodsi3.c: New files.
7327 * config/xtensa/lib2funcs.S: New file.
7328 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7329 * config/xtensa/t-xtensa (LIB2ADD): Set.
7330 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7331 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7332 Add t-freebsd-thread to tmake_file for posix threads.
7333 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7334 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7335 (*-*-lynxos*): Likewise.
7336 (*-*-netbsd*): Likewise.
7337 (*-*-openbsd*): Likewise.
7338 Add t-openbsd-thread to tmake_file for posix threads.
7339 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7340 (*-*-vxworks*): Set tmake_file.
7341 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7342 (alpha*-*-freebsd*): Likewise.
7343 (alpha*-*-netbsd*): Likewise.
7344 (alpha*-*-openbsd*): Likewise.
7345 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7346 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7347 (alpha*-dec-*vms*): Likewise.
7348 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7349 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7350 (bfin*-uclinux*): Likewise.
7351 (bfin*-linux-uclibc*): Likewise.
7352 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7353 (crisv32-*-none): Likewise.
7354 (cris-*-elf): Likewise.
7355 (cris-*-none): Likewise.
7356 (cris-*-linux*, crisv32-*-linux*): Likewise.
7357 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7358 tmake_file.
7359 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7360 tmake_file.
7361 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7362 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7363 (x86_64-*-elf*): Likewise.
7364 (i[34567]86-*-nto-qnx*): Likewise.
7365 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7366 win32 threads.
7367 (x86_64-*-mingw*): Likewise.
7368 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7369 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7370 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7371 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7372 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7373 tmake_file.
7374 (mipsisa64sr71k-*-elf*): Likewise.
7375 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7376 (mips-*-elf*, mipsel-*-elf*): Likewise.
7377 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7378 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7379 (mips*-*-rtems*): Likewise.
7380 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7381 to tmake_file.
7382 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7383 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7384 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7385 (spu-*-elf*): Likewise.
7386 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7387
7388 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7389
7390 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7391 $(srcdir) to refer to $(LIB1ASMSRC).
7392 Use $<.
7393 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7394 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7395 config/arm/lib1funcs.S: New files.
7396 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7397 * config/arm/t-arm: New file.
7398 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7399 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7400 config/arm/t-strongarm-elf: New files.
7401 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7402 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7403 * config/avr/lib1funcs.S: New file.
7404 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7405 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7406 * config/c6x/lib1funcs.S: New file.
7407 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7408 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7409 * config/frv/lib1funcs.S: New file.
7410 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7411 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7412 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7413 * config/ia64/__divxf3.asm: Rename to ...
7414 * config/ia64/__divxf3.S: ... this.
7415 Adapt lib1funcs.asm filename.
7416 * config/ia64/_fixtfdi.asm: Rename to ...
7417 * config/ia64/_fixtfdi.S: ... this.
7418 Adapt lib1funcs.asm filename.
7419 * config/ia64/_fixunstfdi.asm: Rename to ...
7420 * config/ia64/_fixunstfdi.S: ... this.
7421 Adapt lib1funcs.asm filename.
7422 * config/ia64/_floatditf.asm: Rename to ...
7423 * config/ia64/_floatditf.S: ... this.
7424 Adapt lib1funcs.asm filename.
7425 * config/ia64/lib1funcs.S: New file.
7426 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7427 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7428 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7429 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7430 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7431 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7432 * config/mep/lib1funcs.S: New file.
7433 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7434 * config/mips/mips16.S: New file.
7435 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7436 * config/pa/milli64.S: New file.
7437 * config/pa/t-linux, config/pa/t-linux64: New files.
7438 * config/picochip/lib1funcs.S: New file.
7439 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7440 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7441 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7442 * config/sh/t-netbsd: New file.
7443 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7444 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7445 * config/sh/t-sh64: New file.
7446 * config/sparc/lb1spc.S: New file.
7447 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7448 filename.
7449 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7450 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7451 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7452 config/xtensa/lib1funcs.S: New files.
7453 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7454 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7455 tmake_file.
7456 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7457 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7458 (arm*-*-linux*): Likewise.
7459 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7460 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7461 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7462 (arm*-*-ecos-elf): Likewise.
7463 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7464 (arm*-*-rtems*): Likewise.
7465 (arm*-*-elf): Likewise.
7466 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7467 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7468 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7469 (bfin*-uclinux*): Likewise.
7470 (bfin*-linux-uclibc*): Likewise.
7471 (bfin*-rtems*): Likewise.
7472 (bfin*-*): Likewise.
7473 (fido-*-elf): Merge into m68k-*-elf*.
7474 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7475 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7476 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7477 (h8300-*-elf*): Likewise.
7478 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7479 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7480 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7481 (i[34567]86-*-mingw*): Likewise.
7482 (x86_64-*-mingw*): Likewise.
7483 (i[34567]86-*-interix3*): Likewise.
7484 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7485 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7486 (m68k-*-elf*): Also handle fido-*-elf.
7487 Add m68k/t-floatlib to tmake_file.
7488 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7489 (m68k-*-linux*): Likewise.
7490 (m68k-*-rtems*): Likewise.
7491 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7492 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7493 sh64*-*-*.
7494 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7495 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7496 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7497 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7498 sh/t-netbsd to tmake_file.
7499 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7500 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7501 (sh-wrs-vxworks): Likewise.
7502 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7503 *-leon[3-9]*.
7504 (v850*-*-*): Add v850/t-v850 to tmake_file.
7505 (vax-*-linux*): Add vax/t-linux to tmake_file.
7506 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7507
7508 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7509
7510 * crtstuff.c: New file.
7511 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7512 (CRTSTUFF_T_CFLAGS): Define.
7513 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7514 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7515 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7516 crtstuff.c.
7517 Use $<.
7518 (crtbeginT.o): Use $(objext).
7519 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7520 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7521 (gcc-extra-parts): Remove.
7522 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7523 Set extra_parts.
7524 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7525 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7526 Add t-crtstuff-pic to tmake_file.
7527 (*-*-lynxos*): New case.
7528 Set tmake_file, extra_parts.
7529 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7530 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7531 *-*-netbsdelf[2-9]*.
7532 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7533 (*-*-rtems*): Set extra_parts.
7534 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7535 (*-*-uclinux*): New case.
7536 Set extra_parts.
7537 (*-*-vms*): New case.
7538 Set tmake_file, extra_parts.
7539 (*-*-elf): Set extra_parts.
7540 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7541 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7542 vms/t-vms64.
7543 Set extra_parts.
7544 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7545 Set extra_parts.
7546 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7547 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7548 (arm-wrs-vxworks): Append to tmake_file.
7549 Set extra_parts.
7550 (arm*-*-uclinux*): Set extra_parts.
7551 (arm*-*-ecos-elf): Likewise.
7552 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7553 arm*-*-eabi*.
7554 (arm*-*-rtems*): Set extra_parts.
7555 (arm*-*-elf): Likewise.
7556 (avr-*-rtems*): Clear extra_parts.
7557 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7558 Set extra_parts.
7559 (bfin*-uclinux*): Likewise.
7560 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7561 (bfin*-rtems*): Append to tmake_file.
7562 Set extra_parts.
7563 (bfin*-*): Likewise.
7564 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7565 (crisv32-*-elf): ... this.
7566 (crisv32-*-none): ... this.
7567 (cris-*-elf, cris-*-none): New cases.
7568 Add cris/t-elfmulti to tmake_file.
7569 (fr30-*-elf): Append to tmake_file.
7570 Set extra_parts.
7571 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7572 Set extra_parts.
7573 (h8300-*-rtems*): Append to tmake_file.
7574 Set extra_parts.
7575 (h8300-*-elf*): Likewise.
7576 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7577 Set extra_parts.
7578 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7579 Set extra_parts.
7580 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7581 (x86_64-*-elf*): Likewise.
7582 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7583 (x86_64-*-freebsd*): Likewise.
7584 (x86_64-*-netbsd*): Likewise.
7585 (i[34567]86-*-linux*): Likewise.
7586 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7587 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7588 (x86_64-*-linux*): Likewise.
7589 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7590 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7591 tmake_file.
7592 Set extra_parts.
7593 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7594 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7595 Append to extra_parts, remove crtbegin.o, crtend.o.
7596 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7597 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7598 crtend.o, crtbeginS.o, crtendS.o.
7599 (ia64*-*-linux*): Comment extra_parts.
7600 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7601 Set extra_parts.
7602 (iq2000*-*-elf*): Clear extra_parts.
7603 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7604 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7605 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7606 (m32r-*-rtems*): ... this.
7607 Add m32r/t-m32r to tmake_file.
7608 (m68k-*-elf*): Add t-crtin to tmake_file.
7609 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7610 (mcore-*-elf): Likewise.
7611 (microblaze*-*-*): Set extra_parts.
7612 (mips*-sde-elf*): New case.
7613 Set tmake_file, extra_parts.
7614 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7615 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7616 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7617 tmake_file.
7618 Set extra_parts.
7619 (mipsisa64sr71k-*-elf*): Likewise.
7620 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7621 (mips-*-elf*, mipsel-*-elf*): Likewise.
7622 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7623 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7624 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7625 (mips*-*-rtems*): Likewise.
7626 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7627 (moxie-*-*): Split into ...
7628 (moxie-*-elf, moxie-*-uclinux*): ... this.
7629 Add to extra_parts, remove crtbegin.o, crtend.o.
7630 (moxie-*-rtems*): New case.
7631 Set tmake_file.
7632 Clear extra_parts.
7633 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7634 Set extra_parts.
7635 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7636 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7637 tmake_file.
7638 Set extra_parts.
7639 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7640 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7641 Set extra_parts.
7642 (powerpc-*-eabisim*): Likewise.
7643 (powerpc-*-elf*): Likewise.
7644 (powerpc-*-eabialtivec*): Likewise.
7645 (powerpc-xilinx-eabi*): Likewise.
7646 (powerpc-*-eabi*): Likewise.
7647 (powerpc-*-rtems*): Likewise.
7648 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7649 tmake_file.
7650 Set extra_parts.
7651 (powerpc-*-lynxos*): Add to tmake_file.
7652 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7653 rs6000/t-crtstuff, t-crtstuff-pic.
7654 Set extra_parts.
7655 (powerpcle-*-eabisim*): Likewise.
7656 (powerpcle-*-eabi*): Likewise.
7657 (rx-*-elf): Remove extra_parts.
7658 (s390x-ibm-tpf*): Set extra_parts.
7659 (score-*-elf): Set extra_parts.
7660 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7661 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7662 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7663 (sh64l*-*-netbsd*): Split into ...
7664 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7665 Add t-crtstuff-pic to tmake_file.
7666 Set extra_parts.
7667 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7668 Set extra_parts.
7669 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7670 (sparc-*-elf*): Remove t-crtin from tmake_file.
7671 Add to extra_parts, remove crtbegin.o, crtend.o.
7672 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7673 (sparc64-*-linux*): Likewise.
7674 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7675 Add to extra_parts, remove crtbegin.o, crtend.o.
7676 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7677 Add to extra_parts, remove crtbegin.o, crtend.o.
7678 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7679 Add to extra_parts, remove crtbegin.o, crtend.o.
7680 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7681 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7682 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7683 Set extra_parts.
7684 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7685 Set extra_parts.
7686 (tic6x-*-*): Change to ...
7687 (tic6x-*-elf): ... this.
7688 Set extra_parts.
7689 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7690 Set extra_parts.
7691 (am33_2.0-*-linux*): Add comment.
7692 (mep*-*-*): Add mep/t-mep to tmake_file.
7693 Set extra_parts.
7694 * config/alpha/t-vms: New file.
7695 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7696 * config/arm/crti.S, config/arm/crtn.S: New files.
7697 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7698 * config/bfin/crtlibid.S: New file.
7699 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7700 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7701 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7702 (crti.o, crtin.o): New rules.
7703 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7704 * config/c6x/t-uclinux: New file.
7705 * config/cris/t-elfmulti: New file.
7706 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7707 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7708 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7709 * config/frv/t-frv: New file.
7710 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7711 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7712 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7713 New files.
7714 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7715 refer to cygming-crtbegin.c, cygming-crtend.c.
7716 Use $<.
7717 * config/i386/t-nto: New file.
7718 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7719 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7720 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7721 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7722 Use .S extension.
7723 Use $<.
7724 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7725 (crtinitS.o): New rule.
7726 * config/ia64/vms-crtinit.S: New file.
7727 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7728 * config/m32r/initfini.c: New file.
7729 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7730 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7731 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7732 * config/mep/t-mep: New file.
7733 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7734 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7735 * config/mips/crti.S, config/mips/crtn.S: New files.
7736 * config/mips/t-crtstuff: New file.
7737 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7738 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7739 (CUSTOM_CRTIN): Set.
7740 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7741 dependencies.
7742 Use $(srcdir) to refer to crti.S, crtn.S.
7743 Use .S extension, $<.
7744 * config/moxie/crti.asm: Rename to ...
7745 * config/moxie/crti.S: ... this.
7746 * config/moxie/crtn.asm: Rename to ...
7747 * config/moxie/crtn.S: ... this.
7748 * config/moxie/t-moxie: Remove.
7749 * config/pa/stublib.c: New file.
7750 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7751 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7752 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7753 * config/rs6000/t-crtstuff: New file.
7754 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7755 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7756 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7757 Make output file explicit.
7758 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7759 Make output file explicit.
7760 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7761 Make output file explicit.
7762 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7763 Make output file explicit.
7764 * config/score/crti.S, config/score/crtn.S: New files.
7765 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7766 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7767 files.
7768 * config/sh/t-sh, config/sh/t-superh: New files.
7769 * config/sparc/t-linux64: New file.
7770 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7771 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7772 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7773 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7774 * config/t-crtin: Remove.
7775 * config/t-crtstuff-pic: New file.
7776 * config/t-sol2 (CUSTOM_CRTIN): Set.
7777 (crti.o, crtn.o): New rules.
7778 * config/vms/t-vms: New file.
7779 * config/vms/vms-ucrt0.c: New file.
7780 * config/xtensa/t-elf: New file.
7781
7782 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7783
7784 * Makefile.in (SHLIB_NM_FLAGS): Set.
7785 * mkmap-flat.awk, mkmap-symver.awk: New files.
7786 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7787 exceptions.
7788 * configure: Regenerate.
7789 * config/libgcc-glibc.ver: New file.
7790 * config/libgcc-libsystem.ver: New file.
7791 * config/t-libunwind (SHLIB_LC): Set.
7792 * config/t-linux: New file.
7793 * config/t-slibgcc (INSTALL_SHLIB): New.
7794 (SHLIB_INSTALL): Use it.
7795 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7796 to mkmap-symver.awk.
7797 (SHLIB_MAPFILES): Don't append, adapt pathname.
7798 (SHLIB_VERPFX): Set.
7799 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7800 to mkmap-symver.awk.
7801 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7802 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7803 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7804 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7805 to mkmap-flat.awk.
7806 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7807 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7808 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7809 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7810 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7811 * config/i386/libgcc-darwin.10.4.ver,
7812 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7813 New files.
7814 * config/i386/t-darwin: Remove.
7815 * config/i386/t-darwin64: Likewise.
7816 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7817 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7818 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7819 * config/i386/t-linux: New file.
7820 * config/i386/t-mingw32: New file.
7821 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7822 * config/ia64/t-glibc: Rename to ...
7823 * config/ia64/t-linux: ... this.
7824 (SHLIB_MAPFILES): Set.
7825 * config/ia64/t-glibc-libunwind: Rename to ...
7826 * config/ia64/t-linux-libunwind: ... this.
7827 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7828 * config/ia64/t-slibgcc-hpux: New file.
7829 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7830 * config/m68k/t-slibgcc-elf-ver: New file.
7831 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7832 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7833 to mkmap-flat.awk.
7834 * config/pa/t-slibgcc-hpux: New file.
7835 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7836 files.
7837 * config/rs6000/libgcc-darwin.10.4.ver,
7838 config/rs6000/libgcc-darwin.10.5.ver: New files.
7839 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7840 config/rs6000/libgcc-glibc.ver.
7841 * config/rs6000/libgcc-ppc64.ver: Rename to
7842 config/rs6000/libgcc-ibm-ldouble.ver.
7843 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7844 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7845 * config/rs6000/t-ldbl128: Rename to ...
7846 * config/rs6000/t-linux: ... this.
7847 (SHLIB_MAPFILES): Adapt filename.
7848 * config/rs6000/t-slibgcc-aix: New file.
7849 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7850 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7851 libgcc-excl.ver, libgcc-glibc.ver.
7852 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7853 * config/sparc/libgcc-glibc.ver: New file.
7854 * config/sparc/t-linux: New file.
7855 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7856 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7857 t-slibgcc-elf-ver to tmake_file.
7858 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7859 *-*-freebsd[34].
7860 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7861 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7862 t-slibgcc-elf-ver, t-linux to tmake_file.
7863 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7864 tmake_file.
7865 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7866 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7867 (alpha*-dec-*vms*): Likewise.
7868 (arm*-*-freebsd*): Append to tmake_file.
7869 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7870 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7871 arm*-*-linux-*eabi.
7872 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7873 tmake_file for arm*-*-symbianelf*.
7874 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7875 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7876 cris/t-linux.
7877 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7878 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7879 pa/t-slibgcc-dwarf-ver to tmake_file.
7880 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7881 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7882 (hppa*64*-*-hpux11*): Likewise.
7883 (hppa[12]*-*-hpux11*): Likewise.
7884 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7885 i386/t-crtpc, i386/t-crtfm.
7886 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7887 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7888 to tmake_file.
7889 Add i386/t-cygwin to tmake_file.
7890 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7891 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7892 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7893 to tmake_file.
7894 Add i386/t-mingw32 to tmake_file.
7895 (x86_64-*-mingw*): Likewise.
7896 (ia64*-*-freebsd*): Append to tmake_file.
7897 (ia64*-*-linux*): Append to tmake_file.
7898 Replace ia64/t-glibc by ia64/t-linux.
7899 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7900 system libunwind.
7901 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7902 t-slibgcc-hpux to tmake_file.
7903 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7904 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7905 (m32rle-*-linux*): Likewise.
7906 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7907 sjlj exceptions.
7908 (microblaze*-linux*): New case.
7909 Append to tmake_file, add t-slibgcc-nolc-override.
7910 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7911 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7912 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7913 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7914 rs6000/t-slibgcc-aix to tmake_file.
7915 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7916 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7917 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7918 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7919 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7920 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7921 sh*-*-linux*.
7922 (sparc-*-linux*): Append to tmake_file for *-leon*.
7923 Add sparc/t-linux to tmake_file for non-Leon targets.
7924 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7925 (tic6x-*-uclinux): New case.
7926 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7927 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7928 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7929 (am33_2.0-*-linux*): Append to tmake_file.
7930 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7931 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7932 x86_64-*-kfreebsd*-gnu.
7933 Add i386/t-linux to tmake_file.
7934
7935 2011-10-28 Ian Lance Taylor <iant@google.com>
7936
7937 * config/i386/morestack.S: Correct CFI information to do proper
7938 returns throughout function. In 32-bit mode, save %ebx so that it
7939 is restored on unwind.
7940
7941 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7942
7943 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7944 case where B3 isn't the return register.
7945
7946 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7947 logic for doubleword pops.
7948
7949 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
7950
7951 * config/rs6000/t-freebsd: Add wildcard.
7952
7953 2011-10-21 Paul Brook <paul@codesourcery.com>
7954
7955 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7956
7957 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
7958 Eric Botcazou <ebotcazou@adacore.com>
7959
7960 PR target/50737
7961 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7962 fs->signal_frame to 1.
7963
7964 2011-10-07 Ian Lance Taylor <iant@google.com>
7965
7966 * generic-morestack-thread.c: #include <errno.h>.
7967
7968 2011-10-07 Ian Lance Taylor <iant@google.com>
7969
7970 PR target/46093
7971 * generic-morestack.c (__generic_morestack): Make sure the segment
7972 is large enough for both the stack frame and the copied
7973 parameters.
7974
7975 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7976
7977 PR bootstrap/49804
7978 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7979 extra_parts.
7980
7981 2011-09-28 Nick Clifton <nickc@redhat.com>
7982
7983 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7984 64-bit doubles are not enabled.
7985 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7986 and floatunsisf functions.
7987
7988 2011-09-13 Paul Brook <paul@codesourcery.com>
7989
7990 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7991 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7992 * unwind-arm-common.inc: New file.
7993 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7994 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7995 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7996 * config/c6x/libunwind.S: New file.
7997 * config/c6x/pr-support.c: New file.
7998 * config/c6x/unwind-c6x.c: New file.
7999 * config/c6x/unwind-c6x.h: New file.
8000 * config/c6x/t-c6x-elf: New file.
8001
8002 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
8003
8004 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8005 (ASM_DIVZERO): Ditto.
8006 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8007
8008 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8009
8010 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8011
8012 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8013
8014 PR target/50090
8015 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8016 instead of an assembly one.
8017
8018 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
8019
8020 PR bootstrap/50047
8021 * Makefile.in (install-unwind_h): Create
8022 $(gcc_objdir)/include/unwind.h atomically.
8023
8024 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8025
8026 * Makefile.in (install-unwind_h): Remove destination file first.
8027
8028 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8029
8030 * sync.c: New file.
8031 * config/mips/t-mips16: New file.
8032 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8033 (mips*-*-linux*): Likewise.
8034 (mips*-sde-elf*): Likewise.
8035 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8036 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8037 Add mips/t-mips16 to tmake_file.
8038 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8039 (mips-*-elf*): Likewise.
8040 (mips64-*-elf*): Likewise.
8041 (mips64orion-*-elf*): Likewise.
8042 (mips*-*-rtems*): Likewise.
8043 (mipstx39-*-elf*): Likewise.
8044 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8045 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8046 LIBGCC_SYNC_CFLAGS.
8047 Use $(srcdir) to refer to sync.c.
8048 Use $<.
8049 ($(libgcc-sync-funcs-o)): Likewise.
8050 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8051 ($(libgcc-sync-funcs-s-o)): Likewise.
8052
8053 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8054
8055 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8056 t-libunwind.
8057
8058 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8059
8060 PR other/48007
8061 * config/i386/value-unwind.h: New.
8062
8063 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8064
8065 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8066 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8067 Add to tmake_file rather than overriding it.
8068
8069 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8070
8071 * config/t-softfp: Remove.
8072 * soft-fp: Moved from ../gcc/config.
8073 * soft-fp/README: Remove t-softfp reference.
8074 * soft-fp/t-softfp: Move to config/t-softfp.
8075 (softfp_machine_header): Remove.
8076 (softfp_file_list): Remove config subdir.
8077 (soft-fp-objects): New variable.
8078 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8079 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8080 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8081 * config/t-softfp-excl: New file.
8082 * config/t-softfp-sfdf: New file.
8083 * config/t-softfp-tf: New file.
8084 * config/no-sfp-machine.h: New file.
8085 * config/arm/sfp-machine.h: New file.
8086 * config/arm/t-softfp: New file.
8087 * config/c6x/sfp-machine.h: New file.
8088 * config/i386/32/t-fprules-softfp: Rename to ...
8089 * config/i386/32/t-softfp: ... this.
8090 (tifunctions, LIB2ADD): Remove.
8091 (softfp_int_modes): Override.
8092 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8093 subdir.
8094 * config/i386/64/eqtf2.c: Likewise.
8095 * config/i386/64/getf2.c: Likewise.
8096 * config/i386/64/letf2.c: Likewise.
8097 * config/ia64/sft-machine.h: New file.
8098 * config/ia64/t-fprules-softfp: Rename to ...
8099 * config/ia64/t-softfp: ... this.
8100 * config/lm32/sfp-machine.h: New file.
8101 * config/moxie/t-moxie-softfp: Remove.
8102 * config/rs6000/ibm-ldouble-format: New file.
8103 * config/rs6000/ibm-ldouble.c: New file.
8104 * config/rs6000/libgcc-ppc-glibc.ver: New file
8105 * config/rs6000/libgcc-ppc64.ver: New file
8106 * config/rs6000/sfp-machine.h: New file.
8107 * config/rs6000/t-freebsd: New file.
8108 * config/rs6000/t-ibm-ldouble: New file.
8109 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8110 libgcc-ppc-glibc.ver.
8111 * config/rs6000/t-linux64: New file.
8112 * config/rs6000/t-ppccomm (LIB2ADD): Add
8113 $(srcdir)/config/rs6000/ibm-ldouble.c.
8114 * config/rs6000/t-ppccomm-ldbl: New file.
8115 * config/score/sfp-machine.h: New file.
8116 * config.host (sfp_machine_header): Explain.
8117 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8118 t-softfp to tmake_file.
8119 (arm*-*-uclinux*): Likewise.
8120 (arm*-*-ecos-elf): Likewise.
8121 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8122 (arm*-*-rtems*): Likewise.
8123 (arm*-*-elf): Likewise.
8124 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8125 in tmake_file.
8126 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8127 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8128 (lm32-*-uclinux*): Likewise.
8129 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8130 t-softfp-excl, t-softfp.
8131 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8132 (powerpc64-*-darwin*): Likewise.
8133 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8134 to tmake_file.
8135 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8136 tmake_file.
8137 (powerpc-*-eabisim*): Likewise.
8138 (powerpc-*-elf*): Likewise.
8139 (powerpc-*-eabialtivec*): Likewise.
8140 (powerpc-xilinx-eabi*): Likewise.
8141 (powerpc-*-rtems*): Likewise.
8142 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8143 t-softfp-excl, t-softfp to tmake_file.
8144 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8145 rs6000/t-ppccomm-ldbl to tmake_file.
8146 (powerpcle-*-elf*): Likewise.
8147 (powerpcle-*-eabisim*): Likewise.
8148 (powerpcle-*-eabi*): Likewise.
8149 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8150 rs6000/t-ibm-ldouble to tmake_file.
8151 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8152 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8153 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8154 (tic6x-*-*): Likewise.
8155 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8156 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8157 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8158 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8159 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8160 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8161 t-softfp to tmake_file.
8162 * configure.ac (sfp_machine_header): Provide default if unset.
8163 Substitute.
8164 Link sfp-machine.h to config/$sfp_machine_header.
8165 * configure: Regenerate.
8166
8167 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8168
8169 * Makefile.in (double_type_size, long_double_type_size): Set.
8170 Remove $(fpbit-in-libgcc) support.
8171 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8172 (fpbit-src): New variable.
8173 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8174 Compile with -DFLOAT $(FPBIT_CFLAGS).
8175 Use $<.
8176 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8177 Compile with $(FPBIT_CFLAGS).
8178 Use $<.
8179 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8180 Compile with -DFLOAT $(TPBIT_CFLAGS).
8181 Use $<.
8182 * configure.ac (double_type_size, long_double_type_size):
8183 Determine and substitute.
8184 * configure: Regenerate.
8185 * fp-bit.c, fp-bit.h: New files.
8186 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8187 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8188 * config/mips/t-mips: New file.
8189 * config/mips/t-sdemtk: New file.
8190 * config/rs6000/ppc64-fp.c: New file.
8191 * config/rs6000/t-darwin (LIB2ADD): Add
8192 $(srcdir)/config/rs6000/ppc64-fp.c.
8193 * config/rs6000/t-ppc64-fp: New file.
8194 * config/rx/rx-lib.h: New file.
8195 * config/rx/t-rx (FPBIT): Set to true.
8196 ($(gcc_objdir)/fp-bit.c): Remove.
8197 (DPBIT): Set to true only with -m64bit-doubles.
8198 ($(gcc_objdir)/dp-bit.c): Remove.
8199 * config/sparc/t-softfp: Remove.
8200 * config/spu/t-elf: New file.
8201 * config/t-fdpbit, config/t-fpbit: New files.
8202 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8203 (mips*-*-*): Likewise.
8204 (arm-wrs-vxworks): Likewise.
8205 (arm*-*-freebsd*): Likewise.
8206 (avr-*-rtems*): Add t-fpbit to tmake_file.
8207 (avr-*-*): Likewise.
8208 (bfin*-elf*): Add t-fdpbit to tmake_file.
8209 (bfin*-uclinux*): Likewise.
8210 (bfin*-linux-uclibc*): Likewise.
8211 (bfin*-rtems*): New case.
8212 Add t-fdpbit to tmake_file.
8213 (bfin*-*): Add t-fdpbit to tmake_file.
8214 (crisv32-*-elf): Likewise.
8215 (cris-*-linux*): Likewise.
8216 (fr30-*-elf): Likewise.
8217 (frv-*-elf, frv-*-*linux*): Likewise.
8218 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8219 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8220 (m32r-*-elf*): Likewise.
8221 (m32rle-*-elf*): Likewise.
8222 (m32r-*-linux*): Likewise.
8223 (m32rle-*-linux*): Likewise.
8224 (mcore-*-elf): Add t-fdpbit to tmake_file.
8225 (microblaze*-*-*): Likewise.
8226 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8227 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8228 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8229 Fix typo.
8230 Add mips/t-tpbit to tmake-file.
8231 (mips*-*-linux*): Fix typo.
8232 (mips*-sde-elf*): New case
8233 Add mips/t-sdemtk unless using newlib.
8234 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8235 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8236 (mn10300-*-*): Likewise.
8237 (pdp11-*-*): Likewise.
8238 (picochip-*-*): Add t-fpbit to tmake_file.
8239 (powerpc-*-eabisimaltivec*): Likewise.
8240 (powerpc-*-eabisim*): Likewise.
8241 (powerpc-*-elf*): Likewise.
8242 (powerpc-*-eabialtivec*): Likewise.
8243 (powerpc-xilinx-eabi*): New case.
8244 Add t-fdpbit to tmake_file.
8245 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8246 (powerpc-*-rtems*): Likewise.
8247 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8248 tmake_file.
8249 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8250 tmake_file.
8251 (powerpc-*-lynxos*): Likewise.
8252 (powerpcle-*-elf*): Likewise.
8253 (powerpcle-*-eabisim*): Likewise.
8254 (powerpcle-*-eabi*): Likewise.
8255 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8256 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8257 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8258 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8259 (rx-*-elf): Add t-fdpbit to tmake_file.
8260 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8261 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8262 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8263 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8264 sh*-*-netbsd*.
8265 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8266 (sh-wrs-vxworks): Likewise.
8267 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8268 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8269 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8270 (sparc64-*-rtems*): ... new case.
8271 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8272 (spu-*-elf*): Likewise.
8273 Add spu/t-elf to tmake_file.
8274 (v850*-*-*): Add t-fdpbit to tmake_file.
8275 (xstormy16-*-elf): Likewise.
8276 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8277 (mep*-*-*): Likewise.
8278
8279 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8280
8281 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8282 variables.
8283 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8284 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8285 (install-unwind_h): New target.
8286 (all): Depend on it.
8287 * config.host (unwind_header): New variable.
8288 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8289 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8290 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8291 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8292 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8293 Set unwind_header.
8294 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8295 Set unwind_header.
8296 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8297 arm*-*-eabi*.
8298 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8299 Set unwind_header.
8300 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8301 (ia64*-*-freebsd*): Likewise.
8302 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8303 tmake_file.
8304 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8305 $with_system_libunwind.
8306 (ia64*-*-hpux*): Set tmake_file.
8307 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8308 (picochip-*-*): Set tmake_file.
8309 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8310 md_unwind_header.
8311 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8312 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8313 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8314 (xtensa*-*-elf*): Set tmake_file.
8315 (xtensa*-*-linux*): Likewise.
8316 * configure.ac: Include ../config/unwind_ipinfo.m4.
8317 Call GCC_CHECK_UNWIND_GETIPINFO.
8318 Link unwind.h to $unwind_header.
8319 * configure: Regenerate.
8320 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8321 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8322 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8323 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8324 * config/unwind-dw2-fde-darwin.c: New file.
8325 * config/arm/libunwind.S, config/arm/pr-support.c,
8326 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8327 config/arm/unwind-arm.h,: New files.
8328 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8329 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8330 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8331 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8332 config/ia64/unwind-ia64.h: New files.
8333 * config/picochip/t-picochip: New file.
8334 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8335 files.
8336 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8337 * config/s390/t-tpf (LIB2ADDEH): Remove.
8338 * config/t-darwin (LIB2ADDEH): Set.
8339 * config/t-eh-dw2-dip: New file.
8340 * config/t-libunwind, config/t-libunwind-elf: New files.
8341 * config/t-sol2 (LIB2ADDEH): Remove.
8342 * config/xtensa/t-xtensa: New file.
8343
8344 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8345
8346 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8347 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8348 long long to check rt_sigreturn syscall.
8349
8350 2011-08-02 Alan Modra <amodra@gmail.com>
8351
8352 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8353 Restore for indirect call bcrtl from correct stack slot, and only
8354 if cfa+40 isn't valid.
8355
8356 2011-08-01 Julian Brown <julian@codesourcery.com>
8357
8358 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8359 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8360 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8361
8362 2011-08-01 Julian Brown <julian@codesourcery.com>
8363
8364 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8365 (libgcc-std.ver.in): Use above.
8366 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8367 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8368 throughout file.
8369 * config/t-fixedpoint-gnu-prefix: New file.
8370 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8371 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8372 instead of __PFX__.
8373
8374 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8375
8376 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8377 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8378 for x86-64. Properly check __x86_64__ and __LP64__.
8379
8380 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8381
8382 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8383 version.
8384 (_FP_WS_TYPE): Likewise.
8385 (_FP_I_TYPE): Likewise.
8386
8387 2011-07-28 Alan Modra <amodra@gmail.com>
8388
8389 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8390 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8391 in a plt call stub. Do restore r2 if stopped on bctrl.
8392
8393 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8394
8395 * config.host (i[3456x]86-*-netware*): Remove.
8396 * config/i386/netware-crt0.c, config/i386/t-nwld,
8397 config/i386/t-slibgcc-nwld: Remove.
8398
8399 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8400
8401 * config.host: Handle tic6x-*-*.
8402 * config/c6x/c6x-abi.h: New file.
8403
8404 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8405
8406 * config/i386/crtprec.c: New file.
8407 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8408 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8409 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8410 (x86_64-*-darwin*): Likewise.
8411 (i[34567]86-*-solaris2*: Likewise.
8412
8413 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8414
8415 * config/alpha/crtfastmath.c: New file.
8416 * config/i386/crtfastmath.c: New file.
8417 * config/ia64/crtfastmath.c: New file.
8418 * config/mips/crtfastmath.c: New file.
8419 * config/sparc/crtfastmath.c: New file.
8420
8421 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8422 crtfastmath.c.
8423 Add -frandom-seed=gcc-crtfastmath.
8424 * config/alpha/t-crtfm: Remove.
8425 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8426 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8427
8428 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8429 (alpha*-dec-osf5.1*): Likewise.
8430 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8431 Add crtfastmath.o to extra_parts.
8432 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8433 Add crtfastmath.o to extra_parts.
8434 (x86_64-*-darwin*): Likewise.
8435 (x86_64-*-mingw*): Likewise.
8436 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8437 (ia64*-*-freebsd*): Likewise.
8438 (ia64*-*-linux*): Likewise.
8439 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8440 Add crtfastmath.o to extra_parts.
8441
8442 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8443
8444 * config/darwin-crt3.o: New file.
8445 * config/rs6000/darwin-crt2.c: New file.
8446 * config/t-darwin: New file.
8447 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8448 (crt2.o): New rule.
8449 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8450 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8451 (powerpc64-*-darwin*): Likewise.
8452
8453 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8454
8455 * config/i386/netware-crt0.c: New file.
8456 * config/i386/t-nwld: Rename to ...
8457 * config/i386/t-slibgcc-nwld: ... this.
8458 * config/i386/t-nwld: New file.
8459 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8460 tmake_file.
8461 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8462 extra_parts.
8463
8464 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8465
8466 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8467 i386/t-crtstuff.
8468 * configure: Regenerate.
8469
8470 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8471
8472 * dfp-bit.c, dfp-bit.h: New files.
8473 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8474 variables.
8475 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8476 ($(d64pbit-o)): Likewise.
8477 ($(d128pbit-o)): Likewise.
8478 * config/t-dfprules: New file.
8479 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8480 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8481 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8482 (x86_64-*-linux*): Likewise.
8483 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8484 (i[34567]86-*-cygwin*): Likewise.
8485 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8486 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8487
8488 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8489
8490 * Makfile.in (LIBGCOV): New variable.
8491 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8492 * libgcov.c: New file.
8493
8494 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8495
8496 * fixed-bit.c, fixed-bit.h: New files.
8497 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8498 refer to fixed-bit.c.
8499
8500 2011-07-07 Joseph Myers <joseph@codesourcery.com>
8501
8502 * config.host (*local*): Remove.
8503
8504 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8505
8506 PR target/39150
8507 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8508 like i?86-*-solaris2.1[0-9]*.
8509 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8510 * configure.ac (i?86-*-solaris2*): Likewise.
8511 * configure: Regenerate.
8512
8513 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
8514
8515 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8516 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8517 md_unwind_header by splitting out of...
8518 (i[34567]86-*-linux*): ... this.
8519 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8520 Remove md_unwind_header by splitting out of...
8521 (x86_64-*-linux*): ... this.
8522
8523 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
8524
8525 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8526
8527 2011-06-28 Nick Clifton <nickc@redhat.com>
8528
8529 * config.host: Recognize all V850 variants.
8530
8531 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
8532
8533 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8534
8535 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8536
8537 * shared-object.mk (c_flags-$o): Save c_flags.
8538 ($(base)$(objext)): Use it.
8539 ($(base)_s$(objext)): Likewise.
8540
8541 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8542
8543 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8544 * libgcc-std.ver.in (GCC_4.7.0): New section.
8545
8546 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
8547
8548 PR target/49313
8549 PR target/29524
8550 * config/avr/t-avr: Fix line endings.
8551 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8552 _parityXX2.
8553
8554 2011-06-14 Olivier Hainque <hainque@adacore.com>
8555 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8556
8557 * config/mips/irix6-unwind.h: New file.
8558 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8559
8560 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8561
8562 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8563 (sparc64_fallback_frame_state): Use it.
8564 (sparc64_frob_update_context): Further adjust context.
8565 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8566 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8567 * config/sparc/sol2-cn.S: Likewise.
8568
8569 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8570
8571 * enable-execute-stack-empty.c: New file.
8572 * enable-execute-stack-mprotect.c: New file.
8573 * config/i386/enable-execute-stack-mingw32.c: New file.
8574 * config.host (enable_execute_stack): New variable.
8575 Select appropriate variants.
8576 * configure.ac: Link enable-execute-stack.c to
8577 $enable_execute_stack.
8578 * configure: Regenerate.
8579 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8580 (lib2funcs): Remove _enable_execute_stack.
8581
8582 2011-06-09 David S. Miller <davem@davemloft.net>
8583 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8584
8585 * config.host (sparc-*-linux*): Correct md_unwind_header
8586 filename.
8587 (s390x-ibm-tpf*): Fix typo.
8588
8589 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8590
8591 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8592 Add crtfastmath.o to extra_parts.
8593 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8594 mips/t-crtfm.
8595 * config/mips/t-crtfm: Remove.
8596
8597 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8598
8599 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8600
8601 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8602
8603 * config.host (sh*-*-linux*): Fix typo.
8604
8605 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8606
8607 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8608 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8609 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8610 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8611 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8612 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8613 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8614 Wrap in !__MINGW64__.
8615 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8616 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8617 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8618 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8619 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8620 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8621 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8622 Wrap in !__LP64__.
8623 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8624 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8625 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8626 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8627 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8628 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8629 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8630 * config/no-unwind.h: New file.
8631 * config.host (md_unwind_header): Document.
8632 Define.
8633 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8634 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8635 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8636 hppa[12]*-*-hpux11*): Set md_unwind_header.
8637 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8638 Set md_unwind_header.
8639 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8640 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8641 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8642 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8643 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8644 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8645 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8646 md_unwind_header.
8647 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8648 * configure: Regenerate.
8649
8650 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8651
8652 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8653 Set tmake_file, extra_parts.
8654 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8655 Remove O32 support.
8656 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8657 Remove O32 support.
8658 * config/mips/t-irix6: New file.
8659 * config/mips/t-slibgcc-irix: New file.
8660
8661 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8662
8663 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8664 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8665
8666 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8667
8668 * configure.ac (target_thread_file): Determine thread model.
8669 * configure: Regenerate.
8670 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8671 * config/alpha/t-alpha: New file.
8672 * config/alpha/t-crtfm: Use $<.
8673 * config/alpha/t-ieee: New file.
8674 * config/alpha/t-osf-pthread: New file.
8675 * config/alpha/t-slibgcc-osf: New file.
8676 * config/alpha/libgcc-osf5.ver: New file.
8677
8678 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8679
8680 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8681 tmake_file.
8682 Add crtfastmath.o to extra_parts.
8683
8684 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8685
8686 * config/gmon-sol2.c: Reindent.
8687 Cleanup comments.
8688 Remove, correct casts.
8689 Use STDERR_FILENO, NULL.
8690 (BASEADDRESS): Remove.
8691 (minbrk): Remove.
8692 (errno, sbrk): Remove declarations.
8693 (monstartup) [hp300]: Remove.
8694 (mcount): Remove.
8695
8696 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8697
8698 * Makefile.in (cpu_type): Define.
8699 * config.host (i[34567]86-*-rtems*): Handle it.
8700 (i[34567]86-*-solaris2*): Move body ...
8701 (*-*-solaris2*): ... here.
8702 New case, generalize.
8703 (sparc-*-elf*): Handle it.
8704 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8705 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8706 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8707 Fold into ...
8708 (sparc*-*-solaris2*): ... this.
8709 New case.
8710 (sparc64-*-elf*): Handle it.
8711 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8712 Merge ../gcc/config/i386/gmon-sol2.c.
8713 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8714 Use C comments.
8715 Merge ../gcc/config/i386/sol2-gc1.asm.
8716 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8717 Use C comments.
8718 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8719 Use C comments.
8720 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8721 * config/i386/t-crtstuff: New file.
8722 * config/i386/t-softfp: New file.
8723 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8724 $(T)crti.o, $(T)crtn.o): Remove.
8725 (gcrt1.o): New rule.
8726 (TARGET_LIBGCC2_CFLAGS): Remove.
8727 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8728 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8729 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8730 * config/sparc/t-sol2: New file.
8731 * config/sparc/t-crtfm: Move to ...
8732 * config/t-crtfm: ... this.
8733 Use $(cpu_type), $<.
8734 * config/t-crtin: New file.
8735 * config/sparc/t-softfp: New file.
8736 * config/sparc/t-softmul: New file.
8737 * config/t-rtems: New file.
8738 * config/t-slibgcc: New file.
8739 * config/t-slibgcc-elf-ver: New file.
8740 * config/t-slibgcc-gld: New file.
8741 * config/t-slibgcc-sld: New file.
8742 * config/t-sol2: New file.
8743 * configure.ac: Include ../config/lib-ld.m4.
8744 Call AC_LIB_PROG_LD_GNU.
8745 Substitute cpu_type.
8746 * configure: Regenerate.
8747
8748 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8749
8750 PR bootstrap/49173
8751 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8752 libgcc-std.ver in the build directory.
8753 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8754 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8755
8756 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8757
8758 * libgcc-std.ver.in: New file.
8759 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8760 variables.
8761 (libgcc-std.ver): New rule.
8762 * config/t-gnu-prefix: New file.
8763
8764 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8765
8766 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8767
8768 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8769
8770 * config/i386/darwin-lib.h: New file.
8771
8772 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8773
8774 * config/arm/symbian-lib.h: New.
8775
8776 2011-05-04 Chris Demetriou <cgd@google.com>
8777
8778 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8779 (__x86.get_pc_thunk.bx): ...this.
8780 (__morestack): Adjust for rename, remove undef of __i686.
8781
8782 2011-05-03 Chris Demetriou <cgd@google.com>
8783
8784 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8785
8786 2011-03-22 Joseph Myers <joseph@codesourcery.com>
8787
8788 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8789 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8790 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8791 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8792 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8793 Remove cases.
8794
8795 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
8796
8797 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8798 Adjust copyright year.
8799
8800 2011-03-07 Ian Lance Taylor <iant@google.com>
8801
8802 * generic-morestack.c (__splitstack_find): Adjust returned stack
8803 pointer to include all registers pushed by __morestack.
8804
8805 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8806
8807 PR target/40125
8808 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8809 (toolexecdir): Calculate and AC_SUBST.
8810 (toolexeclibdir): Likewise.
8811 * Makefile.in (target_noncanonical): Import.
8812 (toolexecdir): Likewise.
8813 (toolexeclibdir): Likewise.
8814 * configure: Regenerate.
8815
8816 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8817
8818 PR target/46040
8819 * config/arm/bpabi.h: Rename to...
8820 * config/arm/bpabi-lib.h: ...this.
8821
8822 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8823
8824 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8825 appropriate.
8826 * configure: Regenerate.
8827
8828 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8829
8830 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8831 __FLOAT_WORD_ORDER__.
8832 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8833 Delete.
8834
8835 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8836
8837 PR other/46202
8838 * Makefile.in (install-strip): New phony target.
8839
8840 2010-11-07 Ian Lance Taylor <iant@google.com>
8841
8842 PR target/46089
8843 * config/i386/morestack.S (__morestack_large_model): New
8844 function.
8845
8846 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8847
8848 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8849 Delete.
8850 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8851
8852 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8853
8854 * config/arm/bpabi.h: New file.
8855 * config/frv/frv-abi.h: New file.
8856
8857 2010-10-01 Ian Lance Taylor <iant@google.com>
8858
8859 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8860 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8861
8862 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8863
8864 PR target/45858
8865 * config.host: Add the missing `$'.
8866
8867 2010-09-30 Michael Eager <eager@eagercon.com>
8868
8869 * config.host: Add microblaze*-*-*.
8870 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8871 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8872 udivsi3.asm,umodsi3.asm}: New.
8873
8874 2010-09-28 Ian Lance Taylor <iant@google.com>
8875
8876 * configure.ac: Adjust CFI test to test assembler directly rather
8877 than checking gcc preprocessor macro.
8878 * configure: Rebuild.
8879
8880 2010-09-27 Ian Lance Taylor <iant@google.com>
8881
8882 * configure.ac: Test whether assembler supports CFI directives.
8883 * config.host: Only add t-stack and i386/t-stack-i386 to
8884 tmake_file if libgcc_cv_cfi is "yes".
8885 * configure: Rebuild.
8886
8887 2010-09-27 Ian Lance Taylor <iant@google.com>
8888
8889 * generic-morestack.h: New file.
8890 * generic-morestack.c: New file.
8891 * generic-morestack-thread.c: New file.
8892 * config/i386/morestack.S: New file.
8893 * config/t-stack: New file.
8894 * config/i386/t-stack-i386: New file.
8895 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8896 i386/t-stack-i386 to tmake_file.
8897
8898 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8899
8900 * Makefile.in (libgcc-extra-parts): Check for static archives and
8901 invoke ranlib after installing them.
8902 (gcc-extra-parts): Likewise.
8903 (install-leaf): Likewise.
8904
8905 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8906
8907 * configure: Regenerated.
8908
8909 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
8910
8911 * configure: Regenerated.
8912
8913 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8914 Andrew Pinski <pinskia@gmail.com>
8915
8916 PR target/40959
8917 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8918
8919 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8920
8921 PR target/45524
8922 * configure: Regenerated.
8923
8924 2010-09-06 Andreas Schwab <schwab@redhat.com>
8925
8926 * configure: Regenerate.
8927
8928 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8929
8930 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8931 64bit targets.
8932 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8933 for 64bit targets.
8934
8935 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8936 Iain Sandoe <iains@gcc.gnu.org>
8937
8938 PR target/45476
8939 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8940 LIB2FUNCS_EXCLUDE functions.
8941
8942 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8943
8944 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8945 Include dfp.m4.
8946 * configure: Regenerate.
8947
8948 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
8949
8950 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8951 i386/t-freebsd to tmake_file.
8952 * config/i386/t-freebsd: New file.
8953 * config/i386/libgcc-bsd.ver: New file.
8954
8955 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8956
8957 * config.host (powerpc*-eabispe*): Set tmake_file.
8958 (powerpc*-eabi*): Likewise.
8959 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8960 crtbeginS, crtendS, crtbeginT.
8961
8962 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
8963
8964 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8965 to tmake_file. Add crtfastmath.o to extra_parts.
8966 * config/mips/t-crtfm: New.
8967
8968 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
8969
8970 * config.host (sparc64-*-rtems*): New target.
8971
8972 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8973
8974 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8975 assembler syntax.
8976
8977 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8978
8979 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8980
8981 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8982
8983 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8984 alpha-dec-osf5.0* support.
8985
8986 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
8987
8988 * config.host: Add lm32-*-rtems*.
8989
8990 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8991 Uros Bizjak <ubizjak@gmail.com>
8992
8993 PR target/39048
8994 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8995 like other remaining 32-bit x86 OSes.
8996 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8997 assembler syntax.
8998 * config/i386/libgcc-sol2.ver: New file.
8999 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9000
9001 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
9002
9003 PR c/43553
9004 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9005 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9006 is used and substitute set_use_emutls.
9007 * configure: Regenerated.
9008
9009 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9010
9011 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9012
9013 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9014
9015 PR target/38085
9016 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9017 MULTILIB_CFLAGS.
9018 ($(T)gcrt1.o): Likewise.
9019 ($(T)crt1.o): Likewise.
9020 ($(T)crti.o): Likewise.
9021 ($(T)crtn.o): Likewise.
9022
9023 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9024
9025 PR other/42980
9026 * Makefile.in (install): Use $(MAKE) string in rule, for
9027 parallel make.
9028
9029 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9030
9031 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9032 * config/mmix/t-mmix: New file.
9033 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9034
9035 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9036
9037 PR java/41991
9038 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9039 SHLIB_MAPFILES.
9040
9041 2010-01-04 Anthony Green <green@moxielogic.com>
9042
9043 * config/moxie/crti.asm, config/moxie/crtn.asm,
9044 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9045 config/moxie/t-moxie: New files.
9046 * config.host: Add t-moxie-softfp reference.
9047
9048 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
9049
9050 PR other/39888
9051 * config/t-slibgcc-darwin: Fix embedded rpaths for
9052 --enable-version-specific-runtime-libs, build extension stub
9053 libs exposing features available from current libgcc_s.
9054
9055 2009-11-11 Jon Beniston <jon@beniston.com>
9056
9057 * config.host: Add lm32 targets.
9058 * config/lm32: New directory.
9059 * config/lm32/libgcc_lm32.h: New file.
9060 * config/lm32/_mulsi3.c: New file.
9061 * config/lm32/_udivmodsi4.c: New file.
9062 * config/lm32/_divsi3.c: New file.
9063 * config/lm32/_modsi3.c: New file.
9064 * config/lm32/_udivsi3.c: New file.
9065 * config/lm32/_umodsi3.c: New file.
9066 * config/lm32/_lshrsi3.S: New file.
9067 * config/lm32/_ashrsi3.S: New file.
9068 * config/lm32/_ashlsi3.S: New file.
9069 * config/lm32/crti.S: New file.
9070 * config/lm32/crtn.S: New file.
9071 * config/lm32/t-lm32: New file.
9072 * config/lm32/t-elf: New file.
9073 * config/lm32/t-uclinux: New file.
9074
9075 2009-10-26 Nick Clifton <nickc@redhat.com>
9076
9077 * config.host: Add support for RX target.
9078 * config/rx: New directory.
9079 * config/rx/rx-abi-functions.c: New file. Supplementary
9080 functions for libgcc to support the RX ABI.
9081 * config/rx/rx-abi.h: New file. Supplementary header file for
9082 libgcc RX ABI functions.
9083 * config/rx/t-rx: New file: Makefile fragment for building
9084 libgcc for the RX.
9085
9086 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
9087
9088 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9089 constraint of y0 to "g".
9090
9091 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9092
9093 * config.host: Include the s390 makefile fragments.
9094 * config/s390/32/_fixdfdi.c: New file.
9095 * config/s390/32/_fixsfdi.c: New file.
9096 * config/s390/32/_fixtfdi.c: New file.
9097 * config/s390/32/_fixunsdfdi.c: New file.
9098 * config/s390/32/_fixunssfdi.c: New file.
9099 * config/s390/32/_fixunstfdi.c: New file.
9100 * config/s390/32/t-floattodi: New file.
9101 * config/s390/libgcc-glibc.ver: New file.
9102 * config/s390/t-crtstuff: New file.
9103 * config/s390/t-linux: New file.
9104 * config/s390/t-tpf: New file.
9105
9106 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9107
9108 * configure.ac (AC_PREREQ): Bump to 2.64.
9109
9110 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9111
9112 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9113
9114 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9115
9116 * configure: Regenerate.
9117
9118 2009-08-09 Douglas B Rupp <rupp@gnat.com>
9119
9120 * config.host (ia64-hp-*vms*): New target.
9121 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9122 with ia64-hp-*vms*.
9123
9124 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9125
9126 * configure.ac: Add snippet for maintainer-mode.
9127 * configure: Regenerate.
9128 * Makefile.in (AUTOCONF, configure_deps): New variables.
9129 ($(srcdir)/configure)): New rule, active only with maintainer
9130 mode turned on.
9131
9132 2009-06-23 DJ Delorie <dj@redhat.com>
9133
9134 Add MeP port.
9135 * config.host: Add mep support.
9136
9137 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
9138
9139 * config.host: Add i386/${host_address}/t-fprules-softfp and
9140 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
9141
9142 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9143 for mingw targets.
9144 * config/i386/64/_multc3.c: Likewise.
9145 * config/i386/64/_powitf2.c: Likewise.
9146 * config/i386/64/eqtf2.c: Likewise.
9147 * config/i386/64/getf2.c: Likewise.
9148 * config/i386/64/letf2.c: Likewise.
9149 * config/i386/64/letf2.c: Likewise.
9150 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9151 unsigned long long for x64 mingw targets.
9152 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9153 (_FP_I_TYPE): Define as long long for x64 mingw target.
9154
9155 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9156
9157 * config.host (vax-*-linux*): New.
9158
9159 2009-05-31 Anthony Green <green@moxielogic.com>
9160
9161 * config.host: Add moxie support.
9162 * config/moxie/t-moxie: New file.
9163
9164 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
9165
9166 * config.host: Add i386/${host_address}/t-fprules-softfp and
9167 t-softfp to tmake_file for i[34567]86-*-cygwin*.
9168
9169 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9170
9171 * config.host: Add i386/${host_address}/t-fprules-softfp to
9172 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9173
9174 2009-04-09 Nick Clifton <nickc@redhat.com>
9175
9176 * config/ia64/tf-signs.c: Change copyright header to refer to
9177 version 3 of the GNU General Public License with version 3.1
9178 of the GCC Runtime Library Exception and to point readers at
9179 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9180 web page.
9181 * config/i386/32/tf-signs.c: Likewise.
9182 * config/libbid/_addsub_dd.c: Likewise.
9183 * config/libbid/_addsub_sd.c: Likewise.
9184 * config/libbid/_addsub_td.c: Likewise.
9185 * config/libbid/_dd_to_df.c: Likewise.
9186 * config/libbid/_dd_to_di.c: Likewise.
9187 * config/libbid/_dd_to_sd.c: Likewise.
9188 * config/libbid/_dd_to_sf.c: Likewise.
9189 * config/libbid/_dd_to_si.c: Likewise.
9190 * config/libbid/_dd_to_td.c: Likewise.
9191 * config/libbid/_dd_to_tf.c: Likewise.
9192 * config/libbid/_dd_to_udi.c: Likewise.
9193 * config/libbid/_dd_to_usi.c: Likewise.
9194 * config/libbid/_dd_to_xf.c: Likewise.
9195 * config/libbid/_df_to_dd.c: Likewise.
9196 * config/libbid/_df_to_sd.c: Likewise.
9197 * config/libbid/_df_to_td.c: Likewise.
9198 * config/libbid/_di_to_dd.c: Likewise.
9199 * config/libbid/_di_to_sd.c: Likewise.
9200 * config/libbid/_di_to_td.c: Likewise.
9201 * config/libbid/_div_dd.c: Likewise.
9202 * config/libbid/_div_sd.c: Likewise.
9203 * config/libbid/_div_td.c: Likewise.
9204 * config/libbid/_eq_dd.c: Likewise.
9205 * config/libbid/_eq_sd.c: Likewise.
9206 * config/libbid/_eq_td.c: Likewise.
9207 * config/libbid/_ge_dd.c: Likewise.
9208 * config/libbid/_ge_sd.c: Likewise.
9209 * config/libbid/_ge_td.c: Likewise.
9210 * config/libbid/_gt_dd.c: Likewise.
9211 * config/libbid/_gt_sd.c: Likewise.
9212 * config/libbid/_gt_td.c: Likewise.
9213 * config/libbid/_isinfd128.c: Likewise.
9214 * config/libbid/_isinfd32.c: Likewise.
9215 * config/libbid/_isinfd64.c: Likewise.
9216 * config/libbid/_le_dd.c: Likewise.
9217 * config/libbid/_le_sd.c: Likewise.
9218 * config/libbid/_le_td.c: Likewise.
9219 * config/libbid/_lt_dd.c: Likewise.
9220 * config/libbid/_lt_sd.c: Likewise.
9221 * config/libbid/_lt_td.c: Likewise.
9222 * config/libbid/_mul_dd.c: Likewise.
9223 * config/libbid/_mul_sd.c: Likewise.
9224 * config/libbid/_mul_td.c: Likewise.
9225 * config/libbid/_ne_dd.c: Likewise.
9226 * config/libbid/_ne_sd.c: Likewise.
9227 * config/libbid/_ne_td.c: Likewise.
9228 * config/libbid/_sd_to_dd.c: Likewise.
9229 * config/libbid/_sd_to_df.c: Likewise.
9230 * config/libbid/_sd_to_di.c: Likewise.
9231 * config/libbid/_sd_to_sf.c: Likewise.
9232 * config/libbid/_sd_to_si.c: Likewise.
9233 * config/libbid/_sd_to_td.c: Likewise.
9234 * config/libbid/_sd_to_tf.c: Likewise.
9235 * config/libbid/_sd_to_udi.c: Likewise.
9236 * config/libbid/_sd_to_usi.c: Likewise.
9237 * config/libbid/_sd_to_xf.c: Likewise.
9238 * config/libbid/_sf_to_dd.c: Likewise.
9239 * config/libbid/_sf_to_sd.c: Likewise.
9240 * config/libbid/_sf_to_td.c: Likewise.
9241 * config/libbid/_si_to_dd.c: Likewise.
9242 * config/libbid/_si_to_sd.c: Likewise.
9243 * config/libbid/_si_to_td.c: Likewise.
9244 * config/libbid/_td_to_dd.c: Likewise.
9245 * config/libbid/_td_to_df.c: Likewise.
9246 * config/libbid/_td_to_di.c: Likewise.
9247 * config/libbid/_td_to_sd.c: Likewise.
9248 * config/libbid/_td_to_sf.c: Likewise.
9249 * config/libbid/_td_to_si.c: Likewise.
9250 * config/libbid/_td_to_tf.c: Likewise.
9251 * config/libbid/_td_to_udi.c: Likewise.
9252 * config/libbid/_td_to_usi.c: Likewise.
9253 * config/libbid/_td_to_xf.c: Likewise.
9254 * config/libbid/_tf_to_dd.c: Likewise.
9255 * config/libbid/_tf_to_sd.c: Likewise.
9256 * config/libbid/_tf_to_td.c: Likewise.
9257 * config/libbid/_udi_to_dd.c: Likewise.
9258 * config/libbid/_udi_to_sd.c: Likewise.
9259 * config/libbid/_udi_to_td.c: Likewise.
9260 * config/libbid/_unord_dd.c: Likewise.
9261 * config/libbid/_unord_sd.c: Likewise.
9262 * config/libbid/_unord_td.c: Likewise.
9263 * config/libbid/_usi_to_dd.c: Likewise.
9264 * config/libbid/_usi_to_sd.c: Likewise.
9265 * config/libbid/_usi_to_td.c: Likewise.
9266 * config/libbid/_xf_to_dd.c: Likewise.
9267 * config/libbid/_xf_to_sd.c: Likewise.
9268 * config/libbid/_xf_to_td.c: Likewise.
9269 * config/libbid/bid128.c: Likewise.
9270 * config/libbid/bid128_2_str.h: Likewise.
9271 * config/libbid/bid128_2_str_macros.h: Likewise.
9272 * config/libbid/bid128_2_str_tables.c: Likewise.
9273 * config/libbid/bid128_add.c: Likewise.
9274 * config/libbid/bid128_compare.c: Likewise.
9275 * config/libbid/bid128_div.c: Likewise.
9276 * config/libbid/bid128_fma.c: Likewise.
9277 * config/libbid/bid128_logb.c: Likewise.
9278 * config/libbid/bid128_minmax.c: Likewise.
9279 * config/libbid/bid128_mul.c: Likewise.
9280 * config/libbid/bid128_next.c: Likewise.
9281 * config/libbid/bid128_noncomp.c: Likewise.
9282 * config/libbid/bid128_quantize.c: Likewise.
9283 * config/libbid/bid128_rem.c: Likewise.
9284 * config/libbid/bid128_round_integral.c: Likewise.
9285 * config/libbid/bid128_scalb.c: Likewise.
9286 * config/libbid/bid128_sqrt.c: Likewise.
9287 * config/libbid/bid128_string.c: Likewise.
9288 * config/libbid/bid128_to_int16.c: Likewise.
9289 * config/libbid/bid128_to_int32.c: Likewise.
9290 * config/libbid/bid128_to_int64.c: Likewise.
9291 * config/libbid/bid128_to_int8.c: Likewise.
9292 * config/libbid/bid128_to_uint16.c: Likewise.
9293 * config/libbid/bid128_to_uint32.c: Likewise.
9294 * config/libbid/bid128_to_uint64.c: Likewise.
9295 * config/libbid/bid128_to_uint8.c: Likewise.
9296 * config/libbid/bid32_to_bid128.c: Likewise.
9297 * config/libbid/bid32_to_bid64.c: Likewise.
9298 * config/libbid/bid64_add.c: Likewise.
9299 * config/libbid/bid64_compare.c: Likewise.
9300 * config/libbid/bid64_div.c: Likewise.
9301 * config/libbid/bid64_fma.c: Likewise.
9302 * config/libbid/bid64_logb.c: Likewise.
9303 * config/libbid/bid64_minmax.c: Likewise.
9304 * config/libbid/bid64_mul.c: Likewise.
9305 * config/libbid/bid64_next.c: Likewise.
9306 * config/libbid/bid64_noncomp.c: Likewise.
9307 * config/libbid/bid64_quantize.c: Likewise.
9308 * config/libbid/bid64_rem.c: Likewise.
9309 * config/libbid/bid64_round_integral.c: Likewise.
9310 * config/libbid/bid64_scalb.c: Likewise.
9311 * config/libbid/bid64_sqrt.c: Likewise.
9312 * config/libbid/bid64_string.c: Likewise.
9313 * config/libbid/bid64_to_bid128.c: Likewise.
9314 * config/libbid/bid64_to_int16.c: Likewise.
9315 * config/libbid/bid64_to_int32.c: Likewise.
9316 * config/libbid/bid64_to_int64.c: Likewise.
9317 * config/libbid/bid64_to_int8.c: Likewise.
9318 * config/libbid/bid64_to_uint16.c: Likewise.
9319 * config/libbid/bid64_to_uint32.c: Likewise.
9320 * config/libbid/bid64_to_uint64.c: Likewise.
9321 * config/libbid/bid64_to_uint8.c: Likewise.
9322 * config/libbid/bid_b2d.h: Likewise.
9323 * config/libbid/bid_binarydecimal.c: Likewise.
9324 * config/libbid/bid_conf.h: Likewise.
9325 * config/libbid/bid_convert_data.c: Likewise.
9326 * config/libbid/bid_decimal_data.c: Likewise.
9327 * config/libbid/bid_decimal_globals.c: Likewise.
9328 * config/libbid/bid_div_macros.h: Likewise.
9329 * config/libbid/bid_dpd.c: Likewise.
9330 * config/libbid/bid_flag_operations.c: Likewise.
9331 * config/libbid/bid_from_int.c: Likewise.
9332 * config/libbid/bid_functions.h: Likewise.
9333 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9334 * config/libbid/bid_inline_add.h: Likewise.
9335 * config/libbid/bid_internal.h: Likewise.
9336 * config/libbid/bid_round.c: Likewise.
9337 * config/libbid/bid_sqrt_macros.h: Likewise.
9338
9339 2009-04-09 Jakub Jelinek <jakub@redhat.com>
9340
9341 * Makefile.in: Change copyright header to refer to version
9342 3 of the GNU General Public License and to point readers at the
9343 COPYING3 file and the FSF's license web page.
9344 * config.host: Likewise.
9345
9346 2009-04-07 Alan Modra <amodra@bigpond.net.au>
9347
9348 * config.host: Reorder and merge to match config.gcc change.
9349
9350 2009-04-03 Alan Modra <amodra@bigpond.net.au>
9351
9352 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9353
9354 2009-03-28 Joseph Myers <joseph@codesourcery.com>
9355
9356 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9357 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9358 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9359 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9360
9361 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
9362
9363 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9364 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9365
9366 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9367
9368 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9369 ia64/t-softfp-compat to tmake_file.
9370
9371 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9372
9373 * config/ia64/__divxf3.asm: New.
9374 * config/ia64/_fixtfdi.asm: Likewise.
9375 * config/ia64/_fixunstfdi.asm: Likewise.
9376 * config/ia64/_floatditf.asm: Likewise.
9377 * config/ia64/t-fprules-softfp: Likewise.
9378 * config/ia64/t-softfp-compat: Likewise.
9379 * config/ia64/tf-signs.c: Likewise.
9380
9381 2009-01-18 Ben Elliston <bje@au.ibm.com>
9382
9383 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9384
9385 2009-01-16 Ben Elliston <bje@au.ibm.com>
9386
9387 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9388 to tmake_file.
9389
9390 2009-01-13 Ben Elliston <bje@au.ibm.com>
9391
9392 * config/t-softfp: New file.
9393 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9394 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9395
9396 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
9397
9398 * config.host: Add m32r*-*-rtems*.
9399
9400 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
9401
9402 * config.host: Add m32c*-*-rtems*.
9403
9404 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9405
9406 PR bootstrap/33100
9407 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9408 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9409 * configure: Regenerate.
9410 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9411 tmake_file here from gcc/config.gcc.
9412 Move extra_parts here from gcc/config.gcc.
9413 * config/i386/t-sol2: Move here from gcc/config/i386.
9414 Use gcc_srcdir instead of srcdir.
9415
9416 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9417
9418 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9419 case.
9420
9421 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9422
9423 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9424
9425 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9426
9427 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9428
9429 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9430
9431 Add picoChip port.
9432 * config.host: Add picochip-*-*.
9433
9434 2008-08-06 Bob Wilson <bob.wilson@acm.org>
9435
9436 * config.host: Match more processor names for Xtensa.
9437
9438 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9439
9440 * config/i386/64/t-softfp-compat: Update comments.
9441
9442 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9443
9444 * config/i386/64/_divtc3-compat.c: Moved to ...
9445 * config/i386/64/_divtc3.c: Here.
9446
9447 * config/i386/64/_multc3-compat.c: Moved to ...
9448 * config/i386/64/_multc3.c: Here.
9449
9450 * config/i386/64/_powitf2-compat.c: Moved to ...
9451 * config/i386/64/_powitf2.c: Here.
9452
9453 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9454 .c suffix instead of -compat.c.
9455
9456 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
9457
9458 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9459 (_FP_MUL_MEAT_D): Ditto.
9460 (_FP_DIV_MEAT_S): Ditto.
9461 (_FP_DIV_MEAT_D): Ditto.
9462
9463 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9464
9465 * Makefile.in: Add support for __sync_* libgcc functions.
9466
9467 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9468
9469 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9470
9471 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9472
9473 PR boostrap/36702
9474 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9475 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9476
9477 * config/i386/64/t-fprules-softfp: Moved to ...
9478 * config/i386/64/t-softfp-compat: This. New.
9479
9480 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
9481
9482 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9483 Initialize f with 0.0.
9484
9485 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9486
9487 PR target/36669
9488 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9489
9490 * config/i386/64/_divtc3-compat.c: New.
9491 * config/i386/64/_multc3-compat.c: Likewise.
9492 * config/i386/64/_powitf2-compat.c: Likewise.
9493 * config/i386/64/eqtf2.c: Likewise.
9494 * config/i386/64/getf2.c: Likewise.
9495 * config/i386/64/letf2.c: Likewise.
9496 * config/i386/64/t-fprules-softfp: Likewise.
9497
9498 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9499
9500 * config.host: Add i386/${host_address}/t-fprules-softfp to
9501 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
9502 i[34567]86-*-linux*, x86_64-*-linux*.
9503
9504 * configure.ac: Set host_address to 64 or 32 for x86.
9505 * configure: Regenerated.
9506
9507 * Makefile.in (config.status): Also depend on
9508 $(srcdir)/config.host.
9509
9510 * config/i386/32/t-fprules-softfp: New.
9511 * config/i386/32/tf-signs.c: Likewise.
9512
9513 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9514
9515 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9516 Uros Bizjak <ubizjak@gmail.com>
9517
9518 * config/i386/32/sfp-machine.h: New.
9519
9520 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9521
9522 * config/rs6000/t-ppccomm: Remove rules that conflict with
9523 auto-generated rules.
9524
9525 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9526
9527 * configure.ac: sinclude override.m4.
9528 * configure: Regenerate.
9529
9530 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9531
9532 * configure: Regenerate.
9533
9534 2008-06-10 Joseph Myers <joseph@codesourcery.com>
9535
9536 * Makefile.in (DECNUMINC): Remove
9537 -I$(MULTIBUILDTOP)../../libdecnumber.
9538 * gstdint.h: New.
9539
9540 2008-06-07 Joseph Myers <joseph@codesourcery.com>
9541
9542 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9543 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9544 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9545 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9546 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9547 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9548 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9549 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9550 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9551 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9552 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9553 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9554 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9555 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9556
9557 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9558
9559 * config.host (sh2[lbe]*-*-linux*): Allow target.
9560
9561 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9562
9563 * config/rs6000/t-ppccomm: Add build rules for new files.
9564 (LIB2ADD_ST): New variable.
9565
9566 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9567
9568 PR target/34210
9569 PR target/35508
9570 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9571 * config/t-avr: New file. Build 16bit libgcc functions.
9572
9573 2008-03-02 Jakub Jelinek <jakub@redhat.com>
9574
9575 PR target/35401
9576 * config/t-slibgcc-darwin: Make install-leaf dependent on
9577 install-darwin-libgcc-stubs instead of install.
9578
9579 2008-01-25 Joseph Myers <joseph@codesourcery.com>
9580
9581 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9582 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9583 sh-*-rtemscoff*): Remove cases.
9584
9585 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9586
9587 * Makefile.in (all): Use install-leaf rather than install.
9588 (install): Split most of the rule into...
9589 (install-leaf): ...this new one.
9590
9591 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
9592 Paolo Bonzini <bonzini@gnu.org>
9593
9594 PR target/30572
9595 * Makefile.in: Use @shlib_slibdir@ substitution to get
9596 correct install name on darwin.
9597 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
9598
9599 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
9600
9601 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9602 cris-*-elf and cris-*-none.
9603 (crisv32-*-linux*): Similar, as cris-*-linux*.
9604
9605 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9606
9607 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9608
9609 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9610
9611 PR regression/33926
9612 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9613 * configure: Regenerated.
9614
9615 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9616
9617 * Makefile.in (dfp-filenames): Replace decimal_globals,
9618 decimal_data, binarydecimal and convert_data with
9619 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9620 and bid_convert_data, respectively.
9621
9622 2007-09-17 Chao-ying Fu <fu@mips.com>
9623 Nigel Stephens <nigel@mips.com>
9624
9625 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9626 * Makefile.in (fixed_point): Define.
9627 Check if fixed_point is yes to build support functions.
9628 * configure.ac: Check for fixed_point support.
9629 * configure: Regenerated.
9630 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9631 funcs, modes, from, to.
9632
9633 2007-09-11 Janis Johnson <janis187@us.ibm.com
9634
9635 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9636
9637 2007-09-10 Janis Johnson <janis187@us.ibm.com>
9638
9639 * Makefile.in (dfp-filenames): Remove decUtility, add
9640 decDouble, decPacked, decQuad, decSingle.
9641
9642 2007-08-27 Hans Kester <hans.kester@ellips.nl>
9643
9644 * config.host : Add x86_64-elf target.
9645
9646 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9647
9648 * configure.ac (set_have_cc_tls): Add a missing =.
9649 * configure: Regenerated.
9650
9651 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9652
9653 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9654 and x86_64-*-linux*.
9655
9656 * config/t-tls: New file.
9657
9658 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
9659
9660 * configure.ac: Include ../config/enable.m4 and
9661 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9662 supports TLS and substitute set_have_cc_tls.
9663 * configure: Regenerated.
9664
9665 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9666
9667 * Makefile.in: Use libbid for DFP when BID is enabled.
9668
9669 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9670
9671 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
9672 extra_parts. Add config/i386/t-cygming to tmake_file.
9673 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9674
9675 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9676 Danny Smith <dannysmith@users.sourceforge.net>
9677
9678 PR target/29498
9679 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9680 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9681 * config/i386/t-crtfm: Compile crtfastmath.o with
9682 -minline-all-stringops.
9683
9684 2007-05-10 Richard Sandiford <richard@codesourcery.com>
9685
9686 * config.host (sparc-wrs-vxworks): New target.
9687
9688 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
9689
9690 * config.host: Recognize fido.
9691
9692 2007-04-04 Janis Johnson <janis187@us.ibm.com>
9693
9694 * configure: Check host, not target, for decimal float support.
9695
9696 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
9697
9698 * config/i386/t-crtpc: New file.
9699 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
9700 (x86_64-*-linux*): Ditto.
9701
9702 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
9703
9704 * config.host (x86_64-*-mingw*): New target.
9705
9706 2007-03-23 Michael Meissner <michael.meissner@amd.com>
9707 H.J. Lu <hongjiu.lu@intel.com>
9708
9709 * Makefile.in (enable_decimal_float): New.
9710 (DECNUMINC): Add
9711 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9712 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9713 (decbits-filenames): This.
9714 (decbits-objects): New.
9715 (libgcc-objects): Add $(decbits-objects).
9716
9717 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9718 Substitute enable_decimal_float.
9719 * configure: Regenerated.
9720
9721 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
9722
9723 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9724
9725 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9726
9727 * Makefile.in (install-info): New dummy target.
9728
9729 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9730
9731 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9732
9733 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9734
9735 * Makefile.in: Add install-html and install-pdf dummy
9736 targets.
9737
9738 2007-02-05 Roger Sayle <roger@eyesopen.com>
9739 Daniel Jacobowitz <dan@codesourcery.com>
9740
9741 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9742 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9743 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9744
9745 2007-01-29 Janis Johnson <janis187@us.ibm.com>
9746
9747 * Makefile.in (dec-filenames): Add decExcept.
9748
9749 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9750
9751 PR bootstrap/30469
9752 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9753 -fprofile-use.
9754
9755 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9756
9757 * configure.ac: Add --enable-version-specific-runtime-libs.
9758 Correct $slibdir default.
9759 * configure: Regenerated.
9760
9761 2007-01-23 Joseph Myers <joseph@codesourcery.com>
9762
9763 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9764
9765 2007-01-21 Andrew Pinski <pinskia@gmail.com>
9766
9767 PR target/30519
9768 * config.host (alpha*-*-linux*): Set extra_parts.
9769
9770 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9771
9772 * config/sh/t-linux: New.
9773 * config.host (sh*-*-linux*): Set tmake_file.
9774
9775 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9776
9777 * Makefile.in (install): Handle multilibs.
9778
9779 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9780
9781 * Makefile.in: Added .PHONY entry for documentation targets.
9782
9783 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9784
9785 * Makefile.in: Add empty info, html, dvi, pdf targets.
9786
9787 2007-01-04 Mike Stump <mrs@apple.com>
9788
9789 * Makefile.in (MAKEINFO): Remove.
9790 (PERL): Likewise.
9791
9792 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
9793
9794 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9795 * configure: Regenerate.
9796 * Makefile.in (host_subdir): Substitute it.
9797 (gcc_objdir): Use it.
9798
9799 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9800
9801 * config.host (ia64*-*-linux*): Set tmake_file.
9802
9803 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9804
9805 * Makefile.in (version): Define.
9806
9807 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9808 Paolo Bonzini <bonzini@gnu.org>
9809
9810 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9811 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9812 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9813 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9814 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9815 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9816 * configure: Generated.
9817 \f
9818 Copyright (C) 2007-2019 Free Software Foundation, Inc.
9819
9820 Copying and distribution of this file, with or without modification,
9821 are permitted in any medium without royalty provided the copyright
9822 notice and this notice are preserved.