soft-fp: Update soft-fp from glibc
[gcc.git] / libgcc / ChangeLog
1 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
2
3 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
4 4_FP_W_TYPEs are used for IEEE quad precision.
5 * soft-fp/extendhftf2.c: Likewise.
6 * soft-fp/extendsftf2.c: Likewise.
7 * soft-fp/extendxftf2.c: Likewise.
8 * soft-fp/trunctfdf2.c: Likewise.
9 * soft-fp/trunctfhf2.c: Likewise.
10 * soft-fp/trunctfsf2.c: Likewise.
11 * soft-fp/trunctfxf2.c: Likewise.
12 * config/rs6000/ibm-ldouble.c: Likewise.
13
14 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
15
16 * config.host: Simplify various *-*-solaris2.1[0-9]* to
17 *-*-solaris2*.
18 * configure.ac: Likewise.
19 * configure: Regenerate.
20
21 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
22 Solaris 10 and Solaris 11 < snv_125 handling.
23
24 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
25
26 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
27
28 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
29
30 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
31 * config/i386/cpuinfo.h (enum processor_features): Add
32 FEATURE_AVX512BF16.
33
34 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
35 Bernd Edlinger <bernd.edlinger@hotmail.de>
36 Jakub Jelinek <jakub@redhat.com>
37
38 PR target/89093
39 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
40 * config/arm/unwind-arm.c: Likewise.
41 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
42 attribute for ARM.
43
44 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
45
46 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
47 (RT_SIGRETURN): Update.
48 (nds32_fallback_frame_state): Update.
49
50 2019-02-21 Martin Sebor <msebor@redhat.com>
51
52 * libgcc2.h (__clear_cache): Correct signature.
53 * libgcc2.c (__clear_cache): Same.
54
55 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
56
57 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
58 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
59
60 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
61
62 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
63 regno instead of index to DWARF_ZERO_REG.
64
65 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
66
67 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
68 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
69
70 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
71
72 * config/alpha/t-linux: Add -mfp-rounding-mode=d
73 to HOST_LIBGCC2_CFLAGS.
74
75 2019-01-23 Joseph Myers <joseph@codesourcery.com>
76
77 PR libgcc/88931
78 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
79
80 2019-01-18 Martin Liska <mliska@suse.cz>
81
82 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
83 to ...
84 (__gcov_indirect_call_profiler_v3): ... this.
85 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
86 (__gcov_indirect_call_profiler_v3): Likewise.
87 * Makefile.in: Bump function name.
88
89 2019-01-18 Martin Liska <mliska@suse.cz>
90
91 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
92 (gcov_version): Use in gcov_error.
93 (merge_one_data): Likewise.
94 (dump_one_gcov): Likewise.
95
96 2019-01-18 Martin Liska <mliska@suse.cz>
97
98 * libgcov-driver.c (gcov_version_string): New function.
99 (gcov_version): Convert version integer into string.
100
101 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
102 Kwok Cheung Yeung <kcy@codesourcery.com>
103 Julian Brown <julian@codesourcery.com>
104 Tom de Vries <tom@codesourcery.com>
105
106 * config.host: Recognize amdgcn*-*-amdhsa.
107 * config/gcn/crt0.c: New file.
108 * config/gcn/lib2-divmod-hi.c: New file.
109 * config/gcn/lib2-divmod.c: New file.
110 * config/gcn/lib2-gcn.h: New file.
111 * config/gcn/sfp-machine.h: New file.
112 * config/gcn/t-amdgcn: New file.
113
114 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
115
116 PR other/16615
117
118 * config/c6x/libunwind.S: Mechanically replace "can not" with
119 "cannot".
120 * config/tilepro/atomic.h: Likewise.
121 * config/vxlib-tls.c: Likewise.
122 * generic-morestack-thread.c: Likewise.
123 * generic-morestack.c: Likewise.
124 * mkmap-symver.awk: Likewise.
125
126 2019-01-01 Jakub Jelinek <jakub@redhat.com>
127
128 Update copyright years.
129
130 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
131
132 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
133 to ignore -Waddress-of-packed-member.
134
135 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
136
137 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
138 parameter and corresponding code.
139 (ARM_FUNC_START): Likewise in both definitions.
140 Also update footer comment about condition that need to match with
141 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
142 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
143 defined. Weakly define it in this case.
144 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
145 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
146 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
147 comment to keep condition in sync with the one in
148 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
149
150 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
151
152 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
153 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
154
155 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
156
157 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
158 and .cfi_endproc directives for VxWorks targets.
159
160 2018-12-05 Paul Koning <ni1d@arrl.net>
161
162 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
163
164 2018-11-27 Alan Modra <amodra@gmail.com>
165
166 * config/rs6000/morestack.S (__stack_split_initialize),
167 (__morestack_get_guard, __morestack_set_guard),
168 (__morestack_make_guard): Provide CFI covering these functions.
169 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
170
171 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
172
173 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
174 (sc_pt_regs_lr): Update for kernel.
175 (sc_pt_regs_tls): Update for kernel.
176
177 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
178
179 * config/csky/linux-unwind.h: Fix coding style.
180
181 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
182
183 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
184 (csky_fallback_frame_state): Modify the check of the
185 instructions to adapt to changes in the kernel
186
187 2018-11-09 Stafford Horne <shorne@gmail.com>
188 Richard Henderson <rth@twiddle.net>
189
190 * config.host: Add OpenRISC support.
191 * config/or1k/*: New.
192
193 2018-11-08 Kito Cheng <kito@andestech.com>
194
195 * soft-fp/adddf3.c: Update from glibc.
196 * soft-fp/addsf3.c: Likewise.
197 * soft-fp/addtf3.c: Likewise.
198 * soft-fp/divdf3.c: Likewise.
199 * soft-fp/divsf3.c: Likewise.
200 * soft-fp/divtf3.c: Likewise.
201 * soft-fp/double.h: Likewise.
202 * soft-fp/eqdf2.c: Likewise.
203 * soft-fp/eqsf2.c: Likewise.
204 * soft-fp/eqtf2.c: Likewise.
205 * soft-fp/extenddftf2.c: Likewise.
206 * soft-fp/extended.h: Likewise.
207 * soft-fp/extendhftf2.c: Likewise.
208 * soft-fp/extendsfdf2.c: Likewise.
209 * soft-fp/extendsftf2.c: Likewise.
210 * soft-fp/extendxftf2.c: Likewise.
211 * soft-fp/fixdfdi.c: Likewise.
212 * soft-fp/fixdfsi.c: Likewise.
213 * soft-fp/fixdfti.c: Likewise.
214 * soft-fp/fixhfti.c: Likewise.
215 * soft-fp/fixsfdi.c: Likewise.
216 * soft-fp/fixsfsi.c: Likewise.
217 * soft-fp/fixsfti.c: Likewise.
218 * soft-fp/fixtfdi.c: Likewise.
219 * soft-fp/fixtfsi.c: Likewise.
220 * soft-fp/fixtfti.c: Likewise.
221 * soft-fp/fixunsdfdi.c: Likewise.
222 * soft-fp/fixunsdfsi.c: Likewise.
223 * soft-fp/fixunsdfti.c: Likewise.
224 * soft-fp/fixunshfti.c: Likewise.
225 * soft-fp/fixunssfdi.c: Likewise.
226 * soft-fp/fixunssfsi.c: Likewise.
227 * soft-fp/fixunssfti.c: Likewise.
228 * soft-fp/fixunstfdi.c: Likewise.
229 * soft-fp/fixunstfsi.c: Likewise.
230 * soft-fp/fixunstfti.c: Likewise.
231 * soft-fp/floatdidf.c: Likewise.
232 * soft-fp/floatdisf.c: Likewise.
233 * soft-fp/floatditf.c: Likewise.
234 * soft-fp/floatsidf.c: Likewise.
235 * soft-fp/floatsisf.c: Likewise.
236 * soft-fp/floatsitf.c: Likewise.
237 * soft-fp/floattidf.c: Likewise.
238 * soft-fp/floattihf.c: Likewise.
239 * soft-fp/floattisf.c: Likewise.
240 * soft-fp/floattitf.c: Likewise.
241 * soft-fp/floatundidf.c: Likewise.
242 * soft-fp/floatundisf.c: Likewise.
243 * soft-fp/floatunditf.c: Likewise.
244 * soft-fp/floatunsidf.c: Likewise.
245 * soft-fp/floatunsisf.c: Likewise.
246 * soft-fp/floatunsitf.c: Likewise.
247 * soft-fp/floatuntidf.c: Likewise.
248 * soft-fp/floatuntihf.c: Likewise.
249 * soft-fp/floatuntisf.c: Likewise.
250 * soft-fp/floatuntitf.c: Likewise.
251 * soft-fp/gedf2.c: Likewise.
252 * soft-fp/gesf2.c: Likewise.
253 * soft-fp/getf2.c: Likewise.
254 * soft-fp/half.h: Likewise.
255 * soft-fp/ledf2.c: Likewise.
256 * soft-fp/lesf2.c: Likewise.
257 * soft-fp/letf2.c: Likewise.
258 * soft-fp/muldf3.c: Likewise.
259 * soft-fp/mulsf3.c: Likewise.
260 * soft-fp/multf3.c: Likewise.
261 * soft-fp/negdf2.c: Likewise.
262 * soft-fp/negsf2.c: Likewise.
263 * soft-fp/negtf2.c: Likewise.
264 * soft-fp/op-1.h: Likewise.
265 * soft-fp/op-2.h: Likewise.
266 * soft-fp/op-4.h: Likewise.
267 * soft-fp/op-8.h: Likewise.
268 * soft-fp/op-common.h: Likewise.
269 * soft-fp/quad.h: Likewise.
270 * soft-fp/single.h: Likewise.
271 * soft-fp/soft-fp.h: Likewise.
272 * soft-fp/subdf3.c: Likewise.
273 * soft-fp/subsf3.c: Likewise.
274 * soft-fp/subtf3.c: Likewise.
275 * soft-fp/truncdfsf2.c: Likewise.
276 * soft-fp/trunctfdf2.c: Likewise.
277 * soft-fp/trunctfhf2.c: Likewise.
278 * soft-fp/trunctfsf2.c: Likewise.
279 * soft-fp/trunctfxf2.c: Likewise.
280 * soft-fp/unorddf2.c: Likewise.
281 * soft-fp/unordsf2.c: Likewise.
282 * soft-fp/unordtf2.c: Likewise.
283
284 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
285
286 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
287 * config/i386/cpuinfo.h (processor_types): Add znver2.
288
289 2018-11-01 Paul Koning <ni1d@arrl.net>
290
291 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
292 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
293
294 2018-10-31 Joseph Myers <joseph@codesourcery.com>
295
296 PR bootstrap/82856
297 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
298 * configure: Regenerate.
299
300 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
301
302 * config/arc/lib1funcs.S (_muldi3): New function.
303 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
304
305 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
306
307 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
308
309 2018-10-25 Martin Liska <mliska@suse.cz>
310
311 PR other/87735
312 * libgcov-profiler.c: Revert.
313
314 2018-10-24 Martin Liska <mliska@suse.cz>
315
316 * libgcov-profiler.c: Start from 1 in order to distinguish
317 functions which were seen and these that were not.
318
319 2018-10-18 Paul Koning <ni1d@arrl.net>
320
321 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
322 standard.
323 * divmod.c: Update references to __udivmodsi4.
324 * udivmod.c: Ditto.
325 * udivhi3.c: New file.
326 * udivmodhi4.c: New file.
327 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
328
329 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
330
331 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
332
333 2018-10-12 Olivier Hainque <hainque@adacore.com>
334
335 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
336 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
337
338 2018-10-08 Paul Koning <ni1d@arrl.net>
339
340 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
341
342 2018-10-04 Martin Liska <mliska@suse.cz>
343
344 PR gcov-profile/84107
345 * libgcov-profiler.c (__gcov_indirect_call):
346 Change type to indirect_call_tuple.
347 (struct indirect_call_tuple): New struct.
348 (__gcov_indirect_call_topn_profiler): Change type.
349 (__gcov_indirect_call_profiler_v2): Use the new
350 variables.
351 * libgcov.h (struct indirect_call_tuple): New struct
352 definition.
353
354 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
355
356 * libgcc2.c (isnan): Use __builtin_isnan.
357 (isfinite): Use __builtin_isfinite.
358 (isinf): Use __builtin_isinf.
359
360 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
361
362 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
363
364 2018-09-21 Alexandre Oliva <oliva@adacore.com>
365
366 * config/vxcache.c: New file. Provide __clear_cache, based on
367 the cacheTextUpdate VxWorks service.
368 * config/t-vxworks (LIB2ADD): Add vxcache.c.
369 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
370 * config/t-vxwoks7: Likewise.
371
372 2018-09-21 Martin Liska <mliska@suse.cz>
373
374 * libgcov-driver.c (crc32_unsigned): Remove.
375 (gcov_histogram_insert): Likewise.
376 (gcov_compute_histogram): Likewise.
377 (compute_summary): Simplify rapidly.
378 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
379 (merge_summary): Rapidly simplify.
380 (dump_one_gcov): Ignore gcov_summary.
381 (gcov_do_dump): Do not handle program summary, it's not
382 used.
383 * libgcov-util.c (tag_summary): Remove.
384 (read_gcda_finalize): Fix coding style.
385 (read_gcda_file): Initialize curr_object_summary.
386 (compute_summary): Remove.
387 (calculate_overlap): Remove settings of run_max.
388
389 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
390
391 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
392 ucontext_t type instead.
393 (nds32_fallback_frame_state): Remove struct _sigframe statement.
394
395 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
396
397 * config/nds32/t-nds32-glibc: New file.
398
399 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
400
401 * configure.ac (solaris_ld_v2_maps): New test.
402 * configure: Regenerate.
403 * Makefile.in (solaris_ld_v2_maps): New variable.
404 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
405 if supported.
406
407 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
408
409 PR target/86951
410 * config/arm/lib1funcs.asm (speculation_barrier): New function.
411 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
412 to build.
413
414 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
415
416 * config/unwind-dw2-fde-darwin.c
417 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
418 * config/darwin10-unwind-find-enc-func.c: … to here.
419 * config/t-darwin: Build Darwin10 unwinder shim crt.
420 * libgcc/config.host: Add the Darwin10 unwinder shim.
421
422 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
423
424 * config.host: Add crtbegin.o and crtend.o for
425 powerpc-wrs-vxworks target.
426
427 2018-08-17 Jojo <jijie_rong@c-sky.com>
428 Huibin Wang <huibin_wang@c-sky.com>
429 Sandra Loosemore <sandra@codesourcery.com>
430 Chung-Lin Tang <cltang@codesourcery.com>
431
432 C-SKY port: libgcc
433
434 * config.host: Add C-SKY support.
435 * config/csky/*: New.
436
437 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
438
439 * config/nds32/t-nds32-isr: Rearrange object dependency.
440 * config/nds32/initfini.c: Add dwarf2 unwinding support.
441 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
442 and registers usage.
443 * config/nds32/isr-library/excp_isr.S: Ditto.
444 * config/nds32/isr-library/intr_isr.S: Ditto.
445 * config/nds32/isr-library/reset.S: Ditto.
446 * config/nds32/isr-library/restore_all.inc: Ditto.
447 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
448 * config/nds32/isr-library/restore_partial.inc: Ditto.
449 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
450 * config/nds32/isr-library/save_all.inc: Ditto.
451 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
452 * config/nds32/isr-library/save_partial.inc: Ditto.
453 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
454 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
455
456 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
457
458 * config/pa/linux-atomic.c: Update comment.
459 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
460 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
461 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
462 __ATOMIC_RELAXED for atomic loads.
463 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
464 unordered store to release lock.
465 (__sync_lock_release_8): Likewise.
466 (SYNC_LOCK_RELEASE_2): Remove define.
467
468 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
469
470 PR libgcc/86512
471 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
472 exponent goes negative. Update my email address.
473 * config/arm/ieee754-sf.S: Likewise.
474
475 2018-08-01 Martin Liska <mliska@suse.cz>
476
477 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
478 check that __gcov_indirect_call_callee is non-null.
479
480 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
481
482 * config/arm/ieee754-df.S: Fix comment for code working on
483 architectures >= 4.
484 * config/arm/ieee754-sf.S: Likewise.
485
486 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
487
488 PR libgcc/85334
489 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
490 Removed.
491
492 2018-07-05 James Clarke <jrtc27@jrtc27.com>
493
494 * configure: Regenerated.
495
496 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
497
498 * Makefile.in (install_leaf): Use enable_gcov instead of
499 enable_libgcov.
500
501 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
502
503 * configure.ac: Add --disable-gcov option.
504 * configure: Regenerate.
505 * Makefile.in: Honour @enable_gcov@.
506
507 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
508
509 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
510 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
511 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
512 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
513 __ARM_ARCH__.
514 * config/arm/ieee754-sf.S: Likewise.
515 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
516
517 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
518
519 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
520 longer supported.
521 * config/arm/ieee754-sf.S: Likewise.
522
523 2018-06-20 Than McIntosh <thanm@google.com>
524
525 PR libgcc/86213
526 * generic-morestack.c (allocate_segment): Move calls to getenv and
527 getpagesize to __morestack_load_mmap.
528 (__morestack_load_mmap) Initialize static_pagesize and
529 use_guard_page here so as to avoid clobbering SSE regs during a
530 __morestack call.
531
532 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
533
534 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
535 support modules with -mno-gnu-attribute.
536 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
537
538 2018-06-07 Olivier Hainque <hainque@adacore.com>
539
540 * config/t-vxworks (LIBGCC_INCLUDES): Add
541 -I$(MULTIBUILDTOP)../../gcc/include.
542 * config/t-vxworks7: Likewise. Reformat a bit to match
543 the t-vxworks layout.
544
545 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
546
547 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
548
549 2018-06-07 Martin Liska <mliska@suse.cz>
550
551 * libgcov-driver.c: Rename cs_all to all and assign it from
552 all_prg.
553
554 2018-06-07 Martin Liska <mliska@suse.cz>
555
556 PR bootstrap/86057
557 * libgcov-driver-system.c (replace_filename_variables): Use
558 memcpy instead of mempcpy.
559 (allocate_filename_struct): Do not allocate filename, allocate
560 prefix and set it.
561 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
562 here and properly copy content into it.
563 * libgcov-driver.c (struct gcov_filename): Remove max_length
564 field, change prefix from size_t into char *.
565 (compute_summary): Do not calculate longest filename.
566 (gcov_do_dump): Release memory of gf.filename after each file.
567 * libgcov-util.c (compute_summary): Use new signature of
568 compute_summary.
569 (calculate_overlap): Likewise.
570
571 2018-06-05 Martin Liska <mliska@suse.cz>
572
573 PR gcov-profile/47618
574 * libgcov-driver-system.c (replace_filename_variables): New
575 function.
576 (gcov_exit_open_gcda_file): Use it.
577
578 2018-06-05 Martin Liska <mliska@suse.cz>
579
580 * libgcov-driver.c (gcov_compute_histogram): Remove usage
581 of gcov_ctr_summary.
582 (compute_summary): Do it just for a single summary.
583 (merge_one_data): Likewise.
584 (merge_summary): Simplify as we read just single summary.
585 (dump_one_gcov): Pass proper argument.
586 * libgcov-util.c (compute_one_gcov): Simplify as we have just
587 single summary.
588 (gcov_info_count_all_cold): Likewise.
589 (calculate_overlap): Likewise.
590
591 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
592 Monk Chiang <sh.chiang04@gmail.com>
593
594 * config.host (nds32*-linux*): New.
595 * config/nds32/linux-atomic.c: New file.
596 * config/nds32/linux-unwind.h: New file.
597
598 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
599
600 PR target/85591
601 * config/i386/cpuinfo.c (get_amd_cpu): Return
602 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
603
604 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
605
606 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
607
608 2018-05-29 Martin Liska <mliska@suse.cz>
609
610 PR gcov-profile/85759
611 * libgcov-driver-system.c (gcov_error): Introduce usage of
612 GCOV_EXIT_AT_ERROR env. variable.
613 * libgcov-driver.c (merge_one_data): Print error that we
614 overwrite a gcov file with a different timestamp.
615
616 2018-05-23 Kalamatee <kalamatee@gmail.com>
617
618 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
619 path to Lf$finfty.
620
621 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
622 Monk Chiang <sh.chiang04@gmail.com>
623 Jim Wilson <jimw@sifive.com>
624
625 * config/riscv/save-restore.S: Add support for rv32e.
626
627 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
628
629 * config/arm/libunwind.S: Update comment relating to armv5.
630
631 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
632
633 * config/arm/cmse.c (cmse_check_address_range): Replace
634 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
635
636 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
637
638 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
639 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
640
641 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
642
643 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
644 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
645
646 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
647
648 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
649
650 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
651 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
652
653 PR libgcc/84292
654 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
655 op_and_fetch to return the right result.
656
657 2018-04-27 Alan Modra <amodra@gmail.com>
658
659 PR libgcc/85532
660 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
661 -fno-asynchronous-unwind-tables.
662
663 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
664
665 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
666 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
667
668 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
669
670 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
671 when including "config/i386/shadow-stack-unwind.h".
672
673 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
674
675 * configure: Regenerated.
676
677 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
678
679 PR target/85456
680 * config/rs6000/_powikf2.c: New file. Add support for the
681 __builtin_powil function when long double is IEEE 128-bit floating
682 point.
683 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
684 __powikf2 support.
685 (__powikf2): Likewise.
686 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
687 (__powikf2_hw): Likewise.
688 (__powikf2): Likewise.
689 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
690 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
691 (_powikf2-hw.c): Likewise.
692
693 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
694
695 PR libgcc/85334
696 * unwind-generic.h (_Unwind_Frames_Increment): New.
697 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
698 Likewise.
699 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
700 count with _Unwind_Frames_Increment.
701 (_Unwind_ForcedUnwind_Phase2): Likewise.
702
703 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
704
705 PR libgcc/85379
706 * config/i386/morestack.S (__stack_split_initialize): Add
707 _CET_ENDBR.
708
709 2018-04-19 Jakub Jelinek <jakub@redhat.com>
710
711 * configure: Regenerated.
712
713 2018-04-18 David Malcolm <dmalcolm@redhat.com>
714
715 PR jit/85384
716 * configure: Regenerate.
717
718 2018-04-16 Jakub Jelinek <jakub@redhat.com>
719
720 PR target/84945
721 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
722 -Wdangling-else warnings. Mask shift counts to avoid
723 -Wshift-count-negative and -Wshift-count-overflow false positives.
724
725 2018-04-06 Ruslan Bukin <br@bsdpad.com>
726
727 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
728
729 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
730
731 PR target/85100
732 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
733 (XSTATE_FP): Likewise.
734 (XSTATE_SSE): Likewise.
735 (XSTATE_YMM): Likewise.
736 (XSTATE_OPMASK): Likewise.
737 (XSTATE_ZMM): Likewise.
738 (XSTATE_HI_ZMM): Likewise.
739 (XCR_AVX_ENABLED_MASK): Likewise.
740 (XCR_AVX512F_ENABLED_MASK): Likewise.
741 (get_available_features): Enable AVX and AVX512 features only
742 if their states are supported by OSXSAVE.
743
744 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
745
746 PR target/85025
747 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
748 Fix a typo, tmp => 255.
749
750 2018-03-20 Jakub Jelinek <jakub@redhat.com>
751
752 PR target/84945
753 * config/i386/cpuinfo.h (__cpu_features2): Declare.
754 * config/i386/cpuinfo.c (__cpu_features2): New variable for
755 ifndef SHARED only.
756 (set_feature): Define.
757 (get_available_features): Use set_feature macro. Set __cpu_features2
758 to the second word of features ifndef SHARED.
759
760 2018-03-15 Julia Koval <julia.koval@intel.com>
761
762 * config/i386/cpuinfo.c (get_available_features): Add
763 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
764 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
765 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
766 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
767 FEATURE_AVX512BITALG.
768
769 2018-03-14 Julia Koval <julia.koval@intel.com>
770
771 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
772 icelake client and icelake server.
773
774 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
775
776 * config/pa/fptr.c (_dl_read_access_allowed): New.
777 (__canonicalize_funcptr_for_compare): Use it.
778
779 2018-02-28 Jakub Jelinek <jakub@redhat.com>
780
781 PR debug/83917
782 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
783 $asm_hidden_op if visibility ("hidden") attribute works.
784 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
785 * config/i386/i386-asm.h: Don't include auto-host.h.
786 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
787 PACKAGE_URL): Don't undefine.
788 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
789 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
790 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
791 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
792 definition instead of hardcoded .hidden.
793 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
794 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
795 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
796 (USE_GAS_CFI_DIRECTIVES): Don't define.
797 * configure: Regenerated.
798 * config.in: Likewise.
799
800 2018-02-26 Jakub Jelinek <jakub@redhat.com>
801
802 PR debug/83917
803 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
804 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
805 inclusion of auto-target.h and auto-host.h.
806 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
807 __GCC_HAVE_DWARF2_CFI_ASM.
808 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
809 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
810 cfi_pop): Define.
811 * config/i386/cygwin.S: Don't include auto-host.h here, just
812 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
813 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
814 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
815 * config/i386/resms64fx.h: Add cfi_* directives.
816 * config/i386/resms64x.h: Likewise.
817
818 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
819
820 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
821 .literal_position directive.
822 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
823
824 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
825
826 PR target/84148
827 * configure: Regenerate.
828
829 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
830
831 PR target/84239
832 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
833 Include cetintrin.h not x86intrin.h.
834
835 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
836
837 PR target/84239
838 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
839 Use new _get_ssp and _inc_ssp intrinsics.
840
841 2018-02-02 Julia Koval <julia.koval@intel.com>
842
843 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
844
845 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
846
847 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
848 option.
849 (__divsi3): Use RF16 safe registers.
850 (__modsi3): Likewise.
851
852 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
853
854 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
855 (__divsf3): Make NaN return value quiet.
856 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
857 (__divdf3): Make NaN return value quiet.
858
859 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
860
861 * config/rl78/anddi3.S: New assembly file.
862 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
863
864 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
865
866 * config/rl78/umindi3.S: New assembly file.
867 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
868
869 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
870
871 * config/rl78/smindi3.S: New assembly file.
872 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
873
874 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
875
876 * config/rl78/smaxdi3.S: New assembly file.
877 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
878
879 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
880
881 * config/rl78/umaxdi3.S: New assembly file.
882 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
883
884 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
885
886 PR lto/83452
887 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
888 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
889
890 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
891
892 * config/aarch64/value-unwind.h (aarch64_vg): New function.
893 (DWARF_LAZY_REGISTER_VALUE): Define.
894 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
895 to provide a fallback register value.
896
897 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
898
899 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
900 __ibm128, instead of trying to use long double.
901 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
902 accomidate -mabi=ieeelongdouble multilibs.
903 (CVT_IBM128_TO_FLOAT128): Likewise.
904 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
905 the appropriate IBM extended double type.
906 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
907 (__gcc_qsub): Likewise.
908 (__gcc_qmul): Likewise.
909 (__gcc_qdiv): Likewise.
910 (pack_ldouble): Likewise.
911 (__gcc_qneg): Likewise.
912 (__gcc_qeq): Likewise.
913 (__gcc_qne): Likewise.
914 (__gcc_qge): Likewise.
915 (__gcc_qle): Likewise.
916 (__gcc_stoq): Likewise.
917 (__gcc_dtoq): Likewise.
918 (__gcc_itoq): Likewise.
919 (__gcc_utoq): Likewise.
920 (__gcc_qunord): Likewise.
921 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
922 quad-float128.h for the definitions.
923 (COPYSIGN): Use the f128 version instead of the q version.
924 (INFINITY): Likewise.
925 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
926 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
927 quad-float128.h for the definitions.
928 (COPYSIGN): Use the f128 version instead of the q version.
929 (INFINITY): Likewise.
930 (FABS): Likewise.
931 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
932 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
933 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
934
935 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
936
937 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
938 configuration.
939
940 2018-01-03 Jakub Jelinek <jakub@redhat.com>
941
942 Update copyright years.
943
944 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
945
946 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
947 * config/riscv/multi3.c: New file.
948 * config/riscv/multi3.S: Remove.
949
950 2017-12-08 Jim Wilson <jimw@sifive.com>
951
952 * config/riscv/div.S: Use FUNC_* macros.
953 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
954 * config/riscv/save-restore.S: Likewise.
955 * config/riscv/riscv-asm.h: New.
956
957 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
958
959 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
960 * config/rs6000/_divkc3.c (__divkc3): Likewise.
961
962 PR libgcc/83112
963 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
964 correct type for all ifunc resolvers to silence -Wattribute-alias
965 warnings. Eliminate the forward declaration of the resolver
966 functions which is no longer needed.
967 (__subkf3_resolve): Likewise.
968 (__mulkf3_resolve): Likewise.
969 (__divkf3_resolve): Likewise.
970 (__negkf2_resolve): Likewise.
971 (__eqkf2_resolve): Likewise.
972 (__nekf2_resolve): Likewise.
973 (__gekf2_resolve): Likewise.
974 (__gtkf2_resolve): Likewise.
975 (__lekf2_resolve): Likewise.
976 (__ltkf2_resolve): Likewise.
977 (__unordkf2_resolve): Likewise.
978 (__extendsfkf2_resolve): Likewise.
979 (__extenddfkf2_resolve): Likewise.
980 (__trunckfsf2_resolve): Likewise.
981 (__trunckfdf2_resolve): Likewise.
982 (__fixkfsi_resolve): Likewise.
983 (__fixkfdi_resolve): Likewise.
984 (__fixunskfsi_resolve): Likewise.
985 (__fixunskfdi_resolve): Likewise.
986 (__floatsikf_resolve): Likewise.
987 (__floatdikf_resolve): Likewise.
988 (__floatunsikf_resolve): Likewise.
989 (__floatundikf_resolve): Likewise.
990 (__extendkftf2_resolve): Likewise.
991 (__trunctfkf2_resolve): Likewise.
992
993 PR libgcc/83103
994 * config/rs6000/quad-float128.h (TF): Don't define if long double
995 is IEEE 128-bit floating point.
996 (TCtype): Define as either TCmode or KCmode, depending on whether
997 long double is IEEE 128-bit floating point.
998 (__mulkc3_sw): Add declarations for software/hardware versions of
999 complex multiply/divide.
1000 (__divkc3_sw): Likewise.
1001 (__mulkc3_hw): Likewise.
1002 (__divkc3_hw): Likewise.
1003 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1004 handlers to switch between using software emulation and hardware
1005 float128 instructions, build the complex multiply/divide functions
1006 for both software and hardware support.
1007 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1008 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1009 (__divkc3_resolve): Likewise.
1010 (__mulkc3): Likewise.
1011 (__divkc3): Likewise.
1012 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1013 (fp128_hw_src): Likewise.
1014 (fp128_hw_static_obj): Likewise.
1015 (fp128_hw_shared_obj): Likewise.
1016 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1017 _mulkc3.c and _divkc3.c, changing the function name.
1018 (_divkc3-hw.c): Likewise.
1019 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1020 and _divkc3-hw.c.
1021
1022 2017-11-26 Julia Koval <julia.koval@intel.com>
1023
1024 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1025 * config/i386/cpuinfo.h (processor_subtypes): Add
1026 INTEL_COREI7_CANNONLAKE.
1027
1028 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1029
1030 PR bootstrap/83015
1031 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1032 parameter.
1033 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1034 * config/ia64/unwind-ia64.c: Add frames parameter.
1035 * unwind-sjlj.c: Likewise.
1036
1037 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1038
1039 * config/i386/linux-unwind.h: Include
1040 config/i386/shadow-stack-unwind.h.
1041 * config/i386/shadow-stack-unwind.h: New file.
1042 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1043 pass it to _Unwind_Frames_Extra.
1044 * unwind-generic.h (_Unwind_Frames_Extra): New.
1045 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1046 parameter. Add local variable frames to count number of frames.
1047 (_Unwind_ForcedUnwind_Phase2): Likewise.
1048 (_Unwind_RaiseException): Add local variable frames to count
1049 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1050 uw_install_context.
1051 (_Unwind_ForcedUnwind): Likewise.
1052 (_Unwind_Resume): Likewise.
1053 (_Unwind_Resume_or_Rethrow): Likewise.
1054
1055 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1056
1057 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1058 (CET_FLAGS): New.
1059 * config/i386/morestack.S: Include <cet.h>.
1060 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1061 * config/i386/resms64.h: Include <cet.h>.
1062 * config/i386/resms64f.h: Likewise.
1063 * config/i386/resms64fx.h: Likewise.
1064 * config/i386/resms64x.h: Likewise.
1065 * config/i386/savms64.h: Likewise.
1066 * config/i386/savms64f.h: Likewise.
1067 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1068 (CRTSTUFF_T_CFLAGS): Likewise.
1069 * configure.ac: Include ../config/cet.m4.
1070 Set and substitute CET_FLAGS.
1071 * configure: Regenerated.
1072
1073 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1074
1075 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1076 renaming.
1077 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1078 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1079 * configure: Regenerate.
1080
1081 2017-11-07 Tom de Vries <tom@codesourcery.com>
1082
1083 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1084 after "do {} while (0)".
1085
1086 2017-11-07 Tom de Vries <tom@codesourcery.com>
1087
1088 PR other/82784
1089 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1090 semicolon after "do {} while (0)".
1091 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1092 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1093 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1094 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1095
1096 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1097
1098 PR libgcc/82635
1099 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1100 sysctl to determine whether we're in a trampoline.
1101 Keep the pattern matching method for systems without
1102 KERN_PROC_SIGTRAMP sysctl.
1103
1104 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1105 Vineet Gupta <vgupta@synopsys.com>
1106
1107 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1108 * config/arc/linux-unwind-reg.def: New file.
1109 * config/arc/linux-unwind-reg.h: Likewise.
1110
1111 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1112
1113 * config/rl78/subdi3.S: New assembly file.
1114 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1115
1116 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1117
1118 * config/rl78/adddi3.S: New assembly file.
1119 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1120
1121 2017-10-13 Jakub Jelinek <jakub@redhat.com>
1122
1123 PR target/82274
1124 * libgcc2.c (__mulvDI3): If both operands have
1125 the same highpart of -1 and the topmost bit of lowpart is 0,
1126 multiplication overflows even if both lowparts are 0.
1127
1128 2017-09-28 James Bowman <james.bowman@ftdichip.com>
1129
1130 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1131
1132 2017-09-26 Joseph Myers <joseph@codesourcery.com>
1133
1134 * config/microblaze/crti.S, config/microblaze/crtn.S,
1135 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1136 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1137 config/microblaze/mulsi3.S,
1138 config/microblaze/stack_overflow_exit.S,
1139 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1140 config/pa/milli64.S: Add .note.GNU-stack section.
1141
1142 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
1143
1144 * configure.ac: Add Check for HAVE_AS_AVX.
1145 * config.in: Regenerate.
1146 * configure: Likewise.
1147 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1148 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1149 Correct out-of-date comments.
1150
1151 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1152
1153 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1154 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1155
1156 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
1157
1158 * config/i386/i386-asm.h (PASTE2): New macro.
1159 (ASMNAME): Modify to use PASTE2.
1160 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1161 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
1162 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
1163 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
1164 * config/i386/resms64f.S: Likewise.
1165 * config/i386/resms64fx.S: Likewise.
1166 * config/i386/resms64x.S: Likewise.
1167 * config/i386/savms64.S: Likewise.
1168 * config/i386/savms64f.S: Likewise.
1169 * config/i386/avx_resms64.S: New file that only defines a macro and
1170 includes it's corresponding header file.
1171 * config/i386/avx_resms64f.S: Likewise.
1172 * config/i386/avx_resms64fx.S: Likewise.
1173 * config/i386/avx_resms64x.S: Likewise.
1174 * config/i386/avx_savms64.S: Likewise.
1175 * config/i386/avx_savms64f.S: Likewise.
1176 * config/i386/sse_resms64.S: Likewise.
1177 * config/i386/sse_resms64f.S: Likewise.
1178 * config/i386/sse_resms64fx.S: Likewise.
1179 * config/i386/sse_resms64x.S: Likewise.
1180 * config/i386/sse_savms64.S: Likewise.
1181 * config/i386/sse_savms64f.S: Likewise.
1182 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
1183
1184 2017-09-01 Olivier Hainque <hainque@adacore.com>
1185 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1186
1187 2017-08-31 Olivier Hainque <hainque@adacore.com>
1188
1189 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1190 match as powerpc-wrs-vxworks*.
1191
1192 2017-08-07 Jonathan Yong <10walls@gmail.com>
1193
1194 * config.host (*-cygwin): Include file from mingw
1195 config/i386/enable-execute-stack-mingw32.c
1196
1197 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
1198 Doug Rupp <rupp@adacore.com>
1199 Olivier Hainque <hainque@adacore.com>
1200
1201 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1202 as well as arm-wrs-vxworks.
1203 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1204 LIB2ADDEH.
1205 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1206 __exidx_start and __exidx_end for downloadable modules.
1207
1208 2017-08-01 Olivier Hainque <hainque@adacore.com>
1209
1210 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1211 * config/t-vxworks7: Likewise.
1212
1213 2017-08-01 Olivier Hainque <hainque@adacore.com>
1214
1215 * config/t-vxworks: Instead of redefining LIB2ADD,
1216 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1217
1218 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1219
1220 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1221
1222 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
1223
1224 PR testsuite/80759
1225 * config.host: include i386/t-msabi for darwin and solaris.
1226 * config/i386/i386-asm.h
1227 (ELFFN): Rename to FN_TYPE.
1228 (FN_SIZE): New macro.
1229 (FN_HIDDEN): Likewise.
1230 (ASMNAME): Likewise.
1231 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1232 .globl.
1233 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1234 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1235 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1236 .macro.
1237 * config/i386/resms64f.S: Likewise.
1238 * config/i386/resms64fx.S: Likewise.
1239 * config/i386/resms64x.S: Likewise.
1240 * config/i386/savms64.S: Likewise.
1241 * config/i386/savms64f.S: Likewise.
1242
1243 2017-07-19 John Marino <gnugcc@marino.st>
1244
1245 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1246
1247 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1248
1249 PR target/81193
1250 * configure.ac (PowerPC float128 hardware support): Test whether
1251 we can use __builtin_cpu_supports before enabling the ifunc
1252 handler.
1253 * configure: Regenerate.
1254
1255 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
1256
1257 * config.host: Remove uclibc from arc target spec.
1258
1259 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1260
1261 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1262
1263 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1264
1265 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1266 (have_ieee_hw_p): Delete function.
1267 (SW_OR_HW) Use __builtin_cpu_supports().
1268
1269 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1270
1271 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1272
1273 2017-07-03 Olivier Hainque <hainque@adacore.com>
1274
1275 * config/t-vxworks7: New file, really.
1276
1277 2017-06-28 Joseph Myers <joseph@codesourcery.com>
1278
1279 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1280 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1281 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1282 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1283 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1284 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1285 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1286 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1287 config/sh/linux-unwind.h (sh_fallback_frame_state),
1288 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1289 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1290 ucontext_t instead of struct ucontext.
1291
1292 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
1293
1294 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1295 (x86_64-wrs-vxworks7): Likewise.
1296
1297 2017-06-27 Olivier Hainque <hainque@adacore.com>
1298
1299 * config/t-vxworks7: New file.
1300 * config.host (*-*-vxworks7): Use it.
1301
1302 2017-06-22 Matt Turner <mattst88@gmail.com>
1303
1304 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1305 skylake case.
1306
1307 2017-06-21 Richard Biener <rguenther@suse.de>
1308
1309 PR gcov-profile/81080
1310 * configure.ac: Add AC_SYS_LARGEFILE.
1311 * libgcov.h: Include auto-target.h before tsystem.h to pick
1312 up _FILE_OFFSET_BITS which might differ for multilibs.
1313 * config.in: Regenerate.
1314 * configure: Likewise.
1315
1316 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
1317
1318 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1319
1320 2017-06-09 Martin Liska <mliska@suse.cz>
1321
1322 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1323 Reset __gcov_indirect_call_callee to NULL.
1324
1325 2017-06-08 Olivier Hainque <hainque@adacore.com>
1326
1327 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1328 the set of -I options, support for direct inclusions of net/uio.h
1329 by VxWorks header files via ioLib.h.
1330
1331 2017-06-07 Tony Reix <tony.reix@atos.net>
1332 Matthieu Sarter <matthieu.sarter.external@atos.net>
1333 David Edelsohn <dje.gcc@gmail.com>
1334
1335 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1336 unconditionally.
1337 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1338 AIX 7.2 support.
1339
1340 2017-06-02 Olivier Hainque <hainque@adacore.com>
1341
1342 * config/vxlib.c (__gthread_once): Add missing value to
1343 return statement.
1344
1345 2017-05-30 Olivier Hainque <hainque@adacore.com>
1346
1347 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1348 dollar sign before $(MULTIDIR).
1349
1350 2017-05-26 Richard Henderson <rth@redhat.com>
1351
1352 PR libgcc/80037
1353 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1354
1355 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1356
1357 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1358 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1359 * config/arm/unwind-arm.c: Implement the above.
1360
1361 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1362
1363 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1364 section for a non-executable stack.
1365
1366 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1367
1368 PR target/80600
1369 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1370
1371 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
1372
1373 * config.host: Add i386/t-msabi to i386/t-linux file list.
1374 * config/i386/i386-asm.h: New file.
1375 * config/i386/resms64.S: New file.
1376 * config/i386/resms64f.S: New file.
1377 * config/i386/resms64fx.S: New file.
1378 * config/i386/resms64x.S: New file.
1379 * config/i386/savms64.S: New file.
1380 * config/i386/savms64f.S: New file.
1381 * config/i386/t-msabi: New file.
1382
1383 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1384
1385 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1386 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1387
1388 2017-05-05 Joshua Conner <joshconner@google.com>
1389
1390 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1391 pc-relative indirect handling for fuchsia.
1392 * config/t-slibgcc-fuchsia: New file.
1393 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
1394 x86_64-*-fuchsia*): Add definitions.
1395
1396 2017-04-19 Martin Liska <mliska@suse.cz>
1397
1398 PR gcov-profile/80435
1399 * Makefile.in: Install gcov.h.
1400 * gcov.h: New file.
1401 * libgcov.h: Use the header and make __gcov_flush publicly
1402 visible.
1403
1404 2017-04-18 Martin Liska <mliska@suse.cz>
1405
1406 PR gcov-profile/78783
1407 * libgcov-driver.c (gcov_get_filename): New function.
1408
1409 2017-04-07 Jeff Law <law@redhat.com>
1410
1411 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1412 target makefile fragment.
1413 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1414
1415 2017-04-07 Alan Modra <amodra@gmail.com>
1416
1417 PR target/45053
1418 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1419
1420 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
1421
1422 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1423
1424 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1425
1426 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1427
1428 2017-03-10 John Marino <gnugcc@marino.st>
1429
1430 * config/aarch64/freebsd-unwind.h: New file.
1431 * config.host: Add aarch64-*-freebsd unwinder.
1432
1433 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1434
1435 * config/rs6000/crtrestvr.s: Use .machine altivec.
1436 * config/rs6000/crtsavevr.s: Ditto.
1437
1438 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1439
1440 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1441 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1442 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1443 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1444 * configure: Regenerate.
1445 * config.in: Regenerate.
1446
1447 2017-03-02 Jonathan Yong <10walls@gmail.com>
1448
1449 * config/i386/gthr-win32.h: Define NOGDI before
1450 windows.h include to prevent w32api CC_NONE macro
1451 clash with libgfortran.
1452
1453 2017-03-02 Jonathan Yong <10walls@gmail.com>
1454
1455 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1456
1457 2017-02-16 Andrew Pinski <apinski@cavium.com>
1458
1459 * config/aarch64/value-unwind.h: New file.
1460 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1461 to tm_file.
1462
1463 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1464
1465 * config.host: Add RISC-V tuples.
1466 * config/riscv/atomic.c: New file.
1467 * config/riscv/crti.S: Likewise.
1468 * config/riscv/crtn.S: Likewise.
1469 * config/riscv/div.S: Likewise.
1470 * config/riscv/linux-unwind.h: Likewise.
1471 * config/riscv/muldi3.S: Likewise.
1472 * config/riscv/multi3.S: Likewise.
1473 * config/riscv/save-restore.S: Likewise.
1474 * config/riscv/sfp-machine.h: Likewise.
1475 * config/riscv/t-elf: Likewise.
1476 * config/riscv/t-elf32: Likewise.
1477 * config/riscv/t-elf64: Likewise.
1478 * config/riscv/t-softfp32: Likewise.
1479 * config/riscv/t-softfp64: Likewise.
1480
1481 2017-01-24 Jakub Jelinek <jakub@redhat.com>
1482
1483 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1484 /* FALLTHRU */ comments.
1485
1486 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1487
1488 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1489
1490 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1491
1492 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1493 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1494 DW_CFA_GNU_window_save for AArch64 and LP64.
1495
1496 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1497
1498 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1499
1500 2017-01-19 Jiong Wang <jiong.wang@arm.com>
1501
1502 * config/aarch64/aarch64-unwind.h: New file.
1503 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1504 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1505 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1506 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1507 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1508 (aarch64_post_extract_frame_addr): New function.
1509 (aarch64_post_frob_eh_handler_addr): New function.
1510 (aarch64_frob_update_context): New function.
1511 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1512 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1513 aarch64*-*-freebsd*):
1514 Initialize md_unwind_header to include aarch64-unwind.h.
1515 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1516 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1517 __aarch64__.
1518 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1519 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1520 (uw_frob_return_addr): New function.
1521 (uw_install_context): Use uw_frob_return_addr.
1522
1523 2017-01-17 Jakub Jelinek <jakub@redhat.com>
1524
1525 PR other/79046
1526 * configure.ac: Add GCC_BASE_VER.
1527 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1528 version from BASE-VER file.
1529 * configure: Regenerated.
1530
1531 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
1532
1533 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1534 libmul_f5.a): Filter archived prerequisites.
1535
1536 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1537
1538 * config/i386/cpuinfo.h (processor_features): Add
1539 FEATURE_AVX512VPOPCNTDQ.
1540 * config/i386/cpuinfo.c (get_available_features): Habdle new
1541 feature.
1542
1543 2017-01-04 Joseph Myers <joseph@codesourcery.com>
1544
1545 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1546 payload if [__mips_nan2008].
1547
1548 2017-01-04 Alan Modra <amodra@gmail.com>
1549
1550 * Makefile.in (configure_deps): Update.
1551 * configure: Regenerate.
1552
1553 2017-01-01 Jakub Jelinek <jakub@redhat.com>
1554
1555 Update copyright years.
1556
1557 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1558
1559 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1560 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1561 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1562
1563 2016-12-17 Matthias Klose <doko@ubuntu.com>
1564
1565 * config/arc/gmon: Remove empty directory.
1566
1567 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1568
1569 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1570 crtgend.
1571 (arc*-*-elf*): Likewise.
1572 * config/arc/t-arc: Remove old gmon lib targets.
1573 * config/arc/crtg.S: Remove.
1574 * config/arc/crtgend.S: Likewise.
1575 * config/arc/gmon/atomic.h: Likewise.
1576 * config/arc/gmon/auxreg.h: Likewise.
1577 * config/arc/gmon/dcache_linesz.S: Likewise.
1578 * config/arc/gmon/gmon.c: Likewise.
1579 * config/arc/gmon/machine-gmon.h: Likewise.
1580 * config/arc/gmon/mcount.c: Likewise.
1581 * config/arc/gmon/prof-freq-stub.S: Likewise.
1582 * config/arc/gmon/prof-freq.c: Likewise.
1583 * config/arc/gmon/profil.S: Likewise.
1584 * config/arc/gmon/sys/gmon.h: Likewise.
1585 * config/arc/gmon/sys/gmon_out.h: Likewise.
1586 * config/arc/t-arc-newlib: Likewise.
1587 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1588
1589 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1590
1591 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1592
1593 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1594
1595 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1596 R16 instead of push + pop.
1597 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1598
1599 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1600
1601 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1602 tmake_file.
1603
1604 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1605
1606 * config.host (arc*-*-linux-uclibc*): Use default extra
1607 objects. Include linux-android header.
1608 * config/arc/crti.S (_init): Declare symbol as function.
1609 (_fini): Likewise.
1610
1611 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1612
1613 PR fortran/78379
1614 * config/i386/cpuinfo.c: Move denums for processor vendors,
1615 processor type, processor subtypes and declaration of
1616 struct __processor_model into
1617 * config/i386/cpuinfo.h: New header file.
1618
1619 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1620 Thomas Preud'homme <thomas.preudhomme@arm.com>
1621
1622 * config/arm/cmse_nonsecure_call.S: New.
1623 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1624
1625 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1626 Thomas Preud'homme <thomas.preudhomme@arm.com>
1627
1628 * config/arm/t-arm (HAVE_CMSE): New.
1629 * config/arm/cmse.c: New.
1630
1631 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1632
1633 PR gcc/74748
1634 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1635 use generic linker version information on Blackfin.
1636
1637 PR gcc/74748
1638 * libgcc/mkmap-symver.awk: add support for skip_underscore
1639
1640 2016-11-27 Iain Sandoe <iain@codesourcery.com>
1641 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1642
1643 PR target/67710
1644 * config/t-darwin: Default builds to 10.5 codegen.
1645
1646 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1647
1648 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1649 (_FP_NANSIGN_H): Likewise.
1650 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1651 (softfp_truncations): Add tfhf.
1652 (softfp_extras): Add required conversion functions.
1653
1654 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1655 Matthew Wahab <matthew.wahab@arm.com>
1656
1657 * config/arm/fp16.c (binary64): New.
1658 (__gnu_d2h_internal): New.
1659 (__gnu_d2h_ieee): New.
1660 (__gnu_d2h_alternative): New.
1661
1662 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1663 Matthew Wahab <matthew.wahab@arm.com>
1664
1665 * config/arm/fp16.c (struct format): New.
1666 (binary32): New.
1667 (__gnu_float2h_internal): New. Body moved from
1668 __gnu_f2h_internal and generalize.
1669 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1670 Call it with binary32.
1671
1672 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1673
1674 * soft-fp/extendhftf2.c: Update from glibc.
1675 * soft-fp/fixhfti.c: Likewise.
1676 * soft-fp/fixunshfti.c: Likewise.
1677 * soft-fp/floattihf.c: Likewise.
1678 * soft-fp/floatuntihf.c: Likewise.
1679 * soft-fp/half.h: Likewise.
1680 * soft-fp/trunctfhf2.c: Likewise.
1681
1682 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
1683
1684 PR libgcc/77813
1685 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1686 __TMC_END__ behind a passthrough asm.
1687
1688 2016-11-18 Walter Lee <walt@tilera.com>
1689
1690 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1691
1692 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1693
1694 * config/i386/cpuinfo.c (processor_features): Add
1695 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1696
1697 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1698
1699 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1700 (__ARC_NORM__): Use instead ARC_OPTFPE.
1701 * config/arc/fp-hack.h: Likewise.
1702 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1703 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1704
1705 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
1706
1707 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1708 * config/nvptx/mgomp.c: New file.
1709 * config/nvptx/t-nvptx: Add mgomp.c
1710
1711 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1712
1713 PR libgcc/68468
1714 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1715
1716 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1717
1718 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1719 of checking for cpus.
1720 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1721 (__modsi3, __clzsi2): Likewise.
1722
1723 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1724
1725 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1726 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1727 * config/i386/t-cpuinfo-static: New.
1728
1729 2016-11-03 Martin Liska <mliska@suse.cz>
1730
1731 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1732 (__gcov_time_profiler_atomic): Likewise.
1733
1734 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1735
1736 PR libgcc/78067
1737 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1738 count_leading_zeros.
1739
1740 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
1741
1742 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1743 * libgcc2.c (__divmoddi4): New function.
1744 * libgcc2.h (__divmoddi4): Declare.
1745 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1746 and __PFX_divmodti4.
1747
1748 2016-10-24 Florian Weimer <fweimer@redhat.com>
1749
1750 PR libgcc/78064
1751 * unwind-c.c: Include auto-target.h.
1752
1753 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
1754
1755 * config/pa/pa64-hpux-lib.h: New file.
1756 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1757 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1758 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1759 hppa*64*-*-hpux11*.
1760
1761 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1762
1763 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1764 definition.
1765 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1766 definition.
1767 * config/xtensa/t-windowed (LIB2ADDEH): Use
1768 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1769 or xtensa/t-linux.
1770
1771 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1772
1773 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1774 __ieee754_sqrt): New functions.
1775 (__divdf3): Add implementation with new FPU instructions under
1776 #if XCHAL_HAVE_DFP_DIV.
1777 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1778 __ieee754_sqrtf): New functions.
1779 (__divsf3): Add implementation with new FPU instructions under
1780 #if XCHAL_HAVE_FP_DIV.
1781 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1782 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1783
1784 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1785
1786 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1787 equivalent.
1788 * config/tilepro/atomic.c: Likewise and stop casting model to
1789 enum memmodel.
1790
1791 2016-10-10 Joseph Myers <joseph@codesourcery.com>
1792
1793 PR target/77586
1794 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1795 soft-fp.
1796
1797 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1798
1799 * config.host: Add support for aarch64-*-freebsd*.
1800
1801 2016-10-05 Andreas Schwab <schwab@suse.de>
1802
1803 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1804 (.section .init_array): Don't call __do_jv_register_classes.
1805 (.section .init): Likewise.
1806
1807 2016-10-04 Jakub Jelinek <jakub@redhat.com>
1808
1809 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1810 (__JCR_LIST__): Remove.
1811 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1812 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1813 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1814 * config/ia64/crtend.S (__JCR_END__): Remove.
1815 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1816 conditionals.
1817 (__JCR_LIST__, __JCR_END__): Remove.
1818 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1819 (__do_global_ctors_1): Likewise.
1820
1821 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
1822
1823 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1824 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1825
1826 2016-09-27 Martin Liska <mliska@suse.cz>
1827
1828 PR gcov-profile/7970
1829 PR gcov-profile/16855
1830 PR gcov-profile/44779
1831 * libgcov-driver.c (__gcov_init): Do not register a atexit
1832 handler.
1833 (__gcov_exit): Rename from gcov_exit.
1834 * libgcov.h (__gcov_exit): Declare.
1835
1836 2016-09-27 Martin Liska <mliska@suse.cz>
1837
1838 PR bootstrap/77749
1839 * Makefile.in: Remove _gcov_merge_delta.
1840 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1841 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1842 * libgcov.h: Remove declaration of __gcov_merge_delta.
1843
1844 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1845
1846 * configure.ac: Do not create links, only substitute the filenames.
1847 * configure: Regenerate.
1848 * Makefile.in: Assign the substitution results to variables.
1849 (LIBGCC_LINKS): Define.
1850 (enable-execute-stack.c): New rule.
1851 (unwind.h): Likewise.
1852 (md-unwind-support.h): Likewise.
1853 (sfp-machine.h): Likewise.
1854 (gthr-default.h): Likewise.
1855 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1856 unwind.h as prerequisite of install-unwind_h-forbuild.
1857
1858 2016-09-16 Jakub Jelinek <jakub@redhat.com>
1859
1860 PR libgcc/71744
1861 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1862 is not the primary registry and atomics are available.
1863 (any_objects_registered): New variable.
1864 (__register_frame_info_bases, __register_frame_info_table_bases):
1865 Atomically store 1 to any_objects_registered after registering first
1866 unwind info.
1867 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1868
1869 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1870
1871 PR target/63250
1872 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1873 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1874 (HFtype): Likewise.
1875 (HCtype): Likewise.
1876 (__divhc3): Likewise.
1877 (__mulhc3): Likewise.
1878 * libgcc2.c: Support _mulhc3 and _divhc3.
1879
1880 2016-09-07 Joseph Myers <joseph@codesourcery.com>
1881
1882 PR libgcc/77519
1883 * libgcc2.c (NOTRUNC): Invert settings.
1884
1885 2016-09-06 Martin Liska <mliska@suse.cz>
1886
1887 PR gcov-profile/77378
1888 PR gcov-profile/77466
1889 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1890 conditionaly enable/disable *_atomic functions.
1891
1892 2016-08-26 Joseph Myers <joseph@codesourcery.com>
1893
1894 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1895 where not already enabled.
1896
1897 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1898
1899 * config/mips/linux-unwind.h: Use sys/syscall.h.
1900
1901 2016-08-16 Joseph Myers <joseph@codesourcery.com>
1902
1903 PR libgcc/77265
1904 * soft-fp/adddf3.c: Update from glibc.
1905 * soft-fp/addsf3.c: Likewise.
1906 * soft-fp/addtf3.c: Likewise.
1907 * soft-fp/divdf3.c: Likewise.
1908 * soft-fp/divsf3.c: Likewise.
1909 * soft-fp/divtf3.c: Likewise.
1910 * soft-fp/double.h: Likewise.
1911 * soft-fp/eqdf2.c: Likewise.
1912 * soft-fp/eqsf2.c: Likewise.
1913 * soft-fp/eqtf2.c: Likewise.
1914 * soft-fp/extenddftf2.c: Likewise.
1915 * soft-fp/extended.h: Likewise.
1916 * soft-fp/extendsfdf2.c: Likewise.
1917 * soft-fp/extendsftf2.c: Likewise.
1918 * soft-fp/extendxftf2.c: Likewise.
1919 * soft-fp/fixdfdi.c: Likewise.
1920 * soft-fp/fixdfsi.c: Likewise.
1921 * soft-fp/fixdfti.c: Likewise.
1922 * soft-fp/fixsfdi.c: Likewise.
1923 * soft-fp/fixsfsi.c: Likewise.
1924 * soft-fp/fixsfti.c: Likewise.
1925 * soft-fp/fixtfdi.c: Likewise.
1926 * soft-fp/fixtfsi.c: Likewise.
1927 * soft-fp/fixtfti.c: Likewise.
1928 * soft-fp/fixunsdfdi.c: Likewise.
1929 * soft-fp/fixunsdfsi.c: Likewise.
1930 * soft-fp/fixunsdfti.c: Likewise.
1931 * soft-fp/fixunssfdi.c: Likewise.
1932 * soft-fp/fixunssfsi.c: Likewise.
1933 * soft-fp/fixunssfti.c: Likewise.
1934 * soft-fp/fixunstfdi.c: Likewise.
1935 * soft-fp/fixunstfsi.c: Likewise.
1936 * soft-fp/fixunstfti.c: Likewise.
1937 * soft-fp/floatdidf.c: Likewise.
1938 * soft-fp/floatdisf.c: Likewise.
1939 * soft-fp/floatditf.c: Likewise.
1940 * soft-fp/floatsidf.c: Likewise.
1941 * soft-fp/floatsisf.c: Likewise.
1942 * soft-fp/floatsitf.c: Likewise.
1943 * soft-fp/floattidf.c: Likewise.
1944 * soft-fp/floattisf.c: Likewise.
1945 * soft-fp/floattitf.c: Likewise.
1946 * soft-fp/floatundidf.c: Likewise.
1947 * soft-fp/floatundisf.c: Likewise.
1948 * soft-fp/floatunditf.c: Likewise.
1949 * soft-fp/floatunsidf.c: Likewise.
1950 * soft-fp/floatunsisf.c: Likewise.
1951 * soft-fp/floatunsitf.c: Likewise.
1952 * soft-fp/floatuntidf.c: Likewise.
1953 * soft-fp/floatuntisf.c: Likewise.
1954 * soft-fp/floatuntitf.c: Likewise.
1955 * soft-fp/gedf2.c: Likewise.
1956 * soft-fp/gesf2.c: Likewise.
1957 * soft-fp/getf2.c: Likewise.
1958 * soft-fp/ledf2.c: Likewise.
1959 * soft-fp/lesf2.c: Likewise.
1960 * soft-fp/letf2.c: Likewise.
1961 * soft-fp/muldf3.c: Likewise.
1962 * soft-fp/mulsf3.c: Likewise.
1963 * soft-fp/multf3.c: Likewise.
1964 * soft-fp/negdf2.c: Likewise.
1965 * soft-fp/negsf2.c: Likewise.
1966 * soft-fp/negtf2.c: Likewise.
1967 * soft-fp/op-1.h: Likewise.
1968 * soft-fp/op-2.h: Likewise.
1969 * soft-fp/op-4.h: Likewise.
1970 * soft-fp/op-8.h: Likewise.
1971 * soft-fp/op-common.h: Likewise.
1972 * soft-fp/quad.h: Likewise.
1973 * soft-fp/single.h: Likewise.
1974 * soft-fp/soft-fp.h: Likewise.
1975 * soft-fp/subdf3.c: Likewise.
1976 * soft-fp/subsf3.c: Likewise.
1977 * soft-fp/subtf3.c: Likewise.
1978 * soft-fp/truncdfsf2.c: Likewise.
1979 * soft-fp/trunctfdf2.c: Likewise.
1980 * soft-fp/trunctfsf2.c: Likewise.
1981 * soft-fp/trunctfxf2.c: Likewise.
1982 * soft-fp/unorddf2.c: Likewise.
1983 * soft-fp/unordsf2.c: Likewise.
1984 * soft-fp/unordtf2.c: Likewise.
1985
1986 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1987
1988 PR gcov-profile/67097
1989 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1990
1991 2016-08-10 Martin Liska <mliska@suse.cz>
1992
1993 PR gcov-profile/58306
1994 * Makefile.in: New functions (modules) are added.
1995 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1996 function.
1997 (__gcov_pow2_profiler_atomic): New function.
1998 (__gcov_one_value_profiler_body): New argument is instroduced.
1999 (__gcov_one_value_profiler): Call with the new argument.
2000 (__gcov_one_value_profiler_atomic): Likewise.
2001 (__gcov_indirect_call_profiler_v2): Likewise.
2002 (__gcov_time_profiler_atomic): New function.
2003 (__gcov_average_profiler_atomic): Likewise.
2004 (__gcov_ior_profiler_atomic): Likewise.
2005 * libgcov.h: Declare the aforementioned functions.
2006
2007 2016-08-09 Martin Liska <mliska@suse.cz>
2008
2009 * libgcov-util.c: Fix typo and GNU coding style.
2010
2011 2016-08-09 Martin Liska <mliska@suse.cz>
2012
2013 * Makefile.in: Remove __gcov_indirect_call_profiler.
2014 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2015 function.
2016 * libgcov.h: And the declaration of the function.
2017
2018 2016-08-09 Martin Liska <mliska@suse.cz>
2019
2020 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2021 power of two.
2022
2023 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2024
2025 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2026 * config/rs6000/_mulkc3.c: Likewise.
2027
2028 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
2029
2030 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2031 zero_reg as previous call to __umulhisi3 already cleared it.
2032
2033 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2034
2035 PR target/59833
2036 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2037
2038 2016-07-19 Nick Clifton <nickc@redhat.com>
2039
2040 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2041 Add crtinit.o and crtfini.o to extra_parts.
2042
2043 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2044
2045 * config/rs6000/_divkc3.c: New.
2046 * config/rs6000/_mulkc3.c: New.
2047 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2048 and _divkc3.
2049 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2050 fp128_ppc_funcs.
2051
2052 2016-07-11 Hale Wang <hale.wang@arm.com>
2053 Andre Vieira <andre.simoesdiasvieira@arm.com>
2054
2055 * config/arm/lib1funcs.S: Add new wrapper.
2056
2057 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2058
2059 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2060
2061 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2062
2063 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2064 and ARMv5t* rather than for a fixed list of architectures.
2065
2066 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2067
2068 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2069 implementation suitable for.
2070 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2071 for all Thumb-1 only targets.
2072 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2073 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2074 __ARM_ARCH_6M__.
2075 (EQUIV): Likewise.
2076 (ARM_FUNC_ALIAS): Likewise.
2077 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2078 version.
2079 (modsi3): Likewise.
2080 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2081 (clzdi2): Likewise.
2082 (ctzsi2): Likewise.
2083 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2084 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2085 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2086 __ARM_ARCH_6M__ and add comment to indicate the connection between
2087 this condition and the one in gcc/config/arm/elf.h.
2088 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2089 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2090 * config/arm/t-softfp: Likewise.
2091
2092 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2093
2094 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2095 CTOR_LISTS_DEFINED_EXTERNALLY.
2096
2097 2016-06-28 Walter Lee <walt@tilera.com>
2098
2099 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2100 asm/unistd.h.
2101 (SPR_CMPEXCH_VALUE): Define for tilegx.
2102 (__NR_FAST_cmpxchg): Define for tilepro.
2103 (__NR_FAST_atomic_update): Define for tilepro.
2104 (__NR_FAST_cmpxchg64): Define for tilepro.
2105
2106 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2107
2108 * config.host: Add suport for arm*-*-phoenix* targets.
2109
2110 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2111
2112 * config.host: Remove support for mep-*.
2113 * config/mep/lib1funcs.S: Remove.
2114 * config/mep/lib2funcs.c: Remove.
2115 * config/mep/t-mep: Remove.
2116 * config/mep/tramp.c: Remove.
2117
2118 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2119
2120 * config.host: Remove support for avr-rtems.
2121 * config/avr/t-rtems: Remove.
2122
2123 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2124
2125 * config.host: Remove m32r-rtems support.
2126
2127 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2128
2129 * config.host: Remove h8300-rtems support.
2130
2131 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2132
2133 * config.host: Remove support for knetbsd.
2134
2135 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2136
2137 * config.host: Remove support for openbsd 2 and 3.
2138
2139 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2140
2141 * config.host: Remove interix support.
2142 * config/i386/t-interix: Remove.
2143
2144 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
2145
2146 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2147 least-significant bit in function pointer for fixup.
2148
2149 2016-06-05 Aaron Conole <aconole@redhat.com>
2150 Nathan Sidwell <nathan@acm.org>
2151
2152 PR libgcc/71400
2153 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2154 (get_gcov_error_file): Check __gcov_error_file before trying to
2155 initialize it.
2156 (gcov_error): Always use get_gcov_error_file.
2157
2158 2016-06-02 Aaron Conole <aconole@redhat.com>
2159
2160 * libgcov-driver-system.c (__gcov_error_file): New.
2161 (get_gcov_error_file): New.
2162 (gcov_error): Use and set __gcov_error_file.
2163 (gcov_error_exit): New.
2164 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2165
2166 2016-05-26 Nathan Sidwell <nathan@acm.org>
2167
2168 * config/nvptx/free.asm: Delete.
2169 * config/nvptx/malloc.asm: Delete.
2170 * config/nvptx/realloc.c: Delete.
2171 * t-nvptx: Update.
2172
2173 2016-05-25 Nathan Sidwell <nathan@acm.org>
2174
2175 * config/nvptx/crt0.s: Delete.
2176 * config/nvptx/crt0.c: New.
2177 * t-nvptx: Update.
2178
2179 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2180
2181 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
2182 dw2/seh configuration.
2183 [x86_64-*-mingw*]: Likewise.
2184
2185 2016-05-10 Joel Sherrill <joel@rtems.org>
2186
2187 PR libgcc/70720
2188 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2189 targets so the same extra_parts are built. Also have tmake_file add
2190 on to its value rather than override.
2191
2192 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2193
2194 * config.host: Remove SH5 support.
2195 * configure: Likewise.
2196
2197 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2198
2199 * config/sh/crt1.S: Remove SH5 support.
2200 * config/sh/crti.S: Likewise.
2201 * config/sh/crtn.S: Likewise.
2202 * config/sh/lib1funcs-4-300.S: Likewise.
2203 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2204 * config/sh/lib1funcs.S: Likewise.
2205 * config/sh/linux-unwind.h: Likewise.
2206 * config/sh/t-sh64: Delete.
2207
2208 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2209
2210 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2211
2212 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2213 Joern Rennecke <joern.rennecke@embecosm.com>
2214
2215 * config/arc/crttls.S: New file.
2216 * config/arc/t-arc: New rule.
2217 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2218
2219 2016-04-25 Nick Clifton <nickc@redhat.com>
2220
2221 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2222 (__mspabi_cmpd): Likewise.
2223 * config/msp430/floathidf.c (__floathidf): Likewise.
2224 * config/msp430/floathisf.c (__floathisf): Likewise
2225 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2226 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2227 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2228 second parameter.
2229 (__ashrsi3): Likewise.
2230
2231 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2232
2233 * config/m68k/linux-atomic.c: Do not include unistd.h
2234
2235 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2236
2237 * config/arm/ieee754-df.S: Fix typos in comments.
2238
2239 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2240
2241 PR target/70381
2242 * configure.ac (powerpc*-*-linux*): Rework tests to build
2243 __float128 emulation routines to not depend on using #pragma GCC
2244 target to enable -mfloat128.
2245 * configure: Regnerate.
2246
2247 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2248
2249 PR target/67172
2250 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2251 __MINGW32__ is defined.
2252
2253 2016-03-28 James Bowman <james.bowman@ftdichip.com>
2254
2255 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
2256
2257 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2258
2259 PR libgcc/70363
2260 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2261 built with an assembler that does not support ISA 3.0
2262 instructions, rename __extendkftf2_sw to __extendkftf2.
2263
2264 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2265
2266 PR target/38239
2267 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2268 call-clobbered registers.
2269 (internal_mcount): Remove __i386__ handling.
2270
2271 2016-02-26 Joel Sherrill <joel@rtems.org>
2272
2273 * config.host: Add x86_64-*-rtems*.
2274
2275 2016-02-26 Joel Sherrill <joel@rtems.org>
2276
2277 * libgcc/config.host: Add aarch64-*-rtems*.
2278
2279 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2280 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2281
2282 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2283 union of u64 and double.
2284 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2285 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2286 value.
2287 (FP_ROUNDMODE): Update the usage of _fpscr.
2288
2289 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2290
2291 PR driver/68463
2292 * Makefile.in (crtoffloadtable$(objext)): New rule.
2293 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2294 enable_offload_targets is not empty.
2295 * configure: Regenerate.
2296 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2297 crtoffloadtable.
2298
2299 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2300
2301 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2302 .literal_position before the function.
2303 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2304 Likewise.
2305
2306 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2307
2308 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2309 * config/s390/morestack.S: New file.
2310 * config/s390/t-stack-s390: New file.
2311 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2312
2313 2016-02-12 Walter Lee <walt@tilera.com>
2314
2315 * config.host (tilegx*-*-linux*): remove ti from
2316 softfp_int_modes for 32-bit configs.
2317
2318 2016-02-10 Ian Lance Taylor <iant@google.com>
2319
2320 PR go/68562
2321 * config/i386/morestack.S (__stack_split_initialize): Align
2322 stack.
2323
2324 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2325
2326 PR bootstrap/69611
2327 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2328 __FLOAT128__ to compile only for __float128 capable targets.
2329
2330 2016-01-25 Jakub Jelinek <jakub@redhat.com>
2331
2332 PR target/69444
2333 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2334 instead of ___NO_FPRS__.
2335
2336 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
2337 Steven Munroe <munroesj@linux.vnet.ibm.com>
2338 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2339
2340 * config/rs6000/float128-sed: New files to convert TF names to KF
2341 names for PowerPC IEEE 128-bit floating point support.
2342 * config/rs6000/float128-sed-hw: Likewise.
2343
2344 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2345 floating point hardware support.
2346
2347 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2348 128-bit floating point software emulation or use ISA 3.0 hardware
2349 support if it is available.
2350
2351 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2352 floating point.
2353
2354 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2355 floating point to IBM extended double.
2356
2357 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2358 double to IEEE 128-bit floating point.
2359
2360 * config/rs6000/t-float128: New Makefile fragments to enable
2361 building __float128 emulation support.
2362 * config/rs6000/t-float128-hw: Likewise.
2363
2364 * config/rs6000/sfp-exceptions.c: New file to provide exception
2365 support for IEEE 128-bit floating point.
2366
2367 * config/rs6000/floattikf.c: New files for converting between IEEE
2368 128-bit floating point and signed/unsigned 128-bit integers.
2369 * config/rs6000/fixunskfti.c: Likewise.
2370 * config/rs6000/fixkfti.c: Likewise.
2371 * config/rs6000/floatuntikf.c: Likewise.
2372
2373 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2374 when building on 64-bit systems, or when VSX is enabled.
2375 (_FP_W_TYPE): Likewise.
2376 (_FP_WS_TYPE): Likewise.
2377 (_FP_I_TYPE): Likewise.
2378 (TItype): Define on 64-bit systems.
2379 (UTItype): Likewise.
2380 (TI_BITS): Likewise.
2381 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2382 (_FP_MUL_MEAT_Q): Likewise.
2383 (_FP_DIV_MEAT_D): Likewise.
2384 (_FP_DIV_MEAT_Q): Likewise.
2385 (_FP_NANFRAC_D): Likewise.
2386 (_FP_NANFRAC_Q): Likewise.
2387 (ISA_BIT): Add exception support if we are being compiled on a
2388 machine with hardware floating point support to build the IEEE
2389 128-bit emulation functions.
2390 (FP_EX_INVALID): Likewise.
2391 (FP_EX_OVERFLOW): Likewise.
2392 (FP_EX_UNDERFLOW): Likewise.
2393 (FP_EX_DIVZERO): Likewise.
2394 (FP_EX_INEXACT): Likewise.
2395 (FP_EX_ALL): Likewise.
2396 (__sfp_handle_exceptions): Likewise.
2397 (FP_HANDLE_EXCEPTIONS): Likewise.
2398 (FP_RND_NEAREST): Likewise.
2399 (FP_RND_ZERO): Likewise.
2400 (FP_RND_PINF): Likewise.
2401 (FP_RND_MINF): Likewise.
2402 (FP_RND_MASK): Likewise.
2403 (_FP_DECL_EX): Likewise.
2404 (FP_INIT_ROUNDMODE): Likewise.
2405 (FP_ROUNDMODE): Likewise.
2406
2407 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2408 VSX code, enable IEEE 128-bit floating point. If the compiler can
2409 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2410 floating point hardware instructions and it supports declaring
2411 functions with the ifunc attribute, enable ifunc functions to
2412 switch between software and hardware support.
2413 * configure.ac (powerpc*-*-linux*): Likewise.
2414 * configure: Regenerate.
2415
2416 2016-01-15 Nick Clifton <nickc@redhat.com>
2417
2418 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2419 dependency as the source file to be compiled.
2420 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2421 (lib2hw_mul_f5.o): Likewise.
2422
2423 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2424
2425 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2426 * libgcc/config/rs6000/fixkfti.c: Likewise.
2427 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2428 * libgcc/config/rs6000/float128-hw.c: Likewise.
2429 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2430 * libgcc/config/rs6000/float128-sed: Likewise.
2431 * libgcc/config/rs6000/floattikf.c: Likewise.
2432 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2433 * libgcc/config/rs6000/quad-float128.h: Likewise.
2434 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2435 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2436 * libgcc/config/rs6000/t-float128: Likewise.
2437 * libgcc/config/rs6000/t-float128-hw: Likewise.
2438 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2439 * libgcc/config.host: Likewise.
2440 * libgcc/configure: Likewise.
2441 * libgcc/configure.ac: Likewise.
2442
2443 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2444 Steven Munroe <munroesj@linux.vnet.ibm.com>
2445 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2446
2447 * config/rs6000/sfp-exceptions.c: New file to provide exception
2448 support for IEEE 128-bit floating point.
2449
2450 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2451 floating point hardware support.
2452
2453 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2454 point conversions.
2455 * config/rs6000/fixunskfti.c: Likewise.
2456 * config/rs6000/fixkfti.c: Likewise.
2457 * config/rs6000/floatuntikf.c: Likewise.
2458 * config/rs6000/extendkftf2-sw.c: Likewise.
2459 * config/rs6000/trunctfkf2-sw.c: Likewise.
2460
2461 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2462 128-bit floating point software emulation or use ISA 3.0 hardware
2463 support if it is available.
2464
2465 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2466 floating point.
2467
2468 * config/rs6000/t-float128: New Makefile fragments to enable
2469 building __float128 emulation support.
2470 * config/rs6000/t-float128-hw: Likewise.
2471
2472 * config/rs6000/float128-sed: New file to convert TF names to KF
2473 names for PowerPC IEEE 128-bit floating point support.
2474
2475 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2476 when building on 64-bit systems, or when VSX is enabled.
2477 (_FP_W_TYPE): Likewise.
2478 (_FP_WS_TYPE): Likewise.
2479 (_FP_I_TYPE): Likewise.
2480 (TItype): Define on 64-bit systems.
2481 (UTItype): Likewise.
2482 (TI_BITS): Likewise.
2483 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2484 (_FP_MUL_MEAT_Q): Likewise.
2485 (_FP_DIV_MEAT_D): Likewise.
2486 (_FP_DIV_MEAT_Q): Likewise.
2487 (_FP_NANFRAC_D): Likewise.
2488 (_FP_NANFRAC_Q): Likewise.
2489 (ISA_BIT): Add exception support if we are being compiled on a
2490 machine with hardware floating point support to build the IEEE
2491 128-bit emulation functions.
2492 (FP_EX_INVALID): Likewise.
2493 (FP_EX_OVERFLOW): Likewise.
2494 (FP_EX_UNDERFLOW): Likewise.
2495 (FP_EX_DIVZERO): Likewise.
2496 (FP_EX_INEXACT): Likewise.
2497 (FP_EX_ALL): Likewise.
2498 (__sfp_handle_exceptions): Likewise.
2499 (FP_HANDLE_EXCEPTIONS): Likewise.
2500 (FP_RND_NEAREST): Likewise.
2501 (FP_RND_ZERO): Likewise.
2502 (FP_RND_PINF): Likewise.
2503 (FP_RND_MINF): Likewise.
2504 (FP_RND_MASK): Likewise.
2505 (_FP_DECL_EX): Likewise.
2506 (FP_INIT_ROUNDMODE): Likewise.
2507 (FP_ROUNDMODE): Likewise.
2508
2509 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2510 compiler can do __float128.
2511 * configure: Regenerate.
2512
2513 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2514 VSX code, enable IEEE 128-bit floating point.
2515
2516 2016-01-05 Olivier Hainque <hainque@adacore.com>
2517
2518 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
2519 specificities.
2520
2521 2016-01-04 Jakub Jelinek <jakub@redhat.com>
2522
2523 Update copyright years.
2524
2525 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2526
2527 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2528 soft-fp targets.
2529
2530 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2531
2532 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2533 instead of abort to avoid dependency on stdlib.h.
2534
2535 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
2536
2537 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2538 to initialize call to __dl_fixup once.
2539
2540 2015-12-04 Nick Clifton <nickc@redhat.com>
2541
2542 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2543 Allow for the second argument being negative.
2544 * config.host (extra_parts): Define for MSP430. Create separate
2545 libraries for each of the hardware multiply formats.
2546 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2547 that are needed.
2548 * config/msp430/lib2mul.c: Likewise.
2549 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2550 Add rules to build hardware multiply libraries.
2551 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2552 __mspabi_divul function.
2553 (__mspabi_divllu): New stub function.
2554
2555 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
2556
2557 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2558 fixup values if saved GOT address doesn't match runtime address.
2559 (fixup_branch_offset): Reorder list.
2560
2561 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2562
2563 * Makefile.in (VTV_CFLAGS): New variable.
2564 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2565 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2566 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2567 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2568 to extra_parts if $enable_vtable_verify = yes.
2569
2570 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2571
2572 PR target/68059
2573 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2574 (write): ...this and fix the return type.
2575
2576 2015-11-19 DJ Delorie <dj@redhat.com>
2577
2578 * config/msp430/lib2hw_mul.S: Fix alignment.
2579
2580 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2581
2582 * config/nvptx/reduction.c: New.
2583 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2584
2585 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
2586
2587 * config/rs6000/on_exit.c: New file.
2588 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2589 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2590
2591 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2592
2593 * config/arc/dp-hack.h: Add support for ARCHS.
2594 * config/arc/ieee-754/divdf3.S: Likewise.
2595 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2596 * config/arc/ieee-754/muldf3.S: Likewise.
2597 * config/arc/ieee-754/mulsf3.S: Likewise
2598 * config/arc/lib1funcs.S: Likewise
2599 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2600 for ARCv2 cores.
2601 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2602 for ARCv2 cores.
2603 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2604 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2605 cores.
2606
2607 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2608
2609 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2610 value.
2611 * config/ia64/crtend.S: Likewise.
2612
2613 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2614
2615 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2616 __CHAR_BIT__ instead of BITS_PER_UNIT.
2617 * fixed-bit.h: Likewise.
2618 * fp-bit.h: Likewise.
2619 * libgcc2.c (__popcountSI2): Likewise.
2620 (__popcountDI2): Likewise.
2621 * libgcc2.h: Likewise.
2622 * libgcov.h: Likewise.
2623
2624 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
2625
2626 * config/rs6000/atexit.c: New file.
2627 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2628 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2629 * config/rs6000/cxa_finalize.c
2630 (catomic_compare_and_exchange_bool_acq): Negate return value.
2631
2632 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2633
2634 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2635 (processor_subtypes): Add znver1.
2636 (get_amd_cpu): Detect znver1.
2637
2638 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2639
2640 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2641 Include crtfastmath.o.
2642
2643 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2644
2645 PR libgcc/66883
2646 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
2647
2648 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2649
2650 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2651 * config/rl78/divmodsi.S: Update return register to r8.
2652 * config/rl78/divmodhi.S: Update return register to r8,r9.
2653 Branch to main_loop_done_himode to pop registers before return.
2654
2655 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2656
2657 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2658 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2659
2660 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2661
2662 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2663
2664 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2665
2666 * config.host (xtensa*-*-uclinux*): New configuration.
2667
2668 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2669
2670 * config/i386/cpuinfo.c (processor_features): Add
2671 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2672
2673 2015-09-28 Joseph Myers <joseph@codesourcery.com>
2674
2675 * soft-fp/adddf3.c: Update from glibc.
2676 * soft-fp/addsf3.c: Likewise.
2677 * soft-fp/addtf3.c: Likewise.
2678 * soft-fp/divdf3.c: Likewise.
2679 * soft-fp/divsf3.c: Likewise.
2680 * soft-fp/divtf3.c: Likewise.
2681 * soft-fp/double.h: Likewise.
2682 * soft-fp/eqdf2.c: Likewise.
2683 * soft-fp/eqsf2.c: Likewise.
2684 * soft-fp/eqtf2.c: Likewise.
2685 * soft-fp/extenddftf2.c: Likewise.
2686 * soft-fp/extended.h: Likewise.
2687 * soft-fp/extendsfdf2.c: Likewise.
2688 * soft-fp/extendsftf2.c: Likewise.
2689 * soft-fp/extendxftf2.c: Likewise.
2690 * soft-fp/fixdfdi.c: Likewise.
2691 * soft-fp/fixdfsi.c: Likewise.
2692 * soft-fp/fixdfti.c: Likewise.
2693 * soft-fp/fixsfdi.c: Likewise.
2694 * soft-fp/fixsfsi.c: Likewise.
2695 * soft-fp/fixsfti.c: Likewise.
2696 * soft-fp/fixtfdi.c: Likewise.
2697 * soft-fp/fixtfsi.c: Likewise.
2698 * soft-fp/fixtfti.c: Likewise.
2699 * soft-fp/fixunsdfdi.c: Likewise.
2700 * soft-fp/fixunsdfsi.c: Likewise.
2701 * soft-fp/fixunsdfti.c: Likewise.
2702 * soft-fp/fixunssfdi.c: Likewise.
2703 * soft-fp/fixunssfsi.c: Likewise.
2704 * soft-fp/fixunssfti.c: Likewise.
2705 * soft-fp/fixunstfdi.c: Likewise.
2706 * soft-fp/fixunstfsi.c: Likewise.
2707 * soft-fp/fixunstfti.c: Likewise.
2708 * soft-fp/floatdidf.c: Likewise.
2709 * soft-fp/floatdisf.c: Likewise.
2710 * soft-fp/floatditf.c: Likewise.
2711 * soft-fp/floatsidf.c: Likewise.
2712 * soft-fp/floatsisf.c: Likewise.
2713 * soft-fp/floatsitf.c: Likewise.
2714 * soft-fp/floattidf.c: Likewise.
2715 * soft-fp/floattisf.c: Likewise.
2716 * soft-fp/floattitf.c: Likewise.
2717 * soft-fp/floatundidf.c: Likewise.
2718 * soft-fp/floatundisf.c: Likewise.
2719 * soft-fp/floatunditf.c: Likewise.
2720 * soft-fp/floatunsidf.c: Likewise.
2721 * soft-fp/floatunsisf.c: Likewise.
2722 * soft-fp/floatunsitf.c: Likewise.
2723 * soft-fp/floatuntidf.c: Likewise.
2724 * soft-fp/floatuntisf.c: Likewise.
2725 * soft-fp/floatuntitf.c: Likewise.
2726 * soft-fp/gedf2.c: Likewise.
2727 * soft-fp/gesf2.c: Likewise.
2728 * soft-fp/getf2.c: Likewise.
2729 * soft-fp/ledf2.c: Likewise.
2730 * soft-fp/lesf2.c: Likewise.
2731 * soft-fp/letf2.c: Likewise.
2732 * soft-fp/muldf3.c: Likewise.
2733 * soft-fp/mulsf3.c: Likewise.
2734 * soft-fp/multf3.c: Likewise.
2735 * soft-fp/negdf2.c: Likewise.
2736 * soft-fp/negsf2.c: Likewise.
2737 * soft-fp/negtf2.c: Likewise.
2738 * soft-fp/op-1.h: Likewise.
2739 * soft-fp/op-2.h: Likewise.
2740 * soft-fp/op-4.h: Likewise.
2741 * soft-fp/op-8.h: Likewise.
2742 * soft-fp/op-common.h: Likewise.
2743 * soft-fp/quad.h: Likewise.
2744 * soft-fp/single.h: Likewise.
2745 * soft-fp/soft-fp.h: Likewise.
2746 * soft-fp/subdf3.c: Likewise.
2747 * soft-fp/subsf3.c: Likewise.
2748 * soft-fp/subtf3.c: Likewise.
2749 * soft-fp/truncdfsf2.c: Likewise.
2750 * soft-fp/trunctfdf2.c: Likewise.
2751 * soft-fp/trunctfsf2.c: Likewise.
2752 * soft-fp/trunctfxf2.c: Likewise.
2753 * soft-fp/unorddf2.c: Likewise.
2754 * soft-fp/unordsf2.c: Likewise.
2755 * soft-fp/unordtf2.c: Likewise.
2756
2757 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
2758
2759 PR libgcc/67624
2760 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2761
2762 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2763
2764 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2765 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2766 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2767 messages.
2768 (internal_mcount): Likewise.
2769 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2770 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2771
2772 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2773
2774 * configure.ac (libgcc_cv_solaris_crts): New test.
2775 * configure: Regenerate.
2776 * config.in: Regenerate.
2777 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2778 * config/gmon-sol2.c: Rename to ...
2779 * config/sol2/gmon.c: ... this.
2780 Include auto-target.h.
2781 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2782 * config/t-sol2: Rename to ...
2783 * config/sol2/t-sol2: ... this.
2784 (gmon.o): Reflect renaming.
2785 (crtp.o, crtpg.o): New rules.
2786 * config.host (*-*-solaris2*): Reflect renaming.
2787 Use system CRTs if present.
2788 Remove default CRT case.
2789
2790 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
2791
2792 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2793 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2794 __kernel_cmpxchg2.
2795 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2796 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2797 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2798 (__sync_lock_test_and_set_##WIDTH): Likewise.
2799 (__sync_lock_release_##WIDTH): Likewise.
2800 (__sync_fetch_and_##OP##_4): Change result to match type of
2801 __kernel_cmpxchg.
2802 (__sync_##OP##_and_fetch_4): Likewise.
2803 (__sync_val_compare_and_swap_4): Likewise.
2804 (__sync_bool_compare_and_swap_4): likewise.
2805 (__sync_lock_test_and_set_4): Likewise.
2806 (__sync_lock_release_4): Likewise.
2807 (FETCH_AND_OP_2): Add long long variants.
2808 (OP_AND_FETCH_2): Likewise.
2809 (COMPARE_AND_SWAP_2 ): Likewise.
2810 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2811 (SYNC_LOCK_RELEASE_2): Likewise.
2812 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2813
2814 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
2815
2816 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2817 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2818 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2819 (get_available_features): Habdle new features.
2820
2821 2015-09-21 James Bowman <james.bowman@ftdichip.com>
2822
2823 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2824 memory layout. Deal correctly with BSS region larger than 32K.
2825 Handle a watchdog reset like a power-on reset. Clean up unused
2826 code.
2827
2828 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
2829 David Edelsohn <dje.gcc@gmail.com>
2830
2831 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2832 * config/rs6000/crtdbase.S: New file.
2833 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2834
2835 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2836
2837 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2838 Add support for call0 ABI.
2839
2840 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
2841
2842 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2843
2844 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2845
2846 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2847 (__GTHREAD_HAS_COND): Likewise.
2848 (__gthread_t): Likewise.
2849 (__gthread_cond_t): Likewise.
2850 (__gthread_time_t): Likewise.
2851 (__GTHREAD_MUTEX_INIT): Likewise.
2852 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2853 (__GTHREAD_COND_INIT): Likewise.
2854 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2855 (__GTHREAD_TIME_INIT): Likewise.
2856 (__gthread_create): Likewise.
2857 (__gthread_join): Likewise.
2858 (__gthread_detach): Likewise.
2859 (__gthread_equal): Likewise.
2860 (__gthread_self): Likewise.
2861 (__gthread_yield): Likewise.
2862 (__gthread_cond_broadcast): Likewise.
2863 (__gthread_cond_signal): Likewise.
2864 (__gthread_cond_wait): Likewise.
2865 (__gthread_cond_timedwait): Likewise.
2866 (__gthread_cond_wait_recursive): Likewise.
2867 (__gthread_cond_destroy): Likewise.
2868 (rtems_gxx_once): Delete.
2869 (rtems_gxx_key_create): Likewise.
2870 (rtems_gxx_key_delete): Likewise.
2871 (rtems_gxx_getspecific): Likewise.
2872 (rtems_gxx_setspecific): Likewise.
2873 (rtems_gxx_mutex_init): Likewise.
2874 (rtems_gxx_mutex_destroy): Likewise.
2875 (rtems_gxx_mutex_lock): Likewise.
2876 (rtems_gxx_mutex_trylock): Likewise.
2877 (rtems_gxx_mutex_unlock): Likewise.
2878 (rtems_gxx_recursive_mutex_init): Likewise.
2879 (rtems_gxx_recursive_mutex_lock): Likewise.
2880 (rtems_gxx_recursive_mutex_trylock): Likewise.
2881 (rtems_gxx_recursive_mutex_unlock): Likewise.
2882 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2883 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2884 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2885 (__gthread_once): Likewise.
2886 (__gthread_key_create): Likewise.
2887 (__gthread_key_delete): Likewise.
2888 (__gthread_getspecific): Likewise.
2889 (__gthread_setspecific): Likewise.
2890 (__gthread_key_t): Use <pthread.h> type.
2891 (__gthread_once_t): Likewise
2892 (__gthread_mutex_t): Use <sys/lock.h> type.
2893 (__gthread_recursive_mutex_t): Likewise
2894 (__gthread_mutex_lock): Use <sys/lock.h> function.
2895 (__gthread_mutex_trylock): Likewise.
2896 (__gthread_mutex_timedlock): Likewise.
2897 (__gthread_mutex_unlock): Likewise.
2898 (__gthread_mutex_destroy): Likewise.
2899 (__gthread_recursive_mutex_lock): Likewise.
2900 (__gthread_recursive_mutex_trylock): Likewise.
2901 (__gthread_recursive_mutex_timedlock): Likewise.
2902 (__gthread_recursive_mutex_unlock): Likewise.
2903 (__gthread_recursive_mutex_destroy): Likewise.
2904
2905 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2906
2907 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2908 context->sp instead of context->cfa.
2909
2910 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2911
2912 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2913 with unwind-dw2-fde-dip.
2914
2915 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2916
2917 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2918 CALL12 followed by series of ENTRY to spill windowed registers.
2919 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2920 instead of making linux spill syscall.
2921
2922 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2923
2924 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2925 (get_intel_cpu): Likewise.
2926
2927 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2928
2929 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2930 (get_intel_cpu): Add Knights Landing support.
2931
2932 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
2933
2934 PR target/66954
2935 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2936 (get_available_features): Handle FEATURE_PCLMUL.
2937
2938 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2939
2940 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2941 Broadwell.
2942
2943 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
2944
2945 PR target/66954
2946 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2947 (get_available_features): Handle FEATURE_AES.
2948
2949 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2950
2951 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2952 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2953
2954 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2955
2956 * offloadstuff.c: Constify host data.
2957
2958 2015-07-17 Jan Beulich <jbeulich@suse.com>
2959
2960 * config/t-softfp: Split up "else ifneq".
2961
2962 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2963 Cesar Philippidis <cesar@codesourcery.com>
2964 Chung-Lin Tang <cltang@codesourcery.com>
2965
2966 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2967 for __nios2_arch__ level.
2968
2969 2015-07-13 John Marino <gnugcc@marino.st>
2970
2971 * config/i386/t-dragonfly: New.
2972
2973 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
2974
2975 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2976 better match light-weight syscall argument order.
2977 (__kernel_cmpxchg2): Likewise.
2978 Adjust callers.
2979
2980 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2981
2982 * config.host: Support i[34567]86-*-elfiamcu target.
2983 * config/t-softfp-sfdftf: New file.
2984 * config/i386/32/t-iamcu: Likewise.
2985 * configure: Regenerated.
2986
2987 2015-06-23 James Lemke <jwlemke@codesourcery.com>
2988
2989 libgcc/config/arm/
2990 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2991
2992 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2993
2994 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2995
2996 2015-05-27 John Marino <gnugcc@marino.st>
2997
2998 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2999 md_unwind_header
3000 * config/i386/freebsd-unwind.h: New.
3001
3002 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
3003
3004 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3005 i386/t-crtfm to tmake_file.
3006 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3007 (set_fast_math): Use set_fast_math_sse for SSE targets.
3008 * config/i386/t-crtfm: Remove.
3009
3010 2015-05-21 Alan Modra <amodra@gmail.com>
3011
3012 PR libgcc/66225
3013 * config/rs6000/morestack.S: Remove ".abiversion 1".
3014
3015 2015-05-20 Alan Modra <amodra@gmail.com>
3016
3017 * config/rs6000/morestack.S: New.
3018 * config/rs6000/t-stack-rs6000: New.
3019 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3020 to tmake_file.
3021 * generic-morestack.c: Don't build for powerpc 32-bit.
3022
3023 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3024
3025 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3026 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3027
3028 2015-05-16 James Bowman <james.bowman@ftdichip.com>
3029
3030 * config.host: FT32 target added.
3031 * config/ft32/*: New files for FT32 target.
3032
3033 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3034
3035 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3036 New macros.
3037 * config/arm/ieee754-df.S: Add CFI directives.
3038 * config/arm/ieee754-sf.S: Add CFI directives.
3039
3040 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3041
3042 * configure.ac: Include config/sjlj.m4.
3043 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3044 * config.in: Regenerate.
3045 * configure: Likewise.
3046 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3047
3048 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
3049
3050 * libgcov-util.c: Add space between string literal and macro name.
3051
3052 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3053 Chris Jones <chrisj@nvidia.com>
3054 Joshua Conner <jconner@nvidia.com>
3055
3056 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3057 (arm*-*-uclinux*): Likewise.
3058 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3059 * config/arm/crtfastmath.c: New file.
3060
3061 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3062
3063 * Makefile.in (real_host_noncanonical): New variable.
3064 (libsubdir): Use it.
3065 * configure.ac (real_host_noncanonical): Compute. Remove special
3066 case for intelmicemul.
3067 * configure: Regenerate.
3068
3069 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3070
3071 * config/frv/elf-lib.h: New file.
3072 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3073 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3074 to tm_file.
3075
3076 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3077
3078 * config/frv/frvbengin.c: Do not include defaults.h
3079 * config/frv/frvend.c: Ditto.
3080
3081 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3082
3083 * config.host: Add h8300-*-linux
3084 * config/h8300/t-linux: New file.
3085 * config/h8300/lib1funs.s: Change symbol prefix.
3086 * config/h8300/sfp-machine.h: 64bit double support.
3087
3088 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3089 Szabolcs Nagy <szabolcs.nagy@arm.com>
3090
3091 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3092 Linux if target provides dl_iterate_phdr.
3093
3094 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3095
3096 PR target/65612
3097 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3098 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3099 (__cpu_indicator_init@GCC_4.8.0): New.
3100 (__cpu_model@GCC_4.8.0): Likewise.
3101 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3102 -DUSE_ELF_SYMVER.
3103
3104 2015-04-16 Nick Clifton <nickc@redhat.com>
3105
3106 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3107 and __modhi3 functions.
3108 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3109 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3110
3111 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3112
3113 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3114 do-while loop as macro body to avoid warnings.
3115
3116 2015-04-10 Jakub Jelinek <jakub@redhat.com>
3117 Iain Sandoe <iain@codesourcery.com>
3118
3119 PR target/65351
3120 * configure: Regenerate.
3121
3122 2015-04-07 Jakub Jelinek <jakub@redhat.com>
3123 Iain Sandoe <iain@codesourcery.com>
3124
3125 PR target/65351
3126 * configure: Regenerate.
3127
3128 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3129
3130 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3131
3132 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
3133
3134 Implement call0 ABI for xtensa
3135 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3136 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3137 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3138 use ret in call0 ABI.
3139 * config/xtensa/t-windowed: New file.
3140 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3141 * libgcc/configure: Regenerated.
3142 * libgcc/configure.ac: Check if xtensa target is configured for
3143 windowed ABI and thus needs to use custom unwind code.
3144
3145 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
3146
3147 PR libgcc/64885
3148 * gthr-single.h: Use __unused__ attribute instead of unused.
3149 * config/gthr-vxworks.h: Likewise.
3150 * config/i386/gthr-win32.h: Likewise.
3151
3152 2015-02-27 Kai Tietz <ktietz@redhat.com>
3153
3154 PR target/65038
3155 * config.in: Regenerated.
3156 * configure: Likewise.
3157 * configure.ac (AC_HEADER_STDC): Added explicit.
3158 (AC_CHECK_HEADERS): Check for default headers plus
3159 for ftw.h header.
3160 * libgcov-util.c (gcov_read_profile_dir): Disable use
3161 of ftw-function, if header is not found.
3162 (ftw_read_file): Likewise.
3163
3164 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3165
3166 PR target/65181
3167 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3168 -Dinhibit_libc.
3169
3170 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3171
3172 * config/arm/bpabi.S (test_div_by_zero): Make label names
3173 consistent between thumb2 and arm mode cases. Separate the
3174 signed comparison on the high word of the numerator from the
3175 unsigned comparison on the low word.
3176 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3177 signed comparison.
3178
3179 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3180
3181 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3182 and <string.h>.
3183 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3184
3185 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3186
3187 PR gcov-profile/61889
3188 * libgcov-driver-system.c: undefine clashing macro for mkdir.
3189
3190 2015-02-02 Nick Clifton <nickc@redhat.com>
3191
3192 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3193 rounding up the fraction.
3194
3195 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
3196
3197 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3198 oldval and newval to const void *. Fix typo.
3199 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3200 (FETCH_AND_OP_WORD): Likewise.
3201 (OP_AND_FETCH_WORD): Likewise.
3202 (COMPARE_AND_SWAP_2): Likewise.
3203 (__sync_val_compare_and_swap_4): Likewise.
3204 (__sync_lock_test_and_set_4): Likewise.
3205 (SYNC_LOCK_RELEASE_2): Likewise.
3206 Remove support for long long atomic operations.
3207
3208 2015-01-27 Caroline Tice <cmtice@google.com>
3209
3210 Committing VTV Cywin/Ming patch for Patrick Wollgast
3211 * Makefile.in: Move rules to build vtv_*.o out of the check
3212 for CUSTOM_CRTSTUFF.
3213 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3214 i[34567]86-*-mingw*)
3215 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3216 enable_vtable_verify.
3217
3218 2015-01-27 Nick Clifton <nickc@redhat.com>
3219
3220 * config/rl78/cmpsi2.S: Use function start and end macros.
3221 (__gcc_bcmp): New function.
3222 * config/rl78/lshrsi3.S: Use function start and end macros.
3223 * config/rl78/mulsi3.S: Add support for G10.
3224 (__mulqi3): New function for G10.
3225 * config/rl78/signbit.S: Use function start and end macros.
3226 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3227 fpmath-sf.S.
3228 (LIB2FUNCS_EXCLUDE): Define.
3229 (LIB2FUNCS_ST): Define.
3230 * config/rl78/trampoline.S: Use function start and end macros.
3231 * config/rl78/vregs.h (START_FUNC): New macro.
3232 (START_ANOTHER_FUNC): New macro.
3233 (END_FUNC): New macro.
3234 (END_ANOTHER_FUNC): New macro.
3235 * config/rl78/bit-count.S: New file. Contains assembler
3236 implementations of the bit counting functions: ___clzhi2,
3237 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3238 __paritysi2, __popcounthi2 and __popcountsi2.
3239 * config/rl78/fpbit-sf.S: New file. Contains assembler
3240 implementationas of the math functions: __negsf2, __cmpsf2,
3241 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3242 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3243 * config/rl78/fpmath-sf.S: New file. Contains assembler
3244 implementations of the math functions: __subsf3, __addsf3,
3245 __mulsf3 and __divsf3
3246
3247 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3248
3249 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3250 Add i386/elf-lib.h to tm_file.
3251 * config/i386/elf-lib.h: Fix comment.
3252 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3253 && __sun__ && __svr4__]: Remove workaround.
3254
3255 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3256
3257 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3258 FEATURE_BMI2.
3259 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3260
3261 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3262
3263 * config/i386/cpuinfo.c (processor_subtypes): Add
3264 INTEL_COREI7_BROADWELL.
3265 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3266 model numbers.
3267
3268 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
3269
3270 * config/i386/elf-lib.h: New file.
3271 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3272 Wrap definition in #ifdef __i386__.
3273 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3274 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3275 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3276 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3277 to tm_file.
3278
3279 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3280
3281 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3282 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3283
3284 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3285
3286 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3287 Update rt_sigframe format and address for current Nios II
3288 Linux conventions.
3289
3290 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3291
3292 * config.host (arm*-*-freebsd*): Add new configuration for
3293 arm*-*-freebsd*.
3294 * config/arm/freebsd-atomic.c: New file.
3295 * config/arm/t-freebsd: Likewise.
3296 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3297 'PC-relative indirect' OS's.
3298
3299 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3300
3301 * config.host: Add Visium support.
3302 * config/visium: New directory.
3303
3304 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3305
3306 Update copyright years.
3307
3308 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3309
3310 * config.host: Support mipsisa32r6 and mipsisa64r6.
3311 * config/mips/mips16.S: Do not build for R6.
3312
3313 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3314
3315 * config/sh/crt.h: New.
3316 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3317 symbols.
3318 * config/sh/crt1.S: Likewise.
3319
3320 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
3321
3322 PR libgcc/63832
3323 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3324 func_ptr *dtor_list temporary variable to avoid "array subscript
3325 is above array bounds" warnings.
3326
3327 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
3328
3329 * Makefile.in (with_aix_soname): Define.
3330 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3331 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3332 * configure: Recreate.
3333
3334 2014-12-05 Olivier Hainque <hainque@adacore.com>
3335
3336 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3337 now provided by defaults.h.
3338
3339 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3340
3341 PR target/55351
3342 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3343 whether it's defined.
3344
3345 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3346
3347 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3348 * config/i386/cpuinfo.c (get_available_features): Detect it.
3349
3350 2014-11-27 Tony Wang <tony.wang@arm.com>
3351
3352 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3353 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3354 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3355
3356 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3357
3358 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3359
3360 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
3361
3362 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3363 instead.
3364
3365 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3366 John David Anglin <danglin@gcc.gnu.org>
3367
3368 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3369 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3370 (OP_AND_FETCH_2): Likewise.
3371 (COMPARE_AND_SWAP_2): Likewise.
3372 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3373 (SYNC_LOCK_RELEASE_2): Likewise.
3374 (SUBWORD_SYNC_OP): Remove.
3375 (SUBWORD_VAL_CAS): Likewise.
3376 (SUBWORD_BOOL_CAS): Likewise.
3377 (FETCH_AND_OP_WORD): Update.
3378 Consistently use signed types.
3379
3380 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3381 Thomas Schwinge <thomas@codesourcery.com>
3382 Ilya Verbin <ilya.verbin@intel.com>
3383 Andrey Turetskiy <andrey.turetskiy@intel.com>
3384
3385 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3386 (crtoffloadend$(objext)): Likewise.
3387 * configure: Regenerate.
3388 * configure.ac (accel_dir_suffix): Compute new variable.
3389 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3390 if enable_offload_targets is not empty.
3391 * offloadstuff.c: New file.
3392
3393 2014-11-13 Nick Clifton <nickc@redhat.com>
3394
3395 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3396 Use START_FUNC and END_FUNC macros to enable linker garbage
3397 collection.
3398 * config/rl78/divmodqi.S: Likewise.
3399 * config/rl78/divmodsi.S: Likewise.
3400 * config/rl78/mulsi3.S: Likewise.
3401 * config/rl78/lib2div.c: Remove G10 functions.
3402 * config/rl78/lib2muls.c: Likewise.
3403 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3404 * config/rl78/vregs.h (START_FUNC): New macro.
3405 (END_FUNC): New macro.
3406
3407 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3408
3409 * config/mips/mips16.S: Set .module when supported. Update O32
3410 FP64 calling convention and use for FPXX when possible. Add FPXX
3411 calling convention fallback case.
3412
3413 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3414
3415 * config.host: Handle nvptx-*-*.
3416 * shared-object.mk (as-flags-$o): Define.
3417 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3418 -xassembler-with-cpp.
3419 * static-object.mk: Identical changes.
3420 * config/nvptx/t-nvptx: New file.
3421 * config/nvptx/crt0.s: New file.
3422 * config/nvptx/free.asm: New file.
3423 * config/nvptx/malloc.asm: New file.
3424 * config/nvptx/realloc.c: New file.
3425
3426 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3427
3428 * Makefile.in (libgcc.map.in): New target.
3429 (libgcc.map): Use libgcc.map.in.
3430 * config/t-softfp (softfp_compat): New variable to be set by
3431 users.
3432 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3433 variables.
3434 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3435 directory.
3436 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3437 that use compat symbols and disable all code unless [SHARED].
3438 * config/t-softfp-compat: New file.
3439 * find-symver.awk: New file.
3440 * configure.ac (--with-glibc-version): New configure option.
3441 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3442 * configure: Regenerate.
3443 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3444 soft-float and e500.
3445
3446 2014-10-29 Joseph Myers <joseph@codesourcery.com>
3447
3448 * config/t-hardfp (hardfp_exclusions): Document new variable for
3449 user to define.
3450 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3451 * config/t-softfp (softfp_extras): Document new variable for user
3452 to define.
3453 (softfp_func_list): Add functions from $(softfp_extras).
3454 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3455 * config.host (powerpc*-*-linux*): For e500v1, use
3456 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3457 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3458 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3459
3460 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
3461
3462 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3463 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3464 memory read accesses are ok.
3465
3466 2014-10-25 Joseph Myers <joseph@codesourcery.com>
3467
3468 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3469 * configure: Regenerate.
3470 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3471 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3472 of soft-fp for 32-bit classic hard float. Do not use
3473 t-softfp-excl for soft float.
3474
3475 2014-10-22 Joseph Myers <joseph@codesourcery.com>
3476
3477 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3478 configurations.
3479 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3480 Remove variables.
3481
3482 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
3483
3484 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3485 introduced with 2014-10-21 trunk r216525.
3486
3487 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
3488 Vidya Praveen <vidya.praveen@atmel.com>
3489 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3490 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3491 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
3492
3493 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3494 order.
3495
3496 Updated library functions for AVRTINY arch.
3497 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3498 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3499 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3500 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3501 wsubi/wadi macors.
3502 (__mulsi3_helper): Update stack, preserve callee saved regs and
3503 argument from stack. Restore callee save registers.
3504 (__mulpsi3): Likewise.
3505 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3506 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
3507 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
3508 AVRTINY.
3509 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3510 (__do_copy_data): Added new definition for AVRTINY.
3511 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3512 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3513 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3514 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3515 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3516 macors.
3517 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
3518 AVRTINY.
3519
3520 Fix broken long multiplication on tiny arch.
3521
3522 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3523
3524 * soft-fp/double.h: Update from glibc.
3525 * soft-fp/eqdf2.c: Likewise.
3526 * soft-fp/eqsf2.c: Likewise.
3527 * soft-fp/eqtf2.c: Likewise.
3528 * soft-fp/extenddftf2.c: Likewise.
3529 * soft-fp/extended.h: Likewise.
3530 * soft-fp/extendsfdf2.c: Likewise.
3531 * soft-fp/extendsftf2.c: Likewise.
3532 * soft-fp/extendxftf2.c: Likewise.
3533 * soft-fp/gedf2.c: Likewise.
3534 * soft-fp/gesf2.c: Likewise.
3535 * soft-fp/getf2.c: Likewise.
3536 * soft-fp/ledf2.c: Likewise.
3537 * soft-fp/lesf2.c: Likewise.
3538 * soft-fp/letf2.c: Likewise.
3539 * soft-fp/op-1.h: Likewise.
3540 * soft-fp/op-2.h: Likewise.
3541 * soft-fp/op-4.h: Likewise.
3542 * soft-fp/op-8.h: Likewise.
3543 * soft-fp/op-common.h: Likewise.
3544 * soft-fp/quad.h: Likewise.
3545 * soft-fp/single.h: Likewise.
3546 * soft-fp/soft-fp.h: Likewise.
3547 * soft-fp/unorddf2.c: Likewise.
3548 * soft-fp/unordsf2.c: Likewise.
3549 * soft-fp/unordtf2.c: Likewise.
3550 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3551 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3552 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3553 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3554 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3555 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3556 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3557 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3558 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3559 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3560
3561 2014-10-08 Rong Xu <xur@google.com>
3562
3563 * libgcov-util.c (read_gcda_file): Fix format.
3564 (find_match_gcov_info): Ditto.
3565 (calculate_2_entries): New.
3566 (compute_one_gcov): Ditto.
3567 (gcov_info_count_all_cold): Ditto.
3568 (gcov_info_count_all_zero): Ditto.
3569 (extract_file_basename): Ditto.
3570 (get_file_basename): Ditto.
3571 (set_flag): Ditto.
3572 (matched_gcov_info): Ditto.
3573 (calculate_overlap): Ditto.
3574 (gcov_profile_overlap): Ditto.
3575 * libgcov-driver.c (compute_summary): Make
3576 it avavilable for external calls.
3577
3578 2014-10-06 Rong Xu <xur@google.com>
3579
3580 * Makefile.in: Ditto.
3581 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3582 (gcov_sort_icall_topn_counter): Ditto.
3583 (gcov_sort_topn_counter_arrays): Ditto.
3584 (dump_one_gcov): Sort indirect_call topn counters.
3585 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3586 function.
3587 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3588 utility function.
3589 (__gcov_indirect_call_topn_profiler): New profiler function.
3590 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3591 * libgcov.h: New decls.
3592
3593 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3594
3595 * config.host: Remove support for score-*.
3596
3597 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3598
3599 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3600 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3601 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3602 __LIBGCC_XF_MANT_DIG__.
3603 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3604 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3605 __LIBGCC_TF_MANT_DIG__.
3606 * libgcc2.c (NOTRUNC): Define in terms of
3607 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3608 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3609
3610 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3611
3612 PR target/63312
3613 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3614 New macros.
3615
3616 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
3617
3618 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3619 override USE_PT_GNU_EH_FRAME.
3620 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3621 check USE_EH_FRAME_REGISTRY_ALWAYS against
3622 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3623 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3624 variable for substituted force_explicit_eh_registry.
3625 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3626 * configure.ac (explicit-exception-frame-registration):
3627 New AC_ARG_ENABLE.
3628 * configure: Regenerate.
3629
3630 2014-09-19 Olivier Hainque <hainque@adacore.com>
3631
3632 * config.host (powerpc-wrs-vxworksmils): New configuration,
3633 same as vxworksae.
3634
3635 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3636
3637 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3638
3639 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3640
3641 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3642 bits not set bits as indicating trapping exceptions.
3643
3644 2014-09-17 Nathan sidwell <nathan@acm.org>
3645
3646 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3647 (LIBGCOV_DRIVER): ... here.
3648 * libgcov-driver.c (gcov_master): New.
3649 (gcov_exit): Remove from master chain.
3650 (__gcov_init): Add to master chain if version compatible. Don't
3651 clear the version.
3652 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3653 (gcov_reset_int): Clear master chain, if compatible.
3654 (gcov_dump_int): New internal interface. Dump master chain, if
3655 compatible.
3656 (gcov_dump): Alias for gcov_dump_int.
3657 * libgcov.h (struct gcov_root): Add next and prev fields.
3658 (struct gcov_master): New struct.
3659 (__gcov_master): New.
3660 (gcov_dump_int): Declare.
3661
3662 2014-09-17 Olivier Hainque <hainque@adacore.com>
3663
3664 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3665 and crtbegin.o + crtend.o to extra_parts.
3666
3667 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3668
3669 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3670 __LIBGCC_HAS_SF_MODE__.
3671 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3672 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3673 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3674 * config/libbid/bid_gcc_intrinsics.h
3675 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3676 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3677 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3678 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3679 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3680 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3681
3682 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
3683
3684 PR target/63223
3685 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3686 and R24 as needed. Make work for all devices and .text locations.
3687 (__do_global_ctors, __do_global_dtors): Use word addresses.
3688 (__tablejump__, __tablejump_elpm__): Remove functions.
3689 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3690 Add _tablejump2.
3691 (XICALL, XIJMP): New macros.
3692
3693 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3694 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3695
3696 * config.host (aarch64*): Include crtfastmath.o and
3697 t-crtfm.
3698 * config/aarch64/crtfastmath.c: New file.
3699
3700 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3701
3702 * config.host: Remove picochip support.
3703 * config/picochip/adddi3.S: Remove.
3704 * config/picochip/ashlsi3.S: Remove.
3705 * config/picochip/ashlsi3.c: Remove.
3706 * config/picochip/ashrsi3.S: Remove.
3707 * config/picochip/ashrsi3.c: Remove.
3708 * config/picochip/clzsi2.S: Remove.
3709 * config/picochip/cmpsi2.S: Remove.
3710 * config/picochip/divmod15.S: Remove.
3711 * config/picochip/divmodhi4.S: Remove.
3712 * config/picochip/divmodsi4.S: Remove.
3713 * config/picochip/lib1funcs.S: Remove.
3714 * config/picochip/longjmp.S: Remove.
3715 * config/picochip/lshrsi3.S: Remove.
3716 * config/picochip/lshrsi3.c: Remove.
3717 * config/picochip/parityhi2.S: Remove.
3718 * config/picochip/popcounthi2.S: Remove.
3719 * config/picochip/setjmp.S: Remove.
3720 * config/picochip/subdi3.S: Remove.
3721 * config/picochip/t-picochip: Remove.
3722 * config/picochip/ucmpsi2.S: Remove.
3723 * config/picochip/udivmodhi4.S: Remove.
3724 * config/picochip/udivmodsi4.S: Remove.
3725
3726 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3727
3728 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3729 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3730 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3731 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3732 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3733 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3734 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3735 defined and LIBGCC2_HAS_DF_MODE is defined.
3736 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3737 defined and LIBGCC2_HAS_XF_MODE is defined.
3738 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3739 defined and LIBGCC2_HAS_TF_MODE is defined.
3740
3741 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3742
3743 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3744 and ROUND_TOWARDS_ZERO conditionals.
3745
3746 2014-09-07 Nathan sidwell <nathan@acm.org>
3747
3748 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3749 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3750
3751 2014-09-05 Joseph Myers <joseph@codesourcery.com>
3752
3753 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3754 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3755 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3756 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3757 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3758 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3759 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3760 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3761 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3762 (DWARF_FRAME_REGISTERS): Change all uses to
3763 __LIBGCC_DWARF_FRAME_REGISTERS__.
3764 (EH_RETURN_STACKADJ_RTX): Change all uses to
3765 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3766 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3767 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3768 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3769 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3770 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3771 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3772 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3773 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3774 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3775 __LIBGCC_STACK_POINTER_REGNUM__.
3776 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3777 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3778 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3779 to __LIBGCC_STACK_POINTER_REGNUM__.
3780 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3781 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3782 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3783 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3784 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3785 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3786 (STACK_POINTER_REGNUM): Change all uses to
3787 __LIBGCC_STACK_POINTER_REGNUM__.
3788 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3789 use to __LIBGCC_STACK_POINTER_REGNUM__.
3790 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3791 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3792 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3793 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3794 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3795 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3796 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3797 to __LIBGCC_STACK_POINTER_REGNUM__.
3798 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3799 Remove conditional definition.
3800 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3801 __LIBGCC_TEXT_SECTION_ASM_OP__.
3802 (EH_FRAME_SECTION_NAME): Change all uses to
3803 __LIBGCC_EH_FRAME_SECTION_NAME__.
3804 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3805 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3806 (CTORS_SECTION_ASM_OP): Change all uses to
3807 __LIBGCC_CTORS_SECTION_ASM_OP__.
3808 (DTORS_SECTION_ASM_OP): Change all uses to
3809 __LIBGCC_DTORS_SECTION_ASM_OP__.
3810 (JCR_SECTION_NAME): Change all uses to
3811 __LIBGCC_JCR_SECTION_NAME__.
3812 (INIT_SECTION_ASM_OP): Change all uses to
3813 __LIBGCC_INIT_SECTION_ASM_OP__.
3814 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3815 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3816 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3817 __LIBGCC_STACK_GROWS_DOWNWARD__.
3818 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3819 __LIBGCC_INIT_SECTION_ASM_OP__.
3820 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3821 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3822 (EH_FRAME_SECTION_NAME): Change all uses to
3823 __LIBGCC_EH_FRAME_SECTION_NAME__.
3824 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3825 definitions. Change all uses to
3826 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3827 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3828 __LIBGCC_STACK_GROWS_DOWNWARD__.
3829 (DWARF_FRAME_REGISTERS): Change all uses to
3830 __LIBGCC_DWARF_FRAME_REGISTERS__.
3831 (EH_RETURN_STACKADJ_RTX): Change all uses to
3832 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3833 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3834 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3835 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3836 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3837 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3838
3839 2014-09-02 Nathan sidwell <nathan@acm.org>
3840
3841 * libgcov-interface.c (STRONG_ALIAS): New.
3842 (__gcov_flush): Call __gcov_reset_int.
3843 (__gcov_reset): Strong alias for ...
3844 (__gcov_reset_ing): ... this renamed hidden version.
3845 * libgcov.h (__gcov_reset_int): New declaration.
3846
3847 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3848
3849 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3850 call from here...
3851 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3852 (__dso_handle): Define on Cygwin.
3853 * config/i386/t-cygming (crtbeginS.o): New rule.
3854 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3855
3856 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3857 declaration syntax.
3858
3859 2014-08-13 Steve Ellcey <sellcey@mips.com>
3860
3861 * crtstuff.c: Undef caddr_t.
3862
3863 2014-08-12 Steve Ellcey <sellcey@mips.com>
3864
3865 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3866
3867 2014-08-07 Nathan Sidwell <nathan@acm.org>
3868
3869 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3870 (LIBGCOV_DRIVER): ... to here.
3871 * libgcov.h (gcov_do_dump): New #define.
3872 (struct gcov_root): New.
3873 (__gcov_root): New declaration.
3874 (__gcov_dump_one): Declare.
3875 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3876 run_accounted): Delete.
3877 (gcov_compute_histogram): Add LIST argument, adjust.
3878 (compute_summary): Adjust gcov_compute_histogram call.
3879 (gcov_do_dump): Not hidden, static in libgcov.
3880 (gcov_clear): Move to interface.c.
3881 (__gcov_dump_one): New, broken out of ...
3882 (gcov_exit): ... here. Make static.
3883 (__gcov_root): New.
3884 (__gcov_init): Adjust.
3885 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3886 declarations.
3887 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3888 (gcov_clear): Moved from driver.c. Add LIST argument.
3889 (__gcov_reset): Adjust for changed interfaces.
3890 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3891
3892 2014-08-04 Rohit <rohitarulraj@freescale.com>
3893
3894 PR target/60102
3895 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
3896 based on change in SPE high register numbers and 3 HTM registers.
3897
3898 2014-08-01 Nathan Sidwell <nathan@acm.org>
3899
3900 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3901 LIBGCOV_INTERFACE): Reformat.
3902 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3903 IN_GCOV_TOOL.
3904 * libgcov-interface.c: Reformat some comments.
3905 (__gcov_flush_mx): Add declaration. Tidy up definition.
3906
3907 2014-07-31 Alan Modra <amodra@gmail.com>
3908 Peter Bergner <bergner@vnet.ibm.com>
3909
3910 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3911 (pack_ldouble): New function.
3912 (__gcc_qadd): Use it.
3913 (__gcc_qmul): Likewise.
3914 (__gcc_qdiv): Likewise.
3915 (__gcc_qneg): Likewise.
3916 (__gcc_stoq): Likewise.
3917 (__gcc_dtoq): Likewise.
3918
3919 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3920
3921 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3922 (__tpf_eh_return): Add original return address as second parameter.
3923 Handle cases where unwinder routines were called directly, instead
3924 of from within the C++ library.
3925
3926 2014-07-29 Nathan Sidwell <nathan@acm.org>
3927
3928 * libgcov.h: Move renaming of entry points to lib gcov specific
3929 portion.
3930 (gcov_do_dump): New rename.
3931 (gcov_rewrite): Remove inline, make HIDDEN.
3932 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3933 (gcov_exit_compute_summary): Rename to ...
3934 (compute_summary): ... here. Add LIST argument.
3935 (gcov_exit_merge_gcda): Rename to ...
3936 (merge_one_data): ... here.
3937 (gcov_exit_write_gcda): Rename to ...
3938 (write_one_data): ... here.
3939 (gcov_exit_merge_summary): Rename to ...
3940 (merge_summary): Add RUN_COUNTED argument.
3941 (gcov_exit_dump_gcov): Rename to ...
3942 (dump_one_gcov): Add RUN_COUNTED argument.
3943 (gcov_do_dump): New function, broken out of ...
3944 (gcov_exit): ... here. Call it.
3945
3946 2014-07-27 Anthony Green <green@moxielogic.com>
3947
3948 * config.host: Add moxiebox configuration suppport.
3949
3950 2014-07-27 Nathan Sidwell <nathan@acm.org>
3951
3952 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3953 (struct gcov_filename): ... here. Include buffer and max length
3954 fields.
3955 (gcov_max_filename): Remove.
3956 (gi_filename): Remove.
3957 (gcov_exit_compute_summary): Compute max filename here.
3958 (gcov_exit_merge_gcda): Add filename parm, adjust.
3959 (gcov_exit_merge_summary): Likewise.
3960 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3961 (gcov_exit): Likewise.
3962 (__gcov_init): Don't calculate max length here.
3963 * libgcov_util.c (max_filename_len): Remove.
3964 (read_gcda_file): Don't calculate max length here.
3965 (gcov_read_profile_dir): Don't propagate here.
3966 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3967 struct gcov_filename changes.
3968 (gcov_exit_open_gcda_file): Likewise.
3969
3970 2014-07-25 Nathan Sidwell <nathan@acm.org>
3971
3972 * libgcov-driver.c (set_gcov_dump_complete,
3973 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3974 functions polluting user's namespace.
3975 (gcov_exit): Set variable directly.
3976 (gcov_clear): Reset variable directly.
3977 * libgcov-interface.c (get_gcov_dymp_complete,
3978 reset_gov_dump_complete): Remove declarations.
3979 (__gcov_reset, __gcov_dump): Don't call them.
3980
3981 2014-07-24 DJ Delorie <dj@redhat.com>
3982
3983 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
3984 (__gcc_deregister_frame): Move logic to detect deregister function
3985 to ...
3986 (__gcc_register_frame): here, so it's consistent with the register
3987 logic.
3988
3989 2014-07-23 Nathan Sidwell <nathan@acm.org>
3990
3991 * libgcov-driver.c (set_gcov_list): Remove.
3992 (gcov_list): Make non-static in GCOV_TOOL.
3993 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3994
3995 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
3996
3997 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3998 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3999 Don't use SYNC_LOCK_RELEASE for int type.
4000
4001 2014-07-14 Richard Biener <rguenther@suse.de>
4002
4003 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4004
4005 2014-07-11 Rong Xu <xur@google.com>
4006
4007 * libgcov-util.c (gcov_max_filename): Fix declartion.
4008
4009 2014-07-10 Rong Xu <xur@google.com>
4010
4011 Add gcov-tool: an offline gcda profile processing tool
4012 Support.
4013 * libgcov-driver.c (gcov_max_filename): Make available
4014 to gcov-tool.
4015 * libgcov-merge.c (__gcov_merge_add): Replace
4016 gcov_read_counter() with a Macro.
4017 (__gcov_merge_ior): Ditto.
4018 (__gcov_merge_time_profile): Ditto.
4019 (__gcov_merge_single): Ditto.
4020 (__gcov_merge_delta): Ditto.
4021 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4022 in the utility functions.
4023 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4024 gcov_list object link lists.
4025 (tag_function): Ditto.
4026 (tag_blocks): Ditto.
4027 (tag_arcs): Ditto.
4028 (tag_lines): Ditto.
4029 (tag_counters): Ditto.
4030 (tag_summary): Ditto.
4031 (read_gcda_finalize): Ditto.
4032 (read_gcda_file): Ditto.
4033 (ftw_read_file): Ditto.
4034 (read_profile_dir_init): Ditto.
4035 (gcov_read_profile_dir): Ditto.
4036 (gcov_read_counter_mem): Ditto.
4037 (gcov_get_merge_weight): Ditto.
4038 (merge_wrapper): A wrapper function that calls merging handler.
4039 (gcov_merge): Merge two gcov_info objects with weights.
4040 (find_match_gcov_info): Find the matched gcov_info in the list.
4041 (gcov_profile_merge): Merge two gcov_info object lists.
4042 (__gcov_add_counter_op): Process edge profile counter values.
4043 (__gcov_ior_counter_op): Process IOR profile counter values.
4044 (__gcov_delta_counter_op): Process delta profile counter values.
4045 (__gcov_single_counter_op): Process single profile counter values.
4046 (fp_scale): Callback function for float-point scaling.
4047 (int_scale): Callback function for integer fraction scaling.
4048 (gcov_profile_scale): Scaling profile counters.
4049 (gcov_profile_normalize): Normalize profile counters.
4050 * libgcov.h: Add headers and functions for gcov-tool use.
4051 (gcov_get_counter): New.
4052 (gcov_get_counter_target): Ditto.
4053 (struct gcov_info): Make the functions field mutable in gcov-tool
4054 compilation.
4055
4056 2014-06-23 Kai Tietz <ktietz@redhat.com>
4057
4058 PR libgcc/61585
4059 * unwind-seh.c (_Unwind_GetGR): Check for proper
4060 index range.
4061 (_Unwind_SetGR): Likewise.
4062
4063 2014-05-22 Nick Clifton <nickc@redhat.com>
4064
4065 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4066 -mhwmult=none.
4067
4068 2014-05-22 Teresa Johnson <tejohnson@google.com>
4069
4070 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4071 include.
4072
4073 2014-05-20 John Marino <gnugcc@marino.st>
4074
4075 * config.host (*-*-dragonfly*): New target.
4076 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4077 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4078 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4079 * config/i386/dragonfly-unwind.h: New.
4080
4081 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4082
4083 PR libgcc/60166
4084 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4085 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4086
4087 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4088
4089 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4090 implementation.
4091
4092 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
4093
4094 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4095
4096 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4097
4098 PR libgcc/61097
4099 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4100 if --enable-shared.
4101
4102 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4103
4104 Work around for current cygwin32 build problems.
4105 * config/i386/cygming-crtbegin.c (__register_frame_info,
4106 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4107 functions only for 64-bit systems.
4108
4109 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4110
4111 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4112 (sigill_caught, sigill_hdlr): Remove.
4113
4114 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4115
4116 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4117 check.
4118 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4119 Solaris 9 single-threaded support.
4120 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4121 Solaris 9 single-threaded support. Add call_user_handler code
4122 sequences.
4123 (sparc_is_sighandler): Likewise.
4124
4125 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4126
4127 * config.host: Append t-floattodi to tmake_file depending on
4128 host_address.
4129
4130 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4131
4132 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
4133
4134 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
4135
4136 PR libgcc/60472
4137 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
4138 variable to avoid "array subscript is above array bounds" warnings.
4139 Use __builtin_expect when checking *jcr_list for NULL.
4140
4141 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4142
4143 PR libgcc/59339
4144 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4145 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4146 vtv_*.o to extra_parts if enable_vtable_verify.
4147
4148 2014-03-06 Nick Clifton <nickc@redhat.com>
4149
4150 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4151 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4152
4153 2014-02-28 Joey Ye <joey.ye@arm.com>
4154
4155 PR libgcc/60166
4156 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4157 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4158 Set to zero.
4159
4160 2014-02-24 Walter Lee <walt@tilera.com>
4161
4162 * config.host: Support "tilegx*" and "tilepro*" triplets.
4163 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4164 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4165
4166 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4167 Chung-Lin Tang <cltang@codesourcery.com>
4168
4169 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4170 * config/nios2/crti.S: Remove .file directive.
4171 * config/nios2/crtn.S: Likewise.
4172
4173 2014-02-18 Kai Tietz <ktietz@redhat.com>
4174 Jonathan Schleifer <js@webkeks.org>
4175
4176 PR objc/56870
4177 * unwind-seh.c (_GCC_specific_handler): Pass proper
4178 value to unwind-handler.
4179
4180 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4181
4182 * soft-fp/adddf3.c: Update from glibc.
4183 * soft-fp/addsf3.c: Likewise.
4184 * soft-fp/addtf3.c: Likewise.
4185 * soft-fp/divdf3.c: Likewise.
4186 * soft-fp/divsf3.c: Likewise.
4187 * soft-fp/divtf3.c: Likewise.
4188 * soft-fp/double.h: Likewise.
4189 * soft-fp/eqdf2.c: Likewise.
4190 * soft-fp/eqsf2.c: Likewise.
4191 * soft-fp/eqtf2.c: Likewise.
4192 * soft-fp/extenddftf2.c: Likewise.
4193 * soft-fp/extended.h: Likewise.
4194 * soft-fp/extendsfdf2.c: Likewise.
4195 * soft-fp/extendsftf2.c: Likewise.
4196 * soft-fp/extendxftf2.c: Likewise.
4197 * soft-fp/fixdfdi.c: Likewise.
4198 * soft-fp/fixdfsi.c: Likewise.
4199 * soft-fp/fixdfti.c: Likewise.
4200 * soft-fp/fixsfdi.c: Likewise.
4201 * soft-fp/fixsfsi.c: Likewise.
4202 * soft-fp/fixsfti.c: Likewise.
4203 * soft-fp/fixtfdi.c: Likewise.
4204 * soft-fp/fixtfsi.c: Likewise.
4205 * soft-fp/fixtfti.c: Likewise.
4206 * soft-fp/fixunsdfdi.c: Likewise.
4207 * soft-fp/fixunsdfsi.c: Likewise.
4208 * soft-fp/fixunsdfti.c: Likewise.
4209 * soft-fp/fixunssfdi.c: Likewise.
4210 * soft-fp/fixunssfsi.c: Likewise.
4211 * soft-fp/fixunssfti.c: Likewise.
4212 * soft-fp/fixunstfdi.c: Likewise.
4213 * soft-fp/fixunstfsi.c: Likewise.
4214 * soft-fp/fixunstfti.c: Likewise.
4215 * soft-fp/floatdidf.c: Likewise.
4216 * soft-fp/floatdisf.c: Likewise.
4217 * soft-fp/floatditf.c: Likewise.
4218 * soft-fp/floatsidf.c: Likewise.
4219 * soft-fp/floatsisf.c: Likewise.
4220 * soft-fp/floatsitf.c: Likewise.
4221 * soft-fp/floattidf.c: Likewise.
4222 * soft-fp/floattisf.c: Likewise.
4223 * soft-fp/floattitf.c: Likewise.
4224 * soft-fp/floatundidf.c: Likewise.
4225 * soft-fp/floatundisf.c: Likewise.
4226 * soft-fp/floatunditf.c: Likewise.
4227 * soft-fp/floatunsidf.c: Likewise.
4228 * soft-fp/floatunsisf.c: Likewise.
4229 * soft-fp/floatunsitf.c: Likewise.
4230 * soft-fp/floatuntidf.c: Likewise.
4231 * soft-fp/floatuntisf.c: Likewise.
4232 * soft-fp/floatuntitf.c: Likewise.
4233 * soft-fp/gedf2.c: Likewise.
4234 * soft-fp/gesf2.c: Likewise.
4235 * soft-fp/getf2.c: Likewise.
4236 * soft-fp/ledf2.c: Likewise.
4237 * soft-fp/lesf2.c: Likewise.
4238 * soft-fp/letf2.c: Likewise.
4239 * soft-fp/muldf3.c: Likewise.
4240 * soft-fp/mulsf3.c: Likewise.
4241 * soft-fp/multf3.c: Likewise.
4242 * soft-fp/negdf2.c: Likewise.
4243 * soft-fp/negsf2.c: Likewise.
4244 * soft-fp/negtf2.c: Likewise.
4245 * soft-fp/op-1.h: Likewise.
4246 * soft-fp/op-2.h: Likewise.
4247 * soft-fp/op-4.h: Likewise.
4248 * soft-fp/op-8.h: Likewise.
4249 * soft-fp/op-common.h: Likewise.
4250 * soft-fp/quad.h: Likewise.
4251 * soft-fp/single.h: Likewise.
4252 * soft-fp/soft-fp.h: Likewise.
4253 * soft-fp/subdf3.c: Likewise.
4254 * soft-fp/subsf3.c: Likewise.
4255 * soft-fp/subtf3.c: Likewise.
4256 * soft-fp/truncdfsf2.c: Likewise.
4257 * soft-fp/trunctfdf2.c: Likewise.
4258 * soft-fp/trunctfsf2.c: Likewise.
4259 * soft-fp/trunctfxf2.c: Likewise.
4260 * soft-fp/unorddf2.c: Likewise.
4261 * soft-fp/unordsf2.c: Likewise.
4262 * soft-fp/unordtf2.c: Likewise.
4263 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4264 macro.
4265 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4266 Likewise.
4267 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4268 Likewise.
4269 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4270 Likewise.
4271 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4272 Likewise.
4273 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4274 Likewise.
4275 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4276 Likewise.
4277 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4278 Likewise.
4279 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4280 Likewise.
4281 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4282 Likewise.
4283 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4284 Likewise.
4285 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4286 Likewise.
4287 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4288 Likewise.
4289 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4290 Likewise.
4291 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4292 Likewise.
4293 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4294 Likewise.
4295
4296 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4297
4298 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4299 cannot be represented.
4300 * config/s390/32/_fixsfdi.c: Likewise.
4301 * config/s390/32/_fixtfdi.c: Likewise.
4302 * config/s390/32/_fixunsdfdi.c: Likewise.
4303 * config/s390/32/_fixunssfdi.c: Likewise.
4304 * config/s390/32/_fixunstfdi.c: Likewise.
4305
4306 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4307
4308 * configure.ac (libgcc_cv_mips_hard_float): New.
4309 * configure: Regenerate.
4310 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4311 t-softfp-sfdf for hard-float targets.
4312 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4313 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4314 (softfp_truncations, softfp_exclude_libgcc2): New.
4315 * config/t-hardfp: New file.
4316 * config/t-hardfp-sfdf: Likewise.
4317 * config/hardfp.c: Likewise.
4318
4319 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4320
4321 * config.host: Include t-floattodi also for s390x.
4322 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4323 * config/s390/32/_fixsfdi.c: Likewise.
4324 * config/s390/32/_fixtfdi.c: Likewise.
4325 * config/s390/32/_fixunsdfdi.c: Likewise.
4326 * config/s390/32/_fixunssfdi.c: Likewise.
4327 * config/s390/32/_fixunstfdi.c: Likewise.
4328
4329 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4330
4331 PR target/59788
4332 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4333 (install-libgcc-unwind-map-forbuild): New target.
4334 (all): Depend on install-libgcc-unwind-map-forbuild.
4335 (install-libgcc-unwind-map): New target.
4336 (install): Depend on install-libgcc-unwind-map.
4337
4338 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4339
4340 * config/nios2/crti.S (_init): Initialize GOT pointer from
4341 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4342
4343 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4344
4345 * configure.ac: Check __mips64 when setting host_address.
4346 * configure: Regenerate.
4347 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4348 mips/t-mips64 and t-softfp.
4349 (mips*-*-linux*): Don't add mips/t-tpbit.
4350 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4351 (DPBIT, DPBIT_CFLAGS): Delete.
4352 * config/mips/sfp-machine.h: New file.
4353 * config/mips/t-mips64: Likewise.
4354 * config/mips/t-softfp-tf: Likewise.
4355 * config/mips/t-tpbit: Delete.
4356
4357 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4358
4359 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4360 as long long.
4361
4362 2014-01-25 Walter Lee <walt@tilera.com>
4363
4364 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4365 config.h or system.h.
4366 (bool) Define.
4367
4368 2014-01-25 Walter Lee <walt@tilera.com>
4369
4370 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4371 (post_atomic_barrier): Ditto.
4372 (__fetch_and_do): New macro.
4373 (__atomic_fetch_and_do): Use __fetch_and_do.
4374 (__sync_fetch_and_do): New macro.
4375 (__sync_fetch_and_add_4): New function.
4376 (__sync_fetch_and_sub_4): New function.
4377 (__sync_fetch_and_or_4): New function.
4378 (__sync_fetch_and_and_4): New function.
4379 (__sync_fetch_and_xor_4): New function.
4380 (__sync_fetch_and_nand_4): New function.
4381 (__sync_fetch_and_add_8): New function.
4382 (__sync_fetch_and_sub_8): New function.
4383 (__sync_fetch_and_or_8): New function.
4384 (__sync_fetch_and_and_8): New function.
4385 (__sync_fetch_and_xor_8): New function.
4386 (__sync_fetch_and_nand_8): New function.
4387 (__do_and_fetch): New macro.
4388 (__atomic_do_and_fetch): Use __do_and_fetch.
4389 (__sync_do_and_fetch): New macro.
4390 (__sync_add_and_fetch_4): New function.
4391 (__sync_sub_and_fetch_4): New function.
4392 (__sync_or_and_fetch_4): New function.
4393 (__sync_and_and_fetch_4): New function.
4394 (__sync_xor_and_fetch_4): New function.
4395 (__sync_nand_and_fetch_4): New function.
4396 (__sync_add_and_fetch_8): New function.
4397 (__sync_sub_and_fetch_8): New function.
4398 (__sync_or_and_fetch_8): New function.
4399 (__sync_and_and_fetch_8): New function.
4400 (__sync_xor_and_fetch_8): New function.
4401 (__sync_nand_and_fetch_8): New function.
4402 (__sync_exchange_methods): New macro.
4403 (__sync_val_compare_and_swap_4): New function.
4404 (__sync_bool_compare_and_swap_4): New function.
4405 (__sync_lock_test_and_test_4): New function.
4406 (__sync_val_compare_and_swap_8): New function.
4407 (__sync_bool_compare_and_swap_8): New function.
4408 (__sync_lock_test_and_test_8): New function.
4409 (__subword_cmpxchg_body): New macro.
4410 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4411 (__atomic_compare_exchange_2): Ditto.
4412 (__sync_subword_cmpxchg): New macro.
4413 (__sync_val_compare_and_swap_1): New function.
4414 (__sync_bool_compare_and_swap_1): New function.
4415 (__sync_val_compare_and_swap_2): New function.
4416 (__sync_bool_compare_and_swap_2): New function.
4417 (__atomic_subword): Rename to ...
4418 (__subword): ... New name.
4419 (__atomic_subword_fetch): Use __subword.
4420 (__sync_subword_fetch): New macro.
4421 (__sync_fetch_and_add_1): New function.
4422 (__sync_fetch_and_sub_1): New function.
4423 (__sync_fetch_and_or_1): New function.
4424 (__sync_fetch_and_and_1): New function.
4425 (__sync_fetch_and_xor_1): New function.
4426 (__sync_fetch_and_nand_1): New function.
4427 (__sync_fetch_and_add_2): New function.
4428 (__sync_fetch_and_sub_2): New function.
4429 (__sync_fetch_and_or_2): New function.
4430 (__sync_fetch_and_and_2): New function.
4431 (__sync_fetch_and_xor_2): New function.
4432 (__sync_fetch_and_nand_2): New function.
4433 (__sync_add_and_fetch_1): New function.
4434 (__sync_sub_and_fetch_1): New function.
4435 (__sync_or_and_fetch_1): New function.
4436 (__sync_and_and_fetch_1): New function.
4437 (__sync_xor_and_fetch_1): New function.
4438 (__sync_nand_and_fetch_1): New function.
4439 (__sync_add_and_fetch_2): New function.
4440 (__sync_sub_and_fetch_2): New function.
4441 (__sync_or_and_fetch_2): New function.
4442 (__sync_and_and_fetch_2): New function.
4443 (__sync_xor_and_fetch_2): New function.
4444 (__sync_nand_and_fetch_2): New function.
4445 (__atomic_subword_lock): Use __subword.
4446 (__sync_subword_lock): New macro.
4447 (__sync_lock_test_and_set_1): New function.
4448 (__sync_lock_test_and_set_2): New function.
4449
4450 2014-01-25 Walter Lee <walt@tilera.com>
4451
4452 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4453 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4454 (__atomic_subword): Ditto.
4455
4456 2014-01-25 Walter Lee <walt@tilera.com>
4457
4458 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4459 a prefix op argument.
4460 (__atomic_nand_fetch_4): Add prefix op.
4461 (__atomic_nand_fetch_8): Ditto.
4462
4463 2014-01-21 Baruch Siach <barch@tkos.co.il>
4464
4465 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4466
4467 2014-01-09 Rong Xu <xur@google.com>
4468
4469 * libgcov-driver.c (this_prg): make it local to save
4470 bss space.
4471 (gcov_exit_compute_summary): Ditto.
4472 (gcov_exit_merge_gcda): Ditto.
4473 (gcov_exit_merge_summary): Ditto.
4474 (gcov_exit_dump_gcov): Ditto.
4475
4476 2014-01-08 Rong Xu <xur@google.com>
4477
4478 * libgcov-driver.c: Use libgcov.h.
4479 (buffer_fn_data): Use xmalloc instead of malloc.
4480 (gcov_exit_merge_gcda): Ditto.
4481 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4482 * libgcov.h: New common header files for libgcov-*.h.
4483 * libgcov-interface.c: Use libgcov.h
4484 * libgcov-merge.c: Ditto.
4485 * libgcov-profiler.c: Ditto.
4486 * Makefile.in: Add dependence to libgcov.h
4487
4488 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4489
4490 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4491 case of small numerator and finite nonzero result.
4492
4493 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4494
4495 Update copyright years
4496
4497 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4498
4499 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4500 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4501 config/arc/dp-hack.h, config/arc/fp-hack.h,
4502 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4503 config/arc/ieee-754/arc600-dsp/divdf3.S,
4504 config/arc/ieee-754/arc600-dsp/divsf3.S,
4505 config/arc/ieee-754/arc600-dsp/muldf3.S,
4506 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4507 config/arc/ieee-754/arc600-mul64/divdf3.S,
4508 config/arc/ieee-754/arc600-mul64/divsf3.S,
4509 config/arc/ieee-754/arc600-mul64/muldf3.S,
4510 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4511 config/arc/ieee-754/arc600/divsf3.S,
4512 config/arc/ieee-754/arc600/mulsf3.S,
4513 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4514 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4515 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4516 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4517 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4518 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4519 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4520 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4521 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4522 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4523 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4524 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4525 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4526 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4527 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4528 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4529 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4530 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4531 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4532 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4533 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4534 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4535 vtv_start_preinit.c: Use the standard form for the copyright notice.
4536
4537 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4538 Chung-Lin Tang <cltang@codesourcery.com>
4539 Based on patches from Altera Corporation
4540
4541 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4542 * config/nios2/lib2-nios2.h: New file.
4543 * config/nios2/lib2-divmod-hi.c: New file.
4544 * config/nios2/linux-unwind.h: New file.
4545 * config/nios2/lib2-divmod.c: New file.
4546 * config/nios2/linux-atomic.c: New file.
4547 * config/nios2/t-nios2: New file.
4548 * config/nios2/crti.asm: New file.
4549 * config/nios2/t-linux: New file.
4550 * config/nios2/lib2-divtable.c: New file.
4551 * config/nios2/lib2-mul.c: New file.
4552 * config/nios2/tramp.c: New file.
4553 * config/nios2/crtn.asm: New file.
4554
4555 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
4556
4557 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4558 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4559 from cpuid.h to check vendor signatures.
4560
4561 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4562
4563 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4564 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4565 (get_amd_cpu): Likewise.
4566
4567 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4568
4569 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4570 Haswell.
4571
4572 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4573 H.J. Lu <hongjiu.lu@intel.com>
4574
4575 PR target/59422
4576 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
4577 and AMD_JAGUAR.
4578 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4579 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4580 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4581 FEATURE_XOP and FEATURE_FMA.
4582 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4583 AMDFAM15H_BDVER3.
4584 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
4585 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
4586 FEATURE_FMA4 and FEATURE_XOP.
4587
4588 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4589
4590 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4591 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4592 (get_intel_cpu): Updated.
4593
4594 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4595
4596 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4597
4598 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
4599
4600 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4601 instructions when __SSE_MATH__ is defined.
4602
4603 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4604
4605 * config.host (microblaze-*-rtems*): New.
4606
4607 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4608
4609 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4610 architectures that do not have hardware divide instruction.
4611 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4612
4613 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4614
4615 * longlong.h: Delete (moved to include/).
4616
4617 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4618
4619 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4620 of normal number and qNaN to not raise an inexact exception.
4621
4622 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
4623
4624 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4625
4626 2013-11-28 Matthew Leach <matthew.leach@arm.com>
4627
4628 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4629 for correct opcodes on BE.
4630
4631 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
4632
4633 * soft-fp/op-4.h: Update from glibc.
4634
4635 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4636
4637 * libgcc2.c (__udivmoddi4): Define new implementation when
4638 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4639 divide instructions.
4640
4641 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4642
4643 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4644
4645 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4646
4647 * config/t-softfp (soft-fp-objects-base): New variable.
4648 (soft-fp-objects): Use it.
4649
4650 2013-11-23 David Edelson <dje.gcc@gmail.com>
4651 Andrew Dixie <andrewd@gentrack.com>
4652
4653 PR target/33704
4654 * config/rs6000/aixinitfini.c: New file.
4655 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4656 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4657 symbols.
4658
4659 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4660
4661 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
4662
4663 2013-11-18 Jan Hubicka <jh@suse.cz>
4664
4665 * libgcov-driver.c (run_accounted): Make global level static.
4666 (gcov_exit_merge_summary): Silence warning; do not clear
4667 run_accounted here.
4668 (gcov_exit): Clear it here.
4669
4670 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4671 run_accounted.
4672
4673 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4674 (all_prg, crc32): Remove static vars.
4675 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4676 all_prg.
4677 (gcov_exit_merge_gcda): Add crc32 parameter.
4678 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4679 do not account run if it was already accounted.
4680 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4681 (gcov_exit): Initialize all_prg; update.
4682
4683 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4684
4685 * configure: Regenerate.
4686
4687 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4688 Alan Modra <amodra@gmail.com>
4689
4690 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4691 (frob_update_context): Use it.
4692
4693 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4694 Alan Modra <amodra@gmail.com>
4695
4696 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4697 (trampoline_initial): Provide ELFv2 variant.
4698 (__trampoline_setup): Likewise.
4699
4700 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4701 check for AIX indirect function call sequence if _CALL_ELF == 2.
4702
4703 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4704 Alan Modra <amodra@gmail.com>
4705
4706 * config/rs6000/linux-unwind.h (get_regs): Do not support
4707 old kernel versions if _CALL_ELF == 2.
4708 (frob_update_context): Do not support PLT stub variants only
4709 generated by old linkers if _CALL_ELF == 2.
4710
4711 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4712 Alan Modra <amodra@gmail.com>
4713
4714 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4715 location of CR save area for 64-bit little-endian systems.
4716
4717 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4718
4719 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4720 in tmake_file.
4721 * config/arm/t-vxworks: Delete.
4722
4723 2013-11-10 Kai Tietz <ktietz@redhat.com>
4724
4725 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4726 Increment load-count on use of LIBGCC_SONAME DLL.
4727 (hmod_libgcc): New static variable to hold handle of
4728 LIBGCC_SONAME DLL.
4729 (__gcc_deregister_frame): Decrement load-count of
4730 LIBGCC_SONAME DLL.
4731
4732 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4733
4734 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4735 availability.
4736 * configure: Regenerate
4737
4738 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
4739
4740 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4741 FP_EX_DENORM. Store result to volatile location after SSE division
4742 to close interrupt window. Remove unneeded fwait after x87
4743 division since interrupt window will be closed by emitted fstp.
4744 Rewrite FP_EX_INEXACT handling.
4745
4746 2013-11-06 Joseph Myers <joseph@codesourcery.com>
4747
4748 * soft-fp/README: Update.
4749 * soft-fp/adddf3.c: Update from glibc.
4750 * soft-fp/addsf3.c: Likewise.
4751 * soft-fp/addtf3.c: Likewise.
4752 * soft-fp/divdf3.c: Likewise.
4753 * soft-fp/divsf3.c: Likewise.
4754 * soft-fp/divtf3.c: Likewise.
4755 * soft-fp/double.h: Likewise.
4756 * soft-fp/eqdf2.c: Likewise.
4757 * soft-fp/eqsf2.c: Likewise.
4758 * soft-fp/eqtf2.c: Likewise.
4759 * soft-fp/extenddftf2.c: Likewise.
4760 * soft-fp/extended.h: Likewise.
4761 * soft-fp/extendsfdf2.c: Likewise.
4762 * soft-fp/extendsftf2.c: Likewise.
4763 * soft-fp/extendxftf2.c: Likewise.
4764 * soft-fp/fixdfdi.c: Likewise.
4765 * soft-fp/fixdfsi.c: Likewise.
4766 * soft-fp/fixdfti.c: Likewise.
4767 * soft-fp/fixsfdi.c: Likewise.
4768 * soft-fp/fixsfsi.c: Likewise.
4769 * soft-fp/fixsfti.c: Likewise.
4770 * soft-fp/fixtfdi.c: Likewise.
4771 * soft-fp/fixtfsi.c: Likewise.
4772 * soft-fp/fixtfti.c: Likewise.
4773 * soft-fp/fixunsdfdi.c: Likewise.
4774 * soft-fp/fixunsdfsi.c: Likewise.
4775 * soft-fp/fixunsdfti.c: Likewise.
4776 * soft-fp/fixunssfdi.c: Likewise.
4777 * soft-fp/fixunssfsi.c: Likewise.
4778 * soft-fp/fixunssfti.c: Likewise.
4779 * soft-fp/fixunstfdi.c: Likewise.
4780 * soft-fp/fixunstfsi.c: Likewise.
4781 * soft-fp/fixunstfti.c: Likewise.
4782 * soft-fp/floatdidf.c: Likewise.
4783 * soft-fp/floatdisf.c: Likewise.
4784 * soft-fp/floatditf.c: Likewise.
4785 * soft-fp/floatsidf.c: Likewise.
4786 * soft-fp/floatsisf.c: Likewise.
4787 * soft-fp/floatsitf.c: Likewise.
4788 * soft-fp/floattidf.c: Likewise.
4789 * soft-fp/floattisf.c: Likewise.
4790 * soft-fp/floattitf.c: Likewise.
4791 * soft-fp/floatundidf.c: Likewise.
4792 * soft-fp/floatundisf.c: Likewise.
4793 * soft-fp/floatunditf.c: Likewise.
4794 * soft-fp/floatunsidf.c: Likewise.
4795 * soft-fp/floatunsisf.c: Likewise.
4796 * soft-fp/floatunsitf.c: Likewise.
4797 * soft-fp/floatuntidf.c: Likewise.
4798 * soft-fp/floatuntisf.c: Likewise.
4799 * soft-fp/floatuntitf.c: Likewise.
4800 * soft-fp/gedf2.c: Likewise.
4801 * soft-fp/gesf2.c: Likewise.
4802 * soft-fp/getf2.c: Likewise.
4803 * soft-fp/ledf2.c: Likewise.
4804 * soft-fp/lesf2.c: Likewise.
4805 * soft-fp/letf2.c: Likewise.
4806 * soft-fp/muldf3.c: Likewise.
4807 * soft-fp/mulsf3.c: Likewise.
4808 * soft-fp/multf3.c: Likewise.
4809 * soft-fp/negdf2.c: Likewise.
4810 * soft-fp/negsf2.c: Likewise.
4811 * soft-fp/negtf2.c: Likewise.
4812 * soft-fp/op-1.h: Likewise.
4813 * soft-fp/op-2.h: Likewise.
4814 * soft-fp/op-4.h: Likewise.
4815 * soft-fp/op-8.h: Likewise.
4816 * soft-fp/op-common.h: Likewise.
4817 * soft-fp/quad.h: Likewise.
4818 * soft-fp/single.h: Likewise.
4819 * soft-fp/soft-fp.h: Likewise.
4820 * soft-fp/subdf3.c: Likewise.
4821 * soft-fp/subsf3.c: Likewise.
4822 * soft-fp/subtf3.c: Likewise.
4823 * soft-fp/truncdfsf2.c: Likewise.
4824 * soft-fp/trunctfdf2.c: Likewise.
4825 * soft-fp/trunctfsf2.c: Likewise.
4826 * soft-fp/trunctfxf2.c: Likewise.
4827 * soft-fp/unorddf2.c: Likewise.
4828 * soft-fp/unordsf2.c: Likewise.
4829 * soft-fp/unordtf2.c: Likewise.
4830
4831 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
4832
4833 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4834 (_FP_MUL_MEAT_D): Ditto.
4835 (_FP_DIV_MEAT_S): Ditto.
4836 (_FP_DIV_MEAT_D): Ditto.
4837 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4838 t-softfp-sfdf and t-softfp to tmake_file.
4839
4840 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
4841
4842 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4843 * config/i386/crtprec.c: Ditto.
4844
4845 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4846 Shiva Chen <shiva0217@gmail.com>
4847
4848 * config.host (nds32*-elf*): Add nds32 target.
4849 * config/nds32 : New directory and files.
4850
4851 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
4852
4853 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4854 * config.host (cpu_type) <Setting default>: Add entry for
4855 crisv32-*-*.
4856 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4857 <crisv32-*-linux*>: Adjust.
4858 * longlong.h: Wrap the whole CRIS section in a single
4859 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4860 and sub_ddmmss.
4861 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4862 defined.
4863 [__CRIS__] (__umulsidi3): Define.
4864 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4865 * config/cris/sfp-machine.h: New file.
4866 * config/cris/umulsidi3.S: New file.
4867 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4868 * config/cris/arit.c (SIGNMULT): New macro.
4869 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4870 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4871 saving 3 out of originally 33 cycles from the fastest
4872 path, 3 out of 54 from the medium path and one from the longest
4873 path. Improve comments.
4874
4875 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4876
4877 * sync.c: Remove static aliases and define each function directly
4878 under its real name.
4879
4880 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
4881
4882 * config.host (hppa*64*-*-linux*): Define extra_parts.
4883 (hppa*-*-linux*): Likewise.
4884
4885 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4886
4887 * config/arc/crtgend.S: Add 2013 to Copyright years.
4888 * config/arc/gmon/atomic.h: Likewise.
4889 * config/arc/gmon/auxreg.h: Likewise.
4890 * config/arc/gmon/sys/gmon_out.h: Likewise.
4891 * config/arc/gmon/sys/gmon.h: Likewise.
4892 * config/arc/gmon/prof-freq.c: Likewise.
4893 * config/arc/gmon/mcount.c: Likewise.
4894 * config/arc/gmon/prof-freq-stub.S: Likewise.
4895 * config/arc/gmon/gmon.c: Likewise.
4896 * config/arc/gmon/machine-gmon.h: Likewise.
4897 * config/arc/gmon/profil.S: Likewise.
4898 * config/arc/gmon/dcache_linesz.S: Likewise.
4899 * config/arc/crtg.S: Likewise.
4900 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4901 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4902 * config/arc/ieee-754/adddf3.S: Likewise.
4903 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4904 * config/arc/ieee-754/fixsfsi.S: Likewise.
4905 * config/arc/ieee-754/gtsf2.S: Likewise.
4906 * config/arc/ieee-754/floatsisf.S: Likewise.
4907 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4908 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4909 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4910 * config/arc/ieee-754/fixdfsi.S: Likewise.
4911 * config/arc/ieee-754/addsf3.S: Likewise.
4912 * config/arc/ieee-754/gesf2.S: Likewise.
4913 * config/arc/ieee-754/floatsidf.S: Likewise.
4914 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4915 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4916 * config/arc/ieee-754/gtdf2.S: Likewise.
4917 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4918 * config/arc/ieee-754/uneqdf2.S: Likewise.
4919 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4920 * config/arc/ieee-754/uneqsf2.S: Likewise.
4921 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4922 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4923 * config/arc/ieee-754/eqdf2.S: Likewise.
4924 * config/arc/ieee-754/ordsf2.S: Likewise.
4925 * config/arc/ieee-754/divsf3.S: Likewise.
4926 * config/arc/ieee-754/divdf3.S: Likewise.
4927 * config/arc/ieee-754/floatunsidf.S: Likewise.
4928 * config/arc/ieee-754/orddf2.S: Likewise.
4929 * config/arc/ieee-754/eqsf2.S: Likewise.
4930 * config/arc/ieee-754/gedf2.S: Likewise.
4931 * config/arc/crtn.S: Likewise.
4932 * config/arc/crti.S: Likewise.
4933 * config/arc/t-arc700-uClibc: Likewise.
4934 * config/arc/asm.h: Likewise.
4935 * config/arc/libgcc-excl.ver: Likewise.
4936 * config/arc/t-arc-newlib: Likewise.
4937 * config/arc/divtab-arc700.c: Likewise.
4938 * config/arc/initfini.c: Likewise.
4939 * config/arc/fp-hack.h: Likewise.
4940
4941 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4942 Diego Novillo <dnovillo@google.com>
4943
4944 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
4945 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4946 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4947 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
4948
4949 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4950 Brendan Kehoe <brendan@zen.org>
4951 Simon Cook <simon.cook@embecosm.com>
4952
4953 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4954 * config/arc: New directory.
4955 * longlong.h [__arc__] (umul_ppmm): Remove.
4956 [__arc__] (__umulsidi3): Define.
4957 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4958 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4959
4960 2013-09-17 Jacek Caban <jacek@codeweavers.com>
4961
4962 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4963 CreateSemaphoreA.
4964 * config/i386/gthr-win32.h: Likewise.
4965
4966 2013-09-16 DJ Delorie <dj@redhat.com>
4967
4968 * config/rl78/vregs.h: Add G10 register definitions.
4969 * config/rl78/lib2mul.c: Enable for RL78/G10.
4970 * config/rl78/lib2div.c: Likewise.
4971 * config/rl78/lshrsi3.S: Use vregs.h.
4972 * config/rl78/cmpsi2.S: Likewise.
4973 * config/rl78/trampoline.S: Likewise.
4974 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4975
4976 2013-09-14 DJ Delorie <dj@redhat.com>
4977 Nick Clifton <nickc@redhat.com>
4978
4979 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4980 * config/rl78/vregs.h: New.
4981 * config/rl78/signbit.S: New file. Implements signbit function.
4982 * config/rl78/divmodsi.S: New.
4983 * config/rl78/divmodhi.S: New.
4984 * config/rl78/divmodqi.S: New.
4985 * config/rl78/t-rl78: Build them here...
4986 * config/rl78/lib2div.c: ...but not here.
4987
4988 2013-09-12 DJ Delorie <dj@redhat.com>
4989
4990 * config.host (msp*-*-elf): New.
4991 * config/msp430/: New port.
4992
4993 2013-08-18 Iain Sandoe <iain@codesourcery.com>
4994
4995 PR gcov-profile/58127
4996 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4997 __thread var for emulated TLS.
4998 (__gcov_indirect_call_counters): Likewise.
4999
5000 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
5001 Catherine Moore <clm@codesourcery.com>
5002 Richard Sandiford <rdsandiford@googlemail.com>
5003
5004 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5005 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5006 (CALL_STUB_NO_RET): Likewise.
5007 (CALL_STUB_RET): Likewise.
5008 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5009 __mips16_ret call/return stub symbols.
5010 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5011 to tmake_file.
5012
5013 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5014
5015 * config.host <mips*-*-linux*>: Remove a stray comment.
5016
5017 2013-08-10 Jan Hubicka <jh@suse.cz>
5018
5019 Work around binutils PR14342
5020 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5021 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5022 (L_gcov_indirect_call_profiler_v2): New.
5023
5024 2013-08-06 Jan Hubicka <jh@suse.cz>
5025
5026 * libgcov.c (__gcov_indirect_call_callee,
5027 __gcov_indirect_call_counters): New global vars.
5028 (__gcov_indirect_call_profiler): replace by ...
5029 (__gcov_indirect_call_profiler_v2) ... this one.
5030
5031 2013-08-06 Caroline Tice <cmtice@google.com>
5032
5033 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
5034 vtv_start_preinit.o and vtv_end_preinit.o.
5035 * configure.ac: Add code to check/set enable_vtable_verify.
5036 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
5037 true.
5038 * vtv_start_preinit.c: New file.
5039 * vtv_end_preinit.c: New file.
5040 * vtv_start.c: New file.
5041 * vtv_end.c: New file.
5042 * configure: Regenerated.
5043
5044 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5045
5046 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5047 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5048 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5049 GPL-3.0-with-GCC-exception.
5050
5051 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5052
5053 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5054 ISA and up.
5055
5056 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5057
5058 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5059 mapping for FPRs when creating the fallback framestate.
5060
5061 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
5062
5063 PR target/57516
5064 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5065 (__round_s2_const, __round_u2_const)
5066 (__round_s4_const, __round_u4_const, __round_x8):
5067 Saturate result if addition result cannot be represented.
5068
5069 2013-07-15 Matthias Klose <doko@ubuntu.com>
5070
5071 * libgcc2.c: Don't include <limits.h>.
5072
5073 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
5074
5075 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5076
5077 2013-07-06 Jakub Jelinek <jakub@redhat.com>
5078
5079 PR target/29776
5080 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5081
5082 2013-06-28 Jakub Jelinek <jakub@redhat.com>
5083
5084 PR middle-end/36041
5085 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5086 Define.
5087 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5088 instead of table lookups.
5089 (__popcountDI2): Likewise.
5090
5091 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5092
5093 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5094 correctly.
5095
5096 2013-06-21 Joseph Myers <joseph@codesourcery.com>
5097
5098 PR other/53317
5099 * soft-fp/adddf3.c: Update from glibc.
5100 * soft-fp/addsf3.c: Likewise.
5101 * soft-fp/addtf3.c: Likewise.
5102 * soft-fp/divdf3.c: Likewise.
5103 * soft-fp/divsf3.c: Likewise.
5104 * soft-fp/divtf3.c: Likewise.
5105 * soft-fp/double.h: Likewise.
5106 * soft-fp/eqdf2.c: Likewise.
5107 * soft-fp/eqsf2.c: Likewise.
5108 * soft-fp/eqtf2.c: Likewise.
5109 * soft-fp/extenddftf2.c: Likewise.
5110 * soft-fp/extended.h: Likewise.
5111 * soft-fp/extendsfdf2.c: Likewise.
5112 * soft-fp/extendsftf2.c: Likewise.
5113 * soft-fp/fixdfdi.c: Likewise.
5114 * soft-fp/fixdfsi.c: Likewise.
5115 * soft-fp/fixsfdi.c: Likewise.
5116 * soft-fp/fixsfsi.c: Likewise.
5117 * soft-fp/fixtfdi.c: Likewise.
5118 * soft-fp/fixtfsi.c: Likewise.
5119 * soft-fp/fixunsdfdi.c: Likewise.
5120 * soft-fp/fixunsdfsi.c: Likewise.
5121 * soft-fp/fixunssfdi.c: Likewise.
5122 * soft-fp/fixunssfsi.c: Likewise.
5123 * soft-fp/fixunstfdi.c: Likewise.
5124 * soft-fp/fixunstfsi.c: Likewise.
5125 * soft-fp/floatdidf.c: Likewise.
5126 * soft-fp/floatdisf.c: Likewise.
5127 * soft-fp/floatditf.c: Likewise.
5128 * soft-fp/floatsidf.c: Likewise.
5129 * soft-fp/floatsisf.c: Likewise.
5130 * soft-fp/floatsitf.c: Likewise.
5131 * soft-fp/floatundidf.c: Likewise.
5132 * soft-fp/floatundisf.c: Likewise.
5133 * soft-fp/floatunditf.c: Likewise.
5134 * soft-fp/floatunsidf.c: Likewise.
5135 * soft-fp/floatunsisf.c: Likewise.
5136 * soft-fp/floatunsitf.c: Likewise.
5137 * soft-fp/gedf2.c: Likewise.
5138 * soft-fp/gesf2.c: Likewise.
5139 * soft-fp/getf2.c: Likewise.
5140 * soft-fp/ledf2.c: Likewise.
5141 * soft-fp/lesf2.c: Likewise.
5142 * soft-fp/letf2.c: Likewise.
5143 * soft-fp/muldf3.c: Likewise.
5144 * soft-fp/mulsf3.c: Likewise.
5145 * soft-fp/multf3.c: Likewise.
5146 * soft-fp/negdf2.c: Likewise.
5147 * soft-fp/negsf2.c: Likewise.
5148 * soft-fp/negtf2.c: Likewise.
5149 * soft-fp/op-1.h: Likewise.
5150 * soft-fp/op-2.h: Likewise.
5151 * soft-fp/op-4.h: Likewise.
5152 * soft-fp/op-8.h: Likewise.
5153 * soft-fp/op-common.h: Likewise.
5154 * soft-fp/quad.h: Likewise.
5155 * soft-fp/single.h: Likewise.
5156 * soft-fp/soft-fp.h: Likewise.
5157 * soft-fp/subdf3.c: Likewise.
5158 * soft-fp/subsf3.c: Likewise.
5159 * soft-fp/subtf3.c: Likewise.
5160 * soft-fp/truncdfsf2.c: Likewise.
5161 * soft-fp/trunctfdf2.c: Likewise.
5162 * soft-fp/trunctfsf2.c: Likewise.
5163 * soft-fp/unorddf2.c: Likewise.
5164 * soft-fp/unordsf2.c: Likewise.
5165 * soft-fp/unordtf2.c: Likewise.
5166 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5167 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5168 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5169 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5170 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5171 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5172 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5173 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5174 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5175 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5176 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5177 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5178
5179 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5180
5181 * config/mips/lib2funcs.c: New file.
5182 * config/mips/t-mips (LIB2ADD_ST): Add it.
5183
5184 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5185
5186 PR target/6526
5187 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5188 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5189
5190 2013-06-08 Walter Lee <walt@tilera.com>
5191
5192 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5193 Replace int64_t with long long. Add __extension__ where
5194 appropriate.
5195 * config/tilepro/atomic.c: Include config.h.
5196
5197 2013-06-06 Douglas B Rupp <rupp@adacore.com>
5198
5199 * config.host (arm-wrs-vxworks): Configure with other soft float.
5200
5201 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5202
5203 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5204 (mips64r5900el-*-elf*): New configurations.
5205
5206 2013-06-04 Alan Modra <amodra@gmail.com>
5207
5208 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5209
5210 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5211
5212 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5213
5214 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5215
5216 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5217 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5218 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5219
5220 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5221
5222 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5223 (powerpc-wrs-vxworks): Likewise.
5224
5225 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5226
5227 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5228 signal frames as well.
5229 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5230 STACK_BIAS to the CFA offset.
5231
5232 2013-05-17 Richard Henderson <rth@redhat.com>
5233
5234 PR target/49146
5235 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5236 (execute_cfa_program): Use it when storing to fs->regs.
5237
5238 2013-05-08 Kai Tietz <ktietz@redhat.com>
5239
5240 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5241 (__deregister_frame_info): Likewise.
5242
5243 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5244
5245 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5246 NaN's payload.
5247
5248 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5249
5250 2013-04-25 Alan Modra <amodra@gmail.com>
5251
5252 * config.host: Match little-endian powerpc-linux.
5253
5254 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5255
5256 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5257 as 'unsigned long long' instead of 'unsigned long'.
5258 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5259 'signed long'.
5260
5261 2013-04-10 Julian Brown <julian@codesourcery.com>
5262
5263 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5264 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5265 unsigned char/unsigned short.
5266 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5267
5268 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5269
5270 PR other/55274
5271 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5272
5273 2013-04-04 Meador Inge <meadori@codesourcery.com>
5274
5275 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5276 computing the location of the link register.
5277 (aeabi_uldivmod): Ditto.
5278
5279 2013-03-27 Kai Tietz <ktietz@redhat.com>
5280
5281 * config.host: Add support for cygwin x64 target.
5282 * configure: Regenerated.
5283
5284 2013-03-26 Walter Lee <walt@tilera.com>
5285
5286 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5287 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5288
5289 2013-03-25 Kai Tietz <ktietz@redhat.com>
5290
5291 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5292
5293 2013-03-20 Robert Mason <rbmj@verizon.net>
5294
5295 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5296 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5297 (__gthread_leave_tsd_dtor_context): Add prototypes.
5298 (tls_delete_hook): Update.
5299
5300 2013-03-20 Catherine Moore <clm@codesourcery.com>
5301 Joseph Myers <joseph@codesourcery.com>
5302 Chao-ying Fu <fu@mips.com>
5303
5304 * config/mips/mips16.S: Don't build for microMIPS.
5305 * config/mips/linux-unwind.h: Handle microMIPS frame.
5306 * config/mips/crtn.S (fini, init): New labels.
5307
5308 2013-03-14 Jakub Jelinek <jakub@redhat.com>
5309
5310 PR tree-optimization/53265
5311 * unwind-dw2.c (execute_cfa_program): Avoid
5312 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5313 on targets with DWARF_FRAME_REGISTERS < 32.
5314
5315 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5316
5317 PR target/49880
5318 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5319 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5320
5321 2013-03-07 Sriraman Tallam <tmsriram@google.com>
5322
5323 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5324 sandybridge processors.
5325
5326 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5327
5328 PR target/56529
5329 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5330 inclusion list.
5331
5332 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5333
5334 * config/microblaze/crti.S: Setup stack protection at entry
5335
5336 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
5337
5338 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5339 (__rotldi3): Shift bytewise if applicable.
5340
5341 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5342
5343 * config/aarch64/sync-cache.c
5344 (__aarch64_sync_cache_range): Silence warnings.
5345
5346 2013-02-25 Catherine Moore <clm@codesourcery.com>
5347
5348 Revert:
5349 2013-02-24 Catherine Moore <clm@codesourcery.com>
5350 Joseph Myers <joseph@codesourcery.com>
5351 Chao-ying Fu <fu@mips.com>
5352
5353 * config/mips/mips16.S: Don't build for microMIPS.
5354 * config/mips/linux-unwind.h: Handle microMIPS frame.
5355 * config/mips/crtn.S (fini, init): New labels.
5356
5357 2013-02-24 Catherine Moore <clm@codesourcery.com>
5358 Joseph Myers <joseph@codesourcery.com>
5359 Chao-ying Fu <fu@mips.com>
5360
5361 * config/mips/mips16.S: Don't build for microMIPS.
5362 * config/mips/linux-unwind.h: Handle microMIPS frame.
5363 * config/mips/crtn.S (fini, init): New labels.
5364
5365 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5366 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
5367 as dividend.
5368
5369 2013-02-16 Alan Modra <amodra@gmail.com>
5370
5371 PR target/55431
5372 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5373 (ppc_fallback_frame_state): Always set up save locations for fp
5374 and altivec. Don't bother with non-callee-saved regs, r0-r13
5375 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5376
5377 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
5378
5379 PR target/54222
5380 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5381 _ssmulHA, _ssmulSA.
5382 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5383 _ssmulha3, _usmulusa3, _ssmulsa3.
5384 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5385 (__muldi3): XCALL __muldi3_6 instead of rcall.
5386 (__umulsidi3, __mulsidi3): New functions.
5387 (do_prologue_saves, do_epilogue_restores): New .macros.
5388 (__divdi3_moddi3): Use them.
5389 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5390 (__usmulusa3, __ssmulsa3): New functions.
5391
5392 2013-02-11 Iain Sandoe <iain@codesourcery.com>
5393 Jack Howarth <howarth@bromo.med.uc.edu>
5394 Patrick Marlier <patrick.marlier@gmail.com>
5395
5396 PR libitm/55693
5397 * config/darwin-crt-tm.c: Remove dummy functions hack.
5398
5399 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
5400
5401 PR target/54222
5402 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5403 * config/avr/lib2-object.mk: New iterator to build objects from it.
5404 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5405 lib2funcs.c.
5406 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5407 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5408 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5409 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5410 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5411 * config/avr/lib1funcs-fixed.S: Implement them.
5412
5413 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5414
5415 Update copyright years.
5416
5417 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
5418
5419 PR target/54601
5420 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5421 Add crtcxa to extra_parts.
5422 * config/rs6000/exit.h: New file.
5423 * config/rs6000/cxa_atexit.c: New file.
5424 * config/rs6000/cxa_finalize.c: New file.
5425 * config/rs6000/crtcxa.c: New file.
5426 * config/rs6000/t-aix-cxa: New file.
5427 * config/rs6000/libgcc-aix-cxa.ver: New file.
5428
5429 2013-01-31 Nick Clifton <nickc@redhat.com>
5430
5431 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5432 variant.
5433
5434 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
5435
5436 PR target/54222
5437 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5438 _mulQQ, _mulHQ, _mulHA, _mulSA,
5439 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5440 _divQQ, _divHQ, _divHA, _divSA,
5441 _divUQQ, _divUHQ, _divUHA, _divUSA.
5442
5443 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
5444
5445 * config.host(microblaze*-linux*): tmake_file: Remove
5446 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5447 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5448 to exclude functions from being built with libgcc.c and use
5449 the microblaze assembly.
5450
5451 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5452
5453 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5454 extra_parts.
5455
5456 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5457
5458 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5459 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5460 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5461 alignment operation.
5462
5463 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5464
5465 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5466 loop start address for cache clearing.
5467
5468 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5469
5470 * config/avr/lib1funcs.S: Remove trailing blanks.
5471 * config/avr/lib1funcs-fixed.S: Ditto.
5472
5473 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5474
5475 * config/avr/avr-lib.h: Add GPL copyright notice.
5476
5477 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5478
5479 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5480 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5481 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5482 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5483
5484 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
5485
5486 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5487 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
5488
5489 2013-01-04 Nick Clifton <nickc@redhat.com>
5490
5491 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5492 the CALLT instruction is supported.
5493
5494 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5495
5496 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5497 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5498
5499 2012-12-13 John Tytgat <John@bass-software.com>
5500
5501 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5502 is 25.
5503
5504 2012-12-12 Jakub Jelinek <jakub@redhat.com>
5505
5506 PR libgcc/55451
5507 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5508 undefined signed overflows.
5509
5510 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
5511
5512 PR target/55344
5513 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5514
5515 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
5516
5517 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5518 (FP_TRAPPING_EXCEPTIONS): Define.
5519 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5520 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5521
5522 2012-12-04 Richard Henderson <rth@redhat.com>
5523
5524 PR bootstrap/55571
5525 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5526
5527 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5528
5529 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5530 (FP_EX_SHIFT): Define.
5531 (FP_TRAPPING_EXCEPTIONS): Define.
5532
5533 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5534
5535 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5536 (FP_ROUNDMODE): Use FP_RND_MASK.
5537 * config/aarch64/sfp-exceptions.c: New.
5538 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5539 Use __sfp_handle_exceptions.
5540
5541 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
5542
5543 * config.host: (arm*-*-freebsd*): Remove.
5544 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5545 (arm*-*-elf*): Remove.
5546 (arm*-*-wince-pe*): Remove.
5547 * arm/unwind-arm.c (struct fpa_reg): Delete.
5548 (struct fpa_regs): Delete.
5549 (phase1_vrs): Remove fpa element.
5550 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5551 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5552 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5553 * ieee754-sf.S (floatundisf): Remove FPA support.
5554 (floatdisf): Likewise.
5555 * ieee75f-df.S (floatundidf): Likewise.
5556 (floatdidf): Likewise.
5557
5558 2012-11-29 Kai Tietz <ktietz@redhat.com>
5559
5560 PR target/55445
5561 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5562 * unwind-generic.h: Likewise.
5563 * unwind-seh.c: Likewise.
5564
5565 2012-11-28 Richard Henderson <rth@redhat.com>
5566
5567 PR libgcc/48076
5568 * emutls.c (__emutls_get_address): Avoid race condition between
5569 obj->loc.offset read and emutls_key initialization.
5570
5571 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
5572
5573 Adjust decimal point of signed accum mode to GCC default.
5574
5575 PR target/54222
5576 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5577 _divqq_helper.
5578 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5579 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5580 (__mulha3, __mulsa3)
5581 (__divqq3, __divha3, __divsa3): Adjust to new position of
5582 decimal point of signed accum types.
5583
5584 (__mulusa3_round): New function.
5585 (__mulusa3): Use it.
5586 (__divqq_helper): New function.
5587 (__udivuqq3): Use it.
5588
5589 2012-11-20 Jakub Jelinek <jakub@redhat.com>
5590
5591 PR bootstrap/55370
5592 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5593
5594 2012-11-18 Teresa Johnson <tejohnson@google.com>
5595
5596 PR bootstrap/55051
5597 * libgcov.c (gcov_exit): Remove merged program summary
5598 comparison unless !GCOV_LOCKED.
5599
5600 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
5601
5602 * soft-fp: Updated from glibc upstream.
5603
5604 2012-11-06 Ian Lance Taylor <iant@google.com>
5605
5606 * generic-morestack.c (__generic_morestack): Align the returned
5607 stack pointer to a 32 byte boundary.
5608 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5609 increment the return address until we have decided that we don't
5610 have a varargs function.
5611 (__morestack) [32-bit]: Align stack correctly when calling C
5612 functions.
5613 (__morestack) [64-bit]: Likewise.
5614
5615 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5616
5617 * configure: Regenerate.
5618
5619 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
5620
5621 PR target/55175
5622 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5623 * config/i386/sfp-machine.h: Guard exception handling
5624 code with _SOFT_FLOAT.
5625 * config/i386/32/sfp-machine.h: Guard rounding handling
5626 code with _SOFT_FLOAT.
5627 * config/i386/64/sfp-machine.h: Ditto.
5628
5629 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5630
5631 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5632 as extra_parts.
5633
5634 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
5635
5636 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5637 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5638 when appropriate. Correct structure element types.
5639 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5640 -minline-all-stringops from compile flags.
5641
5642 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5643
5644 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5645
5646 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5647
5648 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
5649
5650 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5651
5652 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5653 tmake_file.
5654
5655 2012-10-23 Ian Bolton <ian.bolton@arm.com>
5656 Jim MacArthur <jim.macarthur@arm.com>
5657 Marcus Shawcroft <marcus.shawcroft@arm.com>
5658 Nigel Stephens <nigel.stephens@arm.com>
5659 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5660 Richard Earnshaw <rearnsha@arm.com>
5661 Sofiane Naci <sofiane.naci@arm.com>
5662 Stephen Thomas <stephen.thomas@arm.com>
5663 Tejas Belagod <tejas.belagod@arm.com>
5664 Yufeng Zhang <yufeng.zhang@arm.com>
5665
5666 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5667 * config/aarch64/crti.S: New file.
5668 * config/aarch64/crtn.S: New file.
5669 * config/aarch64/linux-unwind.h: New file.
5670 * config/aarch64/sfp-machine.h: New file.
5671 * config/aarch64/sync-cache.c: New file.
5672 * config/aarch64/t-aarch64: New file.
5673 * config/aarch64/t-softfp: New file.
5674
5675 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5676
5677 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5678 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5679 no-longer-needed LDBU insns.
5680
5681 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
5682
5683 * config.host
5684 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5685 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5686
5687 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5688
5689 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5690
5691 2012-10-15 Matthias Klose <doko@ubuntu.com>
5692
5693 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5694
5695 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5696
5697 * configure: Regenerate.
5698 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5699
5700 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5701
5702 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5703 instructions for 64bit targets only.
5704
5705 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5706
5707 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5708 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5709 * config/i386/32/sfp-machine.h: ... here.
5710 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5711 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5712 New defines.
5713
5714 2012-10-07 Matthias Klose <doko@ubuntu.com>
5715
5716 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5717 as unused.
5718 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5719
5720 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
5721
5722 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5723 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5724 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5725 (ElfW): Likewise.
5726
5727 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5728
5729 PR other/53889
5730 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5731 Fix parameter names.
5732
5733 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5734
5735 PR target/33135
5736 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5737 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5738 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5739
5740 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5741
5742 PR target/50457
5743 * config/sh/linux-atomic.S: Delete.
5744 * config/sh/linux-atomic.c: New.
5745 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5746 linux-atomic.c. Add cflags to disable warnings.
5747
5748 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5749
5750 PR other/53889
5751 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5752 function.
5753 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5754 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5755 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5756 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5757 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5758 Likewise.
5759 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5760 Likewise.
5761 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5762 Likewise.
5763 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5764 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5765
5766 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
5767
5768 * config.host (hppa-*-openbsd*): New target.
5769 * config/pa/t-openbsd: New file.
5770
5771 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
5772
5773 PR target/54222
5774 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5775 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5776 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5777 (__divsa3): Use __negsi2 to negate r_quoL.
5778 * config/avr/lib1funcs.S (FALIAS): New macro.
5779 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5780 (__negsi2): ...this new function.
5781 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5782 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5783 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5784 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5785 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5786 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5787
5788 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5789
5790 PR target/54089
5791 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5792 (lshrsi3): Reimplement as lshrsi3_r0.
5793
5794 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5795
5796 PR target/46191
5797 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5798 of libgcc.a.
5799
5800 2012-09-07 Teresa Johnson <tejohnson@google.com>
5801
5802 PR gcov-profile/54487
5803 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
5804 differences.
5805
5806 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
5807
5808 PR target/54461
5809 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5810 not configured --with-avrlibc=no.
5811 * config/avr/t-avrlibc: New file.
5812 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5813 (DPBIT_FUNCS): Ditto.
5814 (TPBIT_FUNCS): Ditto.
5815
5816 2012-09-04 Teresa Johnson <tejohnson@google.com>
5817
5818 * libgcov.c (struct gcov_summary_buffer): New structure.
5819 (gcov_histogram_insert): New function.
5820 (gcov_compute_histogram): Ditto.
5821 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5822 histograms during summary merging.
5823
5824 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
5825
5826 * config.host (x86_64-*-openbsd*): New target.
5827
5828 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5829
5830 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5831 attribute.
5832
5833 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5834
5835 PR target/54222
5836 * config/avr/t-avr (conv_X): Rename to func_X.
5837
5838 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5839
5840 PR target/54222
5841 * config/avr/lib1funcs-fixed.S: New file.
5842 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5843 after they are used.
5844 (neg2, neg4): New macros.
5845 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5846 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5847 (__umulhisi3): Speed up MUL variant if there is enough flash.
5848 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5849 avr-modes.def.
5850 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5851 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5852 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5853 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5854 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5855 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5856 (LIB2FUNCS_EXCLUDE): Add supported functions.
5857
5858 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
5859
5860 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5861 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5862 libgcc-s-objects.
5863 * fixed-obj.mk: Only expand dependency if $o is not in
5864 LIB2FUNCS_EXCLUDE.
5865
5866 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5867
5868 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5869
5870 2012-08-22 Joseph Myers <joseph@codesourcery.com>
5871
5872 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5873 depend on --enable-shared.
5874 ($(lib1asmfuncs-o)): Use %.vis files independent of
5875 --enable-shared.
5876 * static-object.mk ($(base)$(objext), $(base).vis)
5877 ($(base)_s$(objext)): Use same rules for visibility handling as in
5878 shared-object.mk.
5879
5880 2012-08-21 Ian Lance Taylor <iant@google.com>
5881
5882 * config/i386/morestack.S (__morestack_non_split): Increase amount
5883 of space allocated for non-split code stack.
5884
5885 2012-08-19 Joseph Myers <joseph@codesourcery.com>
5886
5887 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5888 even if inhibit_libc.
5889
5890 2012-08-17 Julian Brown <julian@codesourcery.com>
5891
5892 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5893 -fexceptions -fnon-call-exceptions if not defined.
5894 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5895 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5896
5897 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5898
5899 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5900 type.
5901
5902 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
5903
5904 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5905 rs6000/t-slibgcc-aix.
5906
5907 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5908
5909 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5910
5911 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5912
5913 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5914
5915 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5916
5917 PR driver/54171
5918 * Makefile.in (version): Replace top_srcdir with srcdir.
5919
5920 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5921
5922 * Makefile.in (version): set to BASE-VER file from gcc directory.
5923
5924 2012-08-01 Nick Clifton <nickc@redhat.com>
5925
5926 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5927 Implements __clrsb for an HImode argument.
5928
5929 2012-07-31 Nick Clifton <nickc@redhat.com>
5930
5931 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5932 Implements __clrsb for an HImode argument.
5933 * config/stormy16/clrsbhi2.c: New file:
5934 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5935
5936 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5937
5938 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5939
5940 2012-07-19 Tristan Gingold <gingold@adacore.com>
5941 Richard Henderson <rth@redhat.com>
5942
5943 * unwind-seh.c: New file.
5944 * unwind-generic.h: Include windows.h for SEH.
5945 (_Unwind_Exception): Use 6 private fields for SEH.
5946 (_GCC_specific_handler): Declare.
5947 * unwind-c.c (__gcc_personality_seh0): New function.
5948 Adjust for SEH.
5949 * config/i386/libgcc-cygming.ver: New file.
5950 * config/i386/t-seh-eh: New file.
5951 * config.host (x86_64-*-mingw*): Default to seh.
5952
5953 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5954
5955 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5956
5957 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
5958
5959 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5960 __builtin_expect when checking for exceptions.
5961 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5962
5963 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5964
5965 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5966 function declaration.
5967 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5968 (FP_RND_MASK): New.
5969 * config/ia64/sfp-exceptions.c: New.
5970 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
5971
5972 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5973
5974 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5975 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5976 * config/i386/64/sfp-machine: ... (delete here) ...
5977 * config/i386/sfp-machine.h: ... to here.
5978 (FP_EX_MASK): Remove.
5979 (FP_RND_MASK): New.
5980 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5981
5982 2012-06-11 Sriraman Tallam <tmsriram@google.com>
5983
5984 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5985 * config/i386/libgcc-sol2.ver: Ditto.
5986 * config/i386/libgcc-glibc.ver: Ditto.
5987
5988 2012-06-11 Roland McGrath <mcgrathr@google.com>
5989
5990 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5991 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5992 pthread_cancel.
5993
5994 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
5995
5996 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5997 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5998 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5999 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6000 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6001 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6002 * config/i386/64/sfp-machine: ... (delete here) ...
6003 * config/i386/sfp-machine.h: ... to here.
6004 (FP_EX_MASK): New.
6005 (__sfp_handle_exceptions): New function declaration.
6006 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6007 * config/i386/sfp-exceptions.c: New.
6008 * config/i386/t-softfp: New.
6009 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6010 i386/t-softfp to tmake_file.
6011
6012 2012-06-03 David S. Miller <davem@davemloft.net>
6013
6014 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6015 change.
6016
6017 2012-05-31 David S. Miller <davem@davemloft.net>
6018
6019 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6020 multiply and divide instructions on 32-bit when V9.
6021 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6022
6023 2012-05-29 Joseph Myers <joseph@codesourcery.com>
6024
6025 * config/arm/ieee754-df.S: Fix typos.
6026 * config/arm/ieee754-sf.S: Fix typos.
6027 * config/c6x/libunwind.S: Fix typos.
6028 * config/epiphany/udivsi3-float.c: Fix typos.
6029 * config/microblaze/muldi3_hard.S: Fix typos.
6030 * config/picochip/adddi3.S: Fix typos.
6031 * config/picochip/ashlsi3.S: Fix typos.
6032 * config/picochip/ashrsi3.S: Fix typos.
6033 * config/picochip/clzsi2.S: Fix typos.
6034 * config/picochip/cmpsi2.S: Fix typos.
6035 * config/picochip/divmod15.S: Fix typos.
6036 * config/picochip/divmodhi4.S: Fix typos.
6037 * config/picochip/divmodsi4.S: Fix typos.
6038 * config/picochip/longjmp.S: Fix typos.
6039 * config/picochip/lshrsi3.S: Fix typos.
6040 * config/picochip/parityhi2.S: Fix typos.
6041 * config/picochip/popcounthi2.S: Fix typos.
6042 * config/picochip/setjmp.S: Fix typos.
6043 * config/picochip/subdi3.S: Fix typos.
6044 * config/picochip/ucmpsi2.S: Fix typos.
6045 * config/picochip/udivmodhi4.S: Fix typos.
6046 * config/picochip/udivmodsi4.S: Fix typos.
6047 * config/spu/divv2df3.c: Fix typos.
6048 * config/spu/mfc_multi_tag_release.c: Fix typos.
6049 * config/spu/mfc_tag_release.c: Fix typos.
6050 * configure.ac: Fix typos.
6051 * configure: Regenerate.
6052
6053 2012-05-25 Ian Lance Taylor <iant@google.com>
6054
6055 * config/i386/morestack.S (__morestack_non_split): Check whether
6056 caller is varargs and needs %bp to hold the stack frame on return.
6057
6058 2012-05-25 Olivier Hainque <hainque@adacore.com>
6059
6060 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6061 sequence in the non pic case on VxWorks.
6062
6063 2012-05-24 Olivier Hainque <hainque@adacore.com>
6064
6065 * Makefile.in: Move dependency on install-unwind_h from
6066 "install-leaf" to "install".
6067
6068 2012-05-24 Olivier Hainque <hainque@adacore.com>
6069
6070 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6071 Use a separate command for stamp removals.
6072
6073 2012-05-21 Andrew Pinski <apinski@cavium.com>
6074
6075 PR bootstrap/53183
6076 * configure.ac: Define the default includes to being none.
6077 * configure: Regenerate.
6078
6079 2012-05-16 Olivier Hainque <hainque@adacore.com>
6080
6081 * Makefile.in (install-unwind_h): Rename into ...
6082 (install-unwind_h-forbuild): New target.
6083 (all): Use it instead of the former install-unwind_h.
6084 (install-unwind_h): Reinstate, copy to user install destination
6085 for include files, not to the internal gcc object directory one.
6086 (install-leaf): Depend on it.
6087
6088 2012-05-15 Olivier Hainque <hainque@adacore.com>
6089
6090 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6091 register numbers. LR_REGNO replaces R_LR.
6092 (ucontext_for): New, helper for ...
6093 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6094 and 5.3 of ...
6095 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6096
6097 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6098
6099 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6100 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6101 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6102 i386/t-cpuinfo ...
6103 (i[34567]86-*-*, x86_64-*-*): ... here.
6104
6105 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6106 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6107
6108 * config/i386/i386-cpuinfo.c: Rename to ...
6109 * config/i386/cpuinfo.c: ... this.
6110 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6111
6112 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6113 (libgcc_cv_init_priority): New test.
6114 * configure: Regenerate.
6115 * config.in: New file.
6116 * Makefile.in (clean): Rename config.h to auto-target.h.
6117 (config.h): Likewise.
6118 (stamp-h): Likewise.
6119
6120 * config/i386/cpuinfo.c (auto-target.h): Include.
6121 (CONSTRUCTOR_PRIORITY): Define.
6122 (__cpu_indicator_init): Use it.
6123
6124 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6125
6126 * longlong.h: Use a URL instead of an FSF postal address.
6127 Replace spaces with tab.
6128
6129 2012-05-08 Teresa Johnson <tejohnson@google.com>
6130
6131 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6132 (__gcov_dump): Ditto.
6133 (gcov_dump_complete): New global variable.
6134 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6135 (__gcov_flush): Outline functionality now in gcov_clear.
6136 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6137
6138 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6139
6140 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6141 (mips*-*-linux*): Include mips/t-tpbit when long double is
6142 16 bytes long.
6143
6144 2012-04-25 Sriraman Tallam <tmsriram@google.com>
6145
6146 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6147 (get_available_features): New argument. Check for AVX2.
6148 (__cpu_indicator_init): Modify call to get_available_features.
6149
6150 2012-04-25 Alan Modra <amodra@gmail.com>
6151
6152 * config/rs6000/crtsavevr.S: New file.
6153 * config/rs6000/crtrestvr.S: New file.
6154 * config/rs6000/t-savresfgpr: Build the above.
6155 * config/rs6000/t-netbsd: Likewise.
6156
6157 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6158
6159 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6160
6161 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6162
6163 * libgcc/config/i386/i386-cpuinfo.c: New file.
6164 * libgcc/config/i386/t-cpuinfo: New file.
6165 * libgcc/config.host: Include t-cpuinfo.
6166 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6167
6168 2012-04-24 Chao-ying Fu <fu@mips.com>
6169
6170 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6171
6172 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6173
6174 struct siginfo vs. siginfo_t
6175
6176 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6177 siginfo_t instead of struct siginfo.
6178 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6179 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6180 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6181 (ia64_handle_unwabi): Likewise.
6182 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6183 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6184 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6185 (sh_fallback_frame_state): Likewise.
6186 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6187 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6188
6189 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6190
6191 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6192 system call number.
6193
6194 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6195
6196 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6197 if it hasn't been previously saved.
6198
6199 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6200
6201 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6202 only for glibc.
6203
6204 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
6205
6206 PR target/52737
6207 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6208 instead of __AVR_HAVE_8BIT_SP__.
6209
6210 2012-03-26 Tristan Gingold <gingold@adacore.com>
6211
6212 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6213 (unw_table_entry): Use unw_word instead of unsigned long.
6214 (_Unwind_FindTableEntry): Likewise.
6215 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6216 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6217 (_Unwind_FindTableEntry): Likewise.
6218 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6219 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6220 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6221 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6222 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6223 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6224 (uw_init_context_1, uw_install_context): Likewise.
6225 (unw_word): Move to unwind-ia64.h
6226
6227 2012-03-26 Tristan Gingold <gingold@adacore.com>
6228
6229 * config/vms/vms-ucrt0.c: Update copyright years.
6230 Add a sanity check.
6231 (___gcc_main_flags): Declare.
6232 (__main): Check flags to remap argv and exit code.
6233 * config.host (*-*-*vms*): Adjust extra_parts.
6234 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6235 (crt0.o): Add.
6236
6237 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
6238
6239 * arm/lib1funcs.asm (ctzsi2): New function.
6240 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6241 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6242 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6243 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6244 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6245 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6246
6247 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
6248
6249 * config.host: Add bits to support powerpc64-*-freebsd*.
6250 * config/rs6000/freebsd-unwind.h: New file.
6251 * config/rs6000/t-freebsd64: New file.
6252
6253 2012-03-20 Richard Guenther <rguenther@suse.de>
6254
6255 PR gcov-profile/52627
6256 * libgcov.c (init_mx): Fix mutex name.
6257
6258 2012-03-16 Tristan Gingold <gingold@adacore.com>
6259
6260 * config/ia64/vms-unwind.h: Remove ulong (and replace
6261 it by unw_reg where used). Define unw_reg with __int64.
6262
6263 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6264
6265 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6266 Solaris 8 handling.
6267 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6268 Solaris 8 handling.
6269 (sparc_is_sighandler): Likewise.
6270
6271 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6272
6273 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6274 <= saved reg size.
6275
6276 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6277
6278 * config/arm/crtn.S: Fix typo.
6279
6280 2012-03-13 Richard Guenther <rguenther@suse.de>
6281
6282 * libgcov.c: Remove stdio.h include and NULL un-define.
6283
6284 2012-03-13 Richard Guenther <rguenther@suse.de>
6285
6286 PR target/52569
6287 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6288
6289 2012-03-13 Richard Guenther <rguenther@suse.de>
6290
6291 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6292
6293 2012-03-13 Richard Guenther <rguenther@suse.de>
6294
6295 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6296 and __gthread_mutex_init_function definitions.
6297
6298 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6299
6300 * config.host (mips*-*-openbsd*): Remove.
6301
6302 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6303
6304 * config.host: Remove alpha*-dec-osf5.1* handling.
6305 * config/alpha/gthr-posix.c: Remove.
6306 * config/alpha/libgcc-osf5.ver: Remove.
6307 * config/alpha/osf5-unwind.h: Remove.
6308 * config/alpha/t-osf-pthread: Remove.
6309 * config/alpha/t-slibgcc-osf: Remove.
6310 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6311 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6312 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6313 * mkmap-flat.awk: Remove osf_export handling.
6314
6315 2012-03-12 Richard Guenther <rguenther@suse.de>
6316
6317 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6318 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6319 (__gthread_mutex_init_function): New function.
6320 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6321
6322 PR gcov/49484
6323 * libgcov.c: Include gthr.h.
6324 (__gcov_flush_mx): New global variable.
6325 (init_mx, init_mx_once): New functions.
6326 (__gcov_flush): Protect self with a mutex.
6327 (__gcov_fork): Re-initialize mutex after forking.
6328 * unwind-dw2-fde.c: Change condition under which to use
6329 __GTHREAD_MUTEX_INIT_FUNCTION.
6330
6331 2012-03-12 Tristan Gingold <gingold@adacore.com>
6332
6333 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6334 * config/ia64/t-vms: Likewise.
6335
6336 2012-03-11 Michael Hope <michael.hope@linaro.org>
6337
6338 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6339 for Thumb-2.
6340
6341 2012-03-07 Walter Lee <walt@tilera.com>
6342
6343 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6344 "arch_atomic_".
6345 (atomic_xor): Rename and move definition to
6346 config/tilepro/atomic.h.
6347 (atomic_nand): Ditto.
6348 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6349 "arch_atomic_".
6350 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6351 (arch_atomic_nand): Ditto.
6352
6353 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6354
6355 PR target/52507
6356 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6357
6358 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6359
6360 PR target/52505
6361 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6362 from RAM.
6363
6364 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6365
6366 PR target/52461
6367 PR target/52508
6368 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6369 if RAMPZ affects reading from RAM.
6370 (__tablejump_elpm__): Ditto.
6371 (.xload): Ditto.
6372 (__movmemx_hi): Ditto.
6373 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6374 (__do_global_dtors): Ditto.
6375 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6376 (__movmemx_hi): Ditto.
6377
6378 2012-03-05 Richard Henderson <rth@redhat.com>
6379
6380 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6381 [ARM] (count_trailing_zeros): Use the builtin.
6382
6383 2012-03-01 Kai Tietz <ktietz@redhat.com>
6384
6385 * soft-fp: Imported from glibc upstream.
6386
6387 2012-02-28 Kai Tietz <ktietz@redhat.com>
6388
6389 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6390 for mingw-targets as attribute gcc_struct.
6391
6392 2012-02-28 Ian Lance Taylor <iant@google.com>
6393
6394 * generic-morestack.c (__splitstack_releasecontext): Correct call
6395 to __morestack_release_segments.
6396
6397 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6398
6399 PR target/52390
6400 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6401 for __linux__ when removing signals from __morestack_fullmask.
6402
6403 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
6404
6405 PR target/52261
6406 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6407
6408 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6409
6410 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6411 instead of HAVE_INITFINI_ARRAY.
6412 * config/ia64/crtend.S: Likewise.
6413
6414 2012-02-20 Kai Tietz <ktietz@redhat.com>
6415
6416 PR libstdc++/52300
6417 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6418
6419 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6420 to w32-unwind.h header.
6421
6422 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6423
6424 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6425 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6426 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6427 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6428
6429 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6430
6431 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6432
6433 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6434
6435 PR libitm/52220
6436 * config/darwin-crt-tm.c: Correct typo.
6437
6438 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6439 Patrick Marlier <patrick.marlier@gmail.com>
6440
6441 PR libitm/52220
6442 * config/darwin-crt-tm.c: Generate dummy functions.
6443
6444 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6445 Patrick Marlier <patrick.marlier@gmail.com>
6446
6447 PR libitm/52042
6448 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6449 (__doTMRegistrations): Call it.
6450 (__doTMdeRegistrations): Likewise.
6451
6452 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
6453 Anatoly Sokolov <aesok@post.ru>
6454 Eric Weddington <eric.weddington@atmel.com>
6455
6456 PR target/52261
6457 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6458 (__epilogue_restores__): Ditto.
6459
6460 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6461
6462 PR target/51921
6463 PR target/52205
6464 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6465 Solaris 11 and slightly reformat.
6466 (sparc_is_sighandler): Likewise.
6467
6468 2012-02-14 Walter Lee <walt@tilera.com>
6469
6470 * config.host: Handle tilegx and tilepro.
6471 * config/tilegx/sfp-machine.h: New file.
6472 * config/tilegx/sfp-machine32.h: New file.
6473 * config/tilegx/sfp-machine64.h: New file.
6474 * config/tilegx/t-crtstuff: New file.
6475 * config/tilegx/t-softfp: New file.
6476 * config/tilegx/t-tilegx: New file.
6477 * config/tilepro/atomic.c: New file.
6478 * config/tilepro/atomic.h: New file.
6479 * config/tilepro/linux-unwind.h: New file.
6480 * config/tilepro/sfp-machine.h: New file.
6481 * config/tilepro/softdivide.c: New file.
6482 * config/tilepro/softmpy.S: New file.
6483 * config/tilepro/t-crtstuff: New file.
6484 * config/tilepro/t-tilepro: New file.
6485
6486 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6487
6488 PR libstdc++/51296
6489 PR libstdc++/51906
6490 * gthr-posix.h: Allow static initializer macros to be disabled.
6491 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6492
6493 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6494
6495 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6496 Add t-slibgcc-libgcc to tmake_file.
6497 * config/mips/libgcc-mips16.ver: Revert previous patch.
6498 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6499
6500 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6501 Jayant R Sonar <jayant.sonar@kpitcummins.com>
6502
6503 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6504 * config/cr16/crti.S: New file.
6505 * config/cr16/crtlibid.S: New file.
6506 * config/cr16/crtn.S: New file.
6507 * config/cr16/lib1funcs.S: New file.
6508 * config/cr16/t-cr16: New file.
6509 * config/cr16/t-crtlibid: New file.
6510 * config/cr16/unwind-dw2.h: New file.
6511 * config/cr16/unwind-cr16.c: New file.
6512 * config/cr16/divmodhi3.c: New file.
6513
6514 2012-01-25 Alan Modra <amodra@gmail.com>
6515
6516 * config/rs6000/t-linux64: Delete. Move..
6517 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6518 * config/rs6000/t-linux: ..and libgcc flags to here.
6519
6520 2012-01-22 Douglas B Rupp <rupp@gnat.com>
6521
6522 * config.host (i[34567]86-*-interix3*):
6523 Change triplet to i[34567]86-*-interix[3-9]*.
6524 * configure: Regenerate.
6525
6526 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6527 Richard Sandiford <rdsandiford@googlemail.com>
6528
6529 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6530 * config/mips/mips16.S (__mips16_rdhwr): New function.
6531 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6532
6533 2012-01-11 Nathan Sidwell <nathan@acm.org>
6534
6535 * libgcov.c (__gcov_init): Ignore objects with no functions.
6536
6537 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
6538
6539 PR target/49868
6540 Extend __pgmx semantics to linearize memory.
6541 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6542 * config/avr/lib1funcs.S (__xload_1): New function.
6543 (__movmemx_qi, __movmemx_hi): New functions.
6544 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6545 semantics.
6546
6547 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6548
6549 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6550 purported sigacthandler address isn't null before dereferencing it.
6551 (sparc_is_sighandler): Likewise.
6552
6553 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6554
6555 PR ada/41929
6556 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6557 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6558 (sparc_is_sighandler): Likewise.
6559 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6560
6561 2012-01-06 Tristan Gingold <gingold@adacore.com>
6562
6563 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6564 compatibility thunks...
6565 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6566 (crtbeginS.o, crtendS.o): ... and these to ...
6567 * config/ia64/t-ia64-elf: ... this new file.
6568 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6569 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6570
6571 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6572
6573 * configure: Regenerate.
6574 * config/s390/t-crtstuff: Remove -fPIC.
6575
6576 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6577
6578 PR bootstrap/51006
6579 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6580 for NetBSD.
6581
6582 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6583
6584 PR target/51345
6585 * config/avr/lib1funcs.S: Remove FIXME comments.
6586 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6587
6588 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6589
6590 Implement light-weight DImode support.
6591 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6592 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6593 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6594 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6595
6596 2011-12-30 Nathan Sidwell <nathan@acm.org>
6597
6598 * libgcov.c (gcov_crc32): Remove global var.
6599 (free_fn_data): New function.
6600 (buffer_fn_data): Pass in filename, more robust error recovery.
6601 (crc32_unsigned): New function.
6602 (gcov_exit): More robust detection of new program. More robust
6603 error recovery.
6604 (__gcov_init): Do not update program's crc here.
6605
6606 2011-12-21 Tristan Gingold <gingold@adacore.com>
6607
6608 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6609
6610 2011-12-21 Ian Lance Taylor <iant@google.com>
6611
6612 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6613
6614 2011-12-20 Ian Lance Taylor <iant@google.com>
6615
6616 * config/i386/morestack.S (__morestack_non_split): If there is
6617 enough stack space already, don't split. Ask for more stack space
6618 than we required.
6619
6620 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6621
6622 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6623 `sys/sdt.h'.
6624 (_Unwind_DebugHook): New function.
6625 (uw_restore_core_regs): New define.
6626 (unwind_phase2): Use uw_restore_core_regs instead of
6627 restore_core_regs.
6628 (unwind_phase2_forced): Likewise.
6629 (__gnu_Unwind_Resume): Likewise.
6630
6631 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
6632
6633 * config/alpha/linux-unwind.h: Update copyright years.
6634 (MD_FROB_UPDATE_CONTEXT): New define.
6635 (alpha_frob_update_context): New function.
6636
6637 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6638
6639 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6640 tmake_file rather replacing it.
6641
6642 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6643
6644 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
6645 function is not used for PPC64.
6646 (save_world): Amend comments. Update the VRsave mask to reflect the
6647 saved regs.
6648 (rest_world): Update comments, do not clobber r10, do not use r8.
6649 (eh_rest_world_r10): Amend comments, do not use r8.
6650 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6651 no longer used, move restore of CR and target address to the end of
6652 the routine.
6653
6654 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6655
6656 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6657 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6658
6659 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
6660
6661 PR target/49313
6662 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6663 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6664
6665 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6666
6667 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6668
6669 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
6670
6671 PR target/49313
6672 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6673 * config/avr/lib1funcs.S (__muldi3): New function.
6674
6675 2011-12-06 Andrew Pinski <apinski@cavium.com>
6676
6677 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6678 size of func_ptr.
6679 (__frame_dummy_init_array_entry): Likewise.
6680
6681 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
6682
6683 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6684
6685 PR target/51345
6686 PR target/51002
6687 * config/avr/lib1funcs.S (__prologue_saves__,
6688 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6689 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6690
6691 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6692
6693 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6694
6695 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6696
6697 PR other/51272
6698 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6699 (_ITM_deregisterTMCloneTable): Likewise.
6700 (__register_frame_info): Fix unused warning.
6701 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6702 pthread_default_stacksize_np): Likewise.
6703 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
6704
6705 2011-11-29 DJ Delorie <dj@redhat.com>
6706
6707 * config.host (rl78-*-elf): New case.
6708 * config/rl78: New directory for the Renesas RL78.
6709
6710 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6711
6712 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6713 formatting.
6714
6715 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6716
6717 PR other/51022
6718 * config/rs6000/t-savresfgpr: New file.
6719 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6720 $(srcdir)/config/rs6000/eabi.S.
6721 * config/rs6000/t-ppccomm-ldbl: Remove.
6722 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6723 tmake_file.
6724 (powerpc-*-eabispe*): Likewise.
6725 (powerpc-*-eabi*): Likewise.
6726 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6727 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6728 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6729 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6730 tmake_file.
6731 (powerpc-*-eabisim*): Likewise.
6732 (powerpc-*-elf*): Likewise.
6733 (powerpc-*-eabialtivec*): Likewise.
6734 (powerpc-xilinx-eabi*): Likewise.
6735 (powerpc-*-rtems*): Likewise.
6736 (powerpcle-*-elf*): Likewise.
6737 (powerpcle-*-eabisim*): Likewise.
6738 (powerpcle-*-eabi*): Likewise.
6739
6740 2011-11-27 Ian Lance Taylor <iant@google.com>
6741
6742 * generic-morestack.c (__splitstack_find): Check for NULL old
6743 stack value.
6744 (__splitstack_resetcontext): New function.
6745 (__splitstack_releasecontext): New function.
6746 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6747
6748 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6749
6750 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6751
6752 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6753
6754 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6755
6756 2011-11-26 Richard Henderson <rth@redhat.com>
6757
6758 * config/m68k/linux-atomic.c: New file.
6759 * config/m68k/t-linux: New file.
6760 * config.host (m68k-uclinux, m68k-linux): Use it.
6761
6762 2011-11-26 Richard Henderson <rth@redhat.com>
6763
6764 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6765 (__TMC_END__): Only declare if hidden is available; in the definition,
6766 if hidden is unavailable add a null record.
6767 (deregister_tm_clones, register_tm_clones): New.
6768 (__do_global_dtors_aux, frame_dummy): Use them.
6769 (__do_global_dtors, __do_global_ctors_1): Likewise.
6770
6771 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6772
6773 * config/darwin-crt-tm.c: New file.
6774 * config.host (darwin): Build crttms.o crttme.o to provide
6775 startup and shutdown for tm clones.
6776 * config/t-darwin (crttms.o): New build rule.
6777 (crttme.o): Likewise.
6778
6779 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
6780
6781 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6782 et al.
6783
6784 2011-11-21 Richard Henderson <rth@redhat.com>
6785
6786 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6787 (__TMC_LIST__, __TMC_END__): New.
6788 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6789 (__do_global_dtors): Likewise.
6790 (frame_dummy): Call _ITM_registerTMCloneTable.
6791 (__do_global_ctors_1): Likewise.
6792
6793 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6794
6795 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6796 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6797 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6798 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6799 * config/i386/t-darwin64: Remove.
6800 * config/sh/t-netbsd (LIB2ADD): Remove.
6801
6802 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
6803
6804 PR target/49313
6805 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6806 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6807 * config/avr/lib1funcs.S (wmov): New assembler macro.
6808 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6809 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6810 (__udivmod64): New function.
6811 (__negdi2): New function.
6812
6813 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6814
6815 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6816 *-*-freebsd*aout*): Remove.
6817
6818 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
6819
6820 * static-object.mk (c_flags-$o): Save c_flags.
6821 ($(base)$(objext)): Use it.
6822
6823 2011-11-18 Steve Ellcey <sje@cup.hp.com>
6824
6825 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6826
6827 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
6828
6829 PR target/49868
6830 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6831 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6832 New functions.
6833
6834 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6835
6836 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6837 functions.
6838 (aeabi_uidivmod): Likewise.
6839 (umodsi3): Likewise.
6840 (divsi3): Likewise.
6841 (aeabi_idivmod): Likewise.
6842 (modsi3): Likewise.
6843
6844 2011-11-16 Tristan Gingold <gingold@adacore.com>
6845
6846 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6847
6848 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
6849
6850 PR target/49868
6851 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6852 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6853
6854 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6855
6856 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6857 tmake_file list.
6858 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6859 * config/pa/t-stublib64: Delete.
6860
6861 2011-11-12 Richard Henderson <rth@redhat.com>
6862
6863 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6864 cast the pointer argument to _Unwind_SetGRPtr.
6865
6866 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6867
6868 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6869
6870 2011-11-09 Ian Lance Taylor <iant@google.com>
6871
6872 * generic-morestack.c: Include <string.h>.
6873 (uintptr_type): Define.
6874 (struct initial_sp): Add dont_block_signals field. Reduce size of
6875 extra array by 1.
6876 (allocate_segment): Set prev field to NULL. Don't set
6877 __morestack_current_segment or __morestack_segments.
6878 (__generic_morestack): Update current->prev and *pp after calling
6879 allocate_segment.
6880 (__morestack_block_signals): Don't do anything if
6881 dont_block_signals is set.
6882 (__morestack_unblock_signals): Likewise.
6883 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6884 uintptr_type.
6885 (__splitstack_block_signals): New function.
6886 (enum __splitstack_content_offsets): Define.
6887 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6888 (__splitstack_makecontext): New function.
6889 (__splitstack_block_signals_context): New function.
6890 (__splitstack_find_context): New function.
6891 * config/i386/morestack.S (__morestack_get_guard): New function.
6892 (__morestack_set_guard, __morestack_make_guard): New functions.
6893 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6894
6895 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6896
6897 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6898 (i[34567]86-*-mingw*): ... here.
6899 (x86_64-*-mingw*): ... here.
6900
6901 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6902
6903 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6904
6905 2011-11-07 Nathan Sidwell <nathan@acm.org>
6906
6907 * libgcov.c (struct gcov_fn_buffer): New struct.
6908 (buffer_fn_data): New helper.
6909 (gcov_exit): Rework for new gcov data structures.
6910
6911 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
6912
6913 PR target/49313
6914 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6915
6916 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6917
6918 * config.host (tmake_file): Correct comment.
6919 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6920 t-libgcc-pic.
6921 (bfin*-uclinux*): Likewise.
6922 (bfin*-linux-uclibc*): Likewise.
6923 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6924
6925 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6926 assigning.
6927 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6928 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6929 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6930 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6931 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6932 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6933 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6934 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6935 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6936 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6937 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6938 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6939 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6940
6941 * config/bfin/t-elf: Remove.
6942 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6943
6944 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6945
6946 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6947 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6948 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6949 (lm32-*-elf*): ... this.
6950 (lm32-*-rtems*): ... and this.
6951 Add to tmake_file.
6952 (m32r-*-rtems*): Add to tmake_file.
6953 (moxie-*-rtems*): Likewise.
6954 (sparc-*-rtems*): Likewise.
6955 Remove t-rtems from tmake_file.
6956 (sparc64-*-rtems*): Likewise.
6957 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6958 instead.
6959
6960 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6961
6962 PR bootstrap/50982
6963 * config/gthr-posix.h: Move ...
6964 * gthr-posix.h: ... here.
6965 * config/gthr-lynx.h: Reflect this.
6966 * config/gthr-vxworks.h: Likewise.
6967 * config/rs6000/gthr-aix.h: Likewise.
6968 * configure.ac (target_thread_file): Likewise.
6969 * configure: Regenerate.
6970
6971 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6972
6973 * config.host (arm*-*-rtemseabi*): New target.
6974
6975 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6976
6977 PR other/50991
6978 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6979 extra-parts.
6980
6981 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6982
6983 * config.host (epiphany-*-elf*): New configuration.
6984 * config/epiphany: New Directory.
6985
6986 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6987
6988 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6989 * config/avr/t-rtems: New.
6990 Filter out _exit from LIB1ASMFUNCS.
6991
6992 2011-11-04 David S. Miller <davem@davemloft.net>
6993
6994 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6995 * configure: Rebuild.
6996
6997 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6998
6999 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7000 variable.
7001
7002 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
7003
7004 PR target/50931
7005 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7006 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7007
7008 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7009
7010 PR target/50989
7011 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7012
7013 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7014
7015 * config/c6x/t-elf (LIB2ADDEH): Set.
7016 * config/c6x/t-c6x-elf: Remove.
7017
7018 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7019
7020 * config/i386/sol2-ci.S: Rename to ...
7021 * config/i386/crti.S: ... this.
7022 * config/i386/sol2-cn.S: Rename to ...
7023 * config/i386/crtn.S: ... this.
7024 * config/sparc/sol2-ci.S: Rename to ...
7025 * config/sparc/crti.S: ... this.
7026 * config/sparc/sol2-cn.S: Rename to ...
7027 * config/sparc/crtn.S: ... this.
7028 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7029 (crti.o, crtn.o): Remove.
7030
7031 2011-11-04 Tristan Gingold <gingold@adacore.com>
7032
7033 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7034
7035 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7036
7037 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7038
7039 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
7040
7041 * config.host (crisv32-*-none, cris-*-none): Remove.
7042 (crisv32-*-elf): Append to tmake_file, don't just set it.
7043 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7044
7045 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7046
7047 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7048 (ecrtn$(objext)): Likewise.
7049 (ncrti$(objext)): Likewise.
7050 (ncrtn$(objext)): Likewise.
7051
7052 2011-11-03 Andreas Schwab <schwab@redhat.com>
7053
7054 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7055
7056 2011-11-02 David S. Miller <davem@davemloft.net>
7057
7058 * configure.ac: Set host_address on sparc too.
7059 * configure: Regenerate.
7060 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7061 based upon host_address.
7062 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7063
7064 2011-11-02 Jason Merrill <jason@redhat.com>
7065
7066 * config/rs6000/t-ppccomm: Add missing \.
7067
7068 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7069
7070 * gthr-single.h, gthr.h: New files.
7071 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7072 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7073 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7074 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7075 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7076 * configure.ac (thread_header): New variable.
7077 Set it depending on target_thread_file.
7078 (gthr-default.h): Link from $thread_header.
7079 * configure: Regenerate.
7080 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7081
7082 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7083
7084 * configure.ac (tm_file_): New variable.
7085 Determine from tm_file.
7086 (tm_file, tm_defines): Substitute.
7087 * configure: Regenerate.
7088 * mkheader.sh: New file.
7089 * Makefile.in (clean): Remove libgcc_tm.h.
7090 ($(objects)): Depend on libgcc_tm.h.
7091 (libgcc_tm_defines, libgcc_tm_file): New variables.
7092 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7093 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7094 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7095 ($(extra-parts)): Depend on libgcc_tm.h.
7096 * config.host (tm_defines, tm_file): New variable.
7097 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7098 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7099 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7100 (avr-*-rtems*): Likewise.
7101 (avr-*-*): Likewise.
7102 (frv-*-elf): Likewise.
7103 (frv-*-*linux*): Likewise.
7104 (h8300-*-rtems*): Likewise.
7105 (h8300-*-elf*): Likewise.
7106 (i[34567]86-*-darwin*): Likewise.
7107 (x86_64-*-darwin*): Likewise.
7108 (rx-*-elf): Likewise.
7109 (tic6x-*-uclinux): Likewise.
7110 (tic6x-*-elf): Likewise.
7111 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7112 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7113 * config/i386/cygming-crtbegin.c: Likewise.
7114 * config/i386/cygming-crtend.c: Likewise.
7115 * config/ia64/fde-vms.c: Likewise.
7116 * config/ia64/unwind-ia64.c: Likewise.
7117 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7118 * config/rs6000/darwin-fallback.c: Likewise.
7119 * config/stormy16/lib2funcs.c: Likewise.
7120 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7121 * crtstuff.c: Likewise.
7122 * dfp-bit.h: Likewise.
7123 * emutls.c: Likewise.
7124 * fixed-bit.c: Likewise.
7125 * fp-bit.c: Likewise.
7126 * generic-morestack-thread.c: Likewise.
7127 * generic-morestack.c: Likewise.
7128 * libgcc2.c: Likewise.
7129 * libgcov.c: Likewise.
7130 * unwind-dw2-fde-dip.c: Likewise.
7131 * unwind-dw2-fde.c: Likewise.
7132 * unwind-dw2.c: Likewise.
7133 * unwind-sjlj.c: Likewise.
7134
7135 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7136
7137 * configure.ac: Include ../config/picflag.m4.
7138 (GCC_PICFLAG): Call it.
7139 Substitute.
7140 * configure: Regenerate.
7141 * Makefile.in (gcc_srcdir): Remove.
7142 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7143 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7144 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7145 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7146 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7147 Use $<.
7148 Remove comment.
7149 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7150 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7151 to refer to libgcc2.c.
7152 Use $<.
7153 * config/darwin-64.c: New file.
7154 * config/darwin-crt3.c: Remove comment.
7155 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7156 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7157 config/udivmodsi4.c: New files.
7158 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7159 config/memset.c: New files.
7160 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7161 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7162 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7163 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7164 * config/t-openbsd-thread: New file.
7165 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7166 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7167 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7168 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7169 qrnnd.S.
7170 Adapt filename.
7171 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7172 to refer to gthr-posix.c.
7173 * config/alpha/t-vms (LIB2ADD): Set.
7174 * config/alpha/vms-gcc_shell_handler.c: New file.
7175 * config/arm/bpabi.c, config/arm/fp16.c,
7176 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7177 config/arm/unaligned-funcs.c: New files.
7178 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7179 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7180 * config/arm/t-linux: Likewise.
7181 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7182 * config/arm/t-netbsd: New file.
7183 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7184 * config/arm/t-symbian (LIB2ADD_ST): Set.
7185 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7186 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7187 * config/bfin/t-elf: New file.
7188 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7189 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7190 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7191 config/c6x/ltf.c: New files.
7192 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7193 (HOST_LIBGCC2_CFLAGS): Set.
7194 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7195 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7196 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7197 New files.
7198 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7199 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7200 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7201 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7202 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7203 files.
7204 * config/frv/t-frv (LIB2ADD): Set.
7205 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7206 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7207 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7208 config/h8300/popcounthi2.c: New files.
7209 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7210 * config/i386/gthr-win32.c: New file.
7211 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7212 * config/i386/t-cygwin: Likewise.
7213 * config/i386/t-darwin, config/i386/t-darwin64,
7214 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7215 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7216 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7217 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7218 * config/ia64/quadlib.c: New file.
7219 * config/ia64/t-hpux (LIB2ADD): Set.
7220 * config/ia64/t-ia64: Add comment.
7221 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7222 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7223 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7224 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7225 * config/m32c/t-m32c (LIB2ADD): Set.
7226 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7227 * config/m32r/t-m32r: Likewise.
7228 * config/m68k/fpgnulib.c: New file.
7229 * config/m68k/t-floatlib (LIB2ADD): Set.
7230 (xfgnulib.c): New target.
7231 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7232 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7233 * config/mep/t-mep (LIB2ADD): Set.
7234 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7235 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7236 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7237 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7238 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7239 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7240 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7241 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7242 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7243 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7244 New files.
7245 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7246 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7247 * config/pa/fptr.c, config/pa/lib2funcs.S,
7248 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7249 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7250 (LIB2ADD, LIB2ADD_ST): Set.
7251 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7252 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7253 Set.
7254 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7255 * config/pdp11/t-pdp11: New file.
7256 * config/picochip/libgccExtras/adddi3.S,
7257 config/picochip/libgccExtras/ashlsi3.S,
7258 config/picochip/libgccExtras/ashrsi3.S,
7259 config/picochip/libgccExtras/clzsi2.S,
7260 config/picochip/libgccExtras/cmpsi2.S,
7261 config/picochip/libgccExtras/divmod15.S,
7262 config/picochip/libgccExtras/divmodhi4.S,
7263 config/picochip/libgccExtras/divmodsi4.S,
7264 config/picochip/libgccExtras/lshrsi3.S,
7265 config/picochip/libgccExtras/parityhi2.S,
7266 config/picochip/libgccExtras/popcounthi2.S,
7267 config/picochip/libgccExtras/subdi3.S,
7268 config/picochip/libgccExtras/ucmpsi2.S,
7269 config/picochip/libgccExtras/udivmodhi4.S,
7270 config/picochip/libgccExtras/udivmodsi4.S: New files.
7271 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7272 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7273 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7274 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7275 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7276 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7277 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7278 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7279 files.
7280 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7281 (HOST_LIBGCC2_CFLAGS): Set.
7282 * config/rs6000/t-darwin64: New file.
7283 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7284 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7285 * config/rs6000/t-ppccomm (LIB2ADD): Add
7286 $(srcdir)/config/rs6000/tramp.S.
7287 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7288 Add $(srcdir)/config/rs6000/eabi.S.
7289 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7290 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7291 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7292 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7293 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7294 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7295 * config/rs6000/tramp.S: New file.
7296 * config/s390/t-tpf: Remove.
7297 * config/sh/linux-atomic.S: New file.
7298 * config/sh/t-linux (LIB2ADD): Set.
7299 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7300 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7301 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7302 to unwind-dw2.c.
7303 (HOST_LIBGCC2_CFLAGS): Set.
7304 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7305 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7306 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7307 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7308 config/spu/mfc_multi_tag_release.c,
7309 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7310 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7311 config/spu/multi3.c: New files.
7312 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7313 (HOST_LIBGCC2_CFLAGS): Set.
7314 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7315 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7316 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7317 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7318 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7319 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7320 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7321 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7322 config/stormy16/umodsi3.c: New files.
7323 * config/xtensa/lib2funcs.S: New file.
7324 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7325 * config/xtensa/t-xtensa (LIB2ADD): Set.
7326 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7327 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7328 Add t-freebsd-thread to tmake_file for posix threads.
7329 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7330 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7331 (*-*-lynxos*): Likewise.
7332 (*-*-netbsd*): Likewise.
7333 (*-*-openbsd*): Likewise.
7334 Add t-openbsd-thread to tmake_file for posix threads.
7335 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7336 (*-*-vxworks*): Set tmake_file.
7337 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7338 (alpha*-*-freebsd*): Likewise.
7339 (alpha*-*-netbsd*): Likewise.
7340 (alpha*-*-openbsd*): Likewise.
7341 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7342 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7343 (alpha*-dec-*vms*): Likewise.
7344 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7345 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7346 (bfin*-uclinux*): Likewise.
7347 (bfin*-linux-uclibc*): Likewise.
7348 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7349 (crisv32-*-none): Likewise.
7350 (cris-*-elf): Likewise.
7351 (cris-*-none): Likewise.
7352 (cris-*-linux*, crisv32-*-linux*): Likewise.
7353 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7354 tmake_file.
7355 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7356 tmake_file.
7357 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7358 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7359 (x86_64-*-elf*): Likewise.
7360 (i[34567]86-*-nto-qnx*): Likewise.
7361 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7362 win32 threads.
7363 (x86_64-*-mingw*): Likewise.
7364 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7365 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7366 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7367 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7368 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7369 tmake_file.
7370 (mipsisa64sr71k-*-elf*): Likewise.
7371 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7372 (mips-*-elf*, mipsel-*-elf*): Likewise.
7373 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7374 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7375 (mips*-*-rtems*): Likewise.
7376 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7377 to tmake_file.
7378 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7379 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7380 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7381 (spu-*-elf*): Likewise.
7382 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7383
7384 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7385
7386 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7387 $(srcdir) to refer to $(LIB1ASMSRC).
7388 Use $<.
7389 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7390 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7391 config/arm/lib1funcs.S: New files.
7392 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7393 * config/arm/t-arm: New file.
7394 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7395 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7396 config/arm/t-strongarm-elf: New files.
7397 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7398 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7399 * config/avr/lib1funcs.S: New file.
7400 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7401 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7402 * config/c6x/lib1funcs.S: New file.
7403 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7404 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7405 * config/frv/lib1funcs.S: New file.
7406 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7407 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7408 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7409 * config/ia64/__divxf3.asm: Rename to ...
7410 * config/ia64/__divxf3.S: ... this.
7411 Adapt lib1funcs.asm filename.
7412 * config/ia64/_fixtfdi.asm: Rename to ...
7413 * config/ia64/_fixtfdi.S: ... this.
7414 Adapt lib1funcs.asm filename.
7415 * config/ia64/_fixunstfdi.asm: Rename to ...
7416 * config/ia64/_fixunstfdi.S: ... this.
7417 Adapt lib1funcs.asm filename.
7418 * config/ia64/_floatditf.asm: Rename to ...
7419 * config/ia64/_floatditf.S: ... this.
7420 Adapt lib1funcs.asm filename.
7421 * config/ia64/lib1funcs.S: New file.
7422 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7423 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7424 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7425 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7426 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7427 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7428 * config/mep/lib1funcs.S: New file.
7429 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7430 * config/mips/mips16.S: New file.
7431 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7432 * config/pa/milli64.S: New file.
7433 * config/pa/t-linux, config/pa/t-linux64: New files.
7434 * config/picochip/lib1funcs.S: New file.
7435 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7436 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7437 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7438 * config/sh/t-netbsd: New file.
7439 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7440 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7441 * config/sh/t-sh64: New file.
7442 * config/sparc/lb1spc.S: New file.
7443 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7444 filename.
7445 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7446 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7447 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7448 config/xtensa/lib1funcs.S: New files.
7449 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7450 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7451 tmake_file.
7452 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7453 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7454 (arm*-*-linux*): Likewise.
7455 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7456 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7457 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7458 (arm*-*-ecos-elf): Likewise.
7459 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7460 (arm*-*-rtems*): Likewise.
7461 (arm*-*-elf): Likewise.
7462 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7463 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7464 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7465 (bfin*-uclinux*): Likewise.
7466 (bfin*-linux-uclibc*): Likewise.
7467 (bfin*-rtems*): Likewise.
7468 (bfin*-*): Likewise.
7469 (fido-*-elf): Merge into m68k-*-elf*.
7470 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7471 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7472 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7473 (h8300-*-elf*): Likewise.
7474 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7475 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7476 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7477 (i[34567]86-*-mingw*): Likewise.
7478 (x86_64-*-mingw*): Likewise.
7479 (i[34567]86-*-interix3*): Likewise.
7480 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7481 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7482 (m68k-*-elf*): Also handle fido-*-elf.
7483 Add m68k/t-floatlib to tmake_file.
7484 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7485 (m68k-*-linux*): Likewise.
7486 (m68k-*-rtems*): Likewise.
7487 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7488 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7489 sh64*-*-*.
7490 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7491 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7492 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7493 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7494 sh/t-netbsd to tmake_file.
7495 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7496 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7497 (sh-wrs-vxworks): Likewise.
7498 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7499 *-leon[3-9]*.
7500 (v850*-*-*): Add v850/t-v850 to tmake_file.
7501 (vax-*-linux*): Add vax/t-linux to tmake_file.
7502 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7503
7504 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7505
7506 * crtstuff.c: New file.
7507 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7508 (CRTSTUFF_T_CFLAGS): Define.
7509 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7510 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7511 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7512 crtstuff.c.
7513 Use $<.
7514 (crtbeginT.o): Use $(objext).
7515 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7516 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7517 (gcc-extra-parts): Remove.
7518 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7519 Set extra_parts.
7520 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7521 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7522 Add t-crtstuff-pic to tmake_file.
7523 (*-*-lynxos*): New case.
7524 Set tmake_file, extra_parts.
7525 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7526 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7527 *-*-netbsdelf[2-9]*.
7528 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7529 (*-*-rtems*): Set extra_parts.
7530 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7531 (*-*-uclinux*): New case.
7532 Set extra_parts.
7533 (*-*-vms*): New case.
7534 Set tmake_file, extra_parts.
7535 (*-*-elf): Set extra_parts.
7536 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7537 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7538 vms/t-vms64.
7539 Set extra_parts.
7540 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7541 Set extra_parts.
7542 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7543 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7544 (arm-wrs-vxworks): Append to tmake_file.
7545 Set extra_parts.
7546 (arm*-*-uclinux*): Set extra_parts.
7547 (arm*-*-ecos-elf): Likewise.
7548 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7549 arm*-*-eabi*.
7550 (arm*-*-rtems*): Set extra_parts.
7551 (arm*-*-elf): Likewise.
7552 (avr-*-rtems*): Clear extra_parts.
7553 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7554 Set extra_parts.
7555 (bfin*-uclinux*): Likewise.
7556 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7557 (bfin*-rtems*): Append to tmake_file.
7558 Set extra_parts.
7559 (bfin*-*): Likewise.
7560 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7561 (crisv32-*-elf): ... this.
7562 (crisv32-*-none): ... this.
7563 (cris-*-elf, cris-*-none): New cases.
7564 Add cris/t-elfmulti to tmake_file.
7565 (fr30-*-elf): Append to tmake_file.
7566 Set extra_parts.
7567 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7568 Set extra_parts.
7569 (h8300-*-rtems*): Append to tmake_file.
7570 Set extra_parts.
7571 (h8300-*-elf*): Likewise.
7572 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7573 Set extra_parts.
7574 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7575 Set extra_parts.
7576 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7577 (x86_64-*-elf*): Likewise.
7578 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7579 (x86_64-*-freebsd*): Likewise.
7580 (x86_64-*-netbsd*): Likewise.
7581 (i[34567]86-*-linux*): Likewise.
7582 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7583 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7584 (x86_64-*-linux*): Likewise.
7585 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7586 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7587 tmake_file.
7588 Set extra_parts.
7589 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7590 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7591 Append to extra_parts, remove crtbegin.o, crtend.o.
7592 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7593 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7594 crtend.o, crtbeginS.o, crtendS.o.
7595 (ia64*-*-linux*): Comment extra_parts.
7596 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7597 Set extra_parts.
7598 (iq2000*-*-elf*): Clear extra_parts.
7599 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7600 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7601 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7602 (m32r-*-rtems*): ... this.
7603 Add m32r/t-m32r to tmake_file.
7604 (m68k-*-elf*): Add t-crtin to tmake_file.
7605 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7606 (mcore-*-elf): Likewise.
7607 (microblaze*-*-*): Set extra_parts.
7608 (mips*-sde-elf*): New case.
7609 Set tmake_file, extra_parts.
7610 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7611 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7612 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7613 tmake_file.
7614 Set extra_parts.
7615 (mipsisa64sr71k-*-elf*): Likewise.
7616 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7617 (mips-*-elf*, mipsel-*-elf*): Likewise.
7618 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7619 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7620 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7621 (mips*-*-rtems*): Likewise.
7622 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7623 (moxie-*-*): Split into ...
7624 (moxie-*-elf, moxie-*-uclinux*): ... this.
7625 Add to extra_parts, remove crtbegin.o, crtend.o.
7626 (moxie-*-rtems*): New case.
7627 Set tmake_file.
7628 Clear extra_parts.
7629 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7630 Set extra_parts.
7631 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7632 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7633 tmake_file.
7634 Set extra_parts.
7635 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7636 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7637 Set extra_parts.
7638 (powerpc-*-eabisim*): Likewise.
7639 (powerpc-*-elf*): Likewise.
7640 (powerpc-*-eabialtivec*): Likewise.
7641 (powerpc-xilinx-eabi*): Likewise.
7642 (powerpc-*-eabi*): Likewise.
7643 (powerpc-*-rtems*): Likewise.
7644 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7645 tmake_file.
7646 Set extra_parts.
7647 (powerpc-*-lynxos*): Add to tmake_file.
7648 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7649 rs6000/t-crtstuff, t-crtstuff-pic.
7650 Set extra_parts.
7651 (powerpcle-*-eabisim*): Likewise.
7652 (powerpcle-*-eabi*): Likewise.
7653 (rx-*-elf): Remove extra_parts.
7654 (s390x-ibm-tpf*): Set extra_parts.
7655 (score-*-elf): Set extra_parts.
7656 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7657 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7658 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7659 (sh64l*-*-netbsd*): Split into ...
7660 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7661 Add t-crtstuff-pic to tmake_file.
7662 Set extra_parts.
7663 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7664 Set extra_parts.
7665 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7666 (sparc-*-elf*): Remove t-crtin from tmake_file.
7667 Add to extra_parts, remove crtbegin.o, crtend.o.
7668 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7669 (sparc64-*-linux*): Likewise.
7670 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7671 Add to extra_parts, remove crtbegin.o, crtend.o.
7672 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7673 Add to extra_parts, remove crtbegin.o, crtend.o.
7674 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7675 Add to extra_parts, remove crtbegin.o, crtend.o.
7676 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7677 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7678 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7679 Set extra_parts.
7680 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7681 Set extra_parts.
7682 (tic6x-*-*): Change to ...
7683 (tic6x-*-elf): ... this.
7684 Set extra_parts.
7685 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7686 Set extra_parts.
7687 (am33_2.0-*-linux*): Add comment.
7688 (mep*-*-*): Add mep/t-mep to tmake_file.
7689 Set extra_parts.
7690 * config/alpha/t-vms: New file.
7691 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7692 * config/arm/crti.S, config/arm/crtn.S: New files.
7693 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7694 * config/bfin/crtlibid.S: New file.
7695 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7696 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7697 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7698 (crti.o, crtin.o): New rules.
7699 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7700 * config/c6x/t-uclinux: New file.
7701 * config/cris/t-elfmulti: New file.
7702 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7703 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7704 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7705 * config/frv/t-frv: New file.
7706 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7707 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7708 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7709 New files.
7710 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7711 refer to cygming-crtbegin.c, cygming-crtend.c.
7712 Use $<.
7713 * config/i386/t-nto: New file.
7714 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7715 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7716 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7717 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7718 Use .S extension.
7719 Use $<.
7720 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7721 (crtinitS.o): New rule.
7722 * config/ia64/vms-crtinit.S: New file.
7723 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7724 * config/m32r/initfini.c: New file.
7725 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7726 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7727 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7728 * config/mep/t-mep: New file.
7729 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7730 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7731 * config/mips/crti.S, config/mips/crtn.S: New files.
7732 * config/mips/t-crtstuff: New file.
7733 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7734 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7735 (CUSTOM_CRTIN): Set.
7736 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7737 dependencies.
7738 Use $(srcdir) to refer to crti.S, crtn.S.
7739 Use .S extension, $<.
7740 * config/moxie/crti.asm: Rename to ...
7741 * config/moxie/crti.S: ... this.
7742 * config/moxie/crtn.asm: Rename to ...
7743 * config/moxie/crtn.S: ... this.
7744 * config/moxie/t-moxie: Remove.
7745 * config/pa/stublib.c: New file.
7746 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7747 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7748 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7749 * config/rs6000/t-crtstuff: New file.
7750 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7751 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7752 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7753 Make output file explicit.
7754 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7755 Make output file explicit.
7756 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7757 Make output file explicit.
7758 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7759 Make output file explicit.
7760 * config/score/crti.S, config/score/crtn.S: New files.
7761 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7762 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7763 files.
7764 * config/sh/t-sh, config/sh/t-superh: New files.
7765 * config/sparc/t-linux64: New file.
7766 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7767 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7768 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7769 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7770 * config/t-crtin: Remove.
7771 * config/t-crtstuff-pic: New file.
7772 * config/t-sol2 (CUSTOM_CRTIN): Set.
7773 (crti.o, crtn.o): New rules.
7774 * config/vms/t-vms: New file.
7775 * config/vms/vms-ucrt0.c: New file.
7776 * config/xtensa/t-elf: New file.
7777
7778 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7779
7780 * Makefile.in (SHLIB_NM_FLAGS): Set.
7781 * mkmap-flat.awk, mkmap-symver.awk: New files.
7782 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7783 exceptions.
7784 * configure: Regenerate.
7785 * config/libgcc-glibc.ver: New file.
7786 * config/libgcc-libsystem.ver: New file.
7787 * config/t-libunwind (SHLIB_LC): Set.
7788 * config/t-linux: New file.
7789 * config/t-slibgcc (INSTALL_SHLIB): New.
7790 (SHLIB_INSTALL): Use it.
7791 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7792 to mkmap-symver.awk.
7793 (SHLIB_MAPFILES): Don't append, adapt pathname.
7794 (SHLIB_VERPFX): Set.
7795 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7796 to mkmap-symver.awk.
7797 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7798 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7799 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7800 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7801 to mkmap-flat.awk.
7802 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7803 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7804 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7805 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7806 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7807 * config/i386/libgcc-darwin.10.4.ver,
7808 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7809 New files.
7810 * config/i386/t-darwin: Remove.
7811 * config/i386/t-darwin64: Likewise.
7812 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7813 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7814 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7815 * config/i386/t-linux: New file.
7816 * config/i386/t-mingw32: New file.
7817 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7818 * config/ia64/t-glibc: Rename to ...
7819 * config/ia64/t-linux: ... this.
7820 (SHLIB_MAPFILES): Set.
7821 * config/ia64/t-glibc-libunwind: Rename to ...
7822 * config/ia64/t-linux-libunwind: ... this.
7823 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7824 * config/ia64/t-slibgcc-hpux: New file.
7825 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7826 * config/m68k/t-slibgcc-elf-ver: New file.
7827 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7828 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7829 to mkmap-flat.awk.
7830 * config/pa/t-slibgcc-hpux: New file.
7831 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7832 files.
7833 * config/rs6000/libgcc-darwin.10.4.ver,
7834 config/rs6000/libgcc-darwin.10.5.ver: New files.
7835 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7836 config/rs6000/libgcc-glibc.ver.
7837 * config/rs6000/libgcc-ppc64.ver: Rename to
7838 config/rs6000/libgcc-ibm-ldouble.ver.
7839 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7840 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7841 * config/rs6000/t-ldbl128: Rename to ...
7842 * config/rs6000/t-linux: ... this.
7843 (SHLIB_MAPFILES): Adapt filename.
7844 * config/rs6000/t-slibgcc-aix: New file.
7845 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7846 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7847 libgcc-excl.ver, libgcc-glibc.ver.
7848 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7849 * config/sparc/libgcc-glibc.ver: New file.
7850 * config/sparc/t-linux: New file.
7851 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7852 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7853 t-slibgcc-elf-ver to tmake_file.
7854 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7855 *-*-freebsd[34].
7856 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7857 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7858 t-slibgcc-elf-ver, t-linux to tmake_file.
7859 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7860 tmake_file.
7861 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7862 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7863 (alpha*-dec-*vms*): Likewise.
7864 (arm*-*-freebsd*): Append to tmake_file.
7865 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7866 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7867 arm*-*-linux-*eabi.
7868 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7869 tmake_file for arm*-*-symbianelf*.
7870 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7871 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7872 cris/t-linux.
7873 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7874 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7875 pa/t-slibgcc-dwarf-ver to tmake_file.
7876 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7877 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7878 (hppa*64*-*-hpux11*): Likewise.
7879 (hppa[12]*-*-hpux11*): Likewise.
7880 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7881 i386/t-crtpc, i386/t-crtfm.
7882 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7883 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7884 to tmake_file.
7885 Add i386/t-cygwin to tmake_file.
7886 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7887 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7888 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7889 to tmake_file.
7890 Add i386/t-mingw32 to tmake_file.
7891 (x86_64-*-mingw*): Likewise.
7892 (ia64*-*-freebsd*): Append to tmake_file.
7893 (ia64*-*-linux*): Append to tmake_file.
7894 Replace ia64/t-glibc by ia64/t-linux.
7895 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7896 system libunwind.
7897 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7898 t-slibgcc-hpux to tmake_file.
7899 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7900 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7901 (m32rle-*-linux*): Likewise.
7902 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7903 sjlj exceptions.
7904 (microblaze*-linux*): New case.
7905 Append to tmake_file, add t-slibgcc-nolc-override.
7906 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7907 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7908 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7909 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7910 rs6000/t-slibgcc-aix to tmake_file.
7911 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7912 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7913 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7914 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7915 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7916 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7917 sh*-*-linux*.
7918 (sparc-*-linux*): Append to tmake_file for *-leon*.
7919 Add sparc/t-linux to tmake_file for non-Leon targets.
7920 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7921 (tic6x-*-uclinux): New case.
7922 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7923 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7924 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7925 (am33_2.0-*-linux*): Append to tmake_file.
7926 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7927 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7928 x86_64-*-kfreebsd*-gnu.
7929 Add i386/t-linux to tmake_file.
7930
7931 2011-10-28 Ian Lance Taylor <iant@google.com>
7932
7933 * config/i386/morestack.S: Correct CFI information to do proper
7934 returns throughout function. In 32-bit mode, save %ebx so that it
7935 is restored on unwind.
7936
7937 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7938
7939 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7940 case where B3 isn't the return register.
7941
7942 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7943 logic for doubleword pops.
7944
7945 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
7946
7947 * config/rs6000/t-freebsd: Add wildcard.
7948
7949 2011-10-21 Paul Brook <paul@codesourcery.com>
7950
7951 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7952
7953 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
7954 Eric Botcazou <ebotcazou@adacore.com>
7955
7956 PR target/50737
7957 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7958 fs->signal_frame to 1.
7959
7960 2011-10-07 Ian Lance Taylor <iant@google.com>
7961
7962 * generic-morestack-thread.c: #include <errno.h>.
7963
7964 2011-10-07 Ian Lance Taylor <iant@google.com>
7965
7966 PR target/46093
7967 * generic-morestack.c (__generic_morestack): Make sure the segment
7968 is large enough for both the stack frame and the copied
7969 parameters.
7970
7971 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7972
7973 PR bootstrap/49804
7974 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7975 extra_parts.
7976
7977 2011-09-28 Nick Clifton <nickc@redhat.com>
7978
7979 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7980 64-bit doubles are not enabled.
7981 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7982 and floatunsisf functions.
7983
7984 2011-09-13 Paul Brook <paul@codesourcery.com>
7985
7986 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7987 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7988 * unwind-arm-common.inc: New file.
7989 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7990 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7991 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7992 * config/c6x/libunwind.S: New file.
7993 * config/c6x/pr-support.c: New file.
7994 * config/c6x/unwind-c6x.c: New file.
7995 * config/c6x/unwind-c6x.h: New file.
7996 * config/c6x/t-c6x-elf: New file.
7997
7998 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
7999
8000 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8001 (ASM_DIVZERO): Ditto.
8002 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8003
8004 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8005
8006 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8007
8008 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8009
8010 PR target/50090
8011 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8012 instead of an assembly one.
8013
8014 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
8015
8016 PR bootstrap/50047
8017 * Makefile.in (install-unwind_h): Create
8018 $(gcc_objdir)/include/unwind.h atomically.
8019
8020 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8021
8022 * Makefile.in (install-unwind_h): Remove destination file first.
8023
8024 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8025
8026 * sync.c: New file.
8027 * config/mips/t-mips16: New file.
8028 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8029 (mips*-*-linux*): Likewise.
8030 (mips*-sde-elf*): Likewise.
8031 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8032 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8033 Add mips/t-mips16 to tmake_file.
8034 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8035 (mips-*-elf*): Likewise.
8036 (mips64-*-elf*): Likewise.
8037 (mips64orion-*-elf*): Likewise.
8038 (mips*-*-rtems*): Likewise.
8039 (mipstx39-*-elf*): Likewise.
8040 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8041 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8042 LIBGCC_SYNC_CFLAGS.
8043 Use $(srcdir) to refer to sync.c.
8044 Use $<.
8045 ($(libgcc-sync-funcs-o)): Likewise.
8046 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8047 ($(libgcc-sync-funcs-s-o)): Likewise.
8048
8049 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8050
8051 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8052 t-libunwind.
8053
8054 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8055
8056 PR other/48007
8057 * config/i386/value-unwind.h: New.
8058
8059 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8060
8061 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8062 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8063 Add to tmake_file rather than overriding it.
8064
8065 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8066
8067 * config/t-softfp: Remove.
8068 * soft-fp: Moved from ../gcc/config.
8069 * soft-fp/README: Remove t-softfp reference.
8070 * soft-fp/t-softfp: Move to config/t-softfp.
8071 (softfp_machine_header): Remove.
8072 (softfp_file_list): Remove config subdir.
8073 (soft-fp-objects): New variable.
8074 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8075 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8076 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8077 * config/t-softfp-excl: New file.
8078 * config/t-softfp-sfdf: New file.
8079 * config/t-softfp-tf: New file.
8080 * config/no-sfp-machine.h: New file.
8081 * config/arm/sfp-machine.h: New file.
8082 * config/arm/t-softfp: New file.
8083 * config/c6x/sfp-machine.h: New file.
8084 * config/i386/32/t-fprules-softfp: Rename to ...
8085 * config/i386/32/t-softfp: ... this.
8086 (tifunctions, LIB2ADD): Remove.
8087 (softfp_int_modes): Override.
8088 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8089 subdir.
8090 * config/i386/64/eqtf2.c: Likewise.
8091 * config/i386/64/getf2.c: Likewise.
8092 * config/i386/64/letf2.c: Likewise.
8093 * config/ia64/sft-machine.h: New file.
8094 * config/ia64/t-fprules-softfp: Rename to ...
8095 * config/ia64/t-softfp: ... this.
8096 * config/lm32/sfp-machine.h: New file.
8097 * config/moxie/t-moxie-softfp: Remove.
8098 * config/rs6000/ibm-ldouble-format: New file.
8099 * config/rs6000/ibm-ldouble.c: New file.
8100 * config/rs6000/libgcc-ppc-glibc.ver: New file
8101 * config/rs6000/libgcc-ppc64.ver: New file
8102 * config/rs6000/sfp-machine.h: New file.
8103 * config/rs6000/t-freebsd: New file.
8104 * config/rs6000/t-ibm-ldouble: New file.
8105 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8106 libgcc-ppc-glibc.ver.
8107 * config/rs6000/t-linux64: New file.
8108 * config/rs6000/t-ppccomm (LIB2ADD): Add
8109 $(srcdir)/config/rs6000/ibm-ldouble.c.
8110 * config/rs6000/t-ppccomm-ldbl: New file.
8111 * config/score/sfp-machine.h: New file.
8112 * config.host (sfp_machine_header): Explain.
8113 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8114 t-softfp to tmake_file.
8115 (arm*-*-uclinux*): Likewise.
8116 (arm*-*-ecos-elf): Likewise.
8117 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8118 (arm*-*-rtems*): Likewise.
8119 (arm*-*-elf): Likewise.
8120 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8121 in tmake_file.
8122 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8123 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8124 (lm32-*-uclinux*): Likewise.
8125 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8126 t-softfp-excl, t-softfp.
8127 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8128 (powerpc64-*-darwin*): Likewise.
8129 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8130 to tmake_file.
8131 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8132 tmake_file.
8133 (powerpc-*-eabisim*): Likewise.
8134 (powerpc-*-elf*): Likewise.
8135 (powerpc-*-eabialtivec*): Likewise.
8136 (powerpc-xilinx-eabi*): Likewise.
8137 (powerpc-*-rtems*): Likewise.
8138 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8139 t-softfp-excl, t-softfp to tmake_file.
8140 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8141 rs6000/t-ppccomm-ldbl to tmake_file.
8142 (powerpcle-*-elf*): Likewise.
8143 (powerpcle-*-eabisim*): Likewise.
8144 (powerpcle-*-eabi*): Likewise.
8145 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8146 rs6000/t-ibm-ldouble to tmake_file.
8147 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8148 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8149 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8150 (tic6x-*-*): Likewise.
8151 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8152 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8153 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8154 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8155 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8156 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8157 t-softfp to tmake_file.
8158 * configure.ac (sfp_machine_header): Provide default if unset.
8159 Substitute.
8160 Link sfp-machine.h to config/$sfp_machine_header.
8161 * configure: Regenerate.
8162
8163 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8164
8165 * Makefile.in (double_type_size, long_double_type_size): Set.
8166 Remove $(fpbit-in-libgcc) support.
8167 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8168 (fpbit-src): New variable.
8169 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8170 Compile with -DFLOAT $(FPBIT_CFLAGS).
8171 Use $<.
8172 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8173 Compile with $(FPBIT_CFLAGS).
8174 Use $<.
8175 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8176 Compile with -DFLOAT $(TPBIT_CFLAGS).
8177 Use $<.
8178 * configure.ac (double_type_size, long_double_type_size):
8179 Determine and substitute.
8180 * configure: Regenerate.
8181 * fp-bit.c, fp-bit.h: New files.
8182 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8183 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8184 * config/mips/t-mips: New file.
8185 * config/mips/t-sdemtk: New file.
8186 * config/rs6000/ppc64-fp.c: New file.
8187 * config/rs6000/t-darwin (LIB2ADD): Add
8188 $(srcdir)/config/rs6000/ppc64-fp.c.
8189 * config/rs6000/t-ppc64-fp: New file.
8190 * config/rx/rx-lib.h: New file.
8191 * config/rx/t-rx (FPBIT): Set to true.
8192 ($(gcc_objdir)/fp-bit.c): Remove.
8193 (DPBIT): Set to true only with -m64bit-doubles.
8194 ($(gcc_objdir)/dp-bit.c): Remove.
8195 * config/sparc/t-softfp: Remove.
8196 * config/spu/t-elf: New file.
8197 * config/t-fdpbit, config/t-fpbit: New files.
8198 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8199 (mips*-*-*): Likewise.
8200 (arm-wrs-vxworks): Likewise.
8201 (arm*-*-freebsd*): Likewise.
8202 (avr-*-rtems*): Add t-fpbit to tmake_file.
8203 (avr-*-*): Likewise.
8204 (bfin*-elf*): Add t-fdpbit to tmake_file.
8205 (bfin*-uclinux*): Likewise.
8206 (bfin*-linux-uclibc*): Likewise.
8207 (bfin*-rtems*): New case.
8208 Add t-fdpbit to tmake_file.
8209 (bfin*-*): Add t-fdpbit to tmake_file.
8210 (crisv32-*-elf): Likewise.
8211 (cris-*-linux*): Likewise.
8212 (fr30-*-elf): Likewise.
8213 (frv-*-elf, frv-*-*linux*): Likewise.
8214 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8215 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8216 (m32r-*-elf*): Likewise.
8217 (m32rle-*-elf*): Likewise.
8218 (m32r-*-linux*): Likewise.
8219 (m32rle-*-linux*): Likewise.
8220 (mcore-*-elf): Add t-fdpbit to tmake_file.
8221 (microblaze*-*-*): Likewise.
8222 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8223 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8224 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8225 Fix typo.
8226 Add mips/t-tpbit to tmake-file.
8227 (mips*-*-linux*): Fix typo.
8228 (mips*-sde-elf*): New case
8229 Add mips/t-sdemtk unless using newlib.
8230 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8231 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8232 (mn10300-*-*): Likewise.
8233 (pdp11-*-*): Likewise.
8234 (picochip-*-*): Add t-fpbit to tmake_file.
8235 (powerpc-*-eabisimaltivec*): Likewise.
8236 (powerpc-*-eabisim*): Likewise.
8237 (powerpc-*-elf*): Likewise.
8238 (powerpc-*-eabialtivec*): Likewise.
8239 (powerpc-xilinx-eabi*): New case.
8240 Add t-fdpbit to tmake_file.
8241 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8242 (powerpc-*-rtems*): Likewise.
8243 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8244 tmake_file.
8245 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8246 tmake_file.
8247 (powerpc-*-lynxos*): Likewise.
8248 (powerpcle-*-elf*): Likewise.
8249 (powerpcle-*-eabisim*): Likewise.
8250 (powerpcle-*-eabi*): Likewise.
8251 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8252 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8253 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8254 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8255 (rx-*-elf): Add t-fdpbit to tmake_file.
8256 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8257 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8258 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8259 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8260 sh*-*-netbsd*.
8261 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8262 (sh-wrs-vxworks): Likewise.
8263 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8264 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8265 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8266 (sparc64-*-rtems*): ... new case.
8267 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8268 (spu-*-elf*): Likewise.
8269 Add spu/t-elf to tmake_file.
8270 (v850*-*-*): Add t-fdpbit to tmake_file.
8271 (xstormy16-*-elf): Likewise.
8272 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8273 (mep*-*-*): Likewise.
8274
8275 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8276
8277 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8278 variables.
8279 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8280 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8281 (install-unwind_h): New target.
8282 (all): Depend on it.
8283 * config.host (unwind_header): New variable.
8284 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8285 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8286 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8287 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8288 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8289 Set unwind_header.
8290 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8291 Set unwind_header.
8292 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8293 arm*-*-eabi*.
8294 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8295 Set unwind_header.
8296 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8297 (ia64*-*-freebsd*): Likewise.
8298 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8299 tmake_file.
8300 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8301 $with_system_libunwind.
8302 (ia64*-*-hpux*): Set tmake_file.
8303 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8304 (picochip-*-*): Set tmake_file.
8305 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8306 md_unwind_header.
8307 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8308 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8309 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8310 (xtensa*-*-elf*): Set tmake_file.
8311 (xtensa*-*-linux*): Likewise.
8312 * configure.ac: Include ../config/unwind_ipinfo.m4.
8313 Call GCC_CHECK_UNWIND_GETIPINFO.
8314 Link unwind.h to $unwind_header.
8315 * configure: Regenerate.
8316 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8317 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8318 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8319 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8320 * config/unwind-dw2-fde-darwin.c: New file.
8321 * config/arm/libunwind.S, config/arm/pr-support.c,
8322 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8323 config/arm/unwind-arm.h,: New files.
8324 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8325 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8326 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8327 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8328 config/ia64/unwind-ia64.h: New files.
8329 * config/picochip/t-picochip: New file.
8330 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8331 files.
8332 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8333 * config/s390/t-tpf (LIB2ADDEH): Remove.
8334 * config/t-darwin (LIB2ADDEH): Set.
8335 * config/t-eh-dw2-dip: New file.
8336 * config/t-libunwind, config/t-libunwind-elf: New files.
8337 * config/t-sol2 (LIB2ADDEH): Remove.
8338 * config/xtensa/t-xtensa: New file.
8339
8340 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8341
8342 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8343 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8344 long long to check rt_sigreturn syscall.
8345
8346 2011-08-02 Alan Modra <amodra@gmail.com>
8347
8348 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8349 Restore for indirect call bcrtl from correct stack slot, and only
8350 if cfa+40 isn't valid.
8351
8352 2011-08-01 Julian Brown <julian@codesourcery.com>
8353
8354 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8355 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8356 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8357
8358 2011-08-01 Julian Brown <julian@codesourcery.com>
8359
8360 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8361 (libgcc-std.ver.in): Use above.
8362 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8363 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8364 throughout file.
8365 * config/t-fixedpoint-gnu-prefix: New file.
8366 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8367 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8368 instead of __PFX__.
8369
8370 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8371
8372 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8373 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8374 for x86-64. Properly check __x86_64__ and __LP64__.
8375
8376 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8377
8378 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8379 version.
8380 (_FP_WS_TYPE): Likewise.
8381 (_FP_I_TYPE): Likewise.
8382
8383 2011-07-28 Alan Modra <amodra@gmail.com>
8384
8385 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8386 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8387 in a plt call stub. Do restore r2 if stopped on bctrl.
8388
8389 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8390
8391 * config.host (i[3456x]86-*-netware*): Remove.
8392 * config/i386/netware-crt0.c, config/i386/t-nwld,
8393 config/i386/t-slibgcc-nwld: Remove.
8394
8395 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8396
8397 * config.host: Handle tic6x-*-*.
8398 * config/c6x/c6x-abi.h: New file.
8399
8400 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8401
8402 * config/i386/crtprec.c: New file.
8403 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8404 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8405 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8406 (x86_64-*-darwin*): Likewise.
8407 (i[34567]86-*-solaris2*: Likewise.
8408
8409 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8410
8411 * config/alpha/crtfastmath.c: New file.
8412 * config/i386/crtfastmath.c: New file.
8413 * config/ia64/crtfastmath.c: New file.
8414 * config/mips/crtfastmath.c: New file.
8415 * config/sparc/crtfastmath.c: New file.
8416
8417 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8418 crtfastmath.c.
8419 Add -frandom-seed=gcc-crtfastmath.
8420 * config/alpha/t-crtfm: Remove.
8421 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8422 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8423
8424 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8425 (alpha*-dec-osf5.1*): Likewise.
8426 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8427 Add crtfastmath.o to extra_parts.
8428 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8429 Add crtfastmath.o to extra_parts.
8430 (x86_64-*-darwin*): Likewise.
8431 (x86_64-*-mingw*): Likewise.
8432 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8433 (ia64*-*-freebsd*): Likewise.
8434 (ia64*-*-linux*): Likewise.
8435 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8436 Add crtfastmath.o to extra_parts.
8437
8438 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8439
8440 * config/darwin-crt3.o: New file.
8441 * config/rs6000/darwin-crt2.c: New file.
8442 * config/t-darwin: New file.
8443 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8444 (crt2.o): New rule.
8445 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8446 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8447 (powerpc64-*-darwin*): Likewise.
8448
8449 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8450
8451 * config/i386/netware-crt0.c: New file.
8452 * config/i386/t-nwld: Rename to ...
8453 * config/i386/t-slibgcc-nwld: ... this.
8454 * config/i386/t-nwld: New file.
8455 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8456 tmake_file.
8457 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8458 extra_parts.
8459
8460 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8461
8462 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8463 i386/t-crtstuff.
8464 * configure: Regenerate.
8465
8466 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8467
8468 * dfp-bit.c, dfp-bit.h: New files.
8469 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8470 variables.
8471 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8472 ($(d64pbit-o)): Likewise.
8473 ($(d128pbit-o)): Likewise.
8474 * config/t-dfprules: New file.
8475 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8476 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8477 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8478 (x86_64-*-linux*): Likewise.
8479 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8480 (i[34567]86-*-cygwin*): Likewise.
8481 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8482 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8483
8484 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8485
8486 * Makfile.in (LIBGCOV): New variable.
8487 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8488 * libgcov.c: New file.
8489
8490 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8491
8492 * fixed-bit.c, fixed-bit.h: New files.
8493 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8494 refer to fixed-bit.c.
8495
8496 2011-07-07 Joseph Myers <joseph@codesourcery.com>
8497
8498 * config.host (*local*): Remove.
8499
8500 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8501
8502 PR target/39150
8503 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8504 like i?86-*-solaris2.1[0-9]*.
8505 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8506 * configure.ac (i?86-*-solaris2*): Likewise.
8507 * configure: Regenerate.
8508
8509 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
8510
8511 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8512 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8513 md_unwind_header by splitting out of...
8514 (i[34567]86-*-linux*): ... this.
8515 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8516 Remove md_unwind_header by splitting out of...
8517 (x86_64-*-linux*): ... this.
8518
8519 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
8520
8521 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8522
8523 2011-06-28 Nick Clifton <nickc@redhat.com>
8524
8525 * config.host: Recognize all V850 variants.
8526
8527 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
8528
8529 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8530
8531 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8532
8533 * shared-object.mk (c_flags-$o): Save c_flags.
8534 ($(base)$(objext)): Use it.
8535 ($(base)_s$(objext)): Likewise.
8536
8537 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8538
8539 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8540 * libgcc-std.ver.in (GCC_4.7.0): New section.
8541
8542 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
8543
8544 PR target/49313
8545 PR target/29524
8546 * config/avr/t-avr: Fix line endings.
8547 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8548 _parityXX2.
8549
8550 2011-06-14 Olivier Hainque <hainque@adacore.com>
8551 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8552
8553 * config/mips/irix6-unwind.h: New file.
8554 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8555
8556 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8557
8558 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8559 (sparc64_fallback_frame_state): Use it.
8560 (sparc64_frob_update_context): Further adjust context.
8561 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8562 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8563 * config/sparc/sol2-cn.S: Likewise.
8564
8565 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8566
8567 * enable-execute-stack-empty.c: New file.
8568 * enable-execute-stack-mprotect.c: New file.
8569 * config/i386/enable-execute-stack-mingw32.c: New file.
8570 * config.host (enable_execute_stack): New variable.
8571 Select appropriate variants.
8572 * configure.ac: Link enable-execute-stack.c to
8573 $enable_execute_stack.
8574 * configure: Regenerate.
8575 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8576 (lib2funcs): Remove _enable_execute_stack.
8577
8578 2011-06-09 David S. Miller <davem@davemloft.net>
8579 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8580
8581 * config.host (sparc-*-linux*): Correct md_unwind_header
8582 filename.
8583 (s390x-ibm-tpf*): Fix typo.
8584
8585 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8586
8587 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8588 Add crtfastmath.o to extra_parts.
8589 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8590 mips/t-crtfm.
8591 * config/mips/t-crtfm: Remove.
8592
8593 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8594
8595 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8596
8597 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8598
8599 * config.host (sh*-*-linux*): Fix typo.
8600
8601 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8602
8603 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8604 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8605 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8606 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8607 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8608 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8609 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8610 Wrap in !__MINGW64__.
8611 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8612 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8613 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8614 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8615 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8616 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8617 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8618 Wrap in !__LP64__.
8619 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8620 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8621 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8622 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8623 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8624 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8625 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8626 * config/no-unwind.h: New file.
8627 * config.host (md_unwind_header): Document.
8628 Define.
8629 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8630 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8631 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8632 hppa[12]*-*-hpux11*): Set md_unwind_header.
8633 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8634 Set md_unwind_header.
8635 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8636 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8637 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8638 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8639 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8640 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8641 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8642 md_unwind_header.
8643 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8644 * configure: Regenerate.
8645
8646 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8647
8648 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8649 Set tmake_file, extra_parts.
8650 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8651 Remove O32 support.
8652 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8653 Remove O32 support.
8654 * config/mips/t-irix6: New file.
8655 * config/mips/t-slibgcc-irix: New file.
8656
8657 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8658
8659 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8660 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8661
8662 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8663
8664 * configure.ac (target_thread_file): Determine thread model.
8665 * configure: Regenerate.
8666 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8667 * config/alpha/t-alpha: New file.
8668 * config/alpha/t-crtfm: Use $<.
8669 * config/alpha/t-ieee: New file.
8670 * config/alpha/t-osf-pthread: New file.
8671 * config/alpha/t-slibgcc-osf: New file.
8672 * config/alpha/libgcc-osf5.ver: New file.
8673
8674 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8675
8676 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8677 tmake_file.
8678 Add crtfastmath.o to extra_parts.
8679
8680 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8681
8682 * config/gmon-sol2.c: Reindent.
8683 Cleanup comments.
8684 Remove, correct casts.
8685 Use STDERR_FILENO, NULL.
8686 (BASEADDRESS): Remove.
8687 (minbrk): Remove.
8688 (errno, sbrk): Remove declarations.
8689 (monstartup) [hp300]: Remove.
8690 (mcount): Remove.
8691
8692 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8693
8694 * Makefile.in (cpu_type): Define.
8695 * config.host (i[34567]86-*-rtems*): Handle it.
8696 (i[34567]86-*-solaris2*): Move body ...
8697 (*-*-solaris2*): ... here.
8698 New case, generalize.
8699 (sparc-*-elf*): Handle it.
8700 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8701 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8702 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8703 Fold into ...
8704 (sparc*-*-solaris2*): ... this.
8705 New case.
8706 (sparc64-*-elf*): Handle it.
8707 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8708 Merge ../gcc/config/i386/gmon-sol2.c.
8709 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8710 Use C comments.
8711 Merge ../gcc/config/i386/sol2-gc1.asm.
8712 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8713 Use C comments.
8714 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8715 Use C comments.
8716 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8717 * config/i386/t-crtstuff: New file.
8718 * config/i386/t-softfp: New file.
8719 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8720 $(T)crti.o, $(T)crtn.o): Remove.
8721 (gcrt1.o): New rule.
8722 (TARGET_LIBGCC2_CFLAGS): Remove.
8723 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8724 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8725 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8726 * config/sparc/t-sol2: New file.
8727 * config/sparc/t-crtfm: Move to ...
8728 * config/t-crtfm: ... this.
8729 Use $(cpu_type), $<.
8730 * config/t-crtin: New file.
8731 * config/sparc/t-softfp: New file.
8732 * config/sparc/t-softmul: New file.
8733 * config/t-rtems: New file.
8734 * config/t-slibgcc: New file.
8735 * config/t-slibgcc-elf-ver: New file.
8736 * config/t-slibgcc-gld: New file.
8737 * config/t-slibgcc-sld: New file.
8738 * config/t-sol2: New file.
8739 * configure.ac: Include ../config/lib-ld.m4.
8740 Call AC_LIB_PROG_LD_GNU.
8741 Substitute cpu_type.
8742 * configure: Regenerate.
8743
8744 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8745
8746 PR bootstrap/49173
8747 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8748 libgcc-std.ver in the build directory.
8749 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8750 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8751
8752 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8753
8754 * libgcc-std.ver.in: New file.
8755 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8756 variables.
8757 (libgcc-std.ver): New rule.
8758 * config/t-gnu-prefix: New file.
8759
8760 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8761
8762 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8763
8764 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8765
8766 * config/i386/darwin-lib.h: New file.
8767
8768 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8769
8770 * config/arm/symbian-lib.h: New.
8771
8772 2011-05-04 Chris Demetriou <cgd@google.com>
8773
8774 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8775 (__x86.get_pc_thunk.bx): ...this.
8776 (__morestack): Adjust for rename, remove undef of __i686.
8777
8778 2011-05-03 Chris Demetriou <cgd@google.com>
8779
8780 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8781
8782 2011-03-22 Joseph Myers <joseph@codesourcery.com>
8783
8784 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8785 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8786 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8787 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8788 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8789 Remove cases.
8790
8791 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
8792
8793 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8794 Adjust copyright year.
8795
8796 2011-03-07 Ian Lance Taylor <iant@google.com>
8797
8798 * generic-morestack.c (__splitstack_find): Adjust returned stack
8799 pointer to include all registers pushed by __morestack.
8800
8801 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8802
8803 PR target/40125
8804 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8805 (toolexecdir): Calculate and AC_SUBST.
8806 (toolexeclibdir): Likewise.
8807 * Makefile.in (target_noncanonical): Import.
8808 (toolexecdir): Likewise.
8809 (toolexeclibdir): Likewise.
8810 * configure: Regenerate.
8811
8812 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8813
8814 PR target/46040
8815 * config/arm/bpabi.h: Rename to...
8816 * config/arm/bpabi-lib.h: ...this.
8817
8818 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8819
8820 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8821 appropriate.
8822 * configure: Regenerate.
8823
8824 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8825
8826 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8827 __FLOAT_WORD_ORDER__.
8828 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8829 Delete.
8830
8831 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8832
8833 PR other/46202
8834 * Makefile.in (install-strip): New phony target.
8835
8836 2010-11-07 Ian Lance Taylor <iant@google.com>
8837
8838 PR target/46089
8839 * config/i386/morestack.S (__morestack_large_model): New
8840 function.
8841
8842 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8843
8844 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8845 Delete.
8846 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8847
8848 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8849
8850 * config/arm/bpabi.h: New file.
8851 * config/frv/frv-abi.h: New file.
8852
8853 2010-10-01 Ian Lance Taylor <iant@google.com>
8854
8855 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8856 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8857
8858 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8859
8860 PR target/45858
8861 * config.host: Add the missing `$'.
8862
8863 2010-09-30 Michael Eager <eager@eagercon.com>
8864
8865 * config.host: Add microblaze*-*-*.
8866 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8867 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8868 udivsi3.asm,umodsi3.asm}: New.
8869
8870 2010-09-28 Ian Lance Taylor <iant@google.com>
8871
8872 * configure.ac: Adjust CFI test to test assembler directly rather
8873 than checking gcc preprocessor macro.
8874 * configure: Rebuild.
8875
8876 2010-09-27 Ian Lance Taylor <iant@google.com>
8877
8878 * configure.ac: Test whether assembler supports CFI directives.
8879 * config.host: Only add t-stack and i386/t-stack-i386 to
8880 tmake_file if libgcc_cv_cfi is "yes".
8881 * configure: Rebuild.
8882
8883 2010-09-27 Ian Lance Taylor <iant@google.com>
8884
8885 * generic-morestack.h: New file.
8886 * generic-morestack.c: New file.
8887 * generic-morestack-thread.c: New file.
8888 * config/i386/morestack.S: New file.
8889 * config/t-stack: New file.
8890 * config/i386/t-stack-i386: New file.
8891 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8892 i386/t-stack-i386 to tmake_file.
8893
8894 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8895
8896 * Makefile.in (libgcc-extra-parts): Check for static archives and
8897 invoke ranlib after installing them.
8898 (gcc-extra-parts): Likewise.
8899 (install-leaf): Likewise.
8900
8901 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8902
8903 * configure: Regenerated.
8904
8905 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
8906
8907 * configure: Regenerated.
8908
8909 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8910 Andrew Pinski <pinskia@gmail.com>
8911
8912 PR target/40959
8913 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8914
8915 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8916
8917 PR target/45524
8918 * configure: Regenerated.
8919
8920 2010-09-06 Andreas Schwab <schwab@redhat.com>
8921
8922 * configure: Regenerate.
8923
8924 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8925
8926 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8927 64bit targets.
8928 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8929 for 64bit targets.
8930
8931 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8932 Iain Sandoe <iains@gcc.gnu.org>
8933
8934 PR target/45476
8935 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8936 LIB2FUNCS_EXCLUDE functions.
8937
8938 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8939
8940 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8941 Include dfp.m4.
8942 * configure: Regenerate.
8943
8944 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
8945
8946 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8947 i386/t-freebsd to tmake_file.
8948 * config/i386/t-freebsd: New file.
8949 * config/i386/libgcc-bsd.ver: New file.
8950
8951 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8952
8953 * config.host (powerpc*-eabispe*): Set tmake_file.
8954 (powerpc*-eabi*): Likewise.
8955 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8956 crtbeginS, crtendS, crtbeginT.
8957
8958 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
8959
8960 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8961 to tmake_file. Add crtfastmath.o to extra_parts.
8962 * config/mips/t-crtfm: New.
8963
8964 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
8965
8966 * config.host (sparc64-*-rtems*): New target.
8967
8968 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8969
8970 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8971 assembler syntax.
8972
8973 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8974
8975 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8976
8977 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8978
8979 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8980 alpha-dec-osf5.0* support.
8981
8982 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
8983
8984 * config.host: Add lm32-*-rtems*.
8985
8986 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8987 Uros Bizjak <ubizjak@gmail.com>
8988
8989 PR target/39048
8990 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8991 like other remaining 32-bit x86 OSes.
8992 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8993 assembler syntax.
8994 * config/i386/libgcc-sol2.ver: New file.
8995 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8996
8997 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
8998
8999 PR c/43553
9000 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9001 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9002 is used and substitute set_use_emutls.
9003 * configure: Regenerated.
9004
9005 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9006
9007 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9008
9009 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9010
9011 PR target/38085
9012 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9013 MULTILIB_CFLAGS.
9014 ($(T)gcrt1.o): Likewise.
9015 ($(T)crt1.o): Likewise.
9016 ($(T)crti.o): Likewise.
9017 ($(T)crtn.o): Likewise.
9018
9019 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9020
9021 PR other/42980
9022 * Makefile.in (install): Use $(MAKE) string in rule, for
9023 parallel make.
9024
9025 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9026
9027 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9028 * config/mmix/t-mmix: New file.
9029 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9030
9031 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9032
9033 PR java/41991
9034 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9035 SHLIB_MAPFILES.
9036
9037 2010-01-04 Anthony Green <green@moxielogic.com>
9038
9039 * config/moxie/crti.asm, config/moxie/crtn.asm,
9040 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9041 config/moxie/t-moxie: New files.
9042 * config.host: Add t-moxie-softfp reference.
9043
9044 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
9045
9046 PR other/39888
9047 * config/t-slibgcc-darwin: Fix embedded rpaths for
9048 --enable-version-specific-runtime-libs, build extension stub
9049 libs exposing features available from current libgcc_s.
9050
9051 2009-11-11 Jon Beniston <jon@beniston.com>
9052
9053 * config.host: Add lm32 targets.
9054 * config/lm32: New directory.
9055 * config/lm32/libgcc_lm32.h: New file.
9056 * config/lm32/_mulsi3.c: New file.
9057 * config/lm32/_udivmodsi4.c: New file.
9058 * config/lm32/_divsi3.c: New file.
9059 * config/lm32/_modsi3.c: New file.
9060 * config/lm32/_udivsi3.c: New file.
9061 * config/lm32/_umodsi3.c: New file.
9062 * config/lm32/_lshrsi3.S: New file.
9063 * config/lm32/_ashrsi3.S: New file.
9064 * config/lm32/_ashlsi3.S: New file.
9065 * config/lm32/crti.S: New file.
9066 * config/lm32/crtn.S: New file.
9067 * config/lm32/t-lm32: New file.
9068 * config/lm32/t-elf: New file.
9069 * config/lm32/t-uclinux: New file.
9070
9071 2009-10-26 Nick Clifton <nickc@redhat.com>
9072
9073 * config.host: Add support for RX target.
9074 * config/rx: New directory.
9075 * config/rx/rx-abi-functions.c: New file. Supplementary
9076 functions for libgcc to support the RX ABI.
9077 * config/rx/rx-abi.h: New file. Supplementary header file for
9078 libgcc RX ABI functions.
9079 * config/rx/t-rx: New file: Makefile fragment for building
9080 libgcc for the RX.
9081
9082 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
9083
9084 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9085 constraint of y0 to "g".
9086
9087 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9088
9089 * config.host: Include the s390 makefile fragments.
9090 * config/s390/32/_fixdfdi.c: New file.
9091 * config/s390/32/_fixsfdi.c: New file.
9092 * config/s390/32/_fixtfdi.c: New file.
9093 * config/s390/32/_fixunsdfdi.c: New file.
9094 * config/s390/32/_fixunssfdi.c: New file.
9095 * config/s390/32/_fixunstfdi.c: New file.
9096 * config/s390/32/t-floattodi: New file.
9097 * config/s390/libgcc-glibc.ver: New file.
9098 * config/s390/t-crtstuff: New file.
9099 * config/s390/t-linux: New file.
9100 * config/s390/t-tpf: New file.
9101
9102 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9103
9104 * configure.ac (AC_PREREQ): Bump to 2.64.
9105
9106 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9107
9108 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9109
9110 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9111
9112 * configure: Regenerate.
9113
9114 2009-08-09 Douglas B Rupp <rupp@gnat.com>
9115
9116 * config.host (ia64-hp-*vms*): New target.
9117 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9118 with ia64-hp-*vms*.
9119
9120 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9121
9122 * configure.ac: Add snippet for maintainer-mode.
9123 * configure: Regenerate.
9124 * Makefile.in (AUTOCONF, configure_deps): New variables.
9125 ($(srcdir)/configure)): New rule, active only with maintainer
9126 mode turned on.
9127
9128 2009-06-23 DJ Delorie <dj@redhat.com>
9129
9130 Add MeP port.
9131 * config.host: Add mep support.
9132
9133 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
9134
9135 * config.host: Add i386/${host_address}/t-fprules-softfp and
9136 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
9137
9138 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9139 for mingw targets.
9140 * config/i386/64/_multc3.c: Likewise.
9141 * config/i386/64/_powitf2.c: Likewise.
9142 * config/i386/64/eqtf2.c: Likewise.
9143 * config/i386/64/getf2.c: Likewise.
9144 * config/i386/64/letf2.c: Likewise.
9145 * config/i386/64/letf2.c: Likewise.
9146 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9147 unsigned long long for x64 mingw targets.
9148 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9149 (_FP_I_TYPE): Define as long long for x64 mingw target.
9150
9151 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9152
9153 * config.host (vax-*-linux*): New.
9154
9155 2009-05-31 Anthony Green <green@moxielogic.com>
9156
9157 * config.host: Add moxie support.
9158 * config/moxie/t-moxie: New file.
9159
9160 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
9161
9162 * config.host: Add i386/${host_address}/t-fprules-softfp and
9163 t-softfp to tmake_file for i[34567]86-*-cygwin*.
9164
9165 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9166
9167 * config.host: Add i386/${host_address}/t-fprules-softfp to
9168 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9169
9170 2009-04-09 Nick Clifton <nickc@redhat.com>
9171
9172 * config/ia64/tf-signs.c: Change copyright header to refer to
9173 version 3 of the GNU General Public License with version 3.1
9174 of the GCC Runtime Library Exception and to point readers at
9175 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9176 web page.
9177 * config/i386/32/tf-signs.c: Likewise.
9178 * config/libbid/_addsub_dd.c: Likewise.
9179 * config/libbid/_addsub_sd.c: Likewise.
9180 * config/libbid/_addsub_td.c: Likewise.
9181 * config/libbid/_dd_to_df.c: Likewise.
9182 * config/libbid/_dd_to_di.c: Likewise.
9183 * config/libbid/_dd_to_sd.c: Likewise.
9184 * config/libbid/_dd_to_sf.c: Likewise.
9185 * config/libbid/_dd_to_si.c: Likewise.
9186 * config/libbid/_dd_to_td.c: Likewise.
9187 * config/libbid/_dd_to_tf.c: Likewise.
9188 * config/libbid/_dd_to_udi.c: Likewise.
9189 * config/libbid/_dd_to_usi.c: Likewise.
9190 * config/libbid/_dd_to_xf.c: Likewise.
9191 * config/libbid/_df_to_dd.c: Likewise.
9192 * config/libbid/_df_to_sd.c: Likewise.
9193 * config/libbid/_df_to_td.c: Likewise.
9194 * config/libbid/_di_to_dd.c: Likewise.
9195 * config/libbid/_di_to_sd.c: Likewise.
9196 * config/libbid/_di_to_td.c: Likewise.
9197 * config/libbid/_div_dd.c: Likewise.
9198 * config/libbid/_div_sd.c: Likewise.
9199 * config/libbid/_div_td.c: Likewise.
9200 * config/libbid/_eq_dd.c: Likewise.
9201 * config/libbid/_eq_sd.c: Likewise.
9202 * config/libbid/_eq_td.c: Likewise.
9203 * config/libbid/_ge_dd.c: Likewise.
9204 * config/libbid/_ge_sd.c: Likewise.
9205 * config/libbid/_ge_td.c: Likewise.
9206 * config/libbid/_gt_dd.c: Likewise.
9207 * config/libbid/_gt_sd.c: Likewise.
9208 * config/libbid/_gt_td.c: Likewise.
9209 * config/libbid/_isinfd128.c: Likewise.
9210 * config/libbid/_isinfd32.c: Likewise.
9211 * config/libbid/_isinfd64.c: Likewise.
9212 * config/libbid/_le_dd.c: Likewise.
9213 * config/libbid/_le_sd.c: Likewise.
9214 * config/libbid/_le_td.c: Likewise.
9215 * config/libbid/_lt_dd.c: Likewise.
9216 * config/libbid/_lt_sd.c: Likewise.
9217 * config/libbid/_lt_td.c: Likewise.
9218 * config/libbid/_mul_dd.c: Likewise.
9219 * config/libbid/_mul_sd.c: Likewise.
9220 * config/libbid/_mul_td.c: Likewise.
9221 * config/libbid/_ne_dd.c: Likewise.
9222 * config/libbid/_ne_sd.c: Likewise.
9223 * config/libbid/_ne_td.c: Likewise.
9224 * config/libbid/_sd_to_dd.c: Likewise.
9225 * config/libbid/_sd_to_df.c: Likewise.
9226 * config/libbid/_sd_to_di.c: Likewise.
9227 * config/libbid/_sd_to_sf.c: Likewise.
9228 * config/libbid/_sd_to_si.c: Likewise.
9229 * config/libbid/_sd_to_td.c: Likewise.
9230 * config/libbid/_sd_to_tf.c: Likewise.
9231 * config/libbid/_sd_to_udi.c: Likewise.
9232 * config/libbid/_sd_to_usi.c: Likewise.
9233 * config/libbid/_sd_to_xf.c: Likewise.
9234 * config/libbid/_sf_to_dd.c: Likewise.
9235 * config/libbid/_sf_to_sd.c: Likewise.
9236 * config/libbid/_sf_to_td.c: Likewise.
9237 * config/libbid/_si_to_dd.c: Likewise.
9238 * config/libbid/_si_to_sd.c: Likewise.
9239 * config/libbid/_si_to_td.c: Likewise.
9240 * config/libbid/_td_to_dd.c: Likewise.
9241 * config/libbid/_td_to_df.c: Likewise.
9242 * config/libbid/_td_to_di.c: Likewise.
9243 * config/libbid/_td_to_sd.c: Likewise.
9244 * config/libbid/_td_to_sf.c: Likewise.
9245 * config/libbid/_td_to_si.c: Likewise.
9246 * config/libbid/_td_to_tf.c: Likewise.
9247 * config/libbid/_td_to_udi.c: Likewise.
9248 * config/libbid/_td_to_usi.c: Likewise.
9249 * config/libbid/_td_to_xf.c: Likewise.
9250 * config/libbid/_tf_to_dd.c: Likewise.
9251 * config/libbid/_tf_to_sd.c: Likewise.
9252 * config/libbid/_tf_to_td.c: Likewise.
9253 * config/libbid/_udi_to_dd.c: Likewise.
9254 * config/libbid/_udi_to_sd.c: Likewise.
9255 * config/libbid/_udi_to_td.c: Likewise.
9256 * config/libbid/_unord_dd.c: Likewise.
9257 * config/libbid/_unord_sd.c: Likewise.
9258 * config/libbid/_unord_td.c: Likewise.
9259 * config/libbid/_usi_to_dd.c: Likewise.
9260 * config/libbid/_usi_to_sd.c: Likewise.
9261 * config/libbid/_usi_to_td.c: Likewise.
9262 * config/libbid/_xf_to_dd.c: Likewise.
9263 * config/libbid/_xf_to_sd.c: Likewise.
9264 * config/libbid/_xf_to_td.c: Likewise.
9265 * config/libbid/bid128.c: Likewise.
9266 * config/libbid/bid128_2_str.h: Likewise.
9267 * config/libbid/bid128_2_str_macros.h: Likewise.
9268 * config/libbid/bid128_2_str_tables.c: Likewise.
9269 * config/libbid/bid128_add.c: Likewise.
9270 * config/libbid/bid128_compare.c: Likewise.
9271 * config/libbid/bid128_div.c: Likewise.
9272 * config/libbid/bid128_fma.c: Likewise.
9273 * config/libbid/bid128_logb.c: Likewise.
9274 * config/libbid/bid128_minmax.c: Likewise.
9275 * config/libbid/bid128_mul.c: Likewise.
9276 * config/libbid/bid128_next.c: Likewise.
9277 * config/libbid/bid128_noncomp.c: Likewise.
9278 * config/libbid/bid128_quantize.c: Likewise.
9279 * config/libbid/bid128_rem.c: Likewise.
9280 * config/libbid/bid128_round_integral.c: Likewise.
9281 * config/libbid/bid128_scalb.c: Likewise.
9282 * config/libbid/bid128_sqrt.c: Likewise.
9283 * config/libbid/bid128_string.c: Likewise.
9284 * config/libbid/bid128_to_int16.c: Likewise.
9285 * config/libbid/bid128_to_int32.c: Likewise.
9286 * config/libbid/bid128_to_int64.c: Likewise.
9287 * config/libbid/bid128_to_int8.c: Likewise.
9288 * config/libbid/bid128_to_uint16.c: Likewise.
9289 * config/libbid/bid128_to_uint32.c: Likewise.
9290 * config/libbid/bid128_to_uint64.c: Likewise.
9291 * config/libbid/bid128_to_uint8.c: Likewise.
9292 * config/libbid/bid32_to_bid128.c: Likewise.
9293 * config/libbid/bid32_to_bid64.c: Likewise.
9294 * config/libbid/bid64_add.c: Likewise.
9295 * config/libbid/bid64_compare.c: Likewise.
9296 * config/libbid/bid64_div.c: Likewise.
9297 * config/libbid/bid64_fma.c: Likewise.
9298 * config/libbid/bid64_logb.c: Likewise.
9299 * config/libbid/bid64_minmax.c: Likewise.
9300 * config/libbid/bid64_mul.c: Likewise.
9301 * config/libbid/bid64_next.c: Likewise.
9302 * config/libbid/bid64_noncomp.c: Likewise.
9303 * config/libbid/bid64_quantize.c: Likewise.
9304 * config/libbid/bid64_rem.c: Likewise.
9305 * config/libbid/bid64_round_integral.c: Likewise.
9306 * config/libbid/bid64_scalb.c: Likewise.
9307 * config/libbid/bid64_sqrt.c: Likewise.
9308 * config/libbid/bid64_string.c: Likewise.
9309 * config/libbid/bid64_to_bid128.c: Likewise.
9310 * config/libbid/bid64_to_int16.c: Likewise.
9311 * config/libbid/bid64_to_int32.c: Likewise.
9312 * config/libbid/bid64_to_int64.c: Likewise.
9313 * config/libbid/bid64_to_int8.c: Likewise.
9314 * config/libbid/bid64_to_uint16.c: Likewise.
9315 * config/libbid/bid64_to_uint32.c: Likewise.
9316 * config/libbid/bid64_to_uint64.c: Likewise.
9317 * config/libbid/bid64_to_uint8.c: Likewise.
9318 * config/libbid/bid_b2d.h: Likewise.
9319 * config/libbid/bid_binarydecimal.c: Likewise.
9320 * config/libbid/bid_conf.h: Likewise.
9321 * config/libbid/bid_convert_data.c: Likewise.
9322 * config/libbid/bid_decimal_data.c: Likewise.
9323 * config/libbid/bid_decimal_globals.c: Likewise.
9324 * config/libbid/bid_div_macros.h: Likewise.
9325 * config/libbid/bid_dpd.c: Likewise.
9326 * config/libbid/bid_flag_operations.c: Likewise.
9327 * config/libbid/bid_from_int.c: Likewise.
9328 * config/libbid/bid_functions.h: Likewise.
9329 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9330 * config/libbid/bid_inline_add.h: Likewise.
9331 * config/libbid/bid_internal.h: Likewise.
9332 * config/libbid/bid_round.c: Likewise.
9333 * config/libbid/bid_sqrt_macros.h: Likewise.
9334
9335 2009-04-09 Jakub Jelinek <jakub@redhat.com>
9336
9337 * Makefile.in: Change copyright header to refer to version
9338 3 of the GNU General Public License and to point readers at the
9339 COPYING3 file and the FSF's license web page.
9340 * config.host: Likewise.
9341
9342 2009-04-07 Alan Modra <amodra@bigpond.net.au>
9343
9344 * config.host: Reorder and merge to match config.gcc change.
9345
9346 2009-04-03 Alan Modra <amodra@bigpond.net.au>
9347
9348 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9349
9350 2009-03-28 Joseph Myers <joseph@codesourcery.com>
9351
9352 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9353 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9354 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9355 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9356
9357 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
9358
9359 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9360 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9361
9362 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9363
9364 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9365 ia64/t-softfp-compat to tmake_file.
9366
9367 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9368
9369 * config/ia64/__divxf3.asm: New.
9370 * config/ia64/_fixtfdi.asm: Likewise.
9371 * config/ia64/_fixunstfdi.asm: Likewise.
9372 * config/ia64/_floatditf.asm: Likewise.
9373 * config/ia64/t-fprules-softfp: Likewise.
9374 * config/ia64/t-softfp-compat: Likewise.
9375 * config/ia64/tf-signs.c: Likewise.
9376
9377 2009-01-18 Ben Elliston <bje@au.ibm.com>
9378
9379 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9380
9381 2009-01-16 Ben Elliston <bje@au.ibm.com>
9382
9383 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9384 to tmake_file.
9385
9386 2009-01-13 Ben Elliston <bje@au.ibm.com>
9387
9388 * config/t-softfp: New file.
9389 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9390 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9391
9392 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
9393
9394 * config.host: Add m32r*-*-rtems*.
9395
9396 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
9397
9398 * config.host: Add m32c*-*-rtems*.
9399
9400 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9401
9402 PR bootstrap/33100
9403 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9404 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9405 * configure: Regenerate.
9406 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9407 tmake_file here from gcc/config.gcc.
9408 Move extra_parts here from gcc/config.gcc.
9409 * config/i386/t-sol2: Move here from gcc/config/i386.
9410 Use gcc_srcdir instead of srcdir.
9411
9412 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9413
9414 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9415 case.
9416
9417 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9418
9419 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9420
9421 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9422
9423 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9424
9425 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9426
9427 Add picoChip port.
9428 * config.host: Add picochip-*-*.
9429
9430 2008-08-06 Bob Wilson <bob.wilson@acm.org>
9431
9432 * config.host: Match more processor names for Xtensa.
9433
9434 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9435
9436 * config/i386/64/t-softfp-compat: Update comments.
9437
9438 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9439
9440 * config/i386/64/_divtc3-compat.c: Moved to ...
9441 * config/i386/64/_divtc3.c: Here.
9442
9443 * config/i386/64/_multc3-compat.c: Moved to ...
9444 * config/i386/64/_multc3.c: Here.
9445
9446 * config/i386/64/_powitf2-compat.c: Moved to ...
9447 * config/i386/64/_powitf2.c: Here.
9448
9449 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9450 .c suffix instead of -compat.c.
9451
9452 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
9453
9454 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9455 (_FP_MUL_MEAT_D): Ditto.
9456 (_FP_DIV_MEAT_S): Ditto.
9457 (_FP_DIV_MEAT_D): Ditto.
9458
9459 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9460
9461 * Makefile.in: Add support for __sync_* libgcc functions.
9462
9463 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9464
9465 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9466
9467 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9468
9469 PR boostrap/36702
9470 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9471 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9472
9473 * config/i386/64/t-fprules-softfp: Moved to ...
9474 * config/i386/64/t-softfp-compat: This. New.
9475
9476 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
9477
9478 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9479 Initialize f with 0.0.
9480
9481 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9482
9483 PR target/36669
9484 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9485
9486 * config/i386/64/_divtc3-compat.c: New.
9487 * config/i386/64/_multc3-compat.c: Likewise.
9488 * config/i386/64/_powitf2-compat.c: Likewise.
9489 * config/i386/64/eqtf2.c: Likewise.
9490 * config/i386/64/getf2.c: Likewise.
9491 * config/i386/64/letf2.c: Likewise.
9492 * config/i386/64/t-fprules-softfp: Likewise.
9493
9494 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9495
9496 * config.host: Add i386/${host_address}/t-fprules-softfp to
9497 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
9498 i[34567]86-*-linux*, x86_64-*-linux*.
9499
9500 * configure.ac: Set host_address to 64 or 32 for x86.
9501 * configure: Regenerated.
9502
9503 * Makefile.in (config.status): Also depend on
9504 $(srcdir)/config.host.
9505
9506 * config/i386/32/t-fprules-softfp: New.
9507 * config/i386/32/tf-signs.c: Likewise.
9508
9509 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9510
9511 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9512 Uros Bizjak <ubizjak@gmail.com>
9513
9514 * config/i386/32/sfp-machine.h: New.
9515
9516 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9517
9518 * config/rs6000/t-ppccomm: Remove rules that conflict with
9519 auto-generated rules.
9520
9521 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9522
9523 * configure.ac: sinclude override.m4.
9524 * configure: Regenerate.
9525
9526 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9527
9528 * configure: Regenerate.
9529
9530 2008-06-10 Joseph Myers <joseph@codesourcery.com>
9531
9532 * Makefile.in (DECNUMINC): Remove
9533 -I$(MULTIBUILDTOP)../../libdecnumber.
9534 * gstdint.h: New.
9535
9536 2008-06-07 Joseph Myers <joseph@codesourcery.com>
9537
9538 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9539 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9540 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9541 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9542 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9543 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9544 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9545 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9546 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9547 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9548 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9549 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9550 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9551 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9552
9553 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9554
9555 * config.host (sh2[lbe]*-*-linux*): Allow target.
9556
9557 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9558
9559 * config/rs6000/t-ppccomm: Add build rules for new files.
9560 (LIB2ADD_ST): New variable.
9561
9562 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9563
9564 PR target/34210
9565 PR target/35508
9566 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9567 * config/t-avr: New file. Build 16bit libgcc functions.
9568
9569 2008-03-02 Jakub Jelinek <jakub@redhat.com>
9570
9571 PR target/35401
9572 * config/t-slibgcc-darwin: Make install-leaf dependent on
9573 install-darwin-libgcc-stubs instead of install.
9574
9575 2008-01-25 Joseph Myers <joseph@codesourcery.com>
9576
9577 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9578 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9579 sh-*-rtemscoff*): Remove cases.
9580
9581 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9582
9583 * Makefile.in (all): Use install-leaf rather than install.
9584 (install): Split most of the rule into...
9585 (install-leaf): ...this new one.
9586
9587 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
9588 Paolo Bonzini <bonzini@gnu.org>
9589
9590 PR target/30572
9591 * Makefile.in: Use @shlib_slibdir@ substitution to get
9592 correct install name on darwin.
9593 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
9594
9595 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
9596
9597 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9598 cris-*-elf and cris-*-none.
9599 (crisv32-*-linux*): Similar, as cris-*-linux*.
9600
9601 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9602
9603 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9604
9605 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9606
9607 PR regression/33926
9608 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9609 * configure: Regenerated.
9610
9611 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9612
9613 * Makefile.in (dfp-filenames): Replace decimal_globals,
9614 decimal_data, binarydecimal and convert_data with
9615 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9616 and bid_convert_data, respectively.
9617
9618 2007-09-17 Chao-ying Fu <fu@mips.com>
9619 Nigel Stephens <nigel@mips.com>
9620
9621 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9622 * Makefile.in (fixed_point): Define.
9623 Check if fixed_point is yes to build support functions.
9624 * configure.ac: Check for fixed_point support.
9625 * configure: Regenerated.
9626 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9627 funcs, modes, from, to.
9628
9629 2007-09-11 Janis Johnson <janis187@us.ibm.com
9630
9631 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9632
9633 2007-09-10 Janis Johnson <janis187@us.ibm.com>
9634
9635 * Makefile.in (dfp-filenames): Remove decUtility, add
9636 decDouble, decPacked, decQuad, decSingle.
9637
9638 2007-08-27 Hans Kester <hans.kester@ellips.nl>
9639
9640 * config.host : Add x86_64-elf target.
9641
9642 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9643
9644 * configure.ac (set_have_cc_tls): Add a missing =.
9645 * configure: Regenerated.
9646
9647 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9648
9649 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9650 and x86_64-*-linux*.
9651
9652 * config/t-tls: New file.
9653
9654 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
9655
9656 * configure.ac: Include ../config/enable.m4 and
9657 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9658 supports TLS and substitute set_have_cc_tls.
9659 * configure: Regenerated.
9660
9661 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9662
9663 * Makefile.in: Use libbid for DFP when BID is enabled.
9664
9665 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9666
9667 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
9668 extra_parts. Add config/i386/t-cygming to tmake_file.
9669 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9670
9671 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9672 Danny Smith <dannysmith@users.sourceforge.net>
9673
9674 PR target/29498
9675 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9676 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9677 * config/i386/t-crtfm: Compile crtfastmath.o with
9678 -minline-all-stringops.
9679
9680 2007-05-10 Richard Sandiford <richard@codesourcery.com>
9681
9682 * config.host (sparc-wrs-vxworks): New target.
9683
9684 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
9685
9686 * config.host: Recognize fido.
9687
9688 2007-04-04 Janis Johnson <janis187@us.ibm.com>
9689
9690 * configure: Check host, not target, for decimal float support.
9691
9692 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
9693
9694 * config/i386/t-crtpc: New file.
9695 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
9696 (x86_64-*-linux*): Ditto.
9697
9698 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
9699
9700 * config.host (x86_64-*-mingw*): New target.
9701
9702 2007-03-23 Michael Meissner <michael.meissner@amd.com>
9703 H.J. Lu <hongjiu.lu@intel.com>
9704
9705 * Makefile.in (enable_decimal_float): New.
9706 (DECNUMINC): Add
9707 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9708 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9709 (decbits-filenames): This.
9710 (decbits-objects): New.
9711 (libgcc-objects): Add $(decbits-objects).
9712
9713 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9714 Substitute enable_decimal_float.
9715 * configure: Regenerated.
9716
9717 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
9718
9719 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9720
9721 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9722
9723 * Makefile.in (install-info): New dummy target.
9724
9725 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9726
9727 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9728
9729 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9730
9731 * Makefile.in: Add install-html and install-pdf dummy
9732 targets.
9733
9734 2007-02-05 Roger Sayle <roger@eyesopen.com>
9735 Daniel Jacobowitz <dan@codesourcery.com>
9736
9737 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9738 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9739 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9740
9741 2007-01-29 Janis Johnson <janis187@us.ibm.com>
9742
9743 * Makefile.in (dec-filenames): Add decExcept.
9744
9745 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9746
9747 PR bootstrap/30469
9748 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9749 -fprofile-use.
9750
9751 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9752
9753 * configure.ac: Add --enable-version-specific-runtime-libs.
9754 Correct $slibdir default.
9755 * configure: Regenerated.
9756
9757 2007-01-23 Joseph Myers <joseph@codesourcery.com>
9758
9759 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9760
9761 2007-01-21 Andrew Pinski <pinskia@gmail.com>
9762
9763 PR target/30519
9764 * config.host (alpha*-*-linux*): Set extra_parts.
9765
9766 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9767
9768 * config/sh/t-linux: New.
9769 * config.host (sh*-*-linux*): Set tmake_file.
9770
9771 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9772
9773 * Makefile.in (install): Handle multilibs.
9774
9775 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9776
9777 * Makefile.in: Added .PHONY entry for documentation targets.
9778
9779 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9780
9781 * Makefile.in: Add empty info, html, dvi, pdf targets.
9782
9783 2007-01-04 Mike Stump <mrs@apple.com>
9784
9785 * Makefile.in (MAKEINFO): Remove.
9786 (PERL): Likewise.
9787
9788 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
9789
9790 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9791 * configure: Regenerate.
9792 * Makefile.in (host_subdir): Substitute it.
9793 (gcc_objdir): Use it.
9794
9795 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9796
9797 * config.host (ia64*-*-linux*): Set tmake_file.
9798
9799 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9800
9801 * Makefile.in (version): Define.
9802
9803 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9804 Paolo Bonzini <bonzini@gnu.org>
9805
9806 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9807 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9808 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9809 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9810 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9811 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9812 * configure: Generated.
9813 \f
9814 Copyright (C) 2007-2019 Free Software Foundation, Inc.
9815
9816 Copying and distribution of this file, with or without modification,
9817 are permitted in any medium without royalty provided the copyright
9818 notice and this notice are preserved.