[PATCH 3/3][GCC][AARCH64] Add support for pointer authentication B key
[gcc.git] / libgcc / ChangeLog
1 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
2
3 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
4 function.
5 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
6 aarch64_post_frob_eh_handler_addr): Add check for b-key.
7 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
8 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
9 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
10 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
11 string.
12 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
13 string.
14 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
15
16 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
17
18 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
19 Remove Solaris 9 and 10 support.
20 (sparc_is_sighandler): Likewise.
21
22 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
23
24 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
25
26 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
27
28 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
29 4_FP_W_TYPEs are used for IEEE quad precision.
30 * soft-fp/extendhftf2.c: Likewise.
31 * soft-fp/extendsftf2.c: Likewise.
32 * soft-fp/extendxftf2.c: Likewise.
33 * soft-fp/trunctfdf2.c: Likewise.
34 * soft-fp/trunctfhf2.c: Likewise.
35 * soft-fp/trunctfsf2.c: Likewise.
36 * soft-fp/trunctfxf2.c: Likewise.
37 * config/rs6000/ibm-ldouble.c: Likewise.
38
39 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
40
41 * config.host: Simplify various *-*-solaris2.1[0-9]* to
42 *-*-solaris2*.
43 * configure.ac: Likewise.
44 * configure: Regenerate.
45
46 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
47 Solaris 10 and Solaris 11 < snv_125 handling.
48
49 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
50
51 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
52
53 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
54
55 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
56 * config/i386/cpuinfo.h (enum processor_features): Add
57 FEATURE_AVX512BF16.
58
59 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
60 Bernd Edlinger <bernd.edlinger@hotmail.de>
61 Jakub Jelinek <jakub@redhat.com>
62
63 PR target/89093
64 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
65 * config/arm/unwind-arm.c: Likewise.
66 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
67 attribute for ARM.
68
69 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
70
71 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
72 (RT_SIGRETURN): Update.
73 (nds32_fallback_frame_state): Update.
74
75 2019-02-21 Martin Sebor <msebor@redhat.com>
76
77 * libgcc2.h (__clear_cache): Correct signature.
78 * libgcc2.c (__clear_cache): Same.
79
80 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
81
82 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
83 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
84
85 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
86
87 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
88 regno instead of index to DWARF_ZERO_REG.
89
90 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
91
92 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
93 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
94
95 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
96
97 * config/alpha/t-linux: Add -mfp-rounding-mode=d
98 to HOST_LIBGCC2_CFLAGS.
99
100 2019-01-23 Joseph Myers <joseph@codesourcery.com>
101
102 PR libgcc/88931
103 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
104
105 2019-01-18 Martin Liska <mliska@suse.cz>
106
107 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
108 to ...
109 (__gcov_indirect_call_profiler_v3): ... this.
110 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
111 (__gcov_indirect_call_profiler_v3): Likewise.
112 * Makefile.in: Bump function name.
113
114 2019-01-18 Martin Liska <mliska@suse.cz>
115
116 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
117 (gcov_version): Use in gcov_error.
118 (merge_one_data): Likewise.
119 (dump_one_gcov): Likewise.
120
121 2019-01-18 Martin Liska <mliska@suse.cz>
122
123 * libgcov-driver.c (gcov_version_string): New function.
124 (gcov_version): Convert version integer into string.
125
126 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
127 Kwok Cheung Yeung <kcy@codesourcery.com>
128 Julian Brown <julian@codesourcery.com>
129 Tom de Vries <tom@codesourcery.com>
130
131 * config.host: Recognize amdgcn*-*-amdhsa.
132 * config/gcn/crt0.c: New file.
133 * config/gcn/lib2-divmod-hi.c: New file.
134 * config/gcn/lib2-divmod.c: New file.
135 * config/gcn/lib2-gcn.h: New file.
136 * config/gcn/sfp-machine.h: New file.
137 * config/gcn/t-amdgcn: New file.
138
139 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
140
141 PR other/16615
142
143 * config/c6x/libunwind.S: Mechanically replace "can not" with
144 "cannot".
145 * config/tilepro/atomic.h: Likewise.
146 * config/vxlib-tls.c: Likewise.
147 * generic-morestack-thread.c: Likewise.
148 * generic-morestack.c: Likewise.
149 * mkmap-symver.awk: Likewise.
150
151 2019-01-01 Jakub Jelinek <jakub@redhat.com>
152
153 Update copyright years.
154
155 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
156
157 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
158 to ignore -Waddress-of-packed-member.
159
160 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
161
162 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
163 parameter and corresponding code.
164 (ARM_FUNC_START): Likewise in both definitions.
165 Also update footer comment about condition that need to match with
166 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
167 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
168 defined. Weakly define it in this case.
169 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
170 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
171 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
172 comment to keep condition in sync with the one in
173 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
174
175 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
176
177 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
178 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
179
180 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
181
182 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
183 and .cfi_endproc directives for VxWorks targets.
184
185 2018-12-05 Paul Koning <ni1d@arrl.net>
186
187 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
188
189 2018-11-27 Alan Modra <amodra@gmail.com>
190
191 * config/rs6000/morestack.S (__stack_split_initialize),
192 (__morestack_get_guard, __morestack_set_guard),
193 (__morestack_make_guard): Provide CFI covering these functions.
194 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
195
196 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
197
198 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
199 (sc_pt_regs_lr): Update for kernel.
200 (sc_pt_regs_tls): Update for kernel.
201
202 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
203
204 * config/csky/linux-unwind.h: Fix coding style.
205
206 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
207
208 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
209 (csky_fallback_frame_state): Modify the check of the
210 instructions to adapt to changes in the kernel
211
212 2018-11-09 Stafford Horne <shorne@gmail.com>
213 Richard Henderson <rth@twiddle.net>
214
215 * config.host: Add OpenRISC support.
216 * config/or1k/*: New.
217
218 2018-11-08 Kito Cheng <kito@andestech.com>
219
220 * soft-fp/adddf3.c: Update from glibc.
221 * soft-fp/addsf3.c: Likewise.
222 * soft-fp/addtf3.c: Likewise.
223 * soft-fp/divdf3.c: Likewise.
224 * soft-fp/divsf3.c: Likewise.
225 * soft-fp/divtf3.c: Likewise.
226 * soft-fp/double.h: Likewise.
227 * soft-fp/eqdf2.c: Likewise.
228 * soft-fp/eqsf2.c: Likewise.
229 * soft-fp/eqtf2.c: Likewise.
230 * soft-fp/extenddftf2.c: Likewise.
231 * soft-fp/extended.h: Likewise.
232 * soft-fp/extendhftf2.c: Likewise.
233 * soft-fp/extendsfdf2.c: Likewise.
234 * soft-fp/extendsftf2.c: Likewise.
235 * soft-fp/extendxftf2.c: Likewise.
236 * soft-fp/fixdfdi.c: Likewise.
237 * soft-fp/fixdfsi.c: Likewise.
238 * soft-fp/fixdfti.c: Likewise.
239 * soft-fp/fixhfti.c: Likewise.
240 * soft-fp/fixsfdi.c: Likewise.
241 * soft-fp/fixsfsi.c: Likewise.
242 * soft-fp/fixsfti.c: Likewise.
243 * soft-fp/fixtfdi.c: Likewise.
244 * soft-fp/fixtfsi.c: Likewise.
245 * soft-fp/fixtfti.c: Likewise.
246 * soft-fp/fixunsdfdi.c: Likewise.
247 * soft-fp/fixunsdfsi.c: Likewise.
248 * soft-fp/fixunsdfti.c: Likewise.
249 * soft-fp/fixunshfti.c: Likewise.
250 * soft-fp/fixunssfdi.c: Likewise.
251 * soft-fp/fixunssfsi.c: Likewise.
252 * soft-fp/fixunssfti.c: Likewise.
253 * soft-fp/fixunstfdi.c: Likewise.
254 * soft-fp/fixunstfsi.c: Likewise.
255 * soft-fp/fixunstfti.c: Likewise.
256 * soft-fp/floatdidf.c: Likewise.
257 * soft-fp/floatdisf.c: Likewise.
258 * soft-fp/floatditf.c: Likewise.
259 * soft-fp/floatsidf.c: Likewise.
260 * soft-fp/floatsisf.c: Likewise.
261 * soft-fp/floatsitf.c: Likewise.
262 * soft-fp/floattidf.c: Likewise.
263 * soft-fp/floattihf.c: Likewise.
264 * soft-fp/floattisf.c: Likewise.
265 * soft-fp/floattitf.c: Likewise.
266 * soft-fp/floatundidf.c: Likewise.
267 * soft-fp/floatundisf.c: Likewise.
268 * soft-fp/floatunditf.c: Likewise.
269 * soft-fp/floatunsidf.c: Likewise.
270 * soft-fp/floatunsisf.c: Likewise.
271 * soft-fp/floatunsitf.c: Likewise.
272 * soft-fp/floatuntidf.c: Likewise.
273 * soft-fp/floatuntihf.c: Likewise.
274 * soft-fp/floatuntisf.c: Likewise.
275 * soft-fp/floatuntitf.c: Likewise.
276 * soft-fp/gedf2.c: Likewise.
277 * soft-fp/gesf2.c: Likewise.
278 * soft-fp/getf2.c: Likewise.
279 * soft-fp/half.h: Likewise.
280 * soft-fp/ledf2.c: Likewise.
281 * soft-fp/lesf2.c: Likewise.
282 * soft-fp/letf2.c: Likewise.
283 * soft-fp/muldf3.c: Likewise.
284 * soft-fp/mulsf3.c: Likewise.
285 * soft-fp/multf3.c: Likewise.
286 * soft-fp/negdf2.c: Likewise.
287 * soft-fp/negsf2.c: Likewise.
288 * soft-fp/negtf2.c: Likewise.
289 * soft-fp/op-1.h: Likewise.
290 * soft-fp/op-2.h: Likewise.
291 * soft-fp/op-4.h: Likewise.
292 * soft-fp/op-8.h: Likewise.
293 * soft-fp/op-common.h: Likewise.
294 * soft-fp/quad.h: Likewise.
295 * soft-fp/single.h: Likewise.
296 * soft-fp/soft-fp.h: Likewise.
297 * soft-fp/subdf3.c: Likewise.
298 * soft-fp/subsf3.c: Likewise.
299 * soft-fp/subtf3.c: Likewise.
300 * soft-fp/truncdfsf2.c: Likewise.
301 * soft-fp/trunctfdf2.c: Likewise.
302 * soft-fp/trunctfhf2.c: Likewise.
303 * soft-fp/trunctfsf2.c: Likewise.
304 * soft-fp/trunctfxf2.c: Likewise.
305 * soft-fp/unorddf2.c: Likewise.
306 * soft-fp/unordsf2.c: Likewise.
307 * soft-fp/unordtf2.c: Likewise.
308
309 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
310
311 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
312 * config/i386/cpuinfo.h (processor_types): Add znver2.
313
314 2018-11-01 Paul Koning <ni1d@arrl.net>
315
316 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
317 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
318
319 2018-10-31 Joseph Myers <joseph@codesourcery.com>
320
321 PR bootstrap/82856
322 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
323 * configure: Regenerate.
324
325 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
326
327 * config/arc/lib1funcs.S (_muldi3): New function.
328 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
329
330 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
331
332 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
333
334 2018-10-25 Martin Liska <mliska@suse.cz>
335
336 PR other/87735
337 * libgcov-profiler.c: Revert.
338
339 2018-10-24 Martin Liska <mliska@suse.cz>
340
341 * libgcov-profiler.c: Start from 1 in order to distinguish
342 functions which were seen and these that were not.
343
344 2018-10-18 Paul Koning <ni1d@arrl.net>
345
346 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
347 standard.
348 * divmod.c: Update references to __udivmodsi4.
349 * udivmod.c: Ditto.
350 * udivhi3.c: New file.
351 * udivmodhi4.c: New file.
352 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
353
354 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
355
356 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
357
358 2018-10-12 Olivier Hainque <hainque@adacore.com>
359
360 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
361 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
362
363 2018-10-08 Paul Koning <ni1d@arrl.net>
364
365 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
366
367 2018-10-04 Martin Liska <mliska@suse.cz>
368
369 PR gcov-profile/84107
370 * libgcov-profiler.c (__gcov_indirect_call):
371 Change type to indirect_call_tuple.
372 (struct indirect_call_tuple): New struct.
373 (__gcov_indirect_call_topn_profiler): Change type.
374 (__gcov_indirect_call_profiler_v2): Use the new
375 variables.
376 * libgcov.h (struct indirect_call_tuple): New struct
377 definition.
378
379 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
380
381 * libgcc2.c (isnan): Use __builtin_isnan.
382 (isfinite): Use __builtin_isfinite.
383 (isinf): Use __builtin_isinf.
384
385 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
386
387 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
388
389 2018-09-21 Alexandre Oliva <oliva@adacore.com>
390
391 * config/vxcache.c: New file. Provide __clear_cache, based on
392 the cacheTextUpdate VxWorks service.
393 * config/t-vxworks (LIB2ADD): Add vxcache.c.
394 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
395 * config/t-vxwoks7: Likewise.
396
397 2018-09-21 Martin Liska <mliska@suse.cz>
398
399 * libgcov-driver.c (crc32_unsigned): Remove.
400 (gcov_histogram_insert): Likewise.
401 (gcov_compute_histogram): Likewise.
402 (compute_summary): Simplify rapidly.
403 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
404 (merge_summary): Rapidly simplify.
405 (dump_one_gcov): Ignore gcov_summary.
406 (gcov_do_dump): Do not handle program summary, it's not
407 used.
408 * libgcov-util.c (tag_summary): Remove.
409 (read_gcda_finalize): Fix coding style.
410 (read_gcda_file): Initialize curr_object_summary.
411 (compute_summary): Remove.
412 (calculate_overlap): Remove settings of run_max.
413
414 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
415
416 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
417 ucontext_t type instead.
418 (nds32_fallback_frame_state): Remove struct _sigframe statement.
419
420 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
421
422 * config/nds32/t-nds32-glibc: New file.
423
424 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
425
426 * configure.ac (solaris_ld_v2_maps): New test.
427 * configure: Regenerate.
428 * Makefile.in (solaris_ld_v2_maps): New variable.
429 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
430 if supported.
431
432 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
433
434 PR target/86951
435 * config/arm/lib1funcs.asm (speculation_barrier): New function.
436 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
437 to build.
438
439 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
440
441 * config/unwind-dw2-fde-darwin.c
442 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
443 * config/darwin10-unwind-find-enc-func.c: … to here.
444 * config/t-darwin: Build Darwin10 unwinder shim crt.
445 * libgcc/config.host: Add the Darwin10 unwinder shim.
446
447 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
448
449 * config.host: Add crtbegin.o and crtend.o for
450 powerpc-wrs-vxworks target.
451
452 2018-08-17 Jojo <jijie_rong@c-sky.com>
453 Huibin Wang <huibin_wang@c-sky.com>
454 Sandra Loosemore <sandra@codesourcery.com>
455 Chung-Lin Tang <cltang@codesourcery.com>
456
457 C-SKY port: libgcc
458
459 * config.host: Add C-SKY support.
460 * config/csky/*: New.
461
462 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
463
464 * config/nds32/t-nds32-isr: Rearrange object dependency.
465 * config/nds32/initfini.c: Add dwarf2 unwinding support.
466 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
467 and registers usage.
468 * config/nds32/isr-library/excp_isr.S: Ditto.
469 * config/nds32/isr-library/intr_isr.S: Ditto.
470 * config/nds32/isr-library/reset.S: Ditto.
471 * config/nds32/isr-library/restore_all.inc: Ditto.
472 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
473 * config/nds32/isr-library/restore_partial.inc: Ditto.
474 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
475 * config/nds32/isr-library/save_all.inc: Ditto.
476 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
477 * config/nds32/isr-library/save_partial.inc: Ditto.
478 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
479 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
480
481 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
482
483 * config/pa/linux-atomic.c: Update comment.
484 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
485 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
486 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
487 __ATOMIC_RELAXED for atomic loads.
488 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
489 unordered store to release lock.
490 (__sync_lock_release_8): Likewise.
491 (SYNC_LOCK_RELEASE_2): Remove define.
492
493 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
494
495 PR libgcc/86512
496 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
497 exponent goes negative. Update my email address.
498 * config/arm/ieee754-sf.S: Likewise.
499
500 2018-08-01 Martin Liska <mliska@suse.cz>
501
502 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
503 check that __gcov_indirect_call_callee is non-null.
504
505 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
506
507 * config/arm/ieee754-df.S: Fix comment for code working on
508 architectures >= 4.
509 * config/arm/ieee754-sf.S: Likewise.
510
511 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
512
513 PR libgcc/85334
514 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
515 Removed.
516
517 2018-07-05 James Clarke <jrtc27@jrtc27.com>
518
519 * configure: Regenerated.
520
521 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
522
523 * Makefile.in (install_leaf): Use enable_gcov instead of
524 enable_libgcov.
525
526 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
527
528 * configure.ac: Add --disable-gcov option.
529 * configure: Regenerate.
530 * Makefile.in: Honour @enable_gcov@.
531
532 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
533
534 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
535 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
536 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
537 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
538 __ARM_ARCH__.
539 * config/arm/ieee754-sf.S: Likewise.
540 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
541
542 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
543
544 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
545 longer supported.
546 * config/arm/ieee754-sf.S: Likewise.
547
548 2018-06-20 Than McIntosh <thanm@google.com>
549
550 PR libgcc/86213
551 * generic-morestack.c (allocate_segment): Move calls to getenv and
552 getpagesize to __morestack_load_mmap.
553 (__morestack_load_mmap) Initialize static_pagesize and
554 use_guard_page here so as to avoid clobbering SSE regs during a
555 __morestack call.
556
557 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
558
559 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
560 support modules with -mno-gnu-attribute.
561 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
562
563 2018-06-07 Olivier Hainque <hainque@adacore.com>
564
565 * config/t-vxworks (LIBGCC_INCLUDES): Add
566 -I$(MULTIBUILDTOP)../../gcc/include.
567 * config/t-vxworks7: Likewise. Reformat a bit to match
568 the t-vxworks layout.
569
570 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
571
572 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
573
574 2018-06-07 Martin Liska <mliska@suse.cz>
575
576 * libgcov-driver.c: Rename cs_all to all and assign it from
577 all_prg.
578
579 2018-06-07 Martin Liska <mliska@suse.cz>
580
581 PR bootstrap/86057
582 * libgcov-driver-system.c (replace_filename_variables): Use
583 memcpy instead of mempcpy.
584 (allocate_filename_struct): Do not allocate filename, allocate
585 prefix and set it.
586 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
587 here and properly copy content into it.
588 * libgcov-driver.c (struct gcov_filename): Remove max_length
589 field, change prefix from size_t into char *.
590 (compute_summary): Do not calculate longest filename.
591 (gcov_do_dump): Release memory of gf.filename after each file.
592 * libgcov-util.c (compute_summary): Use new signature of
593 compute_summary.
594 (calculate_overlap): Likewise.
595
596 2018-06-05 Martin Liska <mliska@suse.cz>
597
598 PR gcov-profile/47618
599 * libgcov-driver-system.c (replace_filename_variables): New
600 function.
601 (gcov_exit_open_gcda_file): Use it.
602
603 2018-06-05 Martin Liska <mliska@suse.cz>
604
605 * libgcov-driver.c (gcov_compute_histogram): Remove usage
606 of gcov_ctr_summary.
607 (compute_summary): Do it just for a single summary.
608 (merge_one_data): Likewise.
609 (merge_summary): Simplify as we read just single summary.
610 (dump_one_gcov): Pass proper argument.
611 * libgcov-util.c (compute_one_gcov): Simplify as we have just
612 single summary.
613 (gcov_info_count_all_cold): Likewise.
614 (calculate_overlap): Likewise.
615
616 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
617 Monk Chiang <sh.chiang04@gmail.com>
618
619 * config.host (nds32*-linux*): New.
620 * config/nds32/linux-atomic.c: New file.
621 * config/nds32/linux-unwind.h: New file.
622
623 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
624
625 PR target/85591
626 * config/i386/cpuinfo.c (get_amd_cpu): Return
627 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
628
629 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
630
631 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
632
633 2018-05-29 Martin Liska <mliska@suse.cz>
634
635 PR gcov-profile/85759
636 * libgcov-driver-system.c (gcov_error): Introduce usage of
637 GCOV_EXIT_AT_ERROR env. variable.
638 * libgcov-driver.c (merge_one_data): Print error that we
639 overwrite a gcov file with a different timestamp.
640
641 2018-05-23 Kalamatee <kalamatee@gmail.com>
642
643 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
644 path to Lf$finfty.
645
646 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
647 Monk Chiang <sh.chiang04@gmail.com>
648 Jim Wilson <jimw@sifive.com>
649
650 * config/riscv/save-restore.S: Add support for rv32e.
651
652 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
653
654 * config/arm/libunwind.S: Update comment relating to armv5.
655
656 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
657
658 * config/arm/cmse.c (cmse_check_address_range): Replace
659 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
660
661 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
662
663 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
664 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
665
666 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
667
668 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
669 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
670
671 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
672
673 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
674
675 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
676 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
677
678 PR libgcc/84292
679 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
680 op_and_fetch to return the right result.
681
682 2018-04-27 Alan Modra <amodra@gmail.com>
683
684 PR libgcc/85532
685 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
686 -fno-asynchronous-unwind-tables.
687
688 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
689
690 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
691 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
692
693 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
694
695 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
696 when including "config/i386/shadow-stack-unwind.h".
697
698 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
699
700 * configure: Regenerated.
701
702 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
703
704 PR target/85456
705 * config/rs6000/_powikf2.c: New file. Add support for the
706 __builtin_powil function when long double is IEEE 128-bit floating
707 point.
708 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
709 __powikf2 support.
710 (__powikf2): Likewise.
711 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
712 (__powikf2_hw): Likewise.
713 (__powikf2): Likewise.
714 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
715 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
716 (_powikf2-hw.c): Likewise.
717
718 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
719
720 PR libgcc/85334
721 * unwind-generic.h (_Unwind_Frames_Increment): New.
722 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
723 Likewise.
724 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
725 count with _Unwind_Frames_Increment.
726 (_Unwind_ForcedUnwind_Phase2): Likewise.
727
728 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
729
730 PR libgcc/85379
731 * config/i386/morestack.S (__stack_split_initialize): Add
732 _CET_ENDBR.
733
734 2018-04-19 Jakub Jelinek <jakub@redhat.com>
735
736 * configure: Regenerated.
737
738 2018-04-18 David Malcolm <dmalcolm@redhat.com>
739
740 PR jit/85384
741 * configure: Regenerate.
742
743 2018-04-16 Jakub Jelinek <jakub@redhat.com>
744
745 PR target/84945
746 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
747 -Wdangling-else warnings. Mask shift counts to avoid
748 -Wshift-count-negative and -Wshift-count-overflow false positives.
749
750 2018-04-06 Ruslan Bukin <br@bsdpad.com>
751
752 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
753
754 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
755
756 PR target/85100
757 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
758 (XSTATE_FP): Likewise.
759 (XSTATE_SSE): Likewise.
760 (XSTATE_YMM): Likewise.
761 (XSTATE_OPMASK): Likewise.
762 (XSTATE_ZMM): Likewise.
763 (XSTATE_HI_ZMM): Likewise.
764 (XCR_AVX_ENABLED_MASK): Likewise.
765 (XCR_AVX512F_ENABLED_MASK): Likewise.
766 (get_available_features): Enable AVX and AVX512 features only
767 if their states are supported by OSXSAVE.
768
769 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
770
771 PR target/85025
772 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
773 Fix a typo, tmp => 255.
774
775 2018-03-20 Jakub Jelinek <jakub@redhat.com>
776
777 PR target/84945
778 * config/i386/cpuinfo.h (__cpu_features2): Declare.
779 * config/i386/cpuinfo.c (__cpu_features2): New variable for
780 ifndef SHARED only.
781 (set_feature): Define.
782 (get_available_features): Use set_feature macro. Set __cpu_features2
783 to the second word of features ifndef SHARED.
784
785 2018-03-15 Julia Koval <julia.koval@intel.com>
786
787 * config/i386/cpuinfo.c (get_available_features): Add
788 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
789 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
790 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
791 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
792 FEATURE_AVX512BITALG.
793
794 2018-03-14 Julia Koval <julia.koval@intel.com>
795
796 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
797 icelake client and icelake server.
798
799 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
800
801 * config/pa/fptr.c (_dl_read_access_allowed): New.
802 (__canonicalize_funcptr_for_compare): Use it.
803
804 2018-02-28 Jakub Jelinek <jakub@redhat.com>
805
806 PR debug/83917
807 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
808 $asm_hidden_op if visibility ("hidden") attribute works.
809 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
810 * config/i386/i386-asm.h: Don't include auto-host.h.
811 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
812 PACKAGE_URL): Don't undefine.
813 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
814 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
815 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
816 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
817 definition instead of hardcoded .hidden.
818 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
819 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
820 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
821 (USE_GAS_CFI_DIRECTIVES): Don't define.
822 * configure: Regenerated.
823 * config.in: Likewise.
824
825 2018-02-26 Jakub Jelinek <jakub@redhat.com>
826
827 PR debug/83917
828 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
829 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
830 inclusion of auto-target.h and auto-host.h.
831 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
832 __GCC_HAVE_DWARF2_CFI_ASM.
833 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
834 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
835 cfi_pop): Define.
836 * config/i386/cygwin.S: Don't include auto-host.h here, just
837 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
838 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
839 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
840 * config/i386/resms64fx.h: Add cfi_* directives.
841 * config/i386/resms64x.h: Likewise.
842
843 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
844
845 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
846 .literal_position directive.
847 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
848
849 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
850
851 PR target/84148
852 * configure: Regenerate.
853
854 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
855
856 PR target/84239
857 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
858 Include cetintrin.h not x86intrin.h.
859
860 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
861
862 PR target/84239
863 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
864 Use new _get_ssp and _inc_ssp intrinsics.
865
866 2018-02-02 Julia Koval <julia.koval@intel.com>
867
868 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
869
870 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
871
872 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
873 option.
874 (__divsi3): Use RF16 safe registers.
875 (__modsi3): Likewise.
876
877 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
878
879 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
880 (__divsf3): Make NaN return value quiet.
881 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
882 (__divdf3): Make NaN return value quiet.
883
884 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
885
886 * config/rl78/anddi3.S: New assembly file.
887 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
888
889 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
890
891 * config/rl78/umindi3.S: New assembly file.
892 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
893
894 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
895
896 * config/rl78/smindi3.S: New assembly file.
897 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
898
899 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
900
901 * config/rl78/smaxdi3.S: New assembly file.
902 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
903
904 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
905
906 * config/rl78/umaxdi3.S: New assembly file.
907 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
908
909 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
910
911 PR lto/83452
912 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
913 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
914
915 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
916
917 * config/aarch64/value-unwind.h (aarch64_vg): New function.
918 (DWARF_LAZY_REGISTER_VALUE): Define.
919 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
920 to provide a fallback register value.
921
922 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
923
924 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
925 __ibm128, instead of trying to use long double.
926 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
927 accomidate -mabi=ieeelongdouble multilibs.
928 (CVT_IBM128_TO_FLOAT128): Likewise.
929 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
930 the appropriate IBM extended double type.
931 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
932 (__gcc_qsub): Likewise.
933 (__gcc_qmul): Likewise.
934 (__gcc_qdiv): Likewise.
935 (pack_ldouble): Likewise.
936 (__gcc_qneg): Likewise.
937 (__gcc_qeq): Likewise.
938 (__gcc_qne): Likewise.
939 (__gcc_qge): Likewise.
940 (__gcc_qle): Likewise.
941 (__gcc_stoq): Likewise.
942 (__gcc_dtoq): Likewise.
943 (__gcc_itoq): Likewise.
944 (__gcc_utoq): Likewise.
945 (__gcc_qunord): Likewise.
946 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
947 quad-float128.h for the definitions.
948 (COPYSIGN): Use the f128 version instead of the q version.
949 (INFINITY): Likewise.
950 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
951 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
952 quad-float128.h for the definitions.
953 (COPYSIGN): Use the f128 version instead of the q version.
954 (INFINITY): Likewise.
955 (FABS): Likewise.
956 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
957 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
958 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
959
960 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
961
962 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
963 configuration.
964
965 2018-01-03 Jakub Jelinek <jakub@redhat.com>
966
967 Update copyright years.
968
969 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
970
971 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
972 * config/riscv/multi3.c: New file.
973 * config/riscv/multi3.S: Remove.
974
975 2017-12-08 Jim Wilson <jimw@sifive.com>
976
977 * config/riscv/div.S: Use FUNC_* macros.
978 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
979 * config/riscv/save-restore.S: Likewise.
980 * config/riscv/riscv-asm.h: New.
981
982 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
983
984 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
985 * config/rs6000/_divkc3.c (__divkc3): Likewise.
986
987 PR libgcc/83112
988 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
989 correct type for all ifunc resolvers to silence -Wattribute-alias
990 warnings. Eliminate the forward declaration of the resolver
991 functions which is no longer needed.
992 (__subkf3_resolve): Likewise.
993 (__mulkf3_resolve): Likewise.
994 (__divkf3_resolve): Likewise.
995 (__negkf2_resolve): Likewise.
996 (__eqkf2_resolve): Likewise.
997 (__nekf2_resolve): Likewise.
998 (__gekf2_resolve): Likewise.
999 (__gtkf2_resolve): Likewise.
1000 (__lekf2_resolve): Likewise.
1001 (__ltkf2_resolve): Likewise.
1002 (__unordkf2_resolve): Likewise.
1003 (__extendsfkf2_resolve): Likewise.
1004 (__extenddfkf2_resolve): Likewise.
1005 (__trunckfsf2_resolve): Likewise.
1006 (__trunckfdf2_resolve): Likewise.
1007 (__fixkfsi_resolve): Likewise.
1008 (__fixkfdi_resolve): Likewise.
1009 (__fixunskfsi_resolve): Likewise.
1010 (__fixunskfdi_resolve): Likewise.
1011 (__floatsikf_resolve): Likewise.
1012 (__floatdikf_resolve): Likewise.
1013 (__floatunsikf_resolve): Likewise.
1014 (__floatundikf_resolve): Likewise.
1015 (__extendkftf2_resolve): Likewise.
1016 (__trunctfkf2_resolve): Likewise.
1017
1018 PR libgcc/83103
1019 * config/rs6000/quad-float128.h (TF): Don't define if long double
1020 is IEEE 128-bit floating point.
1021 (TCtype): Define as either TCmode or KCmode, depending on whether
1022 long double is IEEE 128-bit floating point.
1023 (__mulkc3_sw): Add declarations for software/hardware versions of
1024 complex multiply/divide.
1025 (__divkc3_sw): Likewise.
1026 (__mulkc3_hw): Likewise.
1027 (__divkc3_hw): Likewise.
1028 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1029 handlers to switch between using software emulation and hardware
1030 float128 instructions, build the complex multiply/divide functions
1031 for both software and hardware support.
1032 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1033 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1034 (__divkc3_resolve): Likewise.
1035 (__mulkc3): Likewise.
1036 (__divkc3): Likewise.
1037 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1038 (fp128_hw_src): Likewise.
1039 (fp128_hw_static_obj): Likewise.
1040 (fp128_hw_shared_obj): Likewise.
1041 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1042 _mulkc3.c and _divkc3.c, changing the function name.
1043 (_divkc3-hw.c): Likewise.
1044 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1045 and _divkc3-hw.c.
1046
1047 2017-11-26 Julia Koval <julia.koval@intel.com>
1048
1049 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1050 * config/i386/cpuinfo.h (processor_subtypes): Add
1051 INTEL_COREI7_CANNONLAKE.
1052
1053 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1054
1055 PR bootstrap/83015
1056 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1057 parameter.
1058 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1059 * config/ia64/unwind-ia64.c: Add frames parameter.
1060 * unwind-sjlj.c: Likewise.
1061
1062 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1063
1064 * config/i386/linux-unwind.h: Include
1065 config/i386/shadow-stack-unwind.h.
1066 * config/i386/shadow-stack-unwind.h: New file.
1067 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1068 pass it to _Unwind_Frames_Extra.
1069 * unwind-generic.h (_Unwind_Frames_Extra): New.
1070 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1071 parameter. Add local variable frames to count number of frames.
1072 (_Unwind_ForcedUnwind_Phase2): Likewise.
1073 (_Unwind_RaiseException): Add local variable frames to count
1074 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1075 uw_install_context.
1076 (_Unwind_ForcedUnwind): Likewise.
1077 (_Unwind_Resume): Likewise.
1078 (_Unwind_Resume_or_Rethrow): Likewise.
1079
1080 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1081
1082 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1083 (CET_FLAGS): New.
1084 * config/i386/morestack.S: Include <cet.h>.
1085 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1086 * config/i386/resms64.h: Include <cet.h>.
1087 * config/i386/resms64f.h: Likewise.
1088 * config/i386/resms64fx.h: Likewise.
1089 * config/i386/resms64x.h: Likewise.
1090 * config/i386/savms64.h: Likewise.
1091 * config/i386/savms64f.h: Likewise.
1092 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1093 (CRTSTUFF_T_CFLAGS): Likewise.
1094 * configure.ac: Include ../config/cet.m4.
1095 Set and substitute CET_FLAGS.
1096 * configure: Regenerated.
1097
1098 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1099
1100 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1101 renaming.
1102 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1103 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1104 * configure: Regenerate.
1105
1106 2017-11-07 Tom de Vries <tom@codesourcery.com>
1107
1108 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1109 after "do {} while (0)".
1110
1111 2017-11-07 Tom de Vries <tom@codesourcery.com>
1112
1113 PR other/82784
1114 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1115 semicolon after "do {} while (0)".
1116 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1117 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1118 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1119 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1120
1121 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1122
1123 PR libgcc/82635
1124 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1125 sysctl to determine whether we're in a trampoline.
1126 Keep the pattern matching method for systems without
1127 KERN_PROC_SIGTRAMP sysctl.
1128
1129 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1130 Vineet Gupta <vgupta@synopsys.com>
1131
1132 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1133 * config/arc/linux-unwind-reg.def: New file.
1134 * config/arc/linux-unwind-reg.h: Likewise.
1135
1136 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1137
1138 * config/rl78/subdi3.S: New assembly file.
1139 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1140
1141 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1142
1143 * config/rl78/adddi3.S: New assembly file.
1144 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1145
1146 2017-10-13 Jakub Jelinek <jakub@redhat.com>
1147
1148 PR target/82274
1149 * libgcc2.c (__mulvDI3): If both operands have
1150 the same highpart of -1 and the topmost bit of lowpart is 0,
1151 multiplication overflows even if both lowparts are 0.
1152
1153 2017-09-28 James Bowman <james.bowman@ftdichip.com>
1154
1155 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1156
1157 2017-09-26 Joseph Myers <joseph@codesourcery.com>
1158
1159 * config/microblaze/crti.S, config/microblaze/crtn.S,
1160 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1161 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1162 config/microblaze/mulsi3.S,
1163 config/microblaze/stack_overflow_exit.S,
1164 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1165 config/pa/milli64.S: Add .note.GNU-stack section.
1166
1167 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
1168
1169 * configure.ac: Add Check for HAVE_AS_AVX.
1170 * config.in: Regenerate.
1171 * configure: Likewise.
1172 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1173 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1174 Correct out-of-date comments.
1175
1176 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1177
1178 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1179 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1180
1181 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
1182
1183 * config/i386/i386-asm.h (PASTE2): New macro.
1184 (ASMNAME): Modify to use PASTE2.
1185 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1186 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
1187 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
1188 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
1189 * config/i386/resms64f.S: Likewise.
1190 * config/i386/resms64fx.S: Likewise.
1191 * config/i386/resms64x.S: Likewise.
1192 * config/i386/savms64.S: Likewise.
1193 * config/i386/savms64f.S: Likewise.
1194 * config/i386/avx_resms64.S: New file that only defines a macro and
1195 includes it's corresponding header file.
1196 * config/i386/avx_resms64f.S: Likewise.
1197 * config/i386/avx_resms64fx.S: Likewise.
1198 * config/i386/avx_resms64x.S: Likewise.
1199 * config/i386/avx_savms64.S: Likewise.
1200 * config/i386/avx_savms64f.S: Likewise.
1201 * config/i386/sse_resms64.S: Likewise.
1202 * config/i386/sse_resms64f.S: Likewise.
1203 * config/i386/sse_resms64fx.S: Likewise.
1204 * config/i386/sse_resms64x.S: Likewise.
1205 * config/i386/sse_savms64.S: Likewise.
1206 * config/i386/sse_savms64f.S: Likewise.
1207 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
1208
1209 2017-09-01 Olivier Hainque <hainque@adacore.com>
1210 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1211
1212 2017-08-31 Olivier Hainque <hainque@adacore.com>
1213
1214 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1215 match as powerpc-wrs-vxworks*.
1216
1217 2017-08-07 Jonathan Yong <10walls@gmail.com>
1218
1219 * config.host (*-cygwin): Include file from mingw
1220 config/i386/enable-execute-stack-mingw32.c
1221
1222 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
1223 Doug Rupp <rupp@adacore.com>
1224 Olivier Hainque <hainque@adacore.com>
1225
1226 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1227 as well as arm-wrs-vxworks.
1228 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1229 LIB2ADDEH.
1230 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1231 __exidx_start and __exidx_end for downloadable modules.
1232
1233 2017-08-01 Olivier Hainque <hainque@adacore.com>
1234
1235 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1236 * config/t-vxworks7: Likewise.
1237
1238 2017-08-01 Olivier Hainque <hainque@adacore.com>
1239
1240 * config/t-vxworks: Instead of redefining LIB2ADD,
1241 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1242
1243 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1244
1245 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1246
1247 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
1248
1249 PR testsuite/80759
1250 * config.host: include i386/t-msabi for darwin and solaris.
1251 * config/i386/i386-asm.h
1252 (ELFFN): Rename to FN_TYPE.
1253 (FN_SIZE): New macro.
1254 (FN_HIDDEN): Likewise.
1255 (ASMNAME): Likewise.
1256 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1257 .globl.
1258 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1259 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1260 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1261 .macro.
1262 * config/i386/resms64f.S: Likewise.
1263 * config/i386/resms64fx.S: Likewise.
1264 * config/i386/resms64x.S: Likewise.
1265 * config/i386/savms64.S: Likewise.
1266 * config/i386/savms64f.S: Likewise.
1267
1268 2017-07-19 John Marino <gnugcc@marino.st>
1269
1270 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1271
1272 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1273
1274 PR target/81193
1275 * configure.ac (PowerPC float128 hardware support): Test whether
1276 we can use __builtin_cpu_supports before enabling the ifunc
1277 handler.
1278 * configure: Regenerate.
1279
1280 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
1281
1282 * config.host: Remove uclibc from arc target spec.
1283
1284 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1285
1286 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1287
1288 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1289
1290 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1291 (have_ieee_hw_p): Delete function.
1292 (SW_OR_HW) Use __builtin_cpu_supports().
1293
1294 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1295
1296 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1297
1298 2017-07-03 Olivier Hainque <hainque@adacore.com>
1299
1300 * config/t-vxworks7: New file, really.
1301
1302 2017-06-28 Joseph Myers <joseph@codesourcery.com>
1303
1304 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1305 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1306 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1307 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1308 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1309 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1310 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1311 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1312 config/sh/linux-unwind.h (sh_fallback_frame_state),
1313 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1314 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1315 ucontext_t instead of struct ucontext.
1316
1317 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
1318
1319 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1320 (x86_64-wrs-vxworks7): Likewise.
1321
1322 2017-06-27 Olivier Hainque <hainque@adacore.com>
1323
1324 * config/t-vxworks7: New file.
1325 * config.host (*-*-vxworks7): Use it.
1326
1327 2017-06-22 Matt Turner <mattst88@gmail.com>
1328
1329 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1330 skylake case.
1331
1332 2017-06-21 Richard Biener <rguenther@suse.de>
1333
1334 PR gcov-profile/81080
1335 * configure.ac: Add AC_SYS_LARGEFILE.
1336 * libgcov.h: Include auto-target.h before tsystem.h to pick
1337 up _FILE_OFFSET_BITS which might differ for multilibs.
1338 * config.in: Regenerate.
1339 * configure: Likewise.
1340
1341 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
1342
1343 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1344
1345 2017-06-09 Martin Liska <mliska@suse.cz>
1346
1347 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1348 Reset __gcov_indirect_call_callee to NULL.
1349
1350 2017-06-08 Olivier Hainque <hainque@adacore.com>
1351
1352 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1353 the set of -I options, support for direct inclusions of net/uio.h
1354 by VxWorks header files via ioLib.h.
1355
1356 2017-06-07 Tony Reix <tony.reix@atos.net>
1357 Matthieu Sarter <matthieu.sarter.external@atos.net>
1358 David Edelsohn <dje.gcc@gmail.com>
1359
1360 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1361 unconditionally.
1362 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1363 AIX 7.2 support.
1364
1365 2017-06-02 Olivier Hainque <hainque@adacore.com>
1366
1367 * config/vxlib.c (__gthread_once): Add missing value to
1368 return statement.
1369
1370 2017-05-30 Olivier Hainque <hainque@adacore.com>
1371
1372 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1373 dollar sign before $(MULTIDIR).
1374
1375 2017-05-26 Richard Henderson <rth@redhat.com>
1376
1377 PR libgcc/80037
1378 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1379
1380 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1381
1382 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1383 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1384 * config/arm/unwind-arm.c: Implement the above.
1385
1386 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1387
1388 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1389 section for a non-executable stack.
1390
1391 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1392
1393 PR target/80600
1394 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1395
1396 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
1397
1398 * config.host: Add i386/t-msabi to i386/t-linux file list.
1399 * config/i386/i386-asm.h: New file.
1400 * config/i386/resms64.S: New file.
1401 * config/i386/resms64f.S: New file.
1402 * config/i386/resms64fx.S: New file.
1403 * config/i386/resms64x.S: New file.
1404 * config/i386/savms64.S: New file.
1405 * config/i386/savms64f.S: New file.
1406 * config/i386/t-msabi: New file.
1407
1408 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1409
1410 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1411 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1412
1413 2017-05-05 Joshua Conner <joshconner@google.com>
1414
1415 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1416 pc-relative indirect handling for fuchsia.
1417 * config/t-slibgcc-fuchsia: New file.
1418 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
1419 x86_64-*-fuchsia*): Add definitions.
1420
1421 2017-04-19 Martin Liska <mliska@suse.cz>
1422
1423 PR gcov-profile/80435
1424 * Makefile.in: Install gcov.h.
1425 * gcov.h: New file.
1426 * libgcov.h: Use the header and make __gcov_flush publicly
1427 visible.
1428
1429 2017-04-18 Martin Liska <mliska@suse.cz>
1430
1431 PR gcov-profile/78783
1432 * libgcov-driver.c (gcov_get_filename): New function.
1433
1434 2017-04-07 Jeff Law <law@redhat.com>
1435
1436 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1437 target makefile fragment.
1438 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1439
1440 2017-04-07 Alan Modra <amodra@gmail.com>
1441
1442 PR target/45053
1443 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1444
1445 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
1446
1447 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1448
1449 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1450
1451 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1452
1453 2017-03-10 John Marino <gnugcc@marino.st>
1454
1455 * config/aarch64/freebsd-unwind.h: New file.
1456 * config.host: Add aarch64-*-freebsd unwinder.
1457
1458 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1459
1460 * config/rs6000/crtrestvr.s: Use .machine altivec.
1461 * config/rs6000/crtsavevr.s: Ditto.
1462
1463 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1464
1465 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1466 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1467 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1468 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1469 * configure: Regenerate.
1470 * config.in: Regenerate.
1471
1472 2017-03-02 Jonathan Yong <10walls@gmail.com>
1473
1474 * config/i386/gthr-win32.h: Define NOGDI before
1475 windows.h include to prevent w32api CC_NONE macro
1476 clash with libgfortran.
1477
1478 2017-03-02 Jonathan Yong <10walls@gmail.com>
1479
1480 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1481
1482 2017-02-16 Andrew Pinski <apinski@cavium.com>
1483
1484 * config/aarch64/value-unwind.h: New file.
1485 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1486 to tm_file.
1487
1488 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1489
1490 * config.host: Add RISC-V tuples.
1491 * config/riscv/atomic.c: New file.
1492 * config/riscv/crti.S: Likewise.
1493 * config/riscv/crtn.S: Likewise.
1494 * config/riscv/div.S: Likewise.
1495 * config/riscv/linux-unwind.h: Likewise.
1496 * config/riscv/muldi3.S: Likewise.
1497 * config/riscv/multi3.S: Likewise.
1498 * config/riscv/save-restore.S: Likewise.
1499 * config/riscv/sfp-machine.h: Likewise.
1500 * config/riscv/t-elf: Likewise.
1501 * config/riscv/t-elf32: Likewise.
1502 * config/riscv/t-elf64: Likewise.
1503 * config/riscv/t-softfp32: Likewise.
1504 * config/riscv/t-softfp64: Likewise.
1505
1506 2017-01-24 Jakub Jelinek <jakub@redhat.com>
1507
1508 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1509 /* FALLTHRU */ comments.
1510
1511 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1512
1513 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1514
1515 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1516
1517 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1518 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1519 DW_CFA_GNU_window_save for AArch64 and LP64.
1520
1521 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1522
1523 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1524
1525 2017-01-19 Jiong Wang <jiong.wang@arm.com>
1526
1527 * config/aarch64/aarch64-unwind.h: New file.
1528 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1529 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1530 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1531 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1532 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1533 (aarch64_post_extract_frame_addr): New function.
1534 (aarch64_post_frob_eh_handler_addr): New function.
1535 (aarch64_frob_update_context): New function.
1536 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1537 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1538 aarch64*-*-freebsd*):
1539 Initialize md_unwind_header to include aarch64-unwind.h.
1540 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1541 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1542 __aarch64__.
1543 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1544 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1545 (uw_frob_return_addr): New function.
1546 (uw_install_context): Use uw_frob_return_addr.
1547
1548 2017-01-17 Jakub Jelinek <jakub@redhat.com>
1549
1550 PR other/79046
1551 * configure.ac: Add GCC_BASE_VER.
1552 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1553 version from BASE-VER file.
1554 * configure: Regenerated.
1555
1556 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
1557
1558 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1559 libmul_f5.a): Filter archived prerequisites.
1560
1561 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1562
1563 * config/i386/cpuinfo.h (processor_features): Add
1564 FEATURE_AVX512VPOPCNTDQ.
1565 * config/i386/cpuinfo.c (get_available_features): Habdle new
1566 feature.
1567
1568 2017-01-04 Joseph Myers <joseph@codesourcery.com>
1569
1570 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1571 payload if [__mips_nan2008].
1572
1573 2017-01-04 Alan Modra <amodra@gmail.com>
1574
1575 * Makefile.in (configure_deps): Update.
1576 * configure: Regenerate.
1577
1578 2017-01-01 Jakub Jelinek <jakub@redhat.com>
1579
1580 Update copyright years.
1581
1582 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1583
1584 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1585 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1586 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1587
1588 2016-12-17 Matthias Klose <doko@ubuntu.com>
1589
1590 * config/arc/gmon: Remove empty directory.
1591
1592 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1593
1594 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1595 crtgend.
1596 (arc*-*-elf*): Likewise.
1597 * config/arc/t-arc: Remove old gmon lib targets.
1598 * config/arc/crtg.S: Remove.
1599 * config/arc/crtgend.S: Likewise.
1600 * config/arc/gmon/atomic.h: Likewise.
1601 * config/arc/gmon/auxreg.h: Likewise.
1602 * config/arc/gmon/dcache_linesz.S: Likewise.
1603 * config/arc/gmon/gmon.c: Likewise.
1604 * config/arc/gmon/machine-gmon.h: Likewise.
1605 * config/arc/gmon/mcount.c: Likewise.
1606 * config/arc/gmon/prof-freq-stub.S: Likewise.
1607 * config/arc/gmon/prof-freq.c: Likewise.
1608 * config/arc/gmon/profil.S: Likewise.
1609 * config/arc/gmon/sys/gmon.h: Likewise.
1610 * config/arc/gmon/sys/gmon_out.h: Likewise.
1611 * config/arc/t-arc-newlib: Likewise.
1612 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1613
1614 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1615
1616 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1617
1618 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1619
1620 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1621 R16 instead of push + pop.
1622 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1623
1624 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1625
1626 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1627 tmake_file.
1628
1629 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1630
1631 * config.host (arc*-*-linux-uclibc*): Use default extra
1632 objects. Include linux-android header.
1633 * config/arc/crti.S (_init): Declare symbol as function.
1634 (_fini): Likewise.
1635
1636 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1637
1638 PR fortran/78379
1639 * config/i386/cpuinfo.c: Move denums for processor vendors,
1640 processor type, processor subtypes and declaration of
1641 struct __processor_model into
1642 * config/i386/cpuinfo.h: New header file.
1643
1644 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1645 Thomas Preud'homme <thomas.preudhomme@arm.com>
1646
1647 * config/arm/cmse_nonsecure_call.S: New.
1648 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1649
1650 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1651 Thomas Preud'homme <thomas.preudhomme@arm.com>
1652
1653 * config/arm/t-arm (HAVE_CMSE): New.
1654 * config/arm/cmse.c: New.
1655
1656 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1657
1658 PR gcc/74748
1659 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1660 use generic linker version information on Blackfin.
1661
1662 PR gcc/74748
1663 * libgcc/mkmap-symver.awk: add support for skip_underscore
1664
1665 2016-11-27 Iain Sandoe <iain@codesourcery.com>
1666 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1667
1668 PR target/67710
1669 * config/t-darwin: Default builds to 10.5 codegen.
1670
1671 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1672
1673 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1674 (_FP_NANSIGN_H): Likewise.
1675 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1676 (softfp_truncations): Add tfhf.
1677 (softfp_extras): Add required conversion functions.
1678
1679 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1680 Matthew Wahab <matthew.wahab@arm.com>
1681
1682 * config/arm/fp16.c (binary64): New.
1683 (__gnu_d2h_internal): New.
1684 (__gnu_d2h_ieee): New.
1685 (__gnu_d2h_alternative): New.
1686
1687 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1688 Matthew Wahab <matthew.wahab@arm.com>
1689
1690 * config/arm/fp16.c (struct format): New.
1691 (binary32): New.
1692 (__gnu_float2h_internal): New. Body moved from
1693 __gnu_f2h_internal and generalize.
1694 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1695 Call it with binary32.
1696
1697 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1698
1699 * soft-fp/extendhftf2.c: Update from glibc.
1700 * soft-fp/fixhfti.c: Likewise.
1701 * soft-fp/fixunshfti.c: Likewise.
1702 * soft-fp/floattihf.c: Likewise.
1703 * soft-fp/floatuntihf.c: Likewise.
1704 * soft-fp/half.h: Likewise.
1705 * soft-fp/trunctfhf2.c: Likewise.
1706
1707 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
1708
1709 PR libgcc/77813
1710 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1711 __TMC_END__ behind a passthrough asm.
1712
1713 2016-11-18 Walter Lee <walt@tilera.com>
1714
1715 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1716
1717 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1718
1719 * config/i386/cpuinfo.c (processor_features): Add
1720 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1721
1722 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1723
1724 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1725 (__ARC_NORM__): Use instead ARC_OPTFPE.
1726 * config/arc/fp-hack.h: Likewise.
1727 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1728 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1729
1730 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
1731
1732 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1733 * config/nvptx/mgomp.c: New file.
1734 * config/nvptx/t-nvptx: Add mgomp.c
1735
1736 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1737
1738 PR libgcc/68468
1739 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1740
1741 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1742
1743 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1744 of checking for cpus.
1745 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1746 (__modsi3, __clzsi2): Likewise.
1747
1748 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1749
1750 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1751 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1752 * config/i386/t-cpuinfo-static: New.
1753
1754 2016-11-03 Martin Liska <mliska@suse.cz>
1755
1756 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1757 (__gcov_time_profiler_atomic): Likewise.
1758
1759 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1760
1761 PR libgcc/78067
1762 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1763 count_leading_zeros.
1764
1765 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
1766
1767 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1768 * libgcc2.c (__divmoddi4): New function.
1769 * libgcc2.h (__divmoddi4): Declare.
1770 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1771 and __PFX_divmodti4.
1772
1773 2016-10-24 Florian Weimer <fweimer@redhat.com>
1774
1775 PR libgcc/78064
1776 * unwind-c.c: Include auto-target.h.
1777
1778 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
1779
1780 * config/pa/pa64-hpux-lib.h: New file.
1781 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1782 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1783 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1784 hppa*64*-*-hpux11*.
1785
1786 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1787
1788 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1789 definition.
1790 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1791 definition.
1792 * config/xtensa/t-windowed (LIB2ADDEH): Use
1793 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1794 or xtensa/t-linux.
1795
1796 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1797
1798 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1799 __ieee754_sqrt): New functions.
1800 (__divdf3): Add implementation with new FPU instructions under
1801 #if XCHAL_HAVE_DFP_DIV.
1802 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1803 __ieee754_sqrtf): New functions.
1804 (__divsf3): Add implementation with new FPU instructions under
1805 #if XCHAL_HAVE_FP_DIV.
1806 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1807 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1808
1809 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1810
1811 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1812 equivalent.
1813 * config/tilepro/atomic.c: Likewise and stop casting model to
1814 enum memmodel.
1815
1816 2016-10-10 Joseph Myers <joseph@codesourcery.com>
1817
1818 PR target/77586
1819 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1820 soft-fp.
1821
1822 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1823
1824 * config.host: Add support for aarch64-*-freebsd*.
1825
1826 2016-10-05 Andreas Schwab <schwab@suse.de>
1827
1828 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1829 (.section .init_array): Don't call __do_jv_register_classes.
1830 (.section .init): Likewise.
1831
1832 2016-10-04 Jakub Jelinek <jakub@redhat.com>
1833
1834 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1835 (__JCR_LIST__): Remove.
1836 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1837 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1838 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1839 * config/ia64/crtend.S (__JCR_END__): Remove.
1840 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1841 conditionals.
1842 (__JCR_LIST__, __JCR_END__): Remove.
1843 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1844 (__do_global_ctors_1): Likewise.
1845
1846 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
1847
1848 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1849 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1850
1851 2016-09-27 Martin Liska <mliska@suse.cz>
1852
1853 PR gcov-profile/7970
1854 PR gcov-profile/16855
1855 PR gcov-profile/44779
1856 * libgcov-driver.c (__gcov_init): Do not register a atexit
1857 handler.
1858 (__gcov_exit): Rename from gcov_exit.
1859 * libgcov.h (__gcov_exit): Declare.
1860
1861 2016-09-27 Martin Liska <mliska@suse.cz>
1862
1863 PR bootstrap/77749
1864 * Makefile.in: Remove _gcov_merge_delta.
1865 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1866 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1867 * libgcov.h: Remove declaration of __gcov_merge_delta.
1868
1869 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1870
1871 * configure.ac: Do not create links, only substitute the filenames.
1872 * configure: Regenerate.
1873 * Makefile.in: Assign the substitution results to variables.
1874 (LIBGCC_LINKS): Define.
1875 (enable-execute-stack.c): New rule.
1876 (unwind.h): Likewise.
1877 (md-unwind-support.h): Likewise.
1878 (sfp-machine.h): Likewise.
1879 (gthr-default.h): Likewise.
1880 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1881 unwind.h as prerequisite of install-unwind_h-forbuild.
1882
1883 2016-09-16 Jakub Jelinek <jakub@redhat.com>
1884
1885 PR libgcc/71744
1886 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1887 is not the primary registry and atomics are available.
1888 (any_objects_registered): New variable.
1889 (__register_frame_info_bases, __register_frame_info_table_bases):
1890 Atomically store 1 to any_objects_registered after registering first
1891 unwind info.
1892 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1893
1894 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1895
1896 PR target/63250
1897 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1898 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1899 (HFtype): Likewise.
1900 (HCtype): Likewise.
1901 (__divhc3): Likewise.
1902 (__mulhc3): Likewise.
1903 * libgcc2.c: Support _mulhc3 and _divhc3.
1904
1905 2016-09-07 Joseph Myers <joseph@codesourcery.com>
1906
1907 PR libgcc/77519
1908 * libgcc2.c (NOTRUNC): Invert settings.
1909
1910 2016-09-06 Martin Liska <mliska@suse.cz>
1911
1912 PR gcov-profile/77378
1913 PR gcov-profile/77466
1914 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1915 conditionaly enable/disable *_atomic functions.
1916
1917 2016-08-26 Joseph Myers <joseph@codesourcery.com>
1918
1919 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1920 where not already enabled.
1921
1922 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1923
1924 * config/mips/linux-unwind.h: Use sys/syscall.h.
1925
1926 2016-08-16 Joseph Myers <joseph@codesourcery.com>
1927
1928 PR libgcc/77265
1929 * soft-fp/adddf3.c: Update from glibc.
1930 * soft-fp/addsf3.c: Likewise.
1931 * soft-fp/addtf3.c: Likewise.
1932 * soft-fp/divdf3.c: Likewise.
1933 * soft-fp/divsf3.c: Likewise.
1934 * soft-fp/divtf3.c: Likewise.
1935 * soft-fp/double.h: Likewise.
1936 * soft-fp/eqdf2.c: Likewise.
1937 * soft-fp/eqsf2.c: Likewise.
1938 * soft-fp/eqtf2.c: Likewise.
1939 * soft-fp/extenddftf2.c: Likewise.
1940 * soft-fp/extended.h: Likewise.
1941 * soft-fp/extendsfdf2.c: Likewise.
1942 * soft-fp/extendsftf2.c: Likewise.
1943 * soft-fp/extendxftf2.c: Likewise.
1944 * soft-fp/fixdfdi.c: Likewise.
1945 * soft-fp/fixdfsi.c: Likewise.
1946 * soft-fp/fixdfti.c: Likewise.
1947 * soft-fp/fixsfdi.c: Likewise.
1948 * soft-fp/fixsfsi.c: Likewise.
1949 * soft-fp/fixsfti.c: Likewise.
1950 * soft-fp/fixtfdi.c: Likewise.
1951 * soft-fp/fixtfsi.c: Likewise.
1952 * soft-fp/fixtfti.c: Likewise.
1953 * soft-fp/fixunsdfdi.c: Likewise.
1954 * soft-fp/fixunsdfsi.c: Likewise.
1955 * soft-fp/fixunsdfti.c: Likewise.
1956 * soft-fp/fixunssfdi.c: Likewise.
1957 * soft-fp/fixunssfsi.c: Likewise.
1958 * soft-fp/fixunssfti.c: Likewise.
1959 * soft-fp/fixunstfdi.c: Likewise.
1960 * soft-fp/fixunstfsi.c: Likewise.
1961 * soft-fp/fixunstfti.c: Likewise.
1962 * soft-fp/floatdidf.c: Likewise.
1963 * soft-fp/floatdisf.c: Likewise.
1964 * soft-fp/floatditf.c: Likewise.
1965 * soft-fp/floatsidf.c: Likewise.
1966 * soft-fp/floatsisf.c: Likewise.
1967 * soft-fp/floatsitf.c: Likewise.
1968 * soft-fp/floattidf.c: Likewise.
1969 * soft-fp/floattisf.c: Likewise.
1970 * soft-fp/floattitf.c: Likewise.
1971 * soft-fp/floatundidf.c: Likewise.
1972 * soft-fp/floatundisf.c: Likewise.
1973 * soft-fp/floatunditf.c: Likewise.
1974 * soft-fp/floatunsidf.c: Likewise.
1975 * soft-fp/floatunsisf.c: Likewise.
1976 * soft-fp/floatunsitf.c: Likewise.
1977 * soft-fp/floatuntidf.c: Likewise.
1978 * soft-fp/floatuntisf.c: Likewise.
1979 * soft-fp/floatuntitf.c: Likewise.
1980 * soft-fp/gedf2.c: Likewise.
1981 * soft-fp/gesf2.c: Likewise.
1982 * soft-fp/getf2.c: Likewise.
1983 * soft-fp/ledf2.c: Likewise.
1984 * soft-fp/lesf2.c: Likewise.
1985 * soft-fp/letf2.c: Likewise.
1986 * soft-fp/muldf3.c: Likewise.
1987 * soft-fp/mulsf3.c: Likewise.
1988 * soft-fp/multf3.c: Likewise.
1989 * soft-fp/negdf2.c: Likewise.
1990 * soft-fp/negsf2.c: Likewise.
1991 * soft-fp/negtf2.c: Likewise.
1992 * soft-fp/op-1.h: Likewise.
1993 * soft-fp/op-2.h: Likewise.
1994 * soft-fp/op-4.h: Likewise.
1995 * soft-fp/op-8.h: Likewise.
1996 * soft-fp/op-common.h: Likewise.
1997 * soft-fp/quad.h: Likewise.
1998 * soft-fp/single.h: Likewise.
1999 * soft-fp/soft-fp.h: Likewise.
2000 * soft-fp/subdf3.c: Likewise.
2001 * soft-fp/subsf3.c: Likewise.
2002 * soft-fp/subtf3.c: Likewise.
2003 * soft-fp/truncdfsf2.c: Likewise.
2004 * soft-fp/trunctfdf2.c: Likewise.
2005 * soft-fp/trunctfsf2.c: Likewise.
2006 * soft-fp/trunctfxf2.c: Likewise.
2007 * soft-fp/unorddf2.c: Likewise.
2008 * soft-fp/unordsf2.c: Likewise.
2009 * soft-fp/unordtf2.c: Likewise.
2010
2011 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2012
2013 PR gcov-profile/67097
2014 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2015
2016 2016-08-10 Martin Liska <mliska@suse.cz>
2017
2018 PR gcov-profile/58306
2019 * Makefile.in: New functions (modules) are added.
2020 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2021 function.
2022 (__gcov_pow2_profiler_atomic): New function.
2023 (__gcov_one_value_profiler_body): New argument is instroduced.
2024 (__gcov_one_value_profiler): Call with the new argument.
2025 (__gcov_one_value_profiler_atomic): Likewise.
2026 (__gcov_indirect_call_profiler_v2): Likewise.
2027 (__gcov_time_profiler_atomic): New function.
2028 (__gcov_average_profiler_atomic): Likewise.
2029 (__gcov_ior_profiler_atomic): Likewise.
2030 * libgcov.h: Declare the aforementioned functions.
2031
2032 2016-08-09 Martin Liska <mliska@suse.cz>
2033
2034 * libgcov-util.c: Fix typo and GNU coding style.
2035
2036 2016-08-09 Martin Liska <mliska@suse.cz>
2037
2038 * Makefile.in: Remove __gcov_indirect_call_profiler.
2039 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2040 function.
2041 * libgcov.h: And the declaration of the function.
2042
2043 2016-08-09 Martin Liska <mliska@suse.cz>
2044
2045 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2046 power of two.
2047
2048 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2049
2050 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2051 * config/rs6000/_mulkc3.c: Likewise.
2052
2053 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
2054
2055 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2056 zero_reg as previous call to __umulhisi3 already cleared it.
2057
2058 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2059
2060 PR target/59833
2061 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2062
2063 2016-07-19 Nick Clifton <nickc@redhat.com>
2064
2065 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2066 Add crtinit.o and crtfini.o to extra_parts.
2067
2068 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2069
2070 * config/rs6000/_divkc3.c: New.
2071 * config/rs6000/_mulkc3.c: New.
2072 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2073 and _divkc3.
2074 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2075 fp128_ppc_funcs.
2076
2077 2016-07-11 Hale Wang <hale.wang@arm.com>
2078 Andre Vieira <andre.simoesdiasvieira@arm.com>
2079
2080 * config/arm/lib1funcs.S: Add new wrapper.
2081
2082 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2083
2084 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2085
2086 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2087
2088 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2089 and ARMv5t* rather than for a fixed list of architectures.
2090
2091 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2092
2093 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2094 implementation suitable for.
2095 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2096 for all Thumb-1 only targets.
2097 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2098 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2099 __ARM_ARCH_6M__.
2100 (EQUIV): Likewise.
2101 (ARM_FUNC_ALIAS): Likewise.
2102 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2103 version.
2104 (modsi3): Likewise.
2105 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2106 (clzdi2): Likewise.
2107 (ctzsi2): Likewise.
2108 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2109 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2110 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2111 __ARM_ARCH_6M__ and add comment to indicate the connection between
2112 this condition and the one in gcc/config/arm/elf.h.
2113 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2114 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2115 * config/arm/t-softfp: Likewise.
2116
2117 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2118
2119 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2120 CTOR_LISTS_DEFINED_EXTERNALLY.
2121
2122 2016-06-28 Walter Lee <walt@tilera.com>
2123
2124 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2125 asm/unistd.h.
2126 (SPR_CMPEXCH_VALUE): Define for tilegx.
2127 (__NR_FAST_cmpxchg): Define for tilepro.
2128 (__NR_FAST_atomic_update): Define for tilepro.
2129 (__NR_FAST_cmpxchg64): Define for tilepro.
2130
2131 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2132
2133 * config.host: Add suport for arm*-*-phoenix* targets.
2134
2135 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2136
2137 * config.host: Remove support for mep-*.
2138 * config/mep/lib1funcs.S: Remove.
2139 * config/mep/lib2funcs.c: Remove.
2140 * config/mep/t-mep: Remove.
2141 * config/mep/tramp.c: Remove.
2142
2143 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2144
2145 * config.host: Remove support for avr-rtems.
2146 * config/avr/t-rtems: Remove.
2147
2148 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2149
2150 * config.host: Remove m32r-rtems support.
2151
2152 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2153
2154 * config.host: Remove h8300-rtems support.
2155
2156 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2157
2158 * config.host: Remove support for knetbsd.
2159
2160 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2161
2162 * config.host: Remove support for openbsd 2 and 3.
2163
2164 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2165
2166 * config.host: Remove interix support.
2167 * config/i386/t-interix: Remove.
2168
2169 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
2170
2171 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2172 least-significant bit in function pointer for fixup.
2173
2174 2016-06-05 Aaron Conole <aconole@redhat.com>
2175 Nathan Sidwell <nathan@acm.org>
2176
2177 PR libgcc/71400
2178 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2179 (get_gcov_error_file): Check __gcov_error_file before trying to
2180 initialize it.
2181 (gcov_error): Always use get_gcov_error_file.
2182
2183 2016-06-02 Aaron Conole <aconole@redhat.com>
2184
2185 * libgcov-driver-system.c (__gcov_error_file): New.
2186 (get_gcov_error_file): New.
2187 (gcov_error): Use and set __gcov_error_file.
2188 (gcov_error_exit): New.
2189 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2190
2191 2016-05-26 Nathan Sidwell <nathan@acm.org>
2192
2193 * config/nvptx/free.asm: Delete.
2194 * config/nvptx/malloc.asm: Delete.
2195 * config/nvptx/realloc.c: Delete.
2196 * t-nvptx: Update.
2197
2198 2016-05-25 Nathan Sidwell <nathan@acm.org>
2199
2200 * config/nvptx/crt0.s: Delete.
2201 * config/nvptx/crt0.c: New.
2202 * t-nvptx: Update.
2203
2204 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2205
2206 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
2207 dw2/seh configuration.
2208 [x86_64-*-mingw*]: Likewise.
2209
2210 2016-05-10 Joel Sherrill <joel@rtems.org>
2211
2212 PR libgcc/70720
2213 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2214 targets so the same extra_parts are built. Also have tmake_file add
2215 on to its value rather than override.
2216
2217 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2218
2219 * config.host: Remove SH5 support.
2220 * configure: Likewise.
2221
2222 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2223
2224 * config/sh/crt1.S: Remove SH5 support.
2225 * config/sh/crti.S: Likewise.
2226 * config/sh/crtn.S: Likewise.
2227 * config/sh/lib1funcs-4-300.S: Likewise.
2228 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2229 * config/sh/lib1funcs.S: Likewise.
2230 * config/sh/linux-unwind.h: Likewise.
2231 * config/sh/t-sh64: Delete.
2232
2233 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2234
2235 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2236
2237 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2238 Joern Rennecke <joern.rennecke@embecosm.com>
2239
2240 * config/arc/crttls.S: New file.
2241 * config/arc/t-arc: New rule.
2242 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2243
2244 2016-04-25 Nick Clifton <nickc@redhat.com>
2245
2246 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2247 (__mspabi_cmpd): Likewise.
2248 * config/msp430/floathidf.c (__floathidf): Likewise.
2249 * config/msp430/floathisf.c (__floathisf): Likewise
2250 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2251 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2252 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2253 second parameter.
2254 (__ashrsi3): Likewise.
2255
2256 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2257
2258 * config/m68k/linux-atomic.c: Do not include unistd.h
2259
2260 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2261
2262 * config/arm/ieee754-df.S: Fix typos in comments.
2263
2264 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2265
2266 PR target/70381
2267 * configure.ac (powerpc*-*-linux*): Rework tests to build
2268 __float128 emulation routines to not depend on using #pragma GCC
2269 target to enable -mfloat128.
2270 * configure: Regnerate.
2271
2272 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2273
2274 PR target/67172
2275 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2276 __MINGW32__ is defined.
2277
2278 2016-03-28 James Bowman <james.bowman@ftdichip.com>
2279
2280 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
2281
2282 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2283
2284 PR libgcc/70363
2285 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2286 built with an assembler that does not support ISA 3.0
2287 instructions, rename __extendkftf2_sw to __extendkftf2.
2288
2289 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2290
2291 PR target/38239
2292 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2293 call-clobbered registers.
2294 (internal_mcount): Remove __i386__ handling.
2295
2296 2016-02-26 Joel Sherrill <joel@rtems.org>
2297
2298 * config.host: Add x86_64-*-rtems*.
2299
2300 2016-02-26 Joel Sherrill <joel@rtems.org>
2301
2302 * libgcc/config.host: Add aarch64-*-rtems*.
2303
2304 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2305 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2306
2307 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2308 union of u64 and double.
2309 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2310 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2311 value.
2312 (FP_ROUNDMODE): Update the usage of _fpscr.
2313
2314 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2315
2316 PR driver/68463
2317 * Makefile.in (crtoffloadtable$(objext)): New rule.
2318 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2319 enable_offload_targets is not empty.
2320 * configure: Regenerate.
2321 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2322 crtoffloadtable.
2323
2324 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2325
2326 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2327 .literal_position before the function.
2328 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2329 Likewise.
2330
2331 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2332
2333 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2334 * config/s390/morestack.S: New file.
2335 * config/s390/t-stack-s390: New file.
2336 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2337
2338 2016-02-12 Walter Lee <walt@tilera.com>
2339
2340 * config.host (tilegx*-*-linux*): remove ti from
2341 softfp_int_modes for 32-bit configs.
2342
2343 2016-02-10 Ian Lance Taylor <iant@google.com>
2344
2345 PR go/68562
2346 * config/i386/morestack.S (__stack_split_initialize): Align
2347 stack.
2348
2349 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2350
2351 PR bootstrap/69611
2352 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2353 __FLOAT128__ to compile only for __float128 capable targets.
2354
2355 2016-01-25 Jakub Jelinek <jakub@redhat.com>
2356
2357 PR target/69444
2358 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2359 instead of ___NO_FPRS__.
2360
2361 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
2362 Steven Munroe <munroesj@linux.vnet.ibm.com>
2363 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2364
2365 * config/rs6000/float128-sed: New files to convert TF names to KF
2366 names for PowerPC IEEE 128-bit floating point support.
2367 * config/rs6000/float128-sed-hw: Likewise.
2368
2369 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2370 floating point hardware support.
2371
2372 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2373 128-bit floating point software emulation or use ISA 3.0 hardware
2374 support if it is available.
2375
2376 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2377 floating point.
2378
2379 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2380 floating point to IBM extended double.
2381
2382 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2383 double to IEEE 128-bit floating point.
2384
2385 * config/rs6000/t-float128: New Makefile fragments to enable
2386 building __float128 emulation support.
2387 * config/rs6000/t-float128-hw: Likewise.
2388
2389 * config/rs6000/sfp-exceptions.c: New file to provide exception
2390 support for IEEE 128-bit floating point.
2391
2392 * config/rs6000/floattikf.c: New files for converting between IEEE
2393 128-bit floating point and signed/unsigned 128-bit integers.
2394 * config/rs6000/fixunskfti.c: Likewise.
2395 * config/rs6000/fixkfti.c: Likewise.
2396 * config/rs6000/floatuntikf.c: Likewise.
2397
2398 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2399 when building on 64-bit systems, or when VSX is enabled.
2400 (_FP_W_TYPE): Likewise.
2401 (_FP_WS_TYPE): Likewise.
2402 (_FP_I_TYPE): Likewise.
2403 (TItype): Define on 64-bit systems.
2404 (UTItype): Likewise.
2405 (TI_BITS): Likewise.
2406 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2407 (_FP_MUL_MEAT_Q): Likewise.
2408 (_FP_DIV_MEAT_D): Likewise.
2409 (_FP_DIV_MEAT_Q): Likewise.
2410 (_FP_NANFRAC_D): Likewise.
2411 (_FP_NANFRAC_Q): Likewise.
2412 (ISA_BIT): Add exception support if we are being compiled on a
2413 machine with hardware floating point support to build the IEEE
2414 128-bit emulation functions.
2415 (FP_EX_INVALID): Likewise.
2416 (FP_EX_OVERFLOW): Likewise.
2417 (FP_EX_UNDERFLOW): Likewise.
2418 (FP_EX_DIVZERO): Likewise.
2419 (FP_EX_INEXACT): Likewise.
2420 (FP_EX_ALL): Likewise.
2421 (__sfp_handle_exceptions): Likewise.
2422 (FP_HANDLE_EXCEPTIONS): Likewise.
2423 (FP_RND_NEAREST): Likewise.
2424 (FP_RND_ZERO): Likewise.
2425 (FP_RND_PINF): Likewise.
2426 (FP_RND_MINF): Likewise.
2427 (FP_RND_MASK): Likewise.
2428 (_FP_DECL_EX): Likewise.
2429 (FP_INIT_ROUNDMODE): Likewise.
2430 (FP_ROUNDMODE): Likewise.
2431
2432 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2433 VSX code, enable IEEE 128-bit floating point. If the compiler can
2434 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2435 floating point hardware instructions and it supports declaring
2436 functions with the ifunc attribute, enable ifunc functions to
2437 switch between software and hardware support.
2438 * configure.ac (powerpc*-*-linux*): Likewise.
2439 * configure: Regenerate.
2440
2441 2016-01-15 Nick Clifton <nickc@redhat.com>
2442
2443 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2444 dependency as the source file to be compiled.
2445 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2446 (lib2hw_mul_f5.o): Likewise.
2447
2448 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2449
2450 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2451 * libgcc/config/rs6000/fixkfti.c: Likewise.
2452 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2453 * libgcc/config/rs6000/float128-hw.c: Likewise.
2454 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2455 * libgcc/config/rs6000/float128-sed: Likewise.
2456 * libgcc/config/rs6000/floattikf.c: Likewise.
2457 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2458 * libgcc/config/rs6000/quad-float128.h: Likewise.
2459 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2460 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2461 * libgcc/config/rs6000/t-float128: Likewise.
2462 * libgcc/config/rs6000/t-float128-hw: Likewise.
2463 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2464 * libgcc/config.host: Likewise.
2465 * libgcc/configure: Likewise.
2466 * libgcc/configure.ac: Likewise.
2467
2468 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2469 Steven Munroe <munroesj@linux.vnet.ibm.com>
2470 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2471
2472 * config/rs6000/sfp-exceptions.c: New file to provide exception
2473 support for IEEE 128-bit floating point.
2474
2475 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2476 floating point hardware support.
2477
2478 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2479 point conversions.
2480 * config/rs6000/fixunskfti.c: Likewise.
2481 * config/rs6000/fixkfti.c: Likewise.
2482 * config/rs6000/floatuntikf.c: Likewise.
2483 * config/rs6000/extendkftf2-sw.c: Likewise.
2484 * config/rs6000/trunctfkf2-sw.c: Likewise.
2485
2486 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2487 128-bit floating point software emulation or use ISA 3.0 hardware
2488 support if it is available.
2489
2490 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2491 floating point.
2492
2493 * config/rs6000/t-float128: New Makefile fragments to enable
2494 building __float128 emulation support.
2495 * config/rs6000/t-float128-hw: Likewise.
2496
2497 * config/rs6000/float128-sed: New file to convert TF names to KF
2498 names for PowerPC IEEE 128-bit floating point support.
2499
2500 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2501 when building on 64-bit systems, or when VSX is enabled.
2502 (_FP_W_TYPE): Likewise.
2503 (_FP_WS_TYPE): Likewise.
2504 (_FP_I_TYPE): Likewise.
2505 (TItype): Define on 64-bit systems.
2506 (UTItype): Likewise.
2507 (TI_BITS): Likewise.
2508 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2509 (_FP_MUL_MEAT_Q): Likewise.
2510 (_FP_DIV_MEAT_D): Likewise.
2511 (_FP_DIV_MEAT_Q): Likewise.
2512 (_FP_NANFRAC_D): Likewise.
2513 (_FP_NANFRAC_Q): Likewise.
2514 (ISA_BIT): Add exception support if we are being compiled on a
2515 machine with hardware floating point support to build the IEEE
2516 128-bit emulation functions.
2517 (FP_EX_INVALID): Likewise.
2518 (FP_EX_OVERFLOW): Likewise.
2519 (FP_EX_UNDERFLOW): Likewise.
2520 (FP_EX_DIVZERO): Likewise.
2521 (FP_EX_INEXACT): Likewise.
2522 (FP_EX_ALL): Likewise.
2523 (__sfp_handle_exceptions): Likewise.
2524 (FP_HANDLE_EXCEPTIONS): Likewise.
2525 (FP_RND_NEAREST): Likewise.
2526 (FP_RND_ZERO): Likewise.
2527 (FP_RND_PINF): Likewise.
2528 (FP_RND_MINF): Likewise.
2529 (FP_RND_MASK): Likewise.
2530 (_FP_DECL_EX): Likewise.
2531 (FP_INIT_ROUNDMODE): Likewise.
2532 (FP_ROUNDMODE): Likewise.
2533
2534 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2535 compiler can do __float128.
2536 * configure: Regenerate.
2537
2538 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2539 VSX code, enable IEEE 128-bit floating point.
2540
2541 2016-01-05 Olivier Hainque <hainque@adacore.com>
2542
2543 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
2544 specificities.
2545
2546 2016-01-04 Jakub Jelinek <jakub@redhat.com>
2547
2548 Update copyright years.
2549
2550 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2551
2552 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2553 soft-fp targets.
2554
2555 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2556
2557 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2558 instead of abort to avoid dependency on stdlib.h.
2559
2560 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
2561
2562 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2563 to initialize call to __dl_fixup once.
2564
2565 2015-12-04 Nick Clifton <nickc@redhat.com>
2566
2567 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2568 Allow for the second argument being negative.
2569 * config.host (extra_parts): Define for MSP430. Create separate
2570 libraries for each of the hardware multiply formats.
2571 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2572 that are needed.
2573 * config/msp430/lib2mul.c: Likewise.
2574 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2575 Add rules to build hardware multiply libraries.
2576 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2577 __mspabi_divul function.
2578 (__mspabi_divllu): New stub function.
2579
2580 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
2581
2582 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2583 fixup values if saved GOT address doesn't match runtime address.
2584 (fixup_branch_offset): Reorder list.
2585
2586 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2587
2588 * Makefile.in (VTV_CFLAGS): New variable.
2589 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2590 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2591 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2592 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2593 to extra_parts if $enable_vtable_verify = yes.
2594
2595 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2596
2597 PR target/68059
2598 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2599 (write): ...this and fix the return type.
2600
2601 2015-11-19 DJ Delorie <dj@redhat.com>
2602
2603 * config/msp430/lib2hw_mul.S: Fix alignment.
2604
2605 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2606
2607 * config/nvptx/reduction.c: New.
2608 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2609
2610 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
2611
2612 * config/rs6000/on_exit.c: New file.
2613 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2614 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2615
2616 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2617
2618 * config/arc/dp-hack.h: Add support for ARCHS.
2619 * config/arc/ieee-754/divdf3.S: Likewise.
2620 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2621 * config/arc/ieee-754/muldf3.S: Likewise.
2622 * config/arc/ieee-754/mulsf3.S: Likewise
2623 * config/arc/lib1funcs.S: Likewise
2624 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2625 for ARCv2 cores.
2626 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2627 for ARCv2 cores.
2628 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2629 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2630 cores.
2631
2632 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2633
2634 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2635 value.
2636 * config/ia64/crtend.S: Likewise.
2637
2638 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2639
2640 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2641 __CHAR_BIT__ instead of BITS_PER_UNIT.
2642 * fixed-bit.h: Likewise.
2643 * fp-bit.h: Likewise.
2644 * libgcc2.c (__popcountSI2): Likewise.
2645 (__popcountDI2): Likewise.
2646 * libgcc2.h: Likewise.
2647 * libgcov.h: Likewise.
2648
2649 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
2650
2651 * config/rs6000/atexit.c: New file.
2652 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2653 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2654 * config/rs6000/cxa_finalize.c
2655 (catomic_compare_and_exchange_bool_acq): Negate return value.
2656
2657 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2658
2659 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2660 (processor_subtypes): Add znver1.
2661 (get_amd_cpu): Detect znver1.
2662
2663 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2664
2665 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2666 Include crtfastmath.o.
2667
2668 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2669
2670 PR libgcc/66883
2671 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
2672
2673 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2674
2675 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2676 * config/rl78/divmodsi.S: Update return register to r8.
2677 * config/rl78/divmodhi.S: Update return register to r8,r9.
2678 Branch to main_loop_done_himode to pop registers before return.
2679
2680 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2681
2682 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2683 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2684
2685 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2686
2687 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2688
2689 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2690
2691 * config.host (xtensa*-*-uclinux*): New configuration.
2692
2693 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2694
2695 * config/i386/cpuinfo.c (processor_features): Add
2696 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2697
2698 2015-09-28 Joseph Myers <joseph@codesourcery.com>
2699
2700 * soft-fp/adddf3.c: Update from glibc.
2701 * soft-fp/addsf3.c: Likewise.
2702 * soft-fp/addtf3.c: Likewise.
2703 * soft-fp/divdf3.c: Likewise.
2704 * soft-fp/divsf3.c: Likewise.
2705 * soft-fp/divtf3.c: Likewise.
2706 * soft-fp/double.h: Likewise.
2707 * soft-fp/eqdf2.c: Likewise.
2708 * soft-fp/eqsf2.c: Likewise.
2709 * soft-fp/eqtf2.c: Likewise.
2710 * soft-fp/extenddftf2.c: Likewise.
2711 * soft-fp/extended.h: Likewise.
2712 * soft-fp/extendsfdf2.c: Likewise.
2713 * soft-fp/extendsftf2.c: Likewise.
2714 * soft-fp/extendxftf2.c: Likewise.
2715 * soft-fp/fixdfdi.c: Likewise.
2716 * soft-fp/fixdfsi.c: Likewise.
2717 * soft-fp/fixdfti.c: Likewise.
2718 * soft-fp/fixsfdi.c: Likewise.
2719 * soft-fp/fixsfsi.c: Likewise.
2720 * soft-fp/fixsfti.c: Likewise.
2721 * soft-fp/fixtfdi.c: Likewise.
2722 * soft-fp/fixtfsi.c: Likewise.
2723 * soft-fp/fixtfti.c: Likewise.
2724 * soft-fp/fixunsdfdi.c: Likewise.
2725 * soft-fp/fixunsdfsi.c: Likewise.
2726 * soft-fp/fixunsdfti.c: Likewise.
2727 * soft-fp/fixunssfdi.c: Likewise.
2728 * soft-fp/fixunssfsi.c: Likewise.
2729 * soft-fp/fixunssfti.c: Likewise.
2730 * soft-fp/fixunstfdi.c: Likewise.
2731 * soft-fp/fixunstfsi.c: Likewise.
2732 * soft-fp/fixunstfti.c: Likewise.
2733 * soft-fp/floatdidf.c: Likewise.
2734 * soft-fp/floatdisf.c: Likewise.
2735 * soft-fp/floatditf.c: Likewise.
2736 * soft-fp/floatsidf.c: Likewise.
2737 * soft-fp/floatsisf.c: Likewise.
2738 * soft-fp/floatsitf.c: Likewise.
2739 * soft-fp/floattidf.c: Likewise.
2740 * soft-fp/floattisf.c: Likewise.
2741 * soft-fp/floattitf.c: Likewise.
2742 * soft-fp/floatundidf.c: Likewise.
2743 * soft-fp/floatundisf.c: Likewise.
2744 * soft-fp/floatunditf.c: Likewise.
2745 * soft-fp/floatunsidf.c: Likewise.
2746 * soft-fp/floatunsisf.c: Likewise.
2747 * soft-fp/floatunsitf.c: Likewise.
2748 * soft-fp/floatuntidf.c: Likewise.
2749 * soft-fp/floatuntisf.c: Likewise.
2750 * soft-fp/floatuntitf.c: Likewise.
2751 * soft-fp/gedf2.c: Likewise.
2752 * soft-fp/gesf2.c: Likewise.
2753 * soft-fp/getf2.c: Likewise.
2754 * soft-fp/ledf2.c: Likewise.
2755 * soft-fp/lesf2.c: Likewise.
2756 * soft-fp/letf2.c: Likewise.
2757 * soft-fp/muldf3.c: Likewise.
2758 * soft-fp/mulsf3.c: Likewise.
2759 * soft-fp/multf3.c: Likewise.
2760 * soft-fp/negdf2.c: Likewise.
2761 * soft-fp/negsf2.c: Likewise.
2762 * soft-fp/negtf2.c: Likewise.
2763 * soft-fp/op-1.h: Likewise.
2764 * soft-fp/op-2.h: Likewise.
2765 * soft-fp/op-4.h: Likewise.
2766 * soft-fp/op-8.h: Likewise.
2767 * soft-fp/op-common.h: Likewise.
2768 * soft-fp/quad.h: Likewise.
2769 * soft-fp/single.h: Likewise.
2770 * soft-fp/soft-fp.h: Likewise.
2771 * soft-fp/subdf3.c: Likewise.
2772 * soft-fp/subsf3.c: Likewise.
2773 * soft-fp/subtf3.c: Likewise.
2774 * soft-fp/truncdfsf2.c: Likewise.
2775 * soft-fp/trunctfdf2.c: Likewise.
2776 * soft-fp/trunctfsf2.c: Likewise.
2777 * soft-fp/trunctfxf2.c: Likewise.
2778 * soft-fp/unorddf2.c: Likewise.
2779 * soft-fp/unordsf2.c: Likewise.
2780 * soft-fp/unordtf2.c: Likewise.
2781
2782 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
2783
2784 PR libgcc/67624
2785 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2786
2787 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2788
2789 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2790 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2791 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2792 messages.
2793 (internal_mcount): Likewise.
2794 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2795 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2796
2797 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2798
2799 * configure.ac (libgcc_cv_solaris_crts): New test.
2800 * configure: Regenerate.
2801 * config.in: Regenerate.
2802 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2803 * config/gmon-sol2.c: Rename to ...
2804 * config/sol2/gmon.c: ... this.
2805 Include auto-target.h.
2806 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2807 * config/t-sol2: Rename to ...
2808 * config/sol2/t-sol2: ... this.
2809 (gmon.o): Reflect renaming.
2810 (crtp.o, crtpg.o): New rules.
2811 * config.host (*-*-solaris2*): Reflect renaming.
2812 Use system CRTs if present.
2813 Remove default CRT case.
2814
2815 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
2816
2817 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2818 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2819 __kernel_cmpxchg2.
2820 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2821 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2822 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2823 (__sync_lock_test_and_set_##WIDTH): Likewise.
2824 (__sync_lock_release_##WIDTH): Likewise.
2825 (__sync_fetch_and_##OP##_4): Change result to match type of
2826 __kernel_cmpxchg.
2827 (__sync_##OP##_and_fetch_4): Likewise.
2828 (__sync_val_compare_and_swap_4): Likewise.
2829 (__sync_bool_compare_and_swap_4): likewise.
2830 (__sync_lock_test_and_set_4): Likewise.
2831 (__sync_lock_release_4): Likewise.
2832 (FETCH_AND_OP_2): Add long long variants.
2833 (OP_AND_FETCH_2): Likewise.
2834 (COMPARE_AND_SWAP_2 ): Likewise.
2835 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2836 (SYNC_LOCK_RELEASE_2): Likewise.
2837 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2838
2839 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
2840
2841 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2842 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2843 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2844 (get_available_features): Habdle new features.
2845
2846 2015-09-21 James Bowman <james.bowman@ftdichip.com>
2847
2848 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2849 memory layout. Deal correctly with BSS region larger than 32K.
2850 Handle a watchdog reset like a power-on reset. Clean up unused
2851 code.
2852
2853 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
2854 David Edelsohn <dje.gcc@gmail.com>
2855
2856 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2857 * config/rs6000/crtdbase.S: New file.
2858 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2859
2860 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2861
2862 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2863 Add support for call0 ABI.
2864
2865 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
2866
2867 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2868
2869 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2870
2871 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2872 (__GTHREAD_HAS_COND): Likewise.
2873 (__gthread_t): Likewise.
2874 (__gthread_cond_t): Likewise.
2875 (__gthread_time_t): Likewise.
2876 (__GTHREAD_MUTEX_INIT): Likewise.
2877 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2878 (__GTHREAD_COND_INIT): Likewise.
2879 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2880 (__GTHREAD_TIME_INIT): Likewise.
2881 (__gthread_create): Likewise.
2882 (__gthread_join): Likewise.
2883 (__gthread_detach): Likewise.
2884 (__gthread_equal): Likewise.
2885 (__gthread_self): Likewise.
2886 (__gthread_yield): Likewise.
2887 (__gthread_cond_broadcast): Likewise.
2888 (__gthread_cond_signal): Likewise.
2889 (__gthread_cond_wait): Likewise.
2890 (__gthread_cond_timedwait): Likewise.
2891 (__gthread_cond_wait_recursive): Likewise.
2892 (__gthread_cond_destroy): Likewise.
2893 (rtems_gxx_once): Delete.
2894 (rtems_gxx_key_create): Likewise.
2895 (rtems_gxx_key_delete): Likewise.
2896 (rtems_gxx_getspecific): Likewise.
2897 (rtems_gxx_setspecific): Likewise.
2898 (rtems_gxx_mutex_init): Likewise.
2899 (rtems_gxx_mutex_destroy): Likewise.
2900 (rtems_gxx_mutex_lock): Likewise.
2901 (rtems_gxx_mutex_trylock): Likewise.
2902 (rtems_gxx_mutex_unlock): Likewise.
2903 (rtems_gxx_recursive_mutex_init): Likewise.
2904 (rtems_gxx_recursive_mutex_lock): Likewise.
2905 (rtems_gxx_recursive_mutex_trylock): Likewise.
2906 (rtems_gxx_recursive_mutex_unlock): Likewise.
2907 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2908 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2909 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2910 (__gthread_once): Likewise.
2911 (__gthread_key_create): Likewise.
2912 (__gthread_key_delete): Likewise.
2913 (__gthread_getspecific): Likewise.
2914 (__gthread_setspecific): Likewise.
2915 (__gthread_key_t): Use <pthread.h> type.
2916 (__gthread_once_t): Likewise
2917 (__gthread_mutex_t): Use <sys/lock.h> type.
2918 (__gthread_recursive_mutex_t): Likewise
2919 (__gthread_mutex_lock): Use <sys/lock.h> function.
2920 (__gthread_mutex_trylock): Likewise.
2921 (__gthread_mutex_timedlock): Likewise.
2922 (__gthread_mutex_unlock): Likewise.
2923 (__gthread_mutex_destroy): Likewise.
2924 (__gthread_recursive_mutex_lock): Likewise.
2925 (__gthread_recursive_mutex_trylock): Likewise.
2926 (__gthread_recursive_mutex_timedlock): Likewise.
2927 (__gthread_recursive_mutex_unlock): Likewise.
2928 (__gthread_recursive_mutex_destroy): Likewise.
2929
2930 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2931
2932 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2933 context->sp instead of context->cfa.
2934
2935 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2936
2937 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2938 with unwind-dw2-fde-dip.
2939
2940 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2941
2942 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2943 CALL12 followed by series of ENTRY to spill windowed registers.
2944 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2945 instead of making linux spill syscall.
2946
2947 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2948
2949 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2950 (get_intel_cpu): Likewise.
2951
2952 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2953
2954 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2955 (get_intel_cpu): Add Knights Landing support.
2956
2957 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
2958
2959 PR target/66954
2960 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2961 (get_available_features): Handle FEATURE_PCLMUL.
2962
2963 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2964
2965 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2966 Broadwell.
2967
2968 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
2969
2970 PR target/66954
2971 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2972 (get_available_features): Handle FEATURE_AES.
2973
2974 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2975
2976 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2977 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2978
2979 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2980
2981 * offloadstuff.c: Constify host data.
2982
2983 2015-07-17 Jan Beulich <jbeulich@suse.com>
2984
2985 * config/t-softfp: Split up "else ifneq".
2986
2987 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2988 Cesar Philippidis <cesar@codesourcery.com>
2989 Chung-Lin Tang <cltang@codesourcery.com>
2990
2991 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2992 for __nios2_arch__ level.
2993
2994 2015-07-13 John Marino <gnugcc@marino.st>
2995
2996 * config/i386/t-dragonfly: New.
2997
2998 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
2999
3000 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3001 better match light-weight syscall argument order.
3002 (__kernel_cmpxchg2): Likewise.
3003 Adjust callers.
3004
3005 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3006
3007 * config.host: Support i[34567]86-*-elfiamcu target.
3008 * config/t-softfp-sfdftf: New file.
3009 * config/i386/32/t-iamcu: Likewise.
3010 * configure: Regenerated.
3011
3012 2015-06-23 James Lemke <jwlemke@codesourcery.com>
3013
3014 libgcc/config/arm/
3015 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3016
3017 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3018
3019 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3020
3021 2015-05-27 John Marino <gnugcc@marino.st>
3022
3023 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3024 md_unwind_header
3025 * config/i386/freebsd-unwind.h: New.
3026
3027 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
3028
3029 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3030 i386/t-crtfm to tmake_file.
3031 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3032 (set_fast_math): Use set_fast_math_sse for SSE targets.
3033 * config/i386/t-crtfm: Remove.
3034
3035 2015-05-21 Alan Modra <amodra@gmail.com>
3036
3037 PR libgcc/66225
3038 * config/rs6000/morestack.S: Remove ".abiversion 1".
3039
3040 2015-05-20 Alan Modra <amodra@gmail.com>
3041
3042 * config/rs6000/morestack.S: New.
3043 * config/rs6000/t-stack-rs6000: New.
3044 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3045 to tmake_file.
3046 * generic-morestack.c: Don't build for powerpc 32-bit.
3047
3048 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3049
3050 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3051 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3052
3053 2015-05-16 James Bowman <james.bowman@ftdichip.com>
3054
3055 * config.host: FT32 target added.
3056 * config/ft32/*: New files for FT32 target.
3057
3058 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3059
3060 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3061 New macros.
3062 * config/arm/ieee754-df.S: Add CFI directives.
3063 * config/arm/ieee754-sf.S: Add CFI directives.
3064
3065 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3066
3067 * configure.ac: Include config/sjlj.m4.
3068 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3069 * config.in: Regenerate.
3070 * configure: Likewise.
3071 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3072
3073 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
3074
3075 * libgcov-util.c: Add space between string literal and macro name.
3076
3077 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3078 Chris Jones <chrisj@nvidia.com>
3079 Joshua Conner <jconner@nvidia.com>
3080
3081 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3082 (arm*-*-uclinux*): Likewise.
3083 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3084 * config/arm/crtfastmath.c: New file.
3085
3086 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3087
3088 * Makefile.in (real_host_noncanonical): New variable.
3089 (libsubdir): Use it.
3090 * configure.ac (real_host_noncanonical): Compute. Remove special
3091 case for intelmicemul.
3092 * configure: Regenerate.
3093
3094 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3095
3096 * config/frv/elf-lib.h: New file.
3097 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3098 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3099 to tm_file.
3100
3101 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3102
3103 * config/frv/frvbengin.c: Do not include defaults.h
3104 * config/frv/frvend.c: Ditto.
3105
3106 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3107
3108 * config.host: Add h8300-*-linux
3109 * config/h8300/t-linux: New file.
3110 * config/h8300/lib1funs.s: Change symbol prefix.
3111 * config/h8300/sfp-machine.h: 64bit double support.
3112
3113 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3114 Szabolcs Nagy <szabolcs.nagy@arm.com>
3115
3116 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3117 Linux if target provides dl_iterate_phdr.
3118
3119 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3120
3121 PR target/65612
3122 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3123 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3124 (__cpu_indicator_init@GCC_4.8.0): New.
3125 (__cpu_model@GCC_4.8.0): Likewise.
3126 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3127 -DUSE_ELF_SYMVER.
3128
3129 2015-04-16 Nick Clifton <nickc@redhat.com>
3130
3131 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3132 and __modhi3 functions.
3133 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3134 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3135
3136 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3137
3138 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3139 do-while loop as macro body to avoid warnings.
3140
3141 2015-04-10 Jakub Jelinek <jakub@redhat.com>
3142 Iain Sandoe <iain@codesourcery.com>
3143
3144 PR target/65351
3145 * configure: Regenerate.
3146
3147 2015-04-07 Jakub Jelinek <jakub@redhat.com>
3148 Iain Sandoe <iain@codesourcery.com>
3149
3150 PR target/65351
3151 * configure: Regenerate.
3152
3153 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3154
3155 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3156
3157 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
3158
3159 Implement call0 ABI for xtensa
3160 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3161 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3162 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3163 use ret in call0 ABI.
3164 * config/xtensa/t-windowed: New file.
3165 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3166 * libgcc/configure: Regenerated.
3167 * libgcc/configure.ac: Check if xtensa target is configured for
3168 windowed ABI and thus needs to use custom unwind code.
3169
3170 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
3171
3172 PR libgcc/64885
3173 * gthr-single.h: Use __unused__ attribute instead of unused.
3174 * config/gthr-vxworks.h: Likewise.
3175 * config/i386/gthr-win32.h: Likewise.
3176
3177 2015-02-27 Kai Tietz <ktietz@redhat.com>
3178
3179 PR target/65038
3180 * config.in: Regenerated.
3181 * configure: Likewise.
3182 * configure.ac (AC_HEADER_STDC): Added explicit.
3183 (AC_CHECK_HEADERS): Check for default headers plus
3184 for ftw.h header.
3185 * libgcov-util.c (gcov_read_profile_dir): Disable use
3186 of ftw-function, if header is not found.
3187 (ftw_read_file): Likewise.
3188
3189 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3190
3191 PR target/65181
3192 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3193 -Dinhibit_libc.
3194
3195 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3196
3197 * config/arm/bpabi.S (test_div_by_zero): Make label names
3198 consistent between thumb2 and arm mode cases. Separate the
3199 signed comparison on the high word of the numerator from the
3200 unsigned comparison on the low word.
3201 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3202 signed comparison.
3203
3204 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3205
3206 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3207 and <string.h>.
3208 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3209
3210 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3211
3212 PR gcov-profile/61889
3213 * libgcov-driver-system.c: undefine clashing macro for mkdir.
3214
3215 2015-02-02 Nick Clifton <nickc@redhat.com>
3216
3217 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3218 rounding up the fraction.
3219
3220 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
3221
3222 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3223 oldval and newval to const void *. Fix typo.
3224 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3225 (FETCH_AND_OP_WORD): Likewise.
3226 (OP_AND_FETCH_WORD): Likewise.
3227 (COMPARE_AND_SWAP_2): Likewise.
3228 (__sync_val_compare_and_swap_4): Likewise.
3229 (__sync_lock_test_and_set_4): Likewise.
3230 (SYNC_LOCK_RELEASE_2): Likewise.
3231 Remove support for long long atomic operations.
3232
3233 2015-01-27 Caroline Tice <cmtice@google.com>
3234
3235 Committing VTV Cywin/Ming patch for Patrick Wollgast
3236 * Makefile.in: Move rules to build vtv_*.o out of the check
3237 for CUSTOM_CRTSTUFF.
3238 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3239 i[34567]86-*-mingw*)
3240 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3241 enable_vtable_verify.
3242
3243 2015-01-27 Nick Clifton <nickc@redhat.com>
3244
3245 * config/rl78/cmpsi2.S: Use function start and end macros.
3246 (__gcc_bcmp): New function.
3247 * config/rl78/lshrsi3.S: Use function start and end macros.
3248 * config/rl78/mulsi3.S: Add support for G10.
3249 (__mulqi3): New function for G10.
3250 * config/rl78/signbit.S: Use function start and end macros.
3251 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3252 fpmath-sf.S.
3253 (LIB2FUNCS_EXCLUDE): Define.
3254 (LIB2FUNCS_ST): Define.
3255 * config/rl78/trampoline.S: Use function start and end macros.
3256 * config/rl78/vregs.h (START_FUNC): New macro.
3257 (START_ANOTHER_FUNC): New macro.
3258 (END_FUNC): New macro.
3259 (END_ANOTHER_FUNC): New macro.
3260 * config/rl78/bit-count.S: New file. Contains assembler
3261 implementations of the bit counting functions: ___clzhi2,
3262 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3263 __paritysi2, __popcounthi2 and __popcountsi2.
3264 * config/rl78/fpbit-sf.S: New file. Contains assembler
3265 implementationas of the math functions: __negsf2, __cmpsf2,
3266 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3267 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3268 * config/rl78/fpmath-sf.S: New file. Contains assembler
3269 implementations of the math functions: __subsf3, __addsf3,
3270 __mulsf3 and __divsf3
3271
3272 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3273
3274 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3275 Add i386/elf-lib.h to tm_file.
3276 * config/i386/elf-lib.h: Fix comment.
3277 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3278 && __sun__ && __svr4__]: Remove workaround.
3279
3280 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3281
3282 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3283 FEATURE_BMI2.
3284 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3285
3286 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3287
3288 * config/i386/cpuinfo.c (processor_subtypes): Add
3289 INTEL_COREI7_BROADWELL.
3290 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3291 model numbers.
3292
3293 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
3294
3295 * config/i386/elf-lib.h: New file.
3296 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3297 Wrap definition in #ifdef __i386__.
3298 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3299 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3300 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3301 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3302 to tm_file.
3303
3304 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3305
3306 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3307 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3308
3309 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3310
3311 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3312 Update rt_sigframe format and address for current Nios II
3313 Linux conventions.
3314
3315 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3316
3317 * config.host (arm*-*-freebsd*): Add new configuration for
3318 arm*-*-freebsd*.
3319 * config/arm/freebsd-atomic.c: New file.
3320 * config/arm/t-freebsd: Likewise.
3321 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3322 'PC-relative indirect' OS's.
3323
3324 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3325
3326 * config.host: Add Visium support.
3327 * config/visium: New directory.
3328
3329 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3330
3331 Update copyright years.
3332
3333 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3334
3335 * config.host: Support mipsisa32r6 and mipsisa64r6.
3336 * config/mips/mips16.S: Do not build for R6.
3337
3338 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3339
3340 * config/sh/crt.h: New.
3341 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3342 symbols.
3343 * config/sh/crt1.S: Likewise.
3344
3345 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
3346
3347 PR libgcc/63832
3348 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3349 func_ptr *dtor_list temporary variable to avoid "array subscript
3350 is above array bounds" warnings.
3351
3352 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
3353
3354 * Makefile.in (with_aix_soname): Define.
3355 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3356 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3357 * configure: Recreate.
3358
3359 2014-12-05 Olivier Hainque <hainque@adacore.com>
3360
3361 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3362 now provided by defaults.h.
3363
3364 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3365
3366 PR target/55351
3367 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3368 whether it's defined.
3369
3370 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3371
3372 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3373 * config/i386/cpuinfo.c (get_available_features): Detect it.
3374
3375 2014-11-27 Tony Wang <tony.wang@arm.com>
3376
3377 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3378 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3379 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3380
3381 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3382
3383 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3384
3385 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
3386
3387 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3388 instead.
3389
3390 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3391 John David Anglin <danglin@gcc.gnu.org>
3392
3393 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3394 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3395 (OP_AND_FETCH_2): Likewise.
3396 (COMPARE_AND_SWAP_2): Likewise.
3397 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3398 (SYNC_LOCK_RELEASE_2): Likewise.
3399 (SUBWORD_SYNC_OP): Remove.
3400 (SUBWORD_VAL_CAS): Likewise.
3401 (SUBWORD_BOOL_CAS): Likewise.
3402 (FETCH_AND_OP_WORD): Update.
3403 Consistently use signed types.
3404
3405 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3406 Thomas Schwinge <thomas@codesourcery.com>
3407 Ilya Verbin <ilya.verbin@intel.com>
3408 Andrey Turetskiy <andrey.turetskiy@intel.com>
3409
3410 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3411 (crtoffloadend$(objext)): Likewise.
3412 * configure: Regenerate.
3413 * configure.ac (accel_dir_suffix): Compute new variable.
3414 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3415 if enable_offload_targets is not empty.
3416 * offloadstuff.c: New file.
3417
3418 2014-11-13 Nick Clifton <nickc@redhat.com>
3419
3420 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3421 Use START_FUNC and END_FUNC macros to enable linker garbage
3422 collection.
3423 * config/rl78/divmodqi.S: Likewise.
3424 * config/rl78/divmodsi.S: Likewise.
3425 * config/rl78/mulsi3.S: Likewise.
3426 * config/rl78/lib2div.c: Remove G10 functions.
3427 * config/rl78/lib2muls.c: Likewise.
3428 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3429 * config/rl78/vregs.h (START_FUNC): New macro.
3430 (END_FUNC): New macro.
3431
3432 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3433
3434 * config/mips/mips16.S: Set .module when supported. Update O32
3435 FP64 calling convention and use for FPXX when possible. Add FPXX
3436 calling convention fallback case.
3437
3438 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3439
3440 * config.host: Handle nvptx-*-*.
3441 * shared-object.mk (as-flags-$o): Define.
3442 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3443 -xassembler-with-cpp.
3444 * static-object.mk: Identical changes.
3445 * config/nvptx/t-nvptx: New file.
3446 * config/nvptx/crt0.s: New file.
3447 * config/nvptx/free.asm: New file.
3448 * config/nvptx/malloc.asm: New file.
3449 * config/nvptx/realloc.c: New file.
3450
3451 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3452
3453 * Makefile.in (libgcc.map.in): New target.
3454 (libgcc.map): Use libgcc.map.in.
3455 * config/t-softfp (softfp_compat): New variable to be set by
3456 users.
3457 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3458 variables.
3459 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3460 directory.
3461 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3462 that use compat symbols and disable all code unless [SHARED].
3463 * config/t-softfp-compat: New file.
3464 * find-symver.awk: New file.
3465 * configure.ac (--with-glibc-version): New configure option.
3466 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3467 * configure: Regenerate.
3468 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3469 soft-float and e500.
3470
3471 2014-10-29 Joseph Myers <joseph@codesourcery.com>
3472
3473 * config/t-hardfp (hardfp_exclusions): Document new variable for
3474 user to define.
3475 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3476 * config/t-softfp (softfp_extras): Document new variable for user
3477 to define.
3478 (softfp_func_list): Add functions from $(softfp_extras).
3479 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3480 * config.host (powerpc*-*-linux*): For e500v1, use
3481 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3482 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3483 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3484
3485 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
3486
3487 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3488 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3489 memory read accesses are ok.
3490
3491 2014-10-25 Joseph Myers <joseph@codesourcery.com>
3492
3493 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3494 * configure: Regenerate.
3495 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3496 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3497 of soft-fp for 32-bit classic hard float. Do not use
3498 t-softfp-excl for soft float.
3499
3500 2014-10-22 Joseph Myers <joseph@codesourcery.com>
3501
3502 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3503 configurations.
3504 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3505 Remove variables.
3506
3507 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
3508
3509 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3510 introduced with 2014-10-21 trunk r216525.
3511
3512 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
3513 Vidya Praveen <vidya.praveen@atmel.com>
3514 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3515 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3516 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
3517
3518 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3519 order.
3520
3521 Updated library functions for AVRTINY arch.
3522 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3523 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3524 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3525 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3526 wsubi/wadi macors.
3527 (__mulsi3_helper): Update stack, preserve callee saved regs and
3528 argument from stack. Restore callee save registers.
3529 (__mulpsi3): Likewise.
3530 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3531 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
3532 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
3533 AVRTINY.
3534 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3535 (__do_copy_data): Added new definition for AVRTINY.
3536 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3537 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3538 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3539 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3540 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3541 macors.
3542 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
3543 AVRTINY.
3544
3545 Fix broken long multiplication on tiny arch.
3546
3547 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3548
3549 * soft-fp/double.h: Update from glibc.
3550 * soft-fp/eqdf2.c: Likewise.
3551 * soft-fp/eqsf2.c: Likewise.
3552 * soft-fp/eqtf2.c: Likewise.
3553 * soft-fp/extenddftf2.c: Likewise.
3554 * soft-fp/extended.h: Likewise.
3555 * soft-fp/extendsfdf2.c: Likewise.
3556 * soft-fp/extendsftf2.c: Likewise.
3557 * soft-fp/extendxftf2.c: Likewise.
3558 * soft-fp/gedf2.c: Likewise.
3559 * soft-fp/gesf2.c: Likewise.
3560 * soft-fp/getf2.c: Likewise.
3561 * soft-fp/ledf2.c: Likewise.
3562 * soft-fp/lesf2.c: Likewise.
3563 * soft-fp/letf2.c: Likewise.
3564 * soft-fp/op-1.h: Likewise.
3565 * soft-fp/op-2.h: Likewise.
3566 * soft-fp/op-4.h: Likewise.
3567 * soft-fp/op-8.h: Likewise.
3568 * soft-fp/op-common.h: Likewise.
3569 * soft-fp/quad.h: Likewise.
3570 * soft-fp/single.h: Likewise.
3571 * soft-fp/soft-fp.h: Likewise.
3572 * soft-fp/unorddf2.c: Likewise.
3573 * soft-fp/unordsf2.c: Likewise.
3574 * soft-fp/unordtf2.c: Likewise.
3575 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3576 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3577 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3578 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3579 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3580 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3581 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3582 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3583 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3584 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3585
3586 2014-10-08 Rong Xu <xur@google.com>
3587
3588 * libgcov-util.c (read_gcda_file): Fix format.
3589 (find_match_gcov_info): Ditto.
3590 (calculate_2_entries): New.
3591 (compute_one_gcov): Ditto.
3592 (gcov_info_count_all_cold): Ditto.
3593 (gcov_info_count_all_zero): Ditto.
3594 (extract_file_basename): Ditto.
3595 (get_file_basename): Ditto.
3596 (set_flag): Ditto.
3597 (matched_gcov_info): Ditto.
3598 (calculate_overlap): Ditto.
3599 (gcov_profile_overlap): Ditto.
3600 * libgcov-driver.c (compute_summary): Make
3601 it avavilable for external calls.
3602
3603 2014-10-06 Rong Xu <xur@google.com>
3604
3605 * Makefile.in: Ditto.
3606 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3607 (gcov_sort_icall_topn_counter): Ditto.
3608 (gcov_sort_topn_counter_arrays): Ditto.
3609 (dump_one_gcov): Sort indirect_call topn counters.
3610 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3611 function.
3612 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3613 utility function.
3614 (__gcov_indirect_call_topn_profiler): New profiler function.
3615 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3616 * libgcov.h: New decls.
3617
3618 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3619
3620 * config.host: Remove support for score-*.
3621
3622 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3623
3624 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3625 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3626 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3627 __LIBGCC_XF_MANT_DIG__.
3628 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3629 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3630 __LIBGCC_TF_MANT_DIG__.
3631 * libgcc2.c (NOTRUNC): Define in terms of
3632 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3633 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3634
3635 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3636
3637 PR target/63312
3638 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3639 New macros.
3640
3641 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
3642
3643 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3644 override USE_PT_GNU_EH_FRAME.
3645 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3646 check USE_EH_FRAME_REGISTRY_ALWAYS against
3647 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3648 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3649 variable for substituted force_explicit_eh_registry.
3650 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3651 * configure.ac (explicit-exception-frame-registration):
3652 New AC_ARG_ENABLE.
3653 * configure: Regenerate.
3654
3655 2014-09-19 Olivier Hainque <hainque@adacore.com>
3656
3657 * config.host (powerpc-wrs-vxworksmils): New configuration,
3658 same as vxworksae.
3659
3660 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3661
3662 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3663
3664 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3665
3666 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3667 bits not set bits as indicating trapping exceptions.
3668
3669 2014-09-17 Nathan sidwell <nathan@acm.org>
3670
3671 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3672 (LIBGCOV_DRIVER): ... here.
3673 * libgcov-driver.c (gcov_master): New.
3674 (gcov_exit): Remove from master chain.
3675 (__gcov_init): Add to master chain if version compatible. Don't
3676 clear the version.
3677 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3678 (gcov_reset_int): Clear master chain, if compatible.
3679 (gcov_dump_int): New internal interface. Dump master chain, if
3680 compatible.
3681 (gcov_dump): Alias for gcov_dump_int.
3682 * libgcov.h (struct gcov_root): Add next and prev fields.
3683 (struct gcov_master): New struct.
3684 (__gcov_master): New.
3685 (gcov_dump_int): Declare.
3686
3687 2014-09-17 Olivier Hainque <hainque@adacore.com>
3688
3689 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3690 and crtbegin.o + crtend.o to extra_parts.
3691
3692 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3693
3694 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3695 __LIBGCC_HAS_SF_MODE__.
3696 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3697 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3698 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3699 * config/libbid/bid_gcc_intrinsics.h
3700 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3701 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3702 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3703 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3704 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3705 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3706
3707 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
3708
3709 PR target/63223
3710 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3711 and R24 as needed. Make work for all devices and .text locations.
3712 (__do_global_ctors, __do_global_dtors): Use word addresses.
3713 (__tablejump__, __tablejump_elpm__): Remove functions.
3714 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3715 Add _tablejump2.
3716 (XICALL, XIJMP): New macros.
3717
3718 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3719 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3720
3721 * config.host (aarch64*): Include crtfastmath.o and
3722 t-crtfm.
3723 * config/aarch64/crtfastmath.c: New file.
3724
3725 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3726
3727 * config.host: Remove picochip support.
3728 * config/picochip/adddi3.S: Remove.
3729 * config/picochip/ashlsi3.S: Remove.
3730 * config/picochip/ashlsi3.c: Remove.
3731 * config/picochip/ashrsi3.S: Remove.
3732 * config/picochip/ashrsi3.c: Remove.
3733 * config/picochip/clzsi2.S: Remove.
3734 * config/picochip/cmpsi2.S: Remove.
3735 * config/picochip/divmod15.S: Remove.
3736 * config/picochip/divmodhi4.S: Remove.
3737 * config/picochip/divmodsi4.S: Remove.
3738 * config/picochip/lib1funcs.S: Remove.
3739 * config/picochip/longjmp.S: Remove.
3740 * config/picochip/lshrsi3.S: Remove.
3741 * config/picochip/lshrsi3.c: Remove.
3742 * config/picochip/parityhi2.S: Remove.
3743 * config/picochip/popcounthi2.S: Remove.
3744 * config/picochip/setjmp.S: Remove.
3745 * config/picochip/subdi3.S: Remove.
3746 * config/picochip/t-picochip: Remove.
3747 * config/picochip/ucmpsi2.S: Remove.
3748 * config/picochip/udivmodhi4.S: Remove.
3749 * config/picochip/udivmodsi4.S: Remove.
3750
3751 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3752
3753 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3754 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3755 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3756 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3757 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3758 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3759 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3760 defined and LIBGCC2_HAS_DF_MODE is defined.
3761 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3762 defined and LIBGCC2_HAS_XF_MODE is defined.
3763 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3764 defined and LIBGCC2_HAS_TF_MODE is defined.
3765
3766 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3767
3768 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3769 and ROUND_TOWARDS_ZERO conditionals.
3770
3771 2014-09-07 Nathan sidwell <nathan@acm.org>
3772
3773 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3774 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3775
3776 2014-09-05 Joseph Myers <joseph@codesourcery.com>
3777
3778 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3779 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3780 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3781 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3782 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3783 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3784 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3785 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3786 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3787 (DWARF_FRAME_REGISTERS): Change all uses to
3788 __LIBGCC_DWARF_FRAME_REGISTERS__.
3789 (EH_RETURN_STACKADJ_RTX): Change all uses to
3790 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3791 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3792 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3793 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3794 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3795 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3796 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3797 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3798 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3799 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3800 __LIBGCC_STACK_POINTER_REGNUM__.
3801 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3802 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3803 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3804 to __LIBGCC_STACK_POINTER_REGNUM__.
3805 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3806 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3807 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3808 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3809 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3810 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3811 (STACK_POINTER_REGNUM): Change all uses to
3812 __LIBGCC_STACK_POINTER_REGNUM__.
3813 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3814 use to __LIBGCC_STACK_POINTER_REGNUM__.
3815 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3816 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3817 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3818 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3819 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3820 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3821 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3822 to __LIBGCC_STACK_POINTER_REGNUM__.
3823 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3824 Remove conditional definition.
3825 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3826 __LIBGCC_TEXT_SECTION_ASM_OP__.
3827 (EH_FRAME_SECTION_NAME): Change all uses to
3828 __LIBGCC_EH_FRAME_SECTION_NAME__.
3829 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3830 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3831 (CTORS_SECTION_ASM_OP): Change all uses to
3832 __LIBGCC_CTORS_SECTION_ASM_OP__.
3833 (DTORS_SECTION_ASM_OP): Change all uses to
3834 __LIBGCC_DTORS_SECTION_ASM_OP__.
3835 (JCR_SECTION_NAME): Change all uses to
3836 __LIBGCC_JCR_SECTION_NAME__.
3837 (INIT_SECTION_ASM_OP): Change all uses to
3838 __LIBGCC_INIT_SECTION_ASM_OP__.
3839 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3840 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3841 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3842 __LIBGCC_STACK_GROWS_DOWNWARD__.
3843 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3844 __LIBGCC_INIT_SECTION_ASM_OP__.
3845 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3846 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3847 (EH_FRAME_SECTION_NAME): Change all uses to
3848 __LIBGCC_EH_FRAME_SECTION_NAME__.
3849 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3850 definitions. Change all uses to
3851 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3852 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3853 __LIBGCC_STACK_GROWS_DOWNWARD__.
3854 (DWARF_FRAME_REGISTERS): Change all uses to
3855 __LIBGCC_DWARF_FRAME_REGISTERS__.
3856 (EH_RETURN_STACKADJ_RTX): Change all uses to
3857 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3858 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3859 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3860 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3861 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3862 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3863
3864 2014-09-02 Nathan sidwell <nathan@acm.org>
3865
3866 * libgcov-interface.c (STRONG_ALIAS): New.
3867 (__gcov_flush): Call __gcov_reset_int.
3868 (__gcov_reset): Strong alias for ...
3869 (__gcov_reset_ing): ... this renamed hidden version.
3870 * libgcov.h (__gcov_reset_int): New declaration.
3871
3872 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3873
3874 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3875 call from here...
3876 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3877 (__dso_handle): Define on Cygwin.
3878 * config/i386/t-cygming (crtbeginS.o): New rule.
3879 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3880
3881 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3882 declaration syntax.
3883
3884 2014-08-13 Steve Ellcey <sellcey@mips.com>
3885
3886 * crtstuff.c: Undef caddr_t.
3887
3888 2014-08-12 Steve Ellcey <sellcey@mips.com>
3889
3890 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3891
3892 2014-08-07 Nathan Sidwell <nathan@acm.org>
3893
3894 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3895 (LIBGCOV_DRIVER): ... to here.
3896 * libgcov.h (gcov_do_dump): New #define.
3897 (struct gcov_root): New.
3898 (__gcov_root): New declaration.
3899 (__gcov_dump_one): Declare.
3900 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3901 run_accounted): Delete.
3902 (gcov_compute_histogram): Add LIST argument, adjust.
3903 (compute_summary): Adjust gcov_compute_histogram call.
3904 (gcov_do_dump): Not hidden, static in libgcov.
3905 (gcov_clear): Move to interface.c.
3906 (__gcov_dump_one): New, broken out of ...
3907 (gcov_exit): ... here. Make static.
3908 (__gcov_root): New.
3909 (__gcov_init): Adjust.
3910 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3911 declarations.
3912 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3913 (gcov_clear): Moved from driver.c. Add LIST argument.
3914 (__gcov_reset): Adjust for changed interfaces.
3915 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3916
3917 2014-08-04 Rohit <rohitarulraj@freescale.com>
3918
3919 PR target/60102
3920 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
3921 based on change in SPE high register numbers and 3 HTM registers.
3922
3923 2014-08-01 Nathan Sidwell <nathan@acm.org>
3924
3925 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3926 LIBGCOV_INTERFACE): Reformat.
3927 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3928 IN_GCOV_TOOL.
3929 * libgcov-interface.c: Reformat some comments.
3930 (__gcov_flush_mx): Add declaration. Tidy up definition.
3931
3932 2014-07-31 Alan Modra <amodra@gmail.com>
3933 Peter Bergner <bergner@vnet.ibm.com>
3934
3935 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3936 (pack_ldouble): New function.
3937 (__gcc_qadd): Use it.
3938 (__gcc_qmul): Likewise.
3939 (__gcc_qdiv): Likewise.
3940 (__gcc_qneg): Likewise.
3941 (__gcc_stoq): Likewise.
3942 (__gcc_dtoq): Likewise.
3943
3944 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3945
3946 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3947 (__tpf_eh_return): Add original return address as second parameter.
3948 Handle cases where unwinder routines were called directly, instead
3949 of from within the C++ library.
3950
3951 2014-07-29 Nathan Sidwell <nathan@acm.org>
3952
3953 * libgcov.h: Move renaming of entry points to lib gcov specific
3954 portion.
3955 (gcov_do_dump): New rename.
3956 (gcov_rewrite): Remove inline, make HIDDEN.
3957 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3958 (gcov_exit_compute_summary): Rename to ...
3959 (compute_summary): ... here. Add LIST argument.
3960 (gcov_exit_merge_gcda): Rename to ...
3961 (merge_one_data): ... here.
3962 (gcov_exit_write_gcda): Rename to ...
3963 (write_one_data): ... here.
3964 (gcov_exit_merge_summary): Rename to ...
3965 (merge_summary): Add RUN_COUNTED argument.
3966 (gcov_exit_dump_gcov): Rename to ...
3967 (dump_one_gcov): Add RUN_COUNTED argument.
3968 (gcov_do_dump): New function, broken out of ...
3969 (gcov_exit): ... here. Call it.
3970
3971 2014-07-27 Anthony Green <green@moxielogic.com>
3972
3973 * config.host: Add moxiebox configuration suppport.
3974
3975 2014-07-27 Nathan Sidwell <nathan@acm.org>
3976
3977 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3978 (struct gcov_filename): ... here. Include buffer and max length
3979 fields.
3980 (gcov_max_filename): Remove.
3981 (gi_filename): Remove.
3982 (gcov_exit_compute_summary): Compute max filename here.
3983 (gcov_exit_merge_gcda): Add filename parm, adjust.
3984 (gcov_exit_merge_summary): Likewise.
3985 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3986 (gcov_exit): Likewise.
3987 (__gcov_init): Don't calculate max length here.
3988 * libgcov_util.c (max_filename_len): Remove.
3989 (read_gcda_file): Don't calculate max length here.
3990 (gcov_read_profile_dir): Don't propagate here.
3991 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3992 struct gcov_filename changes.
3993 (gcov_exit_open_gcda_file): Likewise.
3994
3995 2014-07-25 Nathan Sidwell <nathan@acm.org>
3996
3997 * libgcov-driver.c (set_gcov_dump_complete,
3998 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3999 functions polluting user's namespace.
4000 (gcov_exit): Set variable directly.
4001 (gcov_clear): Reset variable directly.
4002 * libgcov-interface.c (get_gcov_dymp_complete,
4003 reset_gov_dump_complete): Remove declarations.
4004 (__gcov_reset, __gcov_dump): Don't call them.
4005
4006 2014-07-24 DJ Delorie <dj@redhat.com>
4007
4008 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
4009 (__gcc_deregister_frame): Move logic to detect deregister function
4010 to ...
4011 (__gcc_register_frame): here, so it's consistent with the register
4012 logic.
4013
4014 2014-07-23 Nathan Sidwell <nathan@acm.org>
4015
4016 * libgcov-driver.c (set_gcov_list): Remove.
4017 (gcov_list): Make non-static in GCOV_TOOL.
4018 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4019
4020 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
4021
4022 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4023 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4024 Don't use SYNC_LOCK_RELEASE for int type.
4025
4026 2014-07-14 Richard Biener <rguenther@suse.de>
4027
4028 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4029
4030 2014-07-11 Rong Xu <xur@google.com>
4031
4032 * libgcov-util.c (gcov_max_filename): Fix declartion.
4033
4034 2014-07-10 Rong Xu <xur@google.com>
4035
4036 Add gcov-tool: an offline gcda profile processing tool
4037 Support.
4038 * libgcov-driver.c (gcov_max_filename): Make available
4039 to gcov-tool.
4040 * libgcov-merge.c (__gcov_merge_add): Replace
4041 gcov_read_counter() with a Macro.
4042 (__gcov_merge_ior): Ditto.
4043 (__gcov_merge_time_profile): Ditto.
4044 (__gcov_merge_single): Ditto.
4045 (__gcov_merge_delta): Ditto.
4046 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4047 in the utility functions.
4048 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4049 gcov_list object link lists.
4050 (tag_function): Ditto.
4051 (tag_blocks): Ditto.
4052 (tag_arcs): Ditto.
4053 (tag_lines): Ditto.
4054 (tag_counters): Ditto.
4055 (tag_summary): Ditto.
4056 (read_gcda_finalize): Ditto.
4057 (read_gcda_file): Ditto.
4058 (ftw_read_file): Ditto.
4059 (read_profile_dir_init): Ditto.
4060 (gcov_read_profile_dir): Ditto.
4061 (gcov_read_counter_mem): Ditto.
4062 (gcov_get_merge_weight): Ditto.
4063 (merge_wrapper): A wrapper function that calls merging handler.
4064 (gcov_merge): Merge two gcov_info objects with weights.
4065 (find_match_gcov_info): Find the matched gcov_info in the list.
4066 (gcov_profile_merge): Merge two gcov_info object lists.
4067 (__gcov_add_counter_op): Process edge profile counter values.
4068 (__gcov_ior_counter_op): Process IOR profile counter values.
4069 (__gcov_delta_counter_op): Process delta profile counter values.
4070 (__gcov_single_counter_op): Process single profile counter values.
4071 (fp_scale): Callback function for float-point scaling.
4072 (int_scale): Callback function for integer fraction scaling.
4073 (gcov_profile_scale): Scaling profile counters.
4074 (gcov_profile_normalize): Normalize profile counters.
4075 * libgcov.h: Add headers and functions for gcov-tool use.
4076 (gcov_get_counter): New.
4077 (gcov_get_counter_target): Ditto.
4078 (struct gcov_info): Make the functions field mutable in gcov-tool
4079 compilation.
4080
4081 2014-06-23 Kai Tietz <ktietz@redhat.com>
4082
4083 PR libgcc/61585
4084 * unwind-seh.c (_Unwind_GetGR): Check for proper
4085 index range.
4086 (_Unwind_SetGR): Likewise.
4087
4088 2014-05-22 Nick Clifton <nickc@redhat.com>
4089
4090 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4091 -mhwmult=none.
4092
4093 2014-05-22 Teresa Johnson <tejohnson@google.com>
4094
4095 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4096 include.
4097
4098 2014-05-20 John Marino <gnugcc@marino.st>
4099
4100 * config.host (*-*-dragonfly*): New target.
4101 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4102 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4103 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4104 * config/i386/dragonfly-unwind.h: New.
4105
4106 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4107
4108 PR libgcc/60166
4109 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4110 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4111
4112 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4113
4114 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4115 implementation.
4116
4117 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
4118
4119 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4120
4121 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4122
4123 PR libgcc/61097
4124 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4125 if --enable-shared.
4126
4127 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4128
4129 Work around for current cygwin32 build problems.
4130 * config/i386/cygming-crtbegin.c (__register_frame_info,
4131 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4132 functions only for 64-bit systems.
4133
4134 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4135
4136 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4137 (sigill_caught, sigill_hdlr): Remove.
4138
4139 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4140
4141 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4142 check.
4143 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4144 Solaris 9 single-threaded support.
4145 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4146 Solaris 9 single-threaded support. Add call_user_handler code
4147 sequences.
4148 (sparc_is_sighandler): Likewise.
4149
4150 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4151
4152 * config.host: Append t-floattodi to tmake_file depending on
4153 host_address.
4154
4155 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4156
4157 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
4158
4159 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
4160
4161 PR libgcc/60472
4162 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
4163 variable to avoid "array subscript is above array bounds" warnings.
4164 Use __builtin_expect when checking *jcr_list for NULL.
4165
4166 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4167
4168 PR libgcc/59339
4169 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4170 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4171 vtv_*.o to extra_parts if enable_vtable_verify.
4172
4173 2014-03-06 Nick Clifton <nickc@redhat.com>
4174
4175 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4176 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4177
4178 2014-02-28 Joey Ye <joey.ye@arm.com>
4179
4180 PR libgcc/60166
4181 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4182 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4183 Set to zero.
4184
4185 2014-02-24 Walter Lee <walt@tilera.com>
4186
4187 * config.host: Support "tilegx*" and "tilepro*" triplets.
4188 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4189 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4190
4191 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4192 Chung-Lin Tang <cltang@codesourcery.com>
4193
4194 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4195 * config/nios2/crti.S: Remove .file directive.
4196 * config/nios2/crtn.S: Likewise.
4197
4198 2014-02-18 Kai Tietz <ktietz@redhat.com>
4199 Jonathan Schleifer <js@webkeks.org>
4200
4201 PR objc/56870
4202 * unwind-seh.c (_GCC_specific_handler): Pass proper
4203 value to unwind-handler.
4204
4205 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4206
4207 * soft-fp/adddf3.c: Update from glibc.
4208 * soft-fp/addsf3.c: Likewise.
4209 * soft-fp/addtf3.c: Likewise.
4210 * soft-fp/divdf3.c: Likewise.
4211 * soft-fp/divsf3.c: Likewise.
4212 * soft-fp/divtf3.c: Likewise.
4213 * soft-fp/double.h: Likewise.
4214 * soft-fp/eqdf2.c: Likewise.
4215 * soft-fp/eqsf2.c: Likewise.
4216 * soft-fp/eqtf2.c: Likewise.
4217 * soft-fp/extenddftf2.c: Likewise.
4218 * soft-fp/extended.h: Likewise.
4219 * soft-fp/extendsfdf2.c: Likewise.
4220 * soft-fp/extendsftf2.c: Likewise.
4221 * soft-fp/extendxftf2.c: Likewise.
4222 * soft-fp/fixdfdi.c: Likewise.
4223 * soft-fp/fixdfsi.c: Likewise.
4224 * soft-fp/fixdfti.c: Likewise.
4225 * soft-fp/fixsfdi.c: Likewise.
4226 * soft-fp/fixsfsi.c: Likewise.
4227 * soft-fp/fixsfti.c: Likewise.
4228 * soft-fp/fixtfdi.c: Likewise.
4229 * soft-fp/fixtfsi.c: Likewise.
4230 * soft-fp/fixtfti.c: Likewise.
4231 * soft-fp/fixunsdfdi.c: Likewise.
4232 * soft-fp/fixunsdfsi.c: Likewise.
4233 * soft-fp/fixunsdfti.c: Likewise.
4234 * soft-fp/fixunssfdi.c: Likewise.
4235 * soft-fp/fixunssfsi.c: Likewise.
4236 * soft-fp/fixunssfti.c: Likewise.
4237 * soft-fp/fixunstfdi.c: Likewise.
4238 * soft-fp/fixunstfsi.c: Likewise.
4239 * soft-fp/fixunstfti.c: Likewise.
4240 * soft-fp/floatdidf.c: Likewise.
4241 * soft-fp/floatdisf.c: Likewise.
4242 * soft-fp/floatditf.c: Likewise.
4243 * soft-fp/floatsidf.c: Likewise.
4244 * soft-fp/floatsisf.c: Likewise.
4245 * soft-fp/floatsitf.c: Likewise.
4246 * soft-fp/floattidf.c: Likewise.
4247 * soft-fp/floattisf.c: Likewise.
4248 * soft-fp/floattitf.c: Likewise.
4249 * soft-fp/floatundidf.c: Likewise.
4250 * soft-fp/floatundisf.c: Likewise.
4251 * soft-fp/floatunditf.c: Likewise.
4252 * soft-fp/floatunsidf.c: Likewise.
4253 * soft-fp/floatunsisf.c: Likewise.
4254 * soft-fp/floatunsitf.c: Likewise.
4255 * soft-fp/floatuntidf.c: Likewise.
4256 * soft-fp/floatuntisf.c: Likewise.
4257 * soft-fp/floatuntitf.c: Likewise.
4258 * soft-fp/gedf2.c: Likewise.
4259 * soft-fp/gesf2.c: Likewise.
4260 * soft-fp/getf2.c: Likewise.
4261 * soft-fp/ledf2.c: Likewise.
4262 * soft-fp/lesf2.c: Likewise.
4263 * soft-fp/letf2.c: Likewise.
4264 * soft-fp/muldf3.c: Likewise.
4265 * soft-fp/mulsf3.c: Likewise.
4266 * soft-fp/multf3.c: Likewise.
4267 * soft-fp/negdf2.c: Likewise.
4268 * soft-fp/negsf2.c: Likewise.
4269 * soft-fp/negtf2.c: Likewise.
4270 * soft-fp/op-1.h: Likewise.
4271 * soft-fp/op-2.h: Likewise.
4272 * soft-fp/op-4.h: Likewise.
4273 * soft-fp/op-8.h: Likewise.
4274 * soft-fp/op-common.h: Likewise.
4275 * soft-fp/quad.h: Likewise.
4276 * soft-fp/single.h: Likewise.
4277 * soft-fp/soft-fp.h: Likewise.
4278 * soft-fp/subdf3.c: Likewise.
4279 * soft-fp/subsf3.c: Likewise.
4280 * soft-fp/subtf3.c: Likewise.
4281 * soft-fp/truncdfsf2.c: Likewise.
4282 * soft-fp/trunctfdf2.c: Likewise.
4283 * soft-fp/trunctfsf2.c: Likewise.
4284 * soft-fp/trunctfxf2.c: Likewise.
4285 * soft-fp/unorddf2.c: Likewise.
4286 * soft-fp/unordsf2.c: Likewise.
4287 * soft-fp/unordtf2.c: Likewise.
4288 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4289 macro.
4290 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4291 Likewise.
4292 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4293 Likewise.
4294 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4295 Likewise.
4296 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4297 Likewise.
4298 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4299 Likewise.
4300 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4301 Likewise.
4302 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4303 Likewise.
4304 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4305 Likewise.
4306 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4307 Likewise.
4308 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4309 Likewise.
4310 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4311 Likewise.
4312 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4313 Likewise.
4314 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4315 Likewise.
4316 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4317 Likewise.
4318 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4319 Likewise.
4320
4321 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4322
4323 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4324 cannot be represented.
4325 * config/s390/32/_fixsfdi.c: Likewise.
4326 * config/s390/32/_fixtfdi.c: Likewise.
4327 * config/s390/32/_fixunsdfdi.c: Likewise.
4328 * config/s390/32/_fixunssfdi.c: Likewise.
4329 * config/s390/32/_fixunstfdi.c: Likewise.
4330
4331 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4332
4333 * configure.ac (libgcc_cv_mips_hard_float): New.
4334 * configure: Regenerate.
4335 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4336 t-softfp-sfdf for hard-float targets.
4337 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4338 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4339 (softfp_truncations, softfp_exclude_libgcc2): New.
4340 * config/t-hardfp: New file.
4341 * config/t-hardfp-sfdf: Likewise.
4342 * config/hardfp.c: Likewise.
4343
4344 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4345
4346 * config.host: Include t-floattodi also for s390x.
4347 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4348 * config/s390/32/_fixsfdi.c: Likewise.
4349 * config/s390/32/_fixtfdi.c: Likewise.
4350 * config/s390/32/_fixunsdfdi.c: Likewise.
4351 * config/s390/32/_fixunssfdi.c: Likewise.
4352 * config/s390/32/_fixunstfdi.c: Likewise.
4353
4354 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4355
4356 PR target/59788
4357 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4358 (install-libgcc-unwind-map-forbuild): New target.
4359 (all): Depend on install-libgcc-unwind-map-forbuild.
4360 (install-libgcc-unwind-map): New target.
4361 (install): Depend on install-libgcc-unwind-map.
4362
4363 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4364
4365 * config/nios2/crti.S (_init): Initialize GOT pointer from
4366 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4367
4368 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4369
4370 * configure.ac: Check __mips64 when setting host_address.
4371 * configure: Regenerate.
4372 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4373 mips/t-mips64 and t-softfp.
4374 (mips*-*-linux*): Don't add mips/t-tpbit.
4375 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4376 (DPBIT, DPBIT_CFLAGS): Delete.
4377 * config/mips/sfp-machine.h: New file.
4378 * config/mips/t-mips64: Likewise.
4379 * config/mips/t-softfp-tf: Likewise.
4380 * config/mips/t-tpbit: Delete.
4381
4382 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4383
4384 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4385 as long long.
4386
4387 2014-01-25 Walter Lee <walt@tilera.com>
4388
4389 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4390 config.h or system.h.
4391 (bool) Define.
4392
4393 2014-01-25 Walter Lee <walt@tilera.com>
4394
4395 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4396 (post_atomic_barrier): Ditto.
4397 (__fetch_and_do): New macro.
4398 (__atomic_fetch_and_do): Use __fetch_and_do.
4399 (__sync_fetch_and_do): New macro.
4400 (__sync_fetch_and_add_4): New function.
4401 (__sync_fetch_and_sub_4): New function.
4402 (__sync_fetch_and_or_4): New function.
4403 (__sync_fetch_and_and_4): New function.
4404 (__sync_fetch_and_xor_4): New function.
4405 (__sync_fetch_and_nand_4): New function.
4406 (__sync_fetch_and_add_8): New function.
4407 (__sync_fetch_and_sub_8): New function.
4408 (__sync_fetch_and_or_8): New function.
4409 (__sync_fetch_and_and_8): New function.
4410 (__sync_fetch_and_xor_8): New function.
4411 (__sync_fetch_and_nand_8): New function.
4412 (__do_and_fetch): New macro.
4413 (__atomic_do_and_fetch): Use __do_and_fetch.
4414 (__sync_do_and_fetch): New macro.
4415 (__sync_add_and_fetch_4): New function.
4416 (__sync_sub_and_fetch_4): New function.
4417 (__sync_or_and_fetch_4): New function.
4418 (__sync_and_and_fetch_4): New function.
4419 (__sync_xor_and_fetch_4): New function.
4420 (__sync_nand_and_fetch_4): New function.
4421 (__sync_add_and_fetch_8): New function.
4422 (__sync_sub_and_fetch_8): New function.
4423 (__sync_or_and_fetch_8): New function.
4424 (__sync_and_and_fetch_8): New function.
4425 (__sync_xor_and_fetch_8): New function.
4426 (__sync_nand_and_fetch_8): New function.
4427 (__sync_exchange_methods): New macro.
4428 (__sync_val_compare_and_swap_4): New function.
4429 (__sync_bool_compare_and_swap_4): New function.
4430 (__sync_lock_test_and_test_4): New function.
4431 (__sync_val_compare_and_swap_8): New function.
4432 (__sync_bool_compare_and_swap_8): New function.
4433 (__sync_lock_test_and_test_8): New function.
4434 (__subword_cmpxchg_body): New macro.
4435 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4436 (__atomic_compare_exchange_2): Ditto.
4437 (__sync_subword_cmpxchg): New macro.
4438 (__sync_val_compare_and_swap_1): New function.
4439 (__sync_bool_compare_and_swap_1): New function.
4440 (__sync_val_compare_and_swap_2): New function.
4441 (__sync_bool_compare_and_swap_2): New function.
4442 (__atomic_subword): Rename to ...
4443 (__subword): ... New name.
4444 (__atomic_subword_fetch): Use __subword.
4445 (__sync_subword_fetch): New macro.
4446 (__sync_fetch_and_add_1): New function.
4447 (__sync_fetch_and_sub_1): New function.
4448 (__sync_fetch_and_or_1): New function.
4449 (__sync_fetch_and_and_1): New function.
4450 (__sync_fetch_and_xor_1): New function.
4451 (__sync_fetch_and_nand_1): New function.
4452 (__sync_fetch_and_add_2): New function.
4453 (__sync_fetch_and_sub_2): New function.
4454 (__sync_fetch_and_or_2): New function.
4455 (__sync_fetch_and_and_2): New function.
4456 (__sync_fetch_and_xor_2): New function.
4457 (__sync_fetch_and_nand_2): New function.
4458 (__sync_add_and_fetch_1): New function.
4459 (__sync_sub_and_fetch_1): New function.
4460 (__sync_or_and_fetch_1): New function.
4461 (__sync_and_and_fetch_1): New function.
4462 (__sync_xor_and_fetch_1): New function.
4463 (__sync_nand_and_fetch_1): New function.
4464 (__sync_add_and_fetch_2): New function.
4465 (__sync_sub_and_fetch_2): New function.
4466 (__sync_or_and_fetch_2): New function.
4467 (__sync_and_and_fetch_2): New function.
4468 (__sync_xor_and_fetch_2): New function.
4469 (__sync_nand_and_fetch_2): New function.
4470 (__atomic_subword_lock): Use __subword.
4471 (__sync_subword_lock): New macro.
4472 (__sync_lock_test_and_set_1): New function.
4473 (__sync_lock_test_and_set_2): New function.
4474
4475 2014-01-25 Walter Lee <walt@tilera.com>
4476
4477 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4478 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4479 (__atomic_subword): Ditto.
4480
4481 2014-01-25 Walter Lee <walt@tilera.com>
4482
4483 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4484 a prefix op argument.
4485 (__atomic_nand_fetch_4): Add prefix op.
4486 (__atomic_nand_fetch_8): Ditto.
4487
4488 2014-01-21 Baruch Siach <barch@tkos.co.il>
4489
4490 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4491
4492 2014-01-09 Rong Xu <xur@google.com>
4493
4494 * libgcov-driver.c (this_prg): make it local to save
4495 bss space.
4496 (gcov_exit_compute_summary): Ditto.
4497 (gcov_exit_merge_gcda): Ditto.
4498 (gcov_exit_merge_summary): Ditto.
4499 (gcov_exit_dump_gcov): Ditto.
4500
4501 2014-01-08 Rong Xu <xur@google.com>
4502
4503 * libgcov-driver.c: Use libgcov.h.
4504 (buffer_fn_data): Use xmalloc instead of malloc.
4505 (gcov_exit_merge_gcda): Ditto.
4506 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4507 * libgcov.h: New common header files for libgcov-*.h.
4508 * libgcov-interface.c: Use libgcov.h
4509 * libgcov-merge.c: Ditto.
4510 * libgcov-profiler.c: Ditto.
4511 * Makefile.in: Add dependence to libgcov.h
4512
4513 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4514
4515 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4516 case of small numerator and finite nonzero result.
4517
4518 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4519
4520 Update copyright years
4521
4522 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4523
4524 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4525 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4526 config/arc/dp-hack.h, config/arc/fp-hack.h,
4527 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4528 config/arc/ieee-754/arc600-dsp/divdf3.S,
4529 config/arc/ieee-754/arc600-dsp/divsf3.S,
4530 config/arc/ieee-754/arc600-dsp/muldf3.S,
4531 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4532 config/arc/ieee-754/arc600-mul64/divdf3.S,
4533 config/arc/ieee-754/arc600-mul64/divsf3.S,
4534 config/arc/ieee-754/arc600-mul64/muldf3.S,
4535 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4536 config/arc/ieee-754/arc600/divsf3.S,
4537 config/arc/ieee-754/arc600/mulsf3.S,
4538 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4539 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4540 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4541 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4542 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4543 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4544 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4545 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4546 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4547 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4548 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4549 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4550 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4551 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4552 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4553 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4554 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4555 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4556 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4557 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4558 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4559 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4560 vtv_start_preinit.c: Use the standard form for the copyright notice.
4561
4562 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4563 Chung-Lin Tang <cltang@codesourcery.com>
4564 Based on patches from Altera Corporation
4565
4566 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4567 * config/nios2/lib2-nios2.h: New file.
4568 * config/nios2/lib2-divmod-hi.c: New file.
4569 * config/nios2/linux-unwind.h: New file.
4570 * config/nios2/lib2-divmod.c: New file.
4571 * config/nios2/linux-atomic.c: New file.
4572 * config/nios2/t-nios2: New file.
4573 * config/nios2/crti.asm: New file.
4574 * config/nios2/t-linux: New file.
4575 * config/nios2/lib2-divtable.c: New file.
4576 * config/nios2/lib2-mul.c: New file.
4577 * config/nios2/tramp.c: New file.
4578 * config/nios2/crtn.asm: New file.
4579
4580 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
4581
4582 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4583 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4584 from cpuid.h to check vendor signatures.
4585
4586 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4587
4588 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4589 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4590 (get_amd_cpu): Likewise.
4591
4592 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4593
4594 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4595 Haswell.
4596
4597 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4598 H.J. Lu <hongjiu.lu@intel.com>
4599
4600 PR target/59422
4601 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
4602 and AMD_JAGUAR.
4603 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4604 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4605 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4606 FEATURE_XOP and FEATURE_FMA.
4607 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4608 AMDFAM15H_BDVER3.
4609 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
4610 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
4611 FEATURE_FMA4 and FEATURE_XOP.
4612
4613 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4614
4615 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4616 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4617 (get_intel_cpu): Updated.
4618
4619 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4620
4621 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4622
4623 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
4624
4625 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4626 instructions when __SSE_MATH__ is defined.
4627
4628 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4629
4630 * config.host (microblaze-*-rtems*): New.
4631
4632 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4633
4634 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4635 architectures that do not have hardware divide instruction.
4636 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4637
4638 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4639
4640 * longlong.h: Delete (moved to include/).
4641
4642 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4643
4644 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4645 of normal number and qNaN to not raise an inexact exception.
4646
4647 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
4648
4649 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4650
4651 2013-11-28 Matthew Leach <matthew.leach@arm.com>
4652
4653 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4654 for correct opcodes on BE.
4655
4656 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
4657
4658 * soft-fp/op-4.h: Update from glibc.
4659
4660 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4661
4662 * libgcc2.c (__udivmoddi4): Define new implementation when
4663 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4664 divide instructions.
4665
4666 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4667
4668 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4669
4670 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4671
4672 * config/t-softfp (soft-fp-objects-base): New variable.
4673 (soft-fp-objects): Use it.
4674
4675 2013-11-23 David Edelson <dje.gcc@gmail.com>
4676 Andrew Dixie <andrewd@gentrack.com>
4677
4678 PR target/33704
4679 * config/rs6000/aixinitfini.c: New file.
4680 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4681 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4682 symbols.
4683
4684 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4685
4686 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
4687
4688 2013-11-18 Jan Hubicka <jh@suse.cz>
4689
4690 * libgcov-driver.c (run_accounted): Make global level static.
4691 (gcov_exit_merge_summary): Silence warning; do not clear
4692 run_accounted here.
4693 (gcov_exit): Clear it here.
4694
4695 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4696 run_accounted.
4697
4698 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4699 (all_prg, crc32): Remove static vars.
4700 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4701 all_prg.
4702 (gcov_exit_merge_gcda): Add crc32 parameter.
4703 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4704 do not account run if it was already accounted.
4705 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4706 (gcov_exit): Initialize all_prg; update.
4707
4708 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4709
4710 * configure: Regenerate.
4711
4712 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4713 Alan Modra <amodra@gmail.com>
4714
4715 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4716 (frob_update_context): Use it.
4717
4718 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4719 Alan Modra <amodra@gmail.com>
4720
4721 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4722 (trampoline_initial): Provide ELFv2 variant.
4723 (__trampoline_setup): Likewise.
4724
4725 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4726 check for AIX indirect function call sequence if _CALL_ELF == 2.
4727
4728 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4729 Alan Modra <amodra@gmail.com>
4730
4731 * config/rs6000/linux-unwind.h (get_regs): Do not support
4732 old kernel versions if _CALL_ELF == 2.
4733 (frob_update_context): Do not support PLT stub variants only
4734 generated by old linkers if _CALL_ELF == 2.
4735
4736 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4737 Alan Modra <amodra@gmail.com>
4738
4739 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4740 location of CR save area for 64-bit little-endian systems.
4741
4742 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4743
4744 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4745 in tmake_file.
4746 * config/arm/t-vxworks: Delete.
4747
4748 2013-11-10 Kai Tietz <ktietz@redhat.com>
4749
4750 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4751 Increment load-count on use of LIBGCC_SONAME DLL.
4752 (hmod_libgcc): New static variable to hold handle of
4753 LIBGCC_SONAME DLL.
4754 (__gcc_deregister_frame): Decrement load-count of
4755 LIBGCC_SONAME DLL.
4756
4757 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4758
4759 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4760 availability.
4761 * configure: Regenerate
4762
4763 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
4764
4765 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4766 FP_EX_DENORM. Store result to volatile location after SSE division
4767 to close interrupt window. Remove unneeded fwait after x87
4768 division since interrupt window will be closed by emitted fstp.
4769 Rewrite FP_EX_INEXACT handling.
4770
4771 2013-11-06 Joseph Myers <joseph@codesourcery.com>
4772
4773 * soft-fp/README: Update.
4774 * soft-fp/adddf3.c: Update from glibc.
4775 * soft-fp/addsf3.c: Likewise.
4776 * soft-fp/addtf3.c: Likewise.
4777 * soft-fp/divdf3.c: Likewise.
4778 * soft-fp/divsf3.c: Likewise.
4779 * soft-fp/divtf3.c: Likewise.
4780 * soft-fp/double.h: Likewise.
4781 * soft-fp/eqdf2.c: Likewise.
4782 * soft-fp/eqsf2.c: Likewise.
4783 * soft-fp/eqtf2.c: Likewise.
4784 * soft-fp/extenddftf2.c: Likewise.
4785 * soft-fp/extended.h: Likewise.
4786 * soft-fp/extendsfdf2.c: Likewise.
4787 * soft-fp/extendsftf2.c: Likewise.
4788 * soft-fp/extendxftf2.c: Likewise.
4789 * soft-fp/fixdfdi.c: Likewise.
4790 * soft-fp/fixdfsi.c: Likewise.
4791 * soft-fp/fixdfti.c: Likewise.
4792 * soft-fp/fixsfdi.c: Likewise.
4793 * soft-fp/fixsfsi.c: Likewise.
4794 * soft-fp/fixsfti.c: Likewise.
4795 * soft-fp/fixtfdi.c: Likewise.
4796 * soft-fp/fixtfsi.c: Likewise.
4797 * soft-fp/fixtfti.c: Likewise.
4798 * soft-fp/fixunsdfdi.c: Likewise.
4799 * soft-fp/fixunsdfsi.c: Likewise.
4800 * soft-fp/fixunsdfti.c: Likewise.
4801 * soft-fp/fixunssfdi.c: Likewise.
4802 * soft-fp/fixunssfsi.c: Likewise.
4803 * soft-fp/fixunssfti.c: Likewise.
4804 * soft-fp/fixunstfdi.c: Likewise.
4805 * soft-fp/fixunstfsi.c: Likewise.
4806 * soft-fp/fixunstfti.c: Likewise.
4807 * soft-fp/floatdidf.c: Likewise.
4808 * soft-fp/floatdisf.c: Likewise.
4809 * soft-fp/floatditf.c: Likewise.
4810 * soft-fp/floatsidf.c: Likewise.
4811 * soft-fp/floatsisf.c: Likewise.
4812 * soft-fp/floatsitf.c: Likewise.
4813 * soft-fp/floattidf.c: Likewise.
4814 * soft-fp/floattisf.c: Likewise.
4815 * soft-fp/floattitf.c: Likewise.
4816 * soft-fp/floatundidf.c: Likewise.
4817 * soft-fp/floatundisf.c: Likewise.
4818 * soft-fp/floatunditf.c: Likewise.
4819 * soft-fp/floatunsidf.c: Likewise.
4820 * soft-fp/floatunsisf.c: Likewise.
4821 * soft-fp/floatunsitf.c: Likewise.
4822 * soft-fp/floatuntidf.c: Likewise.
4823 * soft-fp/floatuntisf.c: Likewise.
4824 * soft-fp/floatuntitf.c: Likewise.
4825 * soft-fp/gedf2.c: Likewise.
4826 * soft-fp/gesf2.c: Likewise.
4827 * soft-fp/getf2.c: Likewise.
4828 * soft-fp/ledf2.c: Likewise.
4829 * soft-fp/lesf2.c: Likewise.
4830 * soft-fp/letf2.c: Likewise.
4831 * soft-fp/muldf3.c: Likewise.
4832 * soft-fp/mulsf3.c: Likewise.
4833 * soft-fp/multf3.c: Likewise.
4834 * soft-fp/negdf2.c: Likewise.
4835 * soft-fp/negsf2.c: Likewise.
4836 * soft-fp/negtf2.c: Likewise.
4837 * soft-fp/op-1.h: Likewise.
4838 * soft-fp/op-2.h: Likewise.
4839 * soft-fp/op-4.h: Likewise.
4840 * soft-fp/op-8.h: Likewise.
4841 * soft-fp/op-common.h: Likewise.
4842 * soft-fp/quad.h: Likewise.
4843 * soft-fp/single.h: Likewise.
4844 * soft-fp/soft-fp.h: Likewise.
4845 * soft-fp/subdf3.c: Likewise.
4846 * soft-fp/subsf3.c: Likewise.
4847 * soft-fp/subtf3.c: Likewise.
4848 * soft-fp/truncdfsf2.c: Likewise.
4849 * soft-fp/trunctfdf2.c: Likewise.
4850 * soft-fp/trunctfsf2.c: Likewise.
4851 * soft-fp/trunctfxf2.c: Likewise.
4852 * soft-fp/unorddf2.c: Likewise.
4853 * soft-fp/unordsf2.c: Likewise.
4854 * soft-fp/unordtf2.c: Likewise.
4855
4856 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
4857
4858 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4859 (_FP_MUL_MEAT_D): Ditto.
4860 (_FP_DIV_MEAT_S): Ditto.
4861 (_FP_DIV_MEAT_D): Ditto.
4862 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4863 t-softfp-sfdf and t-softfp to tmake_file.
4864
4865 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
4866
4867 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4868 * config/i386/crtprec.c: Ditto.
4869
4870 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4871 Shiva Chen <shiva0217@gmail.com>
4872
4873 * config.host (nds32*-elf*): Add nds32 target.
4874 * config/nds32 : New directory and files.
4875
4876 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
4877
4878 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4879 * config.host (cpu_type) <Setting default>: Add entry for
4880 crisv32-*-*.
4881 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4882 <crisv32-*-linux*>: Adjust.
4883 * longlong.h: Wrap the whole CRIS section in a single
4884 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4885 and sub_ddmmss.
4886 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4887 defined.
4888 [__CRIS__] (__umulsidi3): Define.
4889 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4890 * config/cris/sfp-machine.h: New file.
4891 * config/cris/umulsidi3.S: New file.
4892 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4893 * config/cris/arit.c (SIGNMULT): New macro.
4894 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4895 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4896 saving 3 out of originally 33 cycles from the fastest
4897 path, 3 out of 54 from the medium path and one from the longest
4898 path. Improve comments.
4899
4900 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4901
4902 * sync.c: Remove static aliases and define each function directly
4903 under its real name.
4904
4905 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
4906
4907 * config.host (hppa*64*-*-linux*): Define extra_parts.
4908 (hppa*-*-linux*): Likewise.
4909
4910 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4911
4912 * config/arc/crtgend.S: Add 2013 to Copyright years.
4913 * config/arc/gmon/atomic.h: Likewise.
4914 * config/arc/gmon/auxreg.h: Likewise.
4915 * config/arc/gmon/sys/gmon_out.h: Likewise.
4916 * config/arc/gmon/sys/gmon.h: Likewise.
4917 * config/arc/gmon/prof-freq.c: Likewise.
4918 * config/arc/gmon/mcount.c: Likewise.
4919 * config/arc/gmon/prof-freq-stub.S: Likewise.
4920 * config/arc/gmon/gmon.c: Likewise.
4921 * config/arc/gmon/machine-gmon.h: Likewise.
4922 * config/arc/gmon/profil.S: Likewise.
4923 * config/arc/gmon/dcache_linesz.S: Likewise.
4924 * config/arc/crtg.S: Likewise.
4925 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4926 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4927 * config/arc/ieee-754/adddf3.S: Likewise.
4928 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4929 * config/arc/ieee-754/fixsfsi.S: Likewise.
4930 * config/arc/ieee-754/gtsf2.S: Likewise.
4931 * config/arc/ieee-754/floatsisf.S: Likewise.
4932 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4933 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4934 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4935 * config/arc/ieee-754/fixdfsi.S: Likewise.
4936 * config/arc/ieee-754/addsf3.S: Likewise.
4937 * config/arc/ieee-754/gesf2.S: Likewise.
4938 * config/arc/ieee-754/floatsidf.S: Likewise.
4939 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4940 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4941 * config/arc/ieee-754/gtdf2.S: Likewise.
4942 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4943 * config/arc/ieee-754/uneqdf2.S: Likewise.
4944 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4945 * config/arc/ieee-754/uneqsf2.S: Likewise.
4946 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4947 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4948 * config/arc/ieee-754/eqdf2.S: Likewise.
4949 * config/arc/ieee-754/ordsf2.S: Likewise.
4950 * config/arc/ieee-754/divsf3.S: Likewise.
4951 * config/arc/ieee-754/divdf3.S: Likewise.
4952 * config/arc/ieee-754/floatunsidf.S: Likewise.
4953 * config/arc/ieee-754/orddf2.S: Likewise.
4954 * config/arc/ieee-754/eqsf2.S: Likewise.
4955 * config/arc/ieee-754/gedf2.S: Likewise.
4956 * config/arc/crtn.S: Likewise.
4957 * config/arc/crti.S: Likewise.
4958 * config/arc/t-arc700-uClibc: Likewise.
4959 * config/arc/asm.h: Likewise.
4960 * config/arc/libgcc-excl.ver: Likewise.
4961 * config/arc/t-arc-newlib: Likewise.
4962 * config/arc/divtab-arc700.c: Likewise.
4963 * config/arc/initfini.c: Likewise.
4964 * config/arc/fp-hack.h: Likewise.
4965
4966 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4967 Diego Novillo <dnovillo@google.com>
4968
4969 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
4970 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4971 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4972 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
4973
4974 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4975 Brendan Kehoe <brendan@zen.org>
4976 Simon Cook <simon.cook@embecosm.com>
4977
4978 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4979 * config/arc: New directory.
4980 * longlong.h [__arc__] (umul_ppmm): Remove.
4981 [__arc__] (__umulsidi3): Define.
4982 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4983 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4984
4985 2013-09-17 Jacek Caban <jacek@codeweavers.com>
4986
4987 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4988 CreateSemaphoreA.
4989 * config/i386/gthr-win32.h: Likewise.
4990
4991 2013-09-16 DJ Delorie <dj@redhat.com>
4992
4993 * config/rl78/vregs.h: Add G10 register definitions.
4994 * config/rl78/lib2mul.c: Enable for RL78/G10.
4995 * config/rl78/lib2div.c: Likewise.
4996 * config/rl78/lshrsi3.S: Use vregs.h.
4997 * config/rl78/cmpsi2.S: Likewise.
4998 * config/rl78/trampoline.S: Likewise.
4999 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5000
5001 2013-09-14 DJ Delorie <dj@redhat.com>
5002 Nick Clifton <nickc@redhat.com>
5003
5004 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5005 * config/rl78/vregs.h: New.
5006 * config/rl78/signbit.S: New file. Implements signbit function.
5007 * config/rl78/divmodsi.S: New.
5008 * config/rl78/divmodhi.S: New.
5009 * config/rl78/divmodqi.S: New.
5010 * config/rl78/t-rl78: Build them here...
5011 * config/rl78/lib2div.c: ...but not here.
5012
5013 2013-09-12 DJ Delorie <dj@redhat.com>
5014
5015 * config.host (msp*-*-elf): New.
5016 * config/msp430/: New port.
5017
5018 2013-08-18 Iain Sandoe <iain@codesourcery.com>
5019
5020 PR gcov-profile/58127
5021 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5022 __thread var for emulated TLS.
5023 (__gcov_indirect_call_counters): Likewise.
5024
5025 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
5026 Catherine Moore <clm@codesourcery.com>
5027 Richard Sandiford <rdsandiford@googlemail.com>
5028
5029 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5030 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5031 (CALL_STUB_NO_RET): Likewise.
5032 (CALL_STUB_RET): Likewise.
5033 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5034 __mips16_ret call/return stub symbols.
5035 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5036 to tmake_file.
5037
5038 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5039
5040 * config.host <mips*-*-linux*>: Remove a stray comment.
5041
5042 2013-08-10 Jan Hubicka <jh@suse.cz>
5043
5044 Work around binutils PR14342
5045 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5046 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5047 (L_gcov_indirect_call_profiler_v2): New.
5048
5049 2013-08-06 Jan Hubicka <jh@suse.cz>
5050
5051 * libgcov.c (__gcov_indirect_call_callee,
5052 __gcov_indirect_call_counters): New global vars.
5053 (__gcov_indirect_call_profiler): replace by ...
5054 (__gcov_indirect_call_profiler_v2) ... this one.
5055
5056 2013-08-06 Caroline Tice <cmtice@google.com>
5057
5058 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
5059 vtv_start_preinit.o and vtv_end_preinit.o.
5060 * configure.ac: Add code to check/set enable_vtable_verify.
5061 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
5062 true.
5063 * vtv_start_preinit.c: New file.
5064 * vtv_end_preinit.c: New file.
5065 * vtv_start.c: New file.
5066 * vtv_end.c: New file.
5067 * configure: Regenerated.
5068
5069 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5070
5071 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5072 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5073 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5074 GPL-3.0-with-GCC-exception.
5075
5076 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5077
5078 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5079 ISA and up.
5080
5081 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5082
5083 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5084 mapping for FPRs when creating the fallback framestate.
5085
5086 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
5087
5088 PR target/57516
5089 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5090 (__round_s2_const, __round_u2_const)
5091 (__round_s4_const, __round_u4_const, __round_x8):
5092 Saturate result if addition result cannot be represented.
5093
5094 2013-07-15 Matthias Klose <doko@ubuntu.com>
5095
5096 * libgcc2.c: Don't include <limits.h>.
5097
5098 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
5099
5100 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5101
5102 2013-07-06 Jakub Jelinek <jakub@redhat.com>
5103
5104 PR target/29776
5105 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5106
5107 2013-06-28 Jakub Jelinek <jakub@redhat.com>
5108
5109 PR middle-end/36041
5110 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5111 Define.
5112 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5113 instead of table lookups.
5114 (__popcountDI2): Likewise.
5115
5116 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5117
5118 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5119 correctly.
5120
5121 2013-06-21 Joseph Myers <joseph@codesourcery.com>
5122
5123 PR other/53317
5124 * soft-fp/adddf3.c: Update from glibc.
5125 * soft-fp/addsf3.c: Likewise.
5126 * soft-fp/addtf3.c: Likewise.
5127 * soft-fp/divdf3.c: Likewise.
5128 * soft-fp/divsf3.c: Likewise.
5129 * soft-fp/divtf3.c: Likewise.
5130 * soft-fp/double.h: Likewise.
5131 * soft-fp/eqdf2.c: Likewise.
5132 * soft-fp/eqsf2.c: Likewise.
5133 * soft-fp/eqtf2.c: Likewise.
5134 * soft-fp/extenddftf2.c: Likewise.
5135 * soft-fp/extended.h: Likewise.
5136 * soft-fp/extendsfdf2.c: Likewise.
5137 * soft-fp/extendsftf2.c: Likewise.
5138 * soft-fp/fixdfdi.c: Likewise.
5139 * soft-fp/fixdfsi.c: Likewise.
5140 * soft-fp/fixsfdi.c: Likewise.
5141 * soft-fp/fixsfsi.c: Likewise.
5142 * soft-fp/fixtfdi.c: Likewise.
5143 * soft-fp/fixtfsi.c: Likewise.
5144 * soft-fp/fixunsdfdi.c: Likewise.
5145 * soft-fp/fixunsdfsi.c: Likewise.
5146 * soft-fp/fixunssfdi.c: Likewise.
5147 * soft-fp/fixunssfsi.c: Likewise.
5148 * soft-fp/fixunstfdi.c: Likewise.
5149 * soft-fp/fixunstfsi.c: Likewise.
5150 * soft-fp/floatdidf.c: Likewise.
5151 * soft-fp/floatdisf.c: Likewise.
5152 * soft-fp/floatditf.c: Likewise.
5153 * soft-fp/floatsidf.c: Likewise.
5154 * soft-fp/floatsisf.c: Likewise.
5155 * soft-fp/floatsitf.c: Likewise.
5156 * soft-fp/floatundidf.c: Likewise.
5157 * soft-fp/floatundisf.c: Likewise.
5158 * soft-fp/floatunditf.c: Likewise.
5159 * soft-fp/floatunsidf.c: Likewise.
5160 * soft-fp/floatunsisf.c: Likewise.
5161 * soft-fp/floatunsitf.c: Likewise.
5162 * soft-fp/gedf2.c: Likewise.
5163 * soft-fp/gesf2.c: Likewise.
5164 * soft-fp/getf2.c: Likewise.
5165 * soft-fp/ledf2.c: Likewise.
5166 * soft-fp/lesf2.c: Likewise.
5167 * soft-fp/letf2.c: Likewise.
5168 * soft-fp/muldf3.c: Likewise.
5169 * soft-fp/mulsf3.c: Likewise.
5170 * soft-fp/multf3.c: Likewise.
5171 * soft-fp/negdf2.c: Likewise.
5172 * soft-fp/negsf2.c: Likewise.
5173 * soft-fp/negtf2.c: Likewise.
5174 * soft-fp/op-1.h: Likewise.
5175 * soft-fp/op-2.h: Likewise.
5176 * soft-fp/op-4.h: Likewise.
5177 * soft-fp/op-8.h: Likewise.
5178 * soft-fp/op-common.h: Likewise.
5179 * soft-fp/quad.h: Likewise.
5180 * soft-fp/single.h: Likewise.
5181 * soft-fp/soft-fp.h: Likewise.
5182 * soft-fp/subdf3.c: Likewise.
5183 * soft-fp/subsf3.c: Likewise.
5184 * soft-fp/subtf3.c: Likewise.
5185 * soft-fp/truncdfsf2.c: Likewise.
5186 * soft-fp/trunctfdf2.c: Likewise.
5187 * soft-fp/trunctfsf2.c: Likewise.
5188 * soft-fp/unorddf2.c: Likewise.
5189 * soft-fp/unordsf2.c: Likewise.
5190 * soft-fp/unordtf2.c: Likewise.
5191 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5192 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5193 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5194 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5195 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5196 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5197 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5198 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5199 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5200 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5201 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5202 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5203
5204 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5205
5206 * config/mips/lib2funcs.c: New file.
5207 * config/mips/t-mips (LIB2ADD_ST): Add it.
5208
5209 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5210
5211 PR target/6526
5212 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5213 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5214
5215 2013-06-08 Walter Lee <walt@tilera.com>
5216
5217 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5218 Replace int64_t with long long. Add __extension__ where
5219 appropriate.
5220 * config/tilepro/atomic.c: Include config.h.
5221
5222 2013-06-06 Douglas B Rupp <rupp@adacore.com>
5223
5224 * config.host (arm-wrs-vxworks): Configure with other soft float.
5225
5226 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5227
5228 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5229 (mips64r5900el-*-elf*): New configurations.
5230
5231 2013-06-04 Alan Modra <amodra@gmail.com>
5232
5233 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5234
5235 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5236
5237 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5238
5239 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5240
5241 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5242 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5243 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5244
5245 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5246
5247 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5248 (powerpc-wrs-vxworks): Likewise.
5249
5250 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5251
5252 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5253 signal frames as well.
5254 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5255 STACK_BIAS to the CFA offset.
5256
5257 2013-05-17 Richard Henderson <rth@redhat.com>
5258
5259 PR target/49146
5260 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5261 (execute_cfa_program): Use it when storing to fs->regs.
5262
5263 2013-05-08 Kai Tietz <ktietz@redhat.com>
5264
5265 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5266 (__deregister_frame_info): Likewise.
5267
5268 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5269
5270 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5271 NaN's payload.
5272
5273 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5274
5275 2013-04-25 Alan Modra <amodra@gmail.com>
5276
5277 * config.host: Match little-endian powerpc-linux.
5278
5279 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5280
5281 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5282 as 'unsigned long long' instead of 'unsigned long'.
5283 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5284 'signed long'.
5285
5286 2013-04-10 Julian Brown <julian@codesourcery.com>
5287
5288 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5289 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5290 unsigned char/unsigned short.
5291 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5292
5293 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5294
5295 PR other/55274
5296 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5297
5298 2013-04-04 Meador Inge <meadori@codesourcery.com>
5299
5300 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5301 computing the location of the link register.
5302 (aeabi_uldivmod): Ditto.
5303
5304 2013-03-27 Kai Tietz <ktietz@redhat.com>
5305
5306 * config.host: Add support for cygwin x64 target.
5307 * configure: Regenerated.
5308
5309 2013-03-26 Walter Lee <walt@tilera.com>
5310
5311 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5312 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5313
5314 2013-03-25 Kai Tietz <ktietz@redhat.com>
5315
5316 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5317
5318 2013-03-20 Robert Mason <rbmj@verizon.net>
5319
5320 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5321 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5322 (__gthread_leave_tsd_dtor_context): Add prototypes.
5323 (tls_delete_hook): Update.
5324
5325 2013-03-20 Catherine Moore <clm@codesourcery.com>
5326 Joseph Myers <joseph@codesourcery.com>
5327 Chao-ying Fu <fu@mips.com>
5328
5329 * config/mips/mips16.S: Don't build for microMIPS.
5330 * config/mips/linux-unwind.h: Handle microMIPS frame.
5331 * config/mips/crtn.S (fini, init): New labels.
5332
5333 2013-03-14 Jakub Jelinek <jakub@redhat.com>
5334
5335 PR tree-optimization/53265
5336 * unwind-dw2.c (execute_cfa_program): Avoid
5337 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5338 on targets with DWARF_FRAME_REGISTERS < 32.
5339
5340 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5341
5342 PR target/49880
5343 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5344 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5345
5346 2013-03-07 Sriraman Tallam <tmsriram@google.com>
5347
5348 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5349 sandybridge processors.
5350
5351 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5352
5353 PR target/56529
5354 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5355 inclusion list.
5356
5357 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5358
5359 * config/microblaze/crti.S: Setup stack protection at entry
5360
5361 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
5362
5363 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5364 (__rotldi3): Shift bytewise if applicable.
5365
5366 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5367
5368 * config/aarch64/sync-cache.c
5369 (__aarch64_sync_cache_range): Silence warnings.
5370
5371 2013-02-25 Catherine Moore <clm@codesourcery.com>
5372
5373 Revert:
5374 2013-02-24 Catherine Moore <clm@codesourcery.com>
5375 Joseph Myers <joseph@codesourcery.com>
5376 Chao-ying Fu <fu@mips.com>
5377
5378 * config/mips/mips16.S: Don't build for microMIPS.
5379 * config/mips/linux-unwind.h: Handle microMIPS frame.
5380 * config/mips/crtn.S (fini, init): New labels.
5381
5382 2013-02-24 Catherine Moore <clm@codesourcery.com>
5383 Joseph Myers <joseph@codesourcery.com>
5384 Chao-ying Fu <fu@mips.com>
5385
5386 * config/mips/mips16.S: Don't build for microMIPS.
5387 * config/mips/linux-unwind.h: Handle microMIPS frame.
5388 * config/mips/crtn.S (fini, init): New labels.
5389
5390 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5391 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
5392 as dividend.
5393
5394 2013-02-16 Alan Modra <amodra@gmail.com>
5395
5396 PR target/55431
5397 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5398 (ppc_fallback_frame_state): Always set up save locations for fp
5399 and altivec. Don't bother with non-callee-saved regs, r0-r13
5400 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5401
5402 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
5403
5404 PR target/54222
5405 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5406 _ssmulHA, _ssmulSA.
5407 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5408 _ssmulha3, _usmulusa3, _ssmulsa3.
5409 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5410 (__muldi3): XCALL __muldi3_6 instead of rcall.
5411 (__umulsidi3, __mulsidi3): New functions.
5412 (do_prologue_saves, do_epilogue_restores): New .macros.
5413 (__divdi3_moddi3): Use them.
5414 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5415 (__usmulusa3, __ssmulsa3): New functions.
5416
5417 2013-02-11 Iain Sandoe <iain@codesourcery.com>
5418 Jack Howarth <howarth@bromo.med.uc.edu>
5419 Patrick Marlier <patrick.marlier@gmail.com>
5420
5421 PR libitm/55693
5422 * config/darwin-crt-tm.c: Remove dummy functions hack.
5423
5424 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
5425
5426 PR target/54222
5427 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5428 * config/avr/lib2-object.mk: New iterator to build objects from it.
5429 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5430 lib2funcs.c.
5431 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5432 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5433 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5434 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5435 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5436 * config/avr/lib1funcs-fixed.S: Implement them.
5437
5438 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5439
5440 Update copyright years.
5441
5442 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
5443
5444 PR target/54601
5445 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5446 Add crtcxa to extra_parts.
5447 * config/rs6000/exit.h: New file.
5448 * config/rs6000/cxa_atexit.c: New file.
5449 * config/rs6000/cxa_finalize.c: New file.
5450 * config/rs6000/crtcxa.c: New file.
5451 * config/rs6000/t-aix-cxa: New file.
5452 * config/rs6000/libgcc-aix-cxa.ver: New file.
5453
5454 2013-01-31 Nick Clifton <nickc@redhat.com>
5455
5456 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5457 variant.
5458
5459 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
5460
5461 PR target/54222
5462 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5463 _mulQQ, _mulHQ, _mulHA, _mulSA,
5464 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5465 _divQQ, _divHQ, _divHA, _divSA,
5466 _divUQQ, _divUHQ, _divUHA, _divUSA.
5467
5468 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
5469
5470 * config.host(microblaze*-linux*): tmake_file: Remove
5471 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5472 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5473 to exclude functions from being built with libgcc.c and use
5474 the microblaze assembly.
5475
5476 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5477
5478 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5479 extra_parts.
5480
5481 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5482
5483 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5484 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5485 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5486 alignment operation.
5487
5488 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5489
5490 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5491 loop start address for cache clearing.
5492
5493 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5494
5495 * config/avr/lib1funcs.S: Remove trailing blanks.
5496 * config/avr/lib1funcs-fixed.S: Ditto.
5497
5498 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5499
5500 * config/avr/avr-lib.h: Add GPL copyright notice.
5501
5502 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5503
5504 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5505 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5506 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5507 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5508
5509 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
5510
5511 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5512 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
5513
5514 2013-01-04 Nick Clifton <nickc@redhat.com>
5515
5516 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5517 the CALLT instruction is supported.
5518
5519 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5520
5521 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5522 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5523
5524 2012-12-13 John Tytgat <John@bass-software.com>
5525
5526 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5527 is 25.
5528
5529 2012-12-12 Jakub Jelinek <jakub@redhat.com>
5530
5531 PR libgcc/55451
5532 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5533 undefined signed overflows.
5534
5535 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
5536
5537 PR target/55344
5538 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5539
5540 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
5541
5542 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5543 (FP_TRAPPING_EXCEPTIONS): Define.
5544 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5545 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5546
5547 2012-12-04 Richard Henderson <rth@redhat.com>
5548
5549 PR bootstrap/55571
5550 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5551
5552 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5553
5554 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5555 (FP_EX_SHIFT): Define.
5556 (FP_TRAPPING_EXCEPTIONS): Define.
5557
5558 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5559
5560 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5561 (FP_ROUNDMODE): Use FP_RND_MASK.
5562 * config/aarch64/sfp-exceptions.c: New.
5563 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5564 Use __sfp_handle_exceptions.
5565
5566 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
5567
5568 * config.host: (arm*-*-freebsd*): Remove.
5569 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5570 (arm*-*-elf*): Remove.
5571 (arm*-*-wince-pe*): Remove.
5572 * arm/unwind-arm.c (struct fpa_reg): Delete.
5573 (struct fpa_regs): Delete.
5574 (phase1_vrs): Remove fpa element.
5575 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5576 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5577 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5578 * ieee754-sf.S (floatundisf): Remove FPA support.
5579 (floatdisf): Likewise.
5580 * ieee75f-df.S (floatundidf): Likewise.
5581 (floatdidf): Likewise.
5582
5583 2012-11-29 Kai Tietz <ktietz@redhat.com>
5584
5585 PR target/55445
5586 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5587 * unwind-generic.h: Likewise.
5588 * unwind-seh.c: Likewise.
5589
5590 2012-11-28 Richard Henderson <rth@redhat.com>
5591
5592 PR libgcc/48076
5593 * emutls.c (__emutls_get_address): Avoid race condition between
5594 obj->loc.offset read and emutls_key initialization.
5595
5596 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
5597
5598 Adjust decimal point of signed accum mode to GCC default.
5599
5600 PR target/54222
5601 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5602 _divqq_helper.
5603 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5604 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5605 (__mulha3, __mulsa3)
5606 (__divqq3, __divha3, __divsa3): Adjust to new position of
5607 decimal point of signed accum types.
5608
5609 (__mulusa3_round): New function.
5610 (__mulusa3): Use it.
5611 (__divqq_helper): New function.
5612 (__udivuqq3): Use it.
5613
5614 2012-11-20 Jakub Jelinek <jakub@redhat.com>
5615
5616 PR bootstrap/55370
5617 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5618
5619 2012-11-18 Teresa Johnson <tejohnson@google.com>
5620
5621 PR bootstrap/55051
5622 * libgcov.c (gcov_exit): Remove merged program summary
5623 comparison unless !GCOV_LOCKED.
5624
5625 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
5626
5627 * soft-fp: Updated from glibc upstream.
5628
5629 2012-11-06 Ian Lance Taylor <iant@google.com>
5630
5631 * generic-morestack.c (__generic_morestack): Align the returned
5632 stack pointer to a 32 byte boundary.
5633 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5634 increment the return address until we have decided that we don't
5635 have a varargs function.
5636 (__morestack) [32-bit]: Align stack correctly when calling C
5637 functions.
5638 (__morestack) [64-bit]: Likewise.
5639
5640 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5641
5642 * configure: Regenerate.
5643
5644 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
5645
5646 PR target/55175
5647 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5648 * config/i386/sfp-machine.h: Guard exception handling
5649 code with _SOFT_FLOAT.
5650 * config/i386/32/sfp-machine.h: Guard rounding handling
5651 code with _SOFT_FLOAT.
5652 * config/i386/64/sfp-machine.h: Ditto.
5653
5654 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5655
5656 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5657 as extra_parts.
5658
5659 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
5660
5661 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5662 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5663 when appropriate. Correct structure element types.
5664 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5665 -minline-all-stringops from compile flags.
5666
5667 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5668
5669 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5670
5671 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5672
5673 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
5674
5675 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5676
5677 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5678 tmake_file.
5679
5680 2012-10-23 Ian Bolton <ian.bolton@arm.com>
5681 Jim MacArthur <jim.macarthur@arm.com>
5682 Marcus Shawcroft <marcus.shawcroft@arm.com>
5683 Nigel Stephens <nigel.stephens@arm.com>
5684 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5685 Richard Earnshaw <rearnsha@arm.com>
5686 Sofiane Naci <sofiane.naci@arm.com>
5687 Stephen Thomas <stephen.thomas@arm.com>
5688 Tejas Belagod <tejas.belagod@arm.com>
5689 Yufeng Zhang <yufeng.zhang@arm.com>
5690
5691 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5692 * config/aarch64/crti.S: New file.
5693 * config/aarch64/crtn.S: New file.
5694 * config/aarch64/linux-unwind.h: New file.
5695 * config/aarch64/sfp-machine.h: New file.
5696 * config/aarch64/sync-cache.c: New file.
5697 * config/aarch64/t-aarch64: New file.
5698 * config/aarch64/t-softfp: New file.
5699
5700 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5701
5702 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5703 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5704 no-longer-needed LDBU insns.
5705
5706 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
5707
5708 * config.host
5709 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5710 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5711
5712 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5713
5714 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5715
5716 2012-10-15 Matthias Klose <doko@ubuntu.com>
5717
5718 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5719
5720 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5721
5722 * configure: Regenerate.
5723 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5724
5725 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5726
5727 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5728 instructions for 64bit targets only.
5729
5730 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5731
5732 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5733 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5734 * config/i386/32/sfp-machine.h: ... here.
5735 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5736 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5737 New defines.
5738
5739 2012-10-07 Matthias Klose <doko@ubuntu.com>
5740
5741 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5742 as unused.
5743 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5744
5745 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
5746
5747 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5748 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5749 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5750 (ElfW): Likewise.
5751
5752 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5753
5754 PR other/53889
5755 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5756 Fix parameter names.
5757
5758 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5759
5760 PR target/33135
5761 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5762 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5763 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5764
5765 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5766
5767 PR target/50457
5768 * config/sh/linux-atomic.S: Delete.
5769 * config/sh/linux-atomic.c: New.
5770 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5771 linux-atomic.c. Add cflags to disable warnings.
5772
5773 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5774
5775 PR other/53889
5776 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5777 function.
5778 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5779 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5780 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5781 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5782 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5783 Likewise.
5784 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5785 Likewise.
5786 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5787 Likewise.
5788 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5789 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5790
5791 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
5792
5793 * config.host (hppa-*-openbsd*): New target.
5794 * config/pa/t-openbsd: New file.
5795
5796 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
5797
5798 PR target/54222
5799 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5800 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5801 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5802 (__divsa3): Use __negsi2 to negate r_quoL.
5803 * config/avr/lib1funcs.S (FALIAS): New macro.
5804 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5805 (__negsi2): ...this new function.
5806 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5807 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5808 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5809 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5810 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5811 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5812
5813 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5814
5815 PR target/54089
5816 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5817 (lshrsi3): Reimplement as lshrsi3_r0.
5818
5819 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5820
5821 PR target/46191
5822 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5823 of libgcc.a.
5824
5825 2012-09-07 Teresa Johnson <tejohnson@google.com>
5826
5827 PR gcov-profile/54487
5828 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
5829 differences.
5830
5831 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
5832
5833 PR target/54461
5834 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5835 not configured --with-avrlibc=no.
5836 * config/avr/t-avrlibc: New file.
5837 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5838 (DPBIT_FUNCS): Ditto.
5839 (TPBIT_FUNCS): Ditto.
5840
5841 2012-09-04 Teresa Johnson <tejohnson@google.com>
5842
5843 * libgcov.c (struct gcov_summary_buffer): New structure.
5844 (gcov_histogram_insert): New function.
5845 (gcov_compute_histogram): Ditto.
5846 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5847 histograms during summary merging.
5848
5849 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
5850
5851 * config.host (x86_64-*-openbsd*): New target.
5852
5853 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5854
5855 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5856 attribute.
5857
5858 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5859
5860 PR target/54222
5861 * config/avr/t-avr (conv_X): Rename to func_X.
5862
5863 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5864
5865 PR target/54222
5866 * config/avr/lib1funcs-fixed.S: New file.
5867 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5868 after they are used.
5869 (neg2, neg4): New macros.
5870 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5871 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5872 (__umulhisi3): Speed up MUL variant if there is enough flash.
5873 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5874 avr-modes.def.
5875 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5876 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5877 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5878 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5879 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5880 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5881 (LIB2FUNCS_EXCLUDE): Add supported functions.
5882
5883 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
5884
5885 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5886 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5887 libgcc-s-objects.
5888 * fixed-obj.mk: Only expand dependency if $o is not in
5889 LIB2FUNCS_EXCLUDE.
5890
5891 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5892
5893 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5894
5895 2012-08-22 Joseph Myers <joseph@codesourcery.com>
5896
5897 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5898 depend on --enable-shared.
5899 ($(lib1asmfuncs-o)): Use %.vis files independent of
5900 --enable-shared.
5901 * static-object.mk ($(base)$(objext), $(base).vis)
5902 ($(base)_s$(objext)): Use same rules for visibility handling as in
5903 shared-object.mk.
5904
5905 2012-08-21 Ian Lance Taylor <iant@google.com>
5906
5907 * config/i386/morestack.S (__morestack_non_split): Increase amount
5908 of space allocated for non-split code stack.
5909
5910 2012-08-19 Joseph Myers <joseph@codesourcery.com>
5911
5912 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5913 even if inhibit_libc.
5914
5915 2012-08-17 Julian Brown <julian@codesourcery.com>
5916
5917 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5918 -fexceptions -fnon-call-exceptions if not defined.
5919 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5920 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5921
5922 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5923
5924 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5925 type.
5926
5927 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
5928
5929 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5930 rs6000/t-slibgcc-aix.
5931
5932 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5933
5934 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5935
5936 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5937
5938 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5939
5940 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5941
5942 PR driver/54171
5943 * Makefile.in (version): Replace top_srcdir with srcdir.
5944
5945 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5946
5947 * Makefile.in (version): set to BASE-VER file from gcc directory.
5948
5949 2012-08-01 Nick Clifton <nickc@redhat.com>
5950
5951 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5952 Implements __clrsb for an HImode argument.
5953
5954 2012-07-31 Nick Clifton <nickc@redhat.com>
5955
5956 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5957 Implements __clrsb for an HImode argument.
5958 * config/stormy16/clrsbhi2.c: New file:
5959 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5960
5961 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5962
5963 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5964
5965 2012-07-19 Tristan Gingold <gingold@adacore.com>
5966 Richard Henderson <rth@redhat.com>
5967
5968 * unwind-seh.c: New file.
5969 * unwind-generic.h: Include windows.h for SEH.
5970 (_Unwind_Exception): Use 6 private fields for SEH.
5971 (_GCC_specific_handler): Declare.
5972 * unwind-c.c (__gcc_personality_seh0): New function.
5973 Adjust for SEH.
5974 * config/i386/libgcc-cygming.ver: New file.
5975 * config/i386/t-seh-eh: New file.
5976 * config.host (x86_64-*-mingw*): Default to seh.
5977
5978 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5979
5980 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5981
5982 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
5983
5984 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5985 __builtin_expect when checking for exceptions.
5986 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5987
5988 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5989
5990 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5991 function declaration.
5992 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5993 (FP_RND_MASK): New.
5994 * config/ia64/sfp-exceptions.c: New.
5995 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
5996
5997 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5998
5999 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6000 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6001 * config/i386/64/sfp-machine: ... (delete here) ...
6002 * config/i386/sfp-machine.h: ... to here.
6003 (FP_EX_MASK): Remove.
6004 (FP_RND_MASK): New.
6005 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6006
6007 2012-06-11 Sriraman Tallam <tmsriram@google.com>
6008
6009 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6010 * config/i386/libgcc-sol2.ver: Ditto.
6011 * config/i386/libgcc-glibc.ver: Ditto.
6012
6013 2012-06-11 Roland McGrath <mcgrathr@google.com>
6014
6015 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6016 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6017 pthread_cancel.
6018
6019 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
6020
6021 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6022 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6023 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6024 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6025 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6026 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6027 * config/i386/64/sfp-machine: ... (delete here) ...
6028 * config/i386/sfp-machine.h: ... to here.
6029 (FP_EX_MASK): New.
6030 (__sfp_handle_exceptions): New function declaration.
6031 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6032 * config/i386/sfp-exceptions.c: New.
6033 * config/i386/t-softfp: New.
6034 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6035 i386/t-softfp to tmake_file.
6036
6037 2012-06-03 David S. Miller <davem@davemloft.net>
6038
6039 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6040 change.
6041
6042 2012-05-31 David S. Miller <davem@davemloft.net>
6043
6044 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6045 multiply and divide instructions on 32-bit when V9.
6046 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6047
6048 2012-05-29 Joseph Myers <joseph@codesourcery.com>
6049
6050 * config/arm/ieee754-df.S: Fix typos.
6051 * config/arm/ieee754-sf.S: Fix typos.
6052 * config/c6x/libunwind.S: Fix typos.
6053 * config/epiphany/udivsi3-float.c: Fix typos.
6054 * config/microblaze/muldi3_hard.S: Fix typos.
6055 * config/picochip/adddi3.S: Fix typos.
6056 * config/picochip/ashlsi3.S: Fix typos.
6057 * config/picochip/ashrsi3.S: Fix typos.
6058 * config/picochip/clzsi2.S: Fix typos.
6059 * config/picochip/cmpsi2.S: Fix typos.
6060 * config/picochip/divmod15.S: Fix typos.
6061 * config/picochip/divmodhi4.S: Fix typos.
6062 * config/picochip/divmodsi4.S: Fix typos.
6063 * config/picochip/longjmp.S: Fix typos.
6064 * config/picochip/lshrsi3.S: Fix typos.
6065 * config/picochip/parityhi2.S: Fix typos.
6066 * config/picochip/popcounthi2.S: Fix typos.
6067 * config/picochip/setjmp.S: Fix typos.
6068 * config/picochip/subdi3.S: Fix typos.
6069 * config/picochip/ucmpsi2.S: Fix typos.
6070 * config/picochip/udivmodhi4.S: Fix typos.
6071 * config/picochip/udivmodsi4.S: Fix typos.
6072 * config/spu/divv2df3.c: Fix typos.
6073 * config/spu/mfc_multi_tag_release.c: Fix typos.
6074 * config/spu/mfc_tag_release.c: Fix typos.
6075 * configure.ac: Fix typos.
6076 * configure: Regenerate.
6077
6078 2012-05-25 Ian Lance Taylor <iant@google.com>
6079
6080 * config/i386/morestack.S (__morestack_non_split): Check whether
6081 caller is varargs and needs %bp to hold the stack frame on return.
6082
6083 2012-05-25 Olivier Hainque <hainque@adacore.com>
6084
6085 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6086 sequence in the non pic case on VxWorks.
6087
6088 2012-05-24 Olivier Hainque <hainque@adacore.com>
6089
6090 * Makefile.in: Move dependency on install-unwind_h from
6091 "install-leaf" to "install".
6092
6093 2012-05-24 Olivier Hainque <hainque@adacore.com>
6094
6095 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6096 Use a separate command for stamp removals.
6097
6098 2012-05-21 Andrew Pinski <apinski@cavium.com>
6099
6100 PR bootstrap/53183
6101 * configure.ac: Define the default includes to being none.
6102 * configure: Regenerate.
6103
6104 2012-05-16 Olivier Hainque <hainque@adacore.com>
6105
6106 * Makefile.in (install-unwind_h): Rename into ...
6107 (install-unwind_h-forbuild): New target.
6108 (all): Use it instead of the former install-unwind_h.
6109 (install-unwind_h): Reinstate, copy to user install destination
6110 for include files, not to the internal gcc object directory one.
6111 (install-leaf): Depend on it.
6112
6113 2012-05-15 Olivier Hainque <hainque@adacore.com>
6114
6115 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6116 register numbers. LR_REGNO replaces R_LR.
6117 (ucontext_for): New, helper for ...
6118 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6119 and 5.3 of ...
6120 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6121
6122 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6123
6124 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6125 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6126 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6127 i386/t-cpuinfo ...
6128 (i[34567]86-*-*, x86_64-*-*): ... here.
6129
6130 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6131 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6132
6133 * config/i386/i386-cpuinfo.c: Rename to ...
6134 * config/i386/cpuinfo.c: ... this.
6135 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6136
6137 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6138 (libgcc_cv_init_priority): New test.
6139 * configure: Regenerate.
6140 * config.in: New file.
6141 * Makefile.in (clean): Rename config.h to auto-target.h.
6142 (config.h): Likewise.
6143 (stamp-h): Likewise.
6144
6145 * config/i386/cpuinfo.c (auto-target.h): Include.
6146 (CONSTRUCTOR_PRIORITY): Define.
6147 (__cpu_indicator_init): Use it.
6148
6149 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6150
6151 * longlong.h: Use a URL instead of an FSF postal address.
6152 Replace spaces with tab.
6153
6154 2012-05-08 Teresa Johnson <tejohnson@google.com>
6155
6156 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6157 (__gcov_dump): Ditto.
6158 (gcov_dump_complete): New global variable.
6159 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6160 (__gcov_flush): Outline functionality now in gcov_clear.
6161 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6162
6163 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6164
6165 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6166 (mips*-*-linux*): Include mips/t-tpbit when long double is
6167 16 bytes long.
6168
6169 2012-04-25 Sriraman Tallam <tmsriram@google.com>
6170
6171 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6172 (get_available_features): New argument. Check for AVX2.
6173 (__cpu_indicator_init): Modify call to get_available_features.
6174
6175 2012-04-25 Alan Modra <amodra@gmail.com>
6176
6177 * config/rs6000/crtsavevr.S: New file.
6178 * config/rs6000/crtrestvr.S: New file.
6179 * config/rs6000/t-savresfgpr: Build the above.
6180 * config/rs6000/t-netbsd: Likewise.
6181
6182 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6183
6184 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6185
6186 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6187
6188 * libgcc/config/i386/i386-cpuinfo.c: New file.
6189 * libgcc/config/i386/t-cpuinfo: New file.
6190 * libgcc/config.host: Include t-cpuinfo.
6191 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6192
6193 2012-04-24 Chao-ying Fu <fu@mips.com>
6194
6195 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6196
6197 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6198
6199 struct siginfo vs. siginfo_t
6200
6201 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6202 siginfo_t instead of struct siginfo.
6203 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6204 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6205 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6206 (ia64_handle_unwabi): Likewise.
6207 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6208 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6209 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6210 (sh_fallback_frame_state): Likewise.
6211 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6212 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6213
6214 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6215
6216 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6217 system call number.
6218
6219 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6220
6221 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6222 if it hasn't been previously saved.
6223
6224 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6225
6226 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6227 only for glibc.
6228
6229 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
6230
6231 PR target/52737
6232 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6233 instead of __AVR_HAVE_8BIT_SP__.
6234
6235 2012-03-26 Tristan Gingold <gingold@adacore.com>
6236
6237 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6238 (unw_table_entry): Use unw_word instead of unsigned long.
6239 (_Unwind_FindTableEntry): Likewise.
6240 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6241 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6242 (_Unwind_FindTableEntry): Likewise.
6243 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6244 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6245 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6246 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6247 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6248 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6249 (uw_init_context_1, uw_install_context): Likewise.
6250 (unw_word): Move to unwind-ia64.h
6251
6252 2012-03-26 Tristan Gingold <gingold@adacore.com>
6253
6254 * config/vms/vms-ucrt0.c: Update copyright years.
6255 Add a sanity check.
6256 (___gcc_main_flags): Declare.
6257 (__main): Check flags to remap argv and exit code.
6258 * config.host (*-*-*vms*): Adjust extra_parts.
6259 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6260 (crt0.o): Add.
6261
6262 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
6263
6264 * arm/lib1funcs.asm (ctzsi2): New function.
6265 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6266 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6267 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6268 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6269 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6270 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6271
6272 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
6273
6274 * config.host: Add bits to support powerpc64-*-freebsd*.
6275 * config/rs6000/freebsd-unwind.h: New file.
6276 * config/rs6000/t-freebsd64: New file.
6277
6278 2012-03-20 Richard Guenther <rguenther@suse.de>
6279
6280 PR gcov-profile/52627
6281 * libgcov.c (init_mx): Fix mutex name.
6282
6283 2012-03-16 Tristan Gingold <gingold@adacore.com>
6284
6285 * config/ia64/vms-unwind.h: Remove ulong (and replace
6286 it by unw_reg where used). Define unw_reg with __int64.
6287
6288 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6289
6290 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6291 Solaris 8 handling.
6292 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6293 Solaris 8 handling.
6294 (sparc_is_sighandler): Likewise.
6295
6296 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6297
6298 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6299 <= saved reg size.
6300
6301 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6302
6303 * config/arm/crtn.S: Fix typo.
6304
6305 2012-03-13 Richard Guenther <rguenther@suse.de>
6306
6307 * libgcov.c: Remove stdio.h include and NULL un-define.
6308
6309 2012-03-13 Richard Guenther <rguenther@suse.de>
6310
6311 PR target/52569
6312 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6313
6314 2012-03-13 Richard Guenther <rguenther@suse.de>
6315
6316 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6317
6318 2012-03-13 Richard Guenther <rguenther@suse.de>
6319
6320 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6321 and __gthread_mutex_init_function definitions.
6322
6323 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6324
6325 * config.host (mips*-*-openbsd*): Remove.
6326
6327 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6328
6329 * config.host: Remove alpha*-dec-osf5.1* handling.
6330 * config/alpha/gthr-posix.c: Remove.
6331 * config/alpha/libgcc-osf5.ver: Remove.
6332 * config/alpha/osf5-unwind.h: Remove.
6333 * config/alpha/t-osf-pthread: Remove.
6334 * config/alpha/t-slibgcc-osf: Remove.
6335 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6336 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6337 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6338 * mkmap-flat.awk: Remove osf_export handling.
6339
6340 2012-03-12 Richard Guenther <rguenther@suse.de>
6341
6342 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6343 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6344 (__gthread_mutex_init_function): New function.
6345 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6346
6347 PR gcov/49484
6348 * libgcov.c: Include gthr.h.
6349 (__gcov_flush_mx): New global variable.
6350 (init_mx, init_mx_once): New functions.
6351 (__gcov_flush): Protect self with a mutex.
6352 (__gcov_fork): Re-initialize mutex after forking.
6353 * unwind-dw2-fde.c: Change condition under which to use
6354 __GTHREAD_MUTEX_INIT_FUNCTION.
6355
6356 2012-03-12 Tristan Gingold <gingold@adacore.com>
6357
6358 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6359 * config/ia64/t-vms: Likewise.
6360
6361 2012-03-11 Michael Hope <michael.hope@linaro.org>
6362
6363 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6364 for Thumb-2.
6365
6366 2012-03-07 Walter Lee <walt@tilera.com>
6367
6368 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6369 "arch_atomic_".
6370 (atomic_xor): Rename and move definition to
6371 config/tilepro/atomic.h.
6372 (atomic_nand): Ditto.
6373 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6374 "arch_atomic_".
6375 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6376 (arch_atomic_nand): Ditto.
6377
6378 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6379
6380 PR target/52507
6381 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6382
6383 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6384
6385 PR target/52505
6386 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6387 from RAM.
6388
6389 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6390
6391 PR target/52461
6392 PR target/52508
6393 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6394 if RAMPZ affects reading from RAM.
6395 (__tablejump_elpm__): Ditto.
6396 (.xload): Ditto.
6397 (__movmemx_hi): Ditto.
6398 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6399 (__do_global_dtors): Ditto.
6400 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6401 (__movmemx_hi): Ditto.
6402
6403 2012-03-05 Richard Henderson <rth@redhat.com>
6404
6405 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6406 [ARM] (count_trailing_zeros): Use the builtin.
6407
6408 2012-03-01 Kai Tietz <ktietz@redhat.com>
6409
6410 * soft-fp: Imported from glibc upstream.
6411
6412 2012-02-28 Kai Tietz <ktietz@redhat.com>
6413
6414 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6415 for mingw-targets as attribute gcc_struct.
6416
6417 2012-02-28 Ian Lance Taylor <iant@google.com>
6418
6419 * generic-morestack.c (__splitstack_releasecontext): Correct call
6420 to __morestack_release_segments.
6421
6422 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6423
6424 PR target/52390
6425 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6426 for __linux__ when removing signals from __morestack_fullmask.
6427
6428 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
6429
6430 PR target/52261
6431 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6432
6433 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6434
6435 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6436 instead of HAVE_INITFINI_ARRAY.
6437 * config/ia64/crtend.S: Likewise.
6438
6439 2012-02-20 Kai Tietz <ktietz@redhat.com>
6440
6441 PR libstdc++/52300
6442 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6443
6444 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6445 to w32-unwind.h header.
6446
6447 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6448
6449 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6450 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6451 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6452 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6453
6454 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6455
6456 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6457
6458 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6459
6460 PR libitm/52220
6461 * config/darwin-crt-tm.c: Correct typo.
6462
6463 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6464 Patrick Marlier <patrick.marlier@gmail.com>
6465
6466 PR libitm/52220
6467 * config/darwin-crt-tm.c: Generate dummy functions.
6468
6469 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6470 Patrick Marlier <patrick.marlier@gmail.com>
6471
6472 PR libitm/52042
6473 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6474 (__doTMRegistrations): Call it.
6475 (__doTMdeRegistrations): Likewise.
6476
6477 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
6478 Anatoly Sokolov <aesok@post.ru>
6479 Eric Weddington <eric.weddington@atmel.com>
6480
6481 PR target/52261
6482 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6483 (__epilogue_restores__): Ditto.
6484
6485 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6486
6487 PR target/51921
6488 PR target/52205
6489 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6490 Solaris 11 and slightly reformat.
6491 (sparc_is_sighandler): Likewise.
6492
6493 2012-02-14 Walter Lee <walt@tilera.com>
6494
6495 * config.host: Handle tilegx and tilepro.
6496 * config/tilegx/sfp-machine.h: New file.
6497 * config/tilegx/sfp-machine32.h: New file.
6498 * config/tilegx/sfp-machine64.h: New file.
6499 * config/tilegx/t-crtstuff: New file.
6500 * config/tilegx/t-softfp: New file.
6501 * config/tilegx/t-tilegx: New file.
6502 * config/tilepro/atomic.c: New file.
6503 * config/tilepro/atomic.h: New file.
6504 * config/tilepro/linux-unwind.h: New file.
6505 * config/tilepro/sfp-machine.h: New file.
6506 * config/tilepro/softdivide.c: New file.
6507 * config/tilepro/softmpy.S: New file.
6508 * config/tilepro/t-crtstuff: New file.
6509 * config/tilepro/t-tilepro: New file.
6510
6511 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6512
6513 PR libstdc++/51296
6514 PR libstdc++/51906
6515 * gthr-posix.h: Allow static initializer macros to be disabled.
6516 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6517
6518 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6519
6520 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6521 Add t-slibgcc-libgcc to tmake_file.
6522 * config/mips/libgcc-mips16.ver: Revert previous patch.
6523 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6524
6525 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6526 Jayant R Sonar <jayant.sonar@kpitcummins.com>
6527
6528 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6529 * config/cr16/crti.S: New file.
6530 * config/cr16/crtlibid.S: New file.
6531 * config/cr16/crtn.S: New file.
6532 * config/cr16/lib1funcs.S: New file.
6533 * config/cr16/t-cr16: New file.
6534 * config/cr16/t-crtlibid: New file.
6535 * config/cr16/unwind-dw2.h: New file.
6536 * config/cr16/unwind-cr16.c: New file.
6537 * config/cr16/divmodhi3.c: New file.
6538
6539 2012-01-25 Alan Modra <amodra@gmail.com>
6540
6541 * config/rs6000/t-linux64: Delete. Move..
6542 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6543 * config/rs6000/t-linux: ..and libgcc flags to here.
6544
6545 2012-01-22 Douglas B Rupp <rupp@gnat.com>
6546
6547 * config.host (i[34567]86-*-interix3*):
6548 Change triplet to i[34567]86-*-interix[3-9]*.
6549 * configure: Regenerate.
6550
6551 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6552 Richard Sandiford <rdsandiford@googlemail.com>
6553
6554 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6555 * config/mips/mips16.S (__mips16_rdhwr): New function.
6556 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6557
6558 2012-01-11 Nathan Sidwell <nathan@acm.org>
6559
6560 * libgcov.c (__gcov_init): Ignore objects with no functions.
6561
6562 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
6563
6564 PR target/49868
6565 Extend __pgmx semantics to linearize memory.
6566 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6567 * config/avr/lib1funcs.S (__xload_1): New function.
6568 (__movmemx_qi, __movmemx_hi): New functions.
6569 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6570 semantics.
6571
6572 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6573
6574 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6575 purported sigacthandler address isn't null before dereferencing it.
6576 (sparc_is_sighandler): Likewise.
6577
6578 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6579
6580 PR ada/41929
6581 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6582 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6583 (sparc_is_sighandler): Likewise.
6584 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6585
6586 2012-01-06 Tristan Gingold <gingold@adacore.com>
6587
6588 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6589 compatibility thunks...
6590 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6591 (crtbeginS.o, crtendS.o): ... and these to ...
6592 * config/ia64/t-ia64-elf: ... this new file.
6593 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6594 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6595
6596 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6597
6598 * configure: Regenerate.
6599 * config/s390/t-crtstuff: Remove -fPIC.
6600
6601 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6602
6603 PR bootstrap/51006
6604 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6605 for NetBSD.
6606
6607 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6608
6609 PR target/51345
6610 * config/avr/lib1funcs.S: Remove FIXME comments.
6611 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6612
6613 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6614
6615 Implement light-weight DImode support.
6616 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6617 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6618 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6619 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6620
6621 2011-12-30 Nathan Sidwell <nathan@acm.org>
6622
6623 * libgcov.c (gcov_crc32): Remove global var.
6624 (free_fn_data): New function.
6625 (buffer_fn_data): Pass in filename, more robust error recovery.
6626 (crc32_unsigned): New function.
6627 (gcov_exit): More robust detection of new program. More robust
6628 error recovery.
6629 (__gcov_init): Do not update program's crc here.
6630
6631 2011-12-21 Tristan Gingold <gingold@adacore.com>
6632
6633 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6634
6635 2011-12-21 Ian Lance Taylor <iant@google.com>
6636
6637 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6638
6639 2011-12-20 Ian Lance Taylor <iant@google.com>
6640
6641 * config/i386/morestack.S (__morestack_non_split): If there is
6642 enough stack space already, don't split. Ask for more stack space
6643 than we required.
6644
6645 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6646
6647 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6648 `sys/sdt.h'.
6649 (_Unwind_DebugHook): New function.
6650 (uw_restore_core_regs): New define.
6651 (unwind_phase2): Use uw_restore_core_regs instead of
6652 restore_core_regs.
6653 (unwind_phase2_forced): Likewise.
6654 (__gnu_Unwind_Resume): Likewise.
6655
6656 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
6657
6658 * config/alpha/linux-unwind.h: Update copyright years.
6659 (MD_FROB_UPDATE_CONTEXT): New define.
6660 (alpha_frob_update_context): New function.
6661
6662 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6663
6664 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6665 tmake_file rather replacing it.
6666
6667 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6668
6669 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
6670 function is not used for PPC64.
6671 (save_world): Amend comments. Update the VRsave mask to reflect the
6672 saved regs.
6673 (rest_world): Update comments, do not clobber r10, do not use r8.
6674 (eh_rest_world_r10): Amend comments, do not use r8.
6675 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6676 no longer used, move restore of CR and target address to the end of
6677 the routine.
6678
6679 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6680
6681 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6682 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6683
6684 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
6685
6686 PR target/49313
6687 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6688 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6689
6690 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6691
6692 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6693
6694 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
6695
6696 PR target/49313
6697 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6698 * config/avr/lib1funcs.S (__muldi3): New function.
6699
6700 2011-12-06 Andrew Pinski <apinski@cavium.com>
6701
6702 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6703 size of func_ptr.
6704 (__frame_dummy_init_array_entry): Likewise.
6705
6706 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
6707
6708 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6709
6710 PR target/51345
6711 PR target/51002
6712 * config/avr/lib1funcs.S (__prologue_saves__,
6713 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6714 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6715
6716 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6717
6718 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6719
6720 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6721
6722 PR other/51272
6723 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6724 (_ITM_deregisterTMCloneTable): Likewise.
6725 (__register_frame_info): Fix unused warning.
6726 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6727 pthread_default_stacksize_np): Likewise.
6728 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
6729
6730 2011-11-29 DJ Delorie <dj@redhat.com>
6731
6732 * config.host (rl78-*-elf): New case.
6733 * config/rl78: New directory for the Renesas RL78.
6734
6735 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6736
6737 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6738 formatting.
6739
6740 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6741
6742 PR other/51022
6743 * config/rs6000/t-savresfgpr: New file.
6744 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6745 $(srcdir)/config/rs6000/eabi.S.
6746 * config/rs6000/t-ppccomm-ldbl: Remove.
6747 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6748 tmake_file.
6749 (powerpc-*-eabispe*): Likewise.
6750 (powerpc-*-eabi*): Likewise.
6751 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6752 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6753 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6754 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6755 tmake_file.
6756 (powerpc-*-eabisim*): Likewise.
6757 (powerpc-*-elf*): Likewise.
6758 (powerpc-*-eabialtivec*): Likewise.
6759 (powerpc-xilinx-eabi*): Likewise.
6760 (powerpc-*-rtems*): Likewise.
6761 (powerpcle-*-elf*): Likewise.
6762 (powerpcle-*-eabisim*): Likewise.
6763 (powerpcle-*-eabi*): Likewise.
6764
6765 2011-11-27 Ian Lance Taylor <iant@google.com>
6766
6767 * generic-morestack.c (__splitstack_find): Check for NULL old
6768 stack value.
6769 (__splitstack_resetcontext): New function.
6770 (__splitstack_releasecontext): New function.
6771 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6772
6773 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6774
6775 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6776
6777 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6778
6779 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6780
6781 2011-11-26 Richard Henderson <rth@redhat.com>
6782
6783 * config/m68k/linux-atomic.c: New file.
6784 * config/m68k/t-linux: New file.
6785 * config.host (m68k-uclinux, m68k-linux): Use it.
6786
6787 2011-11-26 Richard Henderson <rth@redhat.com>
6788
6789 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6790 (__TMC_END__): Only declare if hidden is available; in the definition,
6791 if hidden is unavailable add a null record.
6792 (deregister_tm_clones, register_tm_clones): New.
6793 (__do_global_dtors_aux, frame_dummy): Use them.
6794 (__do_global_dtors, __do_global_ctors_1): Likewise.
6795
6796 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6797
6798 * config/darwin-crt-tm.c: New file.
6799 * config.host (darwin): Build crttms.o crttme.o to provide
6800 startup and shutdown for tm clones.
6801 * config/t-darwin (crttms.o): New build rule.
6802 (crttme.o): Likewise.
6803
6804 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
6805
6806 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6807 et al.
6808
6809 2011-11-21 Richard Henderson <rth@redhat.com>
6810
6811 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6812 (__TMC_LIST__, __TMC_END__): New.
6813 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6814 (__do_global_dtors): Likewise.
6815 (frame_dummy): Call _ITM_registerTMCloneTable.
6816 (__do_global_ctors_1): Likewise.
6817
6818 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6819
6820 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6821 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6822 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6823 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6824 * config/i386/t-darwin64: Remove.
6825 * config/sh/t-netbsd (LIB2ADD): Remove.
6826
6827 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
6828
6829 PR target/49313
6830 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6831 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6832 * config/avr/lib1funcs.S (wmov): New assembler macro.
6833 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6834 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6835 (__udivmod64): New function.
6836 (__negdi2): New function.
6837
6838 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6839
6840 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6841 *-*-freebsd*aout*): Remove.
6842
6843 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
6844
6845 * static-object.mk (c_flags-$o): Save c_flags.
6846 ($(base)$(objext)): Use it.
6847
6848 2011-11-18 Steve Ellcey <sje@cup.hp.com>
6849
6850 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6851
6852 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
6853
6854 PR target/49868
6855 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6856 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6857 New functions.
6858
6859 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6860
6861 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6862 functions.
6863 (aeabi_uidivmod): Likewise.
6864 (umodsi3): Likewise.
6865 (divsi3): Likewise.
6866 (aeabi_idivmod): Likewise.
6867 (modsi3): Likewise.
6868
6869 2011-11-16 Tristan Gingold <gingold@adacore.com>
6870
6871 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6872
6873 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
6874
6875 PR target/49868
6876 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6877 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6878
6879 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6880
6881 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6882 tmake_file list.
6883 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6884 * config/pa/t-stublib64: Delete.
6885
6886 2011-11-12 Richard Henderson <rth@redhat.com>
6887
6888 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6889 cast the pointer argument to _Unwind_SetGRPtr.
6890
6891 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6892
6893 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6894
6895 2011-11-09 Ian Lance Taylor <iant@google.com>
6896
6897 * generic-morestack.c: Include <string.h>.
6898 (uintptr_type): Define.
6899 (struct initial_sp): Add dont_block_signals field. Reduce size of
6900 extra array by 1.
6901 (allocate_segment): Set prev field to NULL. Don't set
6902 __morestack_current_segment or __morestack_segments.
6903 (__generic_morestack): Update current->prev and *pp after calling
6904 allocate_segment.
6905 (__morestack_block_signals): Don't do anything if
6906 dont_block_signals is set.
6907 (__morestack_unblock_signals): Likewise.
6908 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6909 uintptr_type.
6910 (__splitstack_block_signals): New function.
6911 (enum __splitstack_content_offsets): Define.
6912 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6913 (__splitstack_makecontext): New function.
6914 (__splitstack_block_signals_context): New function.
6915 (__splitstack_find_context): New function.
6916 * config/i386/morestack.S (__morestack_get_guard): New function.
6917 (__morestack_set_guard, __morestack_make_guard): New functions.
6918 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6919
6920 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6921
6922 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6923 (i[34567]86-*-mingw*): ... here.
6924 (x86_64-*-mingw*): ... here.
6925
6926 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6927
6928 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6929
6930 2011-11-07 Nathan Sidwell <nathan@acm.org>
6931
6932 * libgcov.c (struct gcov_fn_buffer): New struct.
6933 (buffer_fn_data): New helper.
6934 (gcov_exit): Rework for new gcov data structures.
6935
6936 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
6937
6938 PR target/49313
6939 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6940
6941 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6942
6943 * config.host (tmake_file): Correct comment.
6944 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6945 t-libgcc-pic.
6946 (bfin*-uclinux*): Likewise.
6947 (bfin*-linux-uclibc*): Likewise.
6948 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6949
6950 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6951 assigning.
6952 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6953 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6954 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6955 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6956 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6957 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6958 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6959 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6960 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6961 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6962 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6963 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6964 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6965
6966 * config/bfin/t-elf: Remove.
6967 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6968
6969 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6970
6971 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6972 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6973 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6974 (lm32-*-elf*): ... this.
6975 (lm32-*-rtems*): ... and this.
6976 Add to tmake_file.
6977 (m32r-*-rtems*): Add to tmake_file.
6978 (moxie-*-rtems*): Likewise.
6979 (sparc-*-rtems*): Likewise.
6980 Remove t-rtems from tmake_file.
6981 (sparc64-*-rtems*): Likewise.
6982 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6983 instead.
6984
6985 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6986
6987 PR bootstrap/50982
6988 * config/gthr-posix.h: Move ...
6989 * gthr-posix.h: ... here.
6990 * config/gthr-lynx.h: Reflect this.
6991 * config/gthr-vxworks.h: Likewise.
6992 * config/rs6000/gthr-aix.h: Likewise.
6993 * configure.ac (target_thread_file): Likewise.
6994 * configure: Regenerate.
6995
6996 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6997
6998 * config.host (arm*-*-rtemseabi*): New target.
6999
7000 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7001
7002 PR other/50991
7003 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7004 extra-parts.
7005
7006 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7007
7008 * config.host (epiphany-*-elf*): New configuration.
7009 * config/epiphany: New Directory.
7010
7011 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7012
7013 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7014 * config/avr/t-rtems: New.
7015 Filter out _exit from LIB1ASMFUNCS.
7016
7017 2011-11-04 David S. Miller <davem@davemloft.net>
7018
7019 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7020 * configure: Rebuild.
7021
7022 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7023
7024 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7025 variable.
7026
7027 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
7028
7029 PR target/50931
7030 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7031 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7032
7033 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7034
7035 PR target/50989
7036 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7037
7038 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7039
7040 * config/c6x/t-elf (LIB2ADDEH): Set.
7041 * config/c6x/t-c6x-elf: Remove.
7042
7043 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7044
7045 * config/i386/sol2-ci.S: Rename to ...
7046 * config/i386/crti.S: ... this.
7047 * config/i386/sol2-cn.S: Rename to ...
7048 * config/i386/crtn.S: ... this.
7049 * config/sparc/sol2-ci.S: Rename to ...
7050 * config/sparc/crti.S: ... this.
7051 * config/sparc/sol2-cn.S: Rename to ...
7052 * config/sparc/crtn.S: ... this.
7053 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7054 (crti.o, crtn.o): Remove.
7055
7056 2011-11-04 Tristan Gingold <gingold@adacore.com>
7057
7058 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7059
7060 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7061
7062 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7063
7064 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
7065
7066 * config.host (crisv32-*-none, cris-*-none): Remove.
7067 (crisv32-*-elf): Append to tmake_file, don't just set it.
7068 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7069
7070 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7071
7072 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7073 (ecrtn$(objext)): Likewise.
7074 (ncrti$(objext)): Likewise.
7075 (ncrtn$(objext)): Likewise.
7076
7077 2011-11-03 Andreas Schwab <schwab@redhat.com>
7078
7079 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7080
7081 2011-11-02 David S. Miller <davem@davemloft.net>
7082
7083 * configure.ac: Set host_address on sparc too.
7084 * configure: Regenerate.
7085 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7086 based upon host_address.
7087 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7088
7089 2011-11-02 Jason Merrill <jason@redhat.com>
7090
7091 * config/rs6000/t-ppccomm: Add missing \.
7092
7093 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7094
7095 * gthr-single.h, gthr.h: New files.
7096 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7097 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7098 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7099 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7100 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7101 * configure.ac (thread_header): New variable.
7102 Set it depending on target_thread_file.
7103 (gthr-default.h): Link from $thread_header.
7104 * configure: Regenerate.
7105 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7106
7107 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7108
7109 * configure.ac (tm_file_): New variable.
7110 Determine from tm_file.
7111 (tm_file, tm_defines): Substitute.
7112 * configure: Regenerate.
7113 * mkheader.sh: New file.
7114 * Makefile.in (clean): Remove libgcc_tm.h.
7115 ($(objects)): Depend on libgcc_tm.h.
7116 (libgcc_tm_defines, libgcc_tm_file): New variables.
7117 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7118 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7119 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7120 ($(extra-parts)): Depend on libgcc_tm.h.
7121 * config.host (tm_defines, tm_file): New variable.
7122 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7123 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7124 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7125 (avr-*-rtems*): Likewise.
7126 (avr-*-*): Likewise.
7127 (frv-*-elf): Likewise.
7128 (frv-*-*linux*): Likewise.
7129 (h8300-*-rtems*): Likewise.
7130 (h8300-*-elf*): Likewise.
7131 (i[34567]86-*-darwin*): Likewise.
7132 (x86_64-*-darwin*): Likewise.
7133 (rx-*-elf): Likewise.
7134 (tic6x-*-uclinux): Likewise.
7135 (tic6x-*-elf): Likewise.
7136 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7137 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7138 * config/i386/cygming-crtbegin.c: Likewise.
7139 * config/i386/cygming-crtend.c: Likewise.
7140 * config/ia64/fde-vms.c: Likewise.
7141 * config/ia64/unwind-ia64.c: Likewise.
7142 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7143 * config/rs6000/darwin-fallback.c: Likewise.
7144 * config/stormy16/lib2funcs.c: Likewise.
7145 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7146 * crtstuff.c: Likewise.
7147 * dfp-bit.h: Likewise.
7148 * emutls.c: Likewise.
7149 * fixed-bit.c: Likewise.
7150 * fp-bit.c: Likewise.
7151 * generic-morestack-thread.c: Likewise.
7152 * generic-morestack.c: Likewise.
7153 * libgcc2.c: Likewise.
7154 * libgcov.c: Likewise.
7155 * unwind-dw2-fde-dip.c: Likewise.
7156 * unwind-dw2-fde.c: Likewise.
7157 * unwind-dw2.c: Likewise.
7158 * unwind-sjlj.c: Likewise.
7159
7160 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7161
7162 * configure.ac: Include ../config/picflag.m4.
7163 (GCC_PICFLAG): Call it.
7164 Substitute.
7165 * configure: Regenerate.
7166 * Makefile.in (gcc_srcdir): Remove.
7167 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7168 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7169 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7170 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7171 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7172 Use $<.
7173 Remove comment.
7174 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7175 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7176 to refer to libgcc2.c.
7177 Use $<.
7178 * config/darwin-64.c: New file.
7179 * config/darwin-crt3.c: Remove comment.
7180 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7181 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7182 config/udivmodsi4.c: New files.
7183 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7184 config/memset.c: New files.
7185 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7186 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7187 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7188 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7189 * config/t-openbsd-thread: New file.
7190 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7191 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7192 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7193 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7194 qrnnd.S.
7195 Adapt filename.
7196 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7197 to refer to gthr-posix.c.
7198 * config/alpha/t-vms (LIB2ADD): Set.
7199 * config/alpha/vms-gcc_shell_handler.c: New file.
7200 * config/arm/bpabi.c, config/arm/fp16.c,
7201 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7202 config/arm/unaligned-funcs.c: New files.
7203 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7204 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7205 * config/arm/t-linux: Likewise.
7206 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7207 * config/arm/t-netbsd: New file.
7208 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7209 * config/arm/t-symbian (LIB2ADD_ST): Set.
7210 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7211 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7212 * config/bfin/t-elf: New file.
7213 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7214 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7215 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7216 config/c6x/ltf.c: New files.
7217 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7218 (HOST_LIBGCC2_CFLAGS): Set.
7219 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7220 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7221 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7222 New files.
7223 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7224 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7225 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7226 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7227 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7228 files.
7229 * config/frv/t-frv (LIB2ADD): Set.
7230 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7231 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7232 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7233 config/h8300/popcounthi2.c: New files.
7234 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7235 * config/i386/gthr-win32.c: New file.
7236 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7237 * config/i386/t-cygwin: Likewise.
7238 * config/i386/t-darwin, config/i386/t-darwin64,
7239 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7240 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7241 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7242 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7243 * config/ia64/quadlib.c: New file.
7244 * config/ia64/t-hpux (LIB2ADD): Set.
7245 * config/ia64/t-ia64: Add comment.
7246 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7247 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7248 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7249 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7250 * config/m32c/t-m32c (LIB2ADD): Set.
7251 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7252 * config/m32r/t-m32r: Likewise.
7253 * config/m68k/fpgnulib.c: New file.
7254 * config/m68k/t-floatlib (LIB2ADD): Set.
7255 (xfgnulib.c): New target.
7256 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7257 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7258 * config/mep/t-mep (LIB2ADD): Set.
7259 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7260 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7261 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7262 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7263 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7264 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7265 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7266 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7267 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7268 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7269 New files.
7270 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7271 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7272 * config/pa/fptr.c, config/pa/lib2funcs.S,
7273 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7274 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7275 (LIB2ADD, LIB2ADD_ST): Set.
7276 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7277 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7278 Set.
7279 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7280 * config/pdp11/t-pdp11: New file.
7281 * config/picochip/libgccExtras/adddi3.S,
7282 config/picochip/libgccExtras/ashlsi3.S,
7283 config/picochip/libgccExtras/ashrsi3.S,
7284 config/picochip/libgccExtras/clzsi2.S,
7285 config/picochip/libgccExtras/cmpsi2.S,
7286 config/picochip/libgccExtras/divmod15.S,
7287 config/picochip/libgccExtras/divmodhi4.S,
7288 config/picochip/libgccExtras/divmodsi4.S,
7289 config/picochip/libgccExtras/lshrsi3.S,
7290 config/picochip/libgccExtras/parityhi2.S,
7291 config/picochip/libgccExtras/popcounthi2.S,
7292 config/picochip/libgccExtras/subdi3.S,
7293 config/picochip/libgccExtras/ucmpsi2.S,
7294 config/picochip/libgccExtras/udivmodhi4.S,
7295 config/picochip/libgccExtras/udivmodsi4.S: New files.
7296 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7297 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7298 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7299 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7300 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7301 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7302 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7303 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7304 files.
7305 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7306 (HOST_LIBGCC2_CFLAGS): Set.
7307 * config/rs6000/t-darwin64: New file.
7308 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7309 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7310 * config/rs6000/t-ppccomm (LIB2ADD): Add
7311 $(srcdir)/config/rs6000/tramp.S.
7312 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7313 Add $(srcdir)/config/rs6000/eabi.S.
7314 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7315 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7316 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7317 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7318 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7319 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7320 * config/rs6000/tramp.S: New file.
7321 * config/s390/t-tpf: Remove.
7322 * config/sh/linux-atomic.S: New file.
7323 * config/sh/t-linux (LIB2ADD): Set.
7324 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7325 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7326 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7327 to unwind-dw2.c.
7328 (HOST_LIBGCC2_CFLAGS): Set.
7329 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7330 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7331 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7332 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7333 config/spu/mfc_multi_tag_release.c,
7334 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7335 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7336 config/spu/multi3.c: New files.
7337 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7338 (HOST_LIBGCC2_CFLAGS): Set.
7339 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7340 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7341 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7342 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7343 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7344 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7345 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7346 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7347 config/stormy16/umodsi3.c: New files.
7348 * config/xtensa/lib2funcs.S: New file.
7349 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7350 * config/xtensa/t-xtensa (LIB2ADD): Set.
7351 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7352 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7353 Add t-freebsd-thread to tmake_file for posix threads.
7354 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7355 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7356 (*-*-lynxos*): Likewise.
7357 (*-*-netbsd*): Likewise.
7358 (*-*-openbsd*): Likewise.
7359 Add t-openbsd-thread to tmake_file for posix threads.
7360 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7361 (*-*-vxworks*): Set tmake_file.
7362 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7363 (alpha*-*-freebsd*): Likewise.
7364 (alpha*-*-netbsd*): Likewise.
7365 (alpha*-*-openbsd*): Likewise.
7366 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7367 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7368 (alpha*-dec-*vms*): Likewise.
7369 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7370 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7371 (bfin*-uclinux*): Likewise.
7372 (bfin*-linux-uclibc*): Likewise.
7373 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7374 (crisv32-*-none): Likewise.
7375 (cris-*-elf): Likewise.
7376 (cris-*-none): Likewise.
7377 (cris-*-linux*, crisv32-*-linux*): Likewise.
7378 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7379 tmake_file.
7380 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7381 tmake_file.
7382 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7383 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7384 (x86_64-*-elf*): Likewise.
7385 (i[34567]86-*-nto-qnx*): Likewise.
7386 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7387 win32 threads.
7388 (x86_64-*-mingw*): Likewise.
7389 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7390 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7391 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7392 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7393 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7394 tmake_file.
7395 (mipsisa64sr71k-*-elf*): Likewise.
7396 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7397 (mips-*-elf*, mipsel-*-elf*): Likewise.
7398 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7399 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7400 (mips*-*-rtems*): Likewise.
7401 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7402 to tmake_file.
7403 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7404 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7405 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7406 (spu-*-elf*): Likewise.
7407 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7408
7409 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7410
7411 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7412 $(srcdir) to refer to $(LIB1ASMSRC).
7413 Use $<.
7414 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7415 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7416 config/arm/lib1funcs.S: New files.
7417 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7418 * config/arm/t-arm: New file.
7419 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7420 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7421 config/arm/t-strongarm-elf: New files.
7422 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7423 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7424 * config/avr/lib1funcs.S: New file.
7425 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7426 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7427 * config/c6x/lib1funcs.S: New file.
7428 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7429 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7430 * config/frv/lib1funcs.S: New file.
7431 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7432 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7433 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7434 * config/ia64/__divxf3.asm: Rename to ...
7435 * config/ia64/__divxf3.S: ... this.
7436 Adapt lib1funcs.asm filename.
7437 * config/ia64/_fixtfdi.asm: Rename to ...
7438 * config/ia64/_fixtfdi.S: ... this.
7439 Adapt lib1funcs.asm filename.
7440 * config/ia64/_fixunstfdi.asm: Rename to ...
7441 * config/ia64/_fixunstfdi.S: ... this.
7442 Adapt lib1funcs.asm filename.
7443 * config/ia64/_floatditf.asm: Rename to ...
7444 * config/ia64/_floatditf.S: ... this.
7445 Adapt lib1funcs.asm filename.
7446 * config/ia64/lib1funcs.S: New file.
7447 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7448 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7449 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7450 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7451 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7452 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7453 * config/mep/lib1funcs.S: New file.
7454 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7455 * config/mips/mips16.S: New file.
7456 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7457 * config/pa/milli64.S: New file.
7458 * config/pa/t-linux, config/pa/t-linux64: New files.
7459 * config/picochip/lib1funcs.S: New file.
7460 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7461 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7462 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7463 * config/sh/t-netbsd: New file.
7464 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7465 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7466 * config/sh/t-sh64: New file.
7467 * config/sparc/lb1spc.S: New file.
7468 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7469 filename.
7470 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7471 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7472 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7473 config/xtensa/lib1funcs.S: New files.
7474 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7475 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7476 tmake_file.
7477 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7478 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7479 (arm*-*-linux*): Likewise.
7480 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7481 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7482 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7483 (arm*-*-ecos-elf): Likewise.
7484 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7485 (arm*-*-rtems*): Likewise.
7486 (arm*-*-elf): Likewise.
7487 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7488 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7489 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7490 (bfin*-uclinux*): Likewise.
7491 (bfin*-linux-uclibc*): Likewise.
7492 (bfin*-rtems*): Likewise.
7493 (bfin*-*): Likewise.
7494 (fido-*-elf): Merge into m68k-*-elf*.
7495 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7496 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7497 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7498 (h8300-*-elf*): Likewise.
7499 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7500 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7501 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7502 (i[34567]86-*-mingw*): Likewise.
7503 (x86_64-*-mingw*): Likewise.
7504 (i[34567]86-*-interix3*): Likewise.
7505 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7506 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7507 (m68k-*-elf*): Also handle fido-*-elf.
7508 Add m68k/t-floatlib to tmake_file.
7509 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7510 (m68k-*-linux*): Likewise.
7511 (m68k-*-rtems*): Likewise.
7512 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7513 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7514 sh64*-*-*.
7515 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7516 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7517 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7518 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7519 sh/t-netbsd to tmake_file.
7520 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7521 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7522 (sh-wrs-vxworks): Likewise.
7523 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7524 *-leon[3-9]*.
7525 (v850*-*-*): Add v850/t-v850 to tmake_file.
7526 (vax-*-linux*): Add vax/t-linux to tmake_file.
7527 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7528
7529 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7530
7531 * crtstuff.c: New file.
7532 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7533 (CRTSTUFF_T_CFLAGS): Define.
7534 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7535 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7536 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7537 crtstuff.c.
7538 Use $<.
7539 (crtbeginT.o): Use $(objext).
7540 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7541 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7542 (gcc-extra-parts): Remove.
7543 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7544 Set extra_parts.
7545 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7546 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7547 Add t-crtstuff-pic to tmake_file.
7548 (*-*-lynxos*): New case.
7549 Set tmake_file, extra_parts.
7550 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7551 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7552 *-*-netbsdelf[2-9]*.
7553 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7554 (*-*-rtems*): Set extra_parts.
7555 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7556 (*-*-uclinux*): New case.
7557 Set extra_parts.
7558 (*-*-vms*): New case.
7559 Set tmake_file, extra_parts.
7560 (*-*-elf): Set extra_parts.
7561 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7562 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7563 vms/t-vms64.
7564 Set extra_parts.
7565 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7566 Set extra_parts.
7567 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7568 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7569 (arm-wrs-vxworks): Append to tmake_file.
7570 Set extra_parts.
7571 (arm*-*-uclinux*): Set extra_parts.
7572 (arm*-*-ecos-elf): Likewise.
7573 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7574 arm*-*-eabi*.
7575 (arm*-*-rtems*): Set extra_parts.
7576 (arm*-*-elf): Likewise.
7577 (avr-*-rtems*): Clear extra_parts.
7578 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7579 Set extra_parts.
7580 (bfin*-uclinux*): Likewise.
7581 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7582 (bfin*-rtems*): Append to tmake_file.
7583 Set extra_parts.
7584 (bfin*-*): Likewise.
7585 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7586 (crisv32-*-elf): ... this.
7587 (crisv32-*-none): ... this.
7588 (cris-*-elf, cris-*-none): New cases.
7589 Add cris/t-elfmulti to tmake_file.
7590 (fr30-*-elf): Append to tmake_file.
7591 Set extra_parts.
7592 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7593 Set extra_parts.
7594 (h8300-*-rtems*): Append to tmake_file.
7595 Set extra_parts.
7596 (h8300-*-elf*): Likewise.
7597 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7598 Set extra_parts.
7599 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7600 Set extra_parts.
7601 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7602 (x86_64-*-elf*): Likewise.
7603 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7604 (x86_64-*-freebsd*): Likewise.
7605 (x86_64-*-netbsd*): Likewise.
7606 (i[34567]86-*-linux*): Likewise.
7607 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7608 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7609 (x86_64-*-linux*): Likewise.
7610 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7611 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7612 tmake_file.
7613 Set extra_parts.
7614 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7615 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7616 Append to extra_parts, remove crtbegin.o, crtend.o.
7617 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7618 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7619 crtend.o, crtbeginS.o, crtendS.o.
7620 (ia64*-*-linux*): Comment extra_parts.
7621 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7622 Set extra_parts.
7623 (iq2000*-*-elf*): Clear extra_parts.
7624 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7625 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7626 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7627 (m32r-*-rtems*): ... this.
7628 Add m32r/t-m32r to tmake_file.
7629 (m68k-*-elf*): Add t-crtin to tmake_file.
7630 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7631 (mcore-*-elf): Likewise.
7632 (microblaze*-*-*): Set extra_parts.
7633 (mips*-sde-elf*): New case.
7634 Set tmake_file, extra_parts.
7635 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7636 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7637 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7638 tmake_file.
7639 Set extra_parts.
7640 (mipsisa64sr71k-*-elf*): Likewise.
7641 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7642 (mips-*-elf*, mipsel-*-elf*): Likewise.
7643 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7644 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7645 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7646 (mips*-*-rtems*): Likewise.
7647 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7648 (moxie-*-*): Split into ...
7649 (moxie-*-elf, moxie-*-uclinux*): ... this.
7650 Add to extra_parts, remove crtbegin.o, crtend.o.
7651 (moxie-*-rtems*): New case.
7652 Set tmake_file.
7653 Clear extra_parts.
7654 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7655 Set extra_parts.
7656 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7657 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7658 tmake_file.
7659 Set extra_parts.
7660 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7661 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7662 Set extra_parts.
7663 (powerpc-*-eabisim*): Likewise.
7664 (powerpc-*-elf*): Likewise.
7665 (powerpc-*-eabialtivec*): Likewise.
7666 (powerpc-xilinx-eabi*): Likewise.
7667 (powerpc-*-eabi*): Likewise.
7668 (powerpc-*-rtems*): Likewise.
7669 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7670 tmake_file.
7671 Set extra_parts.
7672 (powerpc-*-lynxos*): Add to tmake_file.
7673 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7674 rs6000/t-crtstuff, t-crtstuff-pic.
7675 Set extra_parts.
7676 (powerpcle-*-eabisim*): Likewise.
7677 (powerpcle-*-eabi*): Likewise.
7678 (rx-*-elf): Remove extra_parts.
7679 (s390x-ibm-tpf*): Set extra_parts.
7680 (score-*-elf): Set extra_parts.
7681 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7682 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7683 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7684 (sh64l*-*-netbsd*): Split into ...
7685 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7686 Add t-crtstuff-pic to tmake_file.
7687 Set extra_parts.
7688 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7689 Set extra_parts.
7690 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7691 (sparc-*-elf*): Remove t-crtin from tmake_file.
7692 Add to extra_parts, remove crtbegin.o, crtend.o.
7693 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7694 (sparc64-*-linux*): Likewise.
7695 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7696 Add to extra_parts, remove crtbegin.o, crtend.o.
7697 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7698 Add to extra_parts, remove crtbegin.o, crtend.o.
7699 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7700 Add to extra_parts, remove crtbegin.o, crtend.o.
7701 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7702 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7703 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7704 Set extra_parts.
7705 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7706 Set extra_parts.
7707 (tic6x-*-*): Change to ...
7708 (tic6x-*-elf): ... this.
7709 Set extra_parts.
7710 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7711 Set extra_parts.
7712 (am33_2.0-*-linux*): Add comment.
7713 (mep*-*-*): Add mep/t-mep to tmake_file.
7714 Set extra_parts.
7715 * config/alpha/t-vms: New file.
7716 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7717 * config/arm/crti.S, config/arm/crtn.S: New files.
7718 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7719 * config/bfin/crtlibid.S: New file.
7720 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7721 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7722 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7723 (crti.o, crtin.o): New rules.
7724 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7725 * config/c6x/t-uclinux: New file.
7726 * config/cris/t-elfmulti: New file.
7727 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7728 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7729 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7730 * config/frv/t-frv: New file.
7731 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7732 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7733 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7734 New files.
7735 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7736 refer to cygming-crtbegin.c, cygming-crtend.c.
7737 Use $<.
7738 * config/i386/t-nto: New file.
7739 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7740 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7741 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7742 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7743 Use .S extension.
7744 Use $<.
7745 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7746 (crtinitS.o): New rule.
7747 * config/ia64/vms-crtinit.S: New file.
7748 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7749 * config/m32r/initfini.c: New file.
7750 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7751 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7752 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7753 * config/mep/t-mep: New file.
7754 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7755 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7756 * config/mips/crti.S, config/mips/crtn.S: New files.
7757 * config/mips/t-crtstuff: New file.
7758 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7759 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7760 (CUSTOM_CRTIN): Set.
7761 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7762 dependencies.
7763 Use $(srcdir) to refer to crti.S, crtn.S.
7764 Use .S extension, $<.
7765 * config/moxie/crti.asm: Rename to ...
7766 * config/moxie/crti.S: ... this.
7767 * config/moxie/crtn.asm: Rename to ...
7768 * config/moxie/crtn.S: ... this.
7769 * config/moxie/t-moxie: Remove.
7770 * config/pa/stublib.c: New file.
7771 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7772 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7773 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7774 * config/rs6000/t-crtstuff: New file.
7775 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7776 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7777 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7778 Make output file explicit.
7779 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7780 Make output file explicit.
7781 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7782 Make output file explicit.
7783 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7784 Make output file explicit.
7785 * config/score/crti.S, config/score/crtn.S: New files.
7786 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7787 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7788 files.
7789 * config/sh/t-sh, config/sh/t-superh: New files.
7790 * config/sparc/t-linux64: New file.
7791 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7792 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7793 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7794 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7795 * config/t-crtin: Remove.
7796 * config/t-crtstuff-pic: New file.
7797 * config/t-sol2 (CUSTOM_CRTIN): Set.
7798 (crti.o, crtn.o): New rules.
7799 * config/vms/t-vms: New file.
7800 * config/vms/vms-ucrt0.c: New file.
7801 * config/xtensa/t-elf: New file.
7802
7803 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7804
7805 * Makefile.in (SHLIB_NM_FLAGS): Set.
7806 * mkmap-flat.awk, mkmap-symver.awk: New files.
7807 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7808 exceptions.
7809 * configure: Regenerate.
7810 * config/libgcc-glibc.ver: New file.
7811 * config/libgcc-libsystem.ver: New file.
7812 * config/t-libunwind (SHLIB_LC): Set.
7813 * config/t-linux: New file.
7814 * config/t-slibgcc (INSTALL_SHLIB): New.
7815 (SHLIB_INSTALL): Use it.
7816 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7817 to mkmap-symver.awk.
7818 (SHLIB_MAPFILES): Don't append, adapt pathname.
7819 (SHLIB_VERPFX): Set.
7820 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7821 to mkmap-symver.awk.
7822 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7823 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7824 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7825 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7826 to mkmap-flat.awk.
7827 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7828 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7829 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7830 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7831 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7832 * config/i386/libgcc-darwin.10.4.ver,
7833 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7834 New files.
7835 * config/i386/t-darwin: Remove.
7836 * config/i386/t-darwin64: Likewise.
7837 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7838 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7839 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7840 * config/i386/t-linux: New file.
7841 * config/i386/t-mingw32: New file.
7842 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7843 * config/ia64/t-glibc: Rename to ...
7844 * config/ia64/t-linux: ... this.
7845 (SHLIB_MAPFILES): Set.
7846 * config/ia64/t-glibc-libunwind: Rename to ...
7847 * config/ia64/t-linux-libunwind: ... this.
7848 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7849 * config/ia64/t-slibgcc-hpux: New file.
7850 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7851 * config/m68k/t-slibgcc-elf-ver: New file.
7852 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7853 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7854 to mkmap-flat.awk.
7855 * config/pa/t-slibgcc-hpux: New file.
7856 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7857 files.
7858 * config/rs6000/libgcc-darwin.10.4.ver,
7859 config/rs6000/libgcc-darwin.10.5.ver: New files.
7860 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7861 config/rs6000/libgcc-glibc.ver.
7862 * config/rs6000/libgcc-ppc64.ver: Rename to
7863 config/rs6000/libgcc-ibm-ldouble.ver.
7864 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7865 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7866 * config/rs6000/t-ldbl128: Rename to ...
7867 * config/rs6000/t-linux: ... this.
7868 (SHLIB_MAPFILES): Adapt filename.
7869 * config/rs6000/t-slibgcc-aix: New file.
7870 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7871 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7872 libgcc-excl.ver, libgcc-glibc.ver.
7873 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7874 * config/sparc/libgcc-glibc.ver: New file.
7875 * config/sparc/t-linux: New file.
7876 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7877 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7878 t-slibgcc-elf-ver to tmake_file.
7879 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7880 *-*-freebsd[34].
7881 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7882 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7883 t-slibgcc-elf-ver, t-linux to tmake_file.
7884 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7885 tmake_file.
7886 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7887 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7888 (alpha*-dec-*vms*): Likewise.
7889 (arm*-*-freebsd*): Append to tmake_file.
7890 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7891 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7892 arm*-*-linux-*eabi.
7893 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7894 tmake_file for arm*-*-symbianelf*.
7895 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7896 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7897 cris/t-linux.
7898 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7899 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7900 pa/t-slibgcc-dwarf-ver to tmake_file.
7901 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7902 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7903 (hppa*64*-*-hpux11*): Likewise.
7904 (hppa[12]*-*-hpux11*): Likewise.
7905 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7906 i386/t-crtpc, i386/t-crtfm.
7907 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7908 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7909 to tmake_file.
7910 Add i386/t-cygwin to tmake_file.
7911 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7912 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7913 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7914 to tmake_file.
7915 Add i386/t-mingw32 to tmake_file.
7916 (x86_64-*-mingw*): Likewise.
7917 (ia64*-*-freebsd*): Append to tmake_file.
7918 (ia64*-*-linux*): Append to tmake_file.
7919 Replace ia64/t-glibc by ia64/t-linux.
7920 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7921 system libunwind.
7922 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7923 t-slibgcc-hpux to tmake_file.
7924 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7925 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7926 (m32rle-*-linux*): Likewise.
7927 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7928 sjlj exceptions.
7929 (microblaze*-linux*): New case.
7930 Append to tmake_file, add t-slibgcc-nolc-override.
7931 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7932 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7933 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7934 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7935 rs6000/t-slibgcc-aix to tmake_file.
7936 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7937 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7938 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7939 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7940 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7941 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7942 sh*-*-linux*.
7943 (sparc-*-linux*): Append to tmake_file for *-leon*.
7944 Add sparc/t-linux to tmake_file for non-Leon targets.
7945 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7946 (tic6x-*-uclinux): New case.
7947 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7948 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7949 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7950 (am33_2.0-*-linux*): Append to tmake_file.
7951 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7952 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7953 x86_64-*-kfreebsd*-gnu.
7954 Add i386/t-linux to tmake_file.
7955
7956 2011-10-28 Ian Lance Taylor <iant@google.com>
7957
7958 * config/i386/morestack.S: Correct CFI information to do proper
7959 returns throughout function. In 32-bit mode, save %ebx so that it
7960 is restored on unwind.
7961
7962 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7963
7964 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7965 case where B3 isn't the return register.
7966
7967 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7968 logic for doubleword pops.
7969
7970 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
7971
7972 * config/rs6000/t-freebsd: Add wildcard.
7973
7974 2011-10-21 Paul Brook <paul@codesourcery.com>
7975
7976 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7977
7978 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
7979 Eric Botcazou <ebotcazou@adacore.com>
7980
7981 PR target/50737
7982 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7983 fs->signal_frame to 1.
7984
7985 2011-10-07 Ian Lance Taylor <iant@google.com>
7986
7987 * generic-morestack-thread.c: #include <errno.h>.
7988
7989 2011-10-07 Ian Lance Taylor <iant@google.com>
7990
7991 PR target/46093
7992 * generic-morestack.c (__generic_morestack): Make sure the segment
7993 is large enough for both the stack frame and the copied
7994 parameters.
7995
7996 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7997
7998 PR bootstrap/49804
7999 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8000 extra_parts.
8001
8002 2011-09-28 Nick Clifton <nickc@redhat.com>
8003
8004 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8005 64-bit doubles are not enabled.
8006 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8007 and floatunsisf functions.
8008
8009 2011-09-13 Paul Brook <paul@codesourcery.com>
8010
8011 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8012 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8013 * unwind-arm-common.inc: New file.
8014 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8015 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8016 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8017 * config/c6x/libunwind.S: New file.
8018 * config/c6x/pr-support.c: New file.
8019 * config/c6x/unwind-c6x.c: New file.
8020 * config/c6x/unwind-c6x.h: New file.
8021 * config/c6x/t-c6x-elf: New file.
8022
8023 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
8024
8025 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8026 (ASM_DIVZERO): Ditto.
8027 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8028
8029 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8030
8031 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8032
8033 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8034
8035 PR target/50090
8036 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8037 instead of an assembly one.
8038
8039 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
8040
8041 PR bootstrap/50047
8042 * Makefile.in (install-unwind_h): Create
8043 $(gcc_objdir)/include/unwind.h atomically.
8044
8045 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8046
8047 * Makefile.in (install-unwind_h): Remove destination file first.
8048
8049 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8050
8051 * sync.c: New file.
8052 * config/mips/t-mips16: New file.
8053 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8054 (mips*-*-linux*): Likewise.
8055 (mips*-sde-elf*): Likewise.
8056 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8057 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8058 Add mips/t-mips16 to tmake_file.
8059 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8060 (mips-*-elf*): Likewise.
8061 (mips64-*-elf*): Likewise.
8062 (mips64orion-*-elf*): Likewise.
8063 (mips*-*-rtems*): Likewise.
8064 (mipstx39-*-elf*): Likewise.
8065 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8066 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8067 LIBGCC_SYNC_CFLAGS.
8068 Use $(srcdir) to refer to sync.c.
8069 Use $<.
8070 ($(libgcc-sync-funcs-o)): Likewise.
8071 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8072 ($(libgcc-sync-funcs-s-o)): Likewise.
8073
8074 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8075
8076 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8077 t-libunwind.
8078
8079 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8080
8081 PR other/48007
8082 * config/i386/value-unwind.h: New.
8083
8084 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8085
8086 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8087 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8088 Add to tmake_file rather than overriding it.
8089
8090 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8091
8092 * config/t-softfp: Remove.
8093 * soft-fp: Moved from ../gcc/config.
8094 * soft-fp/README: Remove t-softfp reference.
8095 * soft-fp/t-softfp: Move to config/t-softfp.
8096 (softfp_machine_header): Remove.
8097 (softfp_file_list): Remove config subdir.
8098 (soft-fp-objects): New variable.
8099 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8100 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8101 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8102 * config/t-softfp-excl: New file.
8103 * config/t-softfp-sfdf: New file.
8104 * config/t-softfp-tf: New file.
8105 * config/no-sfp-machine.h: New file.
8106 * config/arm/sfp-machine.h: New file.
8107 * config/arm/t-softfp: New file.
8108 * config/c6x/sfp-machine.h: New file.
8109 * config/i386/32/t-fprules-softfp: Rename to ...
8110 * config/i386/32/t-softfp: ... this.
8111 (tifunctions, LIB2ADD): Remove.
8112 (softfp_int_modes): Override.
8113 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8114 subdir.
8115 * config/i386/64/eqtf2.c: Likewise.
8116 * config/i386/64/getf2.c: Likewise.
8117 * config/i386/64/letf2.c: Likewise.
8118 * config/ia64/sft-machine.h: New file.
8119 * config/ia64/t-fprules-softfp: Rename to ...
8120 * config/ia64/t-softfp: ... this.
8121 * config/lm32/sfp-machine.h: New file.
8122 * config/moxie/t-moxie-softfp: Remove.
8123 * config/rs6000/ibm-ldouble-format: New file.
8124 * config/rs6000/ibm-ldouble.c: New file.
8125 * config/rs6000/libgcc-ppc-glibc.ver: New file
8126 * config/rs6000/libgcc-ppc64.ver: New file
8127 * config/rs6000/sfp-machine.h: New file.
8128 * config/rs6000/t-freebsd: New file.
8129 * config/rs6000/t-ibm-ldouble: New file.
8130 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8131 libgcc-ppc-glibc.ver.
8132 * config/rs6000/t-linux64: New file.
8133 * config/rs6000/t-ppccomm (LIB2ADD): Add
8134 $(srcdir)/config/rs6000/ibm-ldouble.c.
8135 * config/rs6000/t-ppccomm-ldbl: New file.
8136 * config/score/sfp-machine.h: New file.
8137 * config.host (sfp_machine_header): Explain.
8138 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8139 t-softfp to tmake_file.
8140 (arm*-*-uclinux*): Likewise.
8141 (arm*-*-ecos-elf): Likewise.
8142 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8143 (arm*-*-rtems*): Likewise.
8144 (arm*-*-elf): Likewise.
8145 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8146 in tmake_file.
8147 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8148 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8149 (lm32-*-uclinux*): Likewise.
8150 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8151 t-softfp-excl, t-softfp.
8152 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8153 (powerpc64-*-darwin*): Likewise.
8154 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8155 to tmake_file.
8156 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8157 tmake_file.
8158 (powerpc-*-eabisim*): Likewise.
8159 (powerpc-*-elf*): Likewise.
8160 (powerpc-*-eabialtivec*): Likewise.
8161 (powerpc-xilinx-eabi*): Likewise.
8162 (powerpc-*-rtems*): Likewise.
8163 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8164 t-softfp-excl, t-softfp to tmake_file.
8165 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8166 rs6000/t-ppccomm-ldbl to tmake_file.
8167 (powerpcle-*-elf*): Likewise.
8168 (powerpcle-*-eabisim*): Likewise.
8169 (powerpcle-*-eabi*): Likewise.
8170 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8171 rs6000/t-ibm-ldouble to tmake_file.
8172 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8173 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8174 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8175 (tic6x-*-*): Likewise.
8176 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8177 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8178 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8179 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8180 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8181 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8182 t-softfp to tmake_file.
8183 * configure.ac (sfp_machine_header): Provide default if unset.
8184 Substitute.
8185 Link sfp-machine.h to config/$sfp_machine_header.
8186 * configure: Regenerate.
8187
8188 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8189
8190 * Makefile.in (double_type_size, long_double_type_size): Set.
8191 Remove $(fpbit-in-libgcc) support.
8192 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8193 (fpbit-src): New variable.
8194 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8195 Compile with -DFLOAT $(FPBIT_CFLAGS).
8196 Use $<.
8197 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8198 Compile with $(FPBIT_CFLAGS).
8199 Use $<.
8200 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8201 Compile with -DFLOAT $(TPBIT_CFLAGS).
8202 Use $<.
8203 * configure.ac (double_type_size, long_double_type_size):
8204 Determine and substitute.
8205 * configure: Regenerate.
8206 * fp-bit.c, fp-bit.h: New files.
8207 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8208 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8209 * config/mips/t-mips: New file.
8210 * config/mips/t-sdemtk: New file.
8211 * config/rs6000/ppc64-fp.c: New file.
8212 * config/rs6000/t-darwin (LIB2ADD): Add
8213 $(srcdir)/config/rs6000/ppc64-fp.c.
8214 * config/rs6000/t-ppc64-fp: New file.
8215 * config/rx/rx-lib.h: New file.
8216 * config/rx/t-rx (FPBIT): Set to true.
8217 ($(gcc_objdir)/fp-bit.c): Remove.
8218 (DPBIT): Set to true only with -m64bit-doubles.
8219 ($(gcc_objdir)/dp-bit.c): Remove.
8220 * config/sparc/t-softfp: Remove.
8221 * config/spu/t-elf: New file.
8222 * config/t-fdpbit, config/t-fpbit: New files.
8223 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8224 (mips*-*-*): Likewise.
8225 (arm-wrs-vxworks): Likewise.
8226 (arm*-*-freebsd*): Likewise.
8227 (avr-*-rtems*): Add t-fpbit to tmake_file.
8228 (avr-*-*): Likewise.
8229 (bfin*-elf*): Add t-fdpbit to tmake_file.
8230 (bfin*-uclinux*): Likewise.
8231 (bfin*-linux-uclibc*): Likewise.
8232 (bfin*-rtems*): New case.
8233 Add t-fdpbit to tmake_file.
8234 (bfin*-*): Add t-fdpbit to tmake_file.
8235 (crisv32-*-elf): Likewise.
8236 (cris-*-linux*): Likewise.
8237 (fr30-*-elf): Likewise.
8238 (frv-*-elf, frv-*-*linux*): Likewise.
8239 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8240 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8241 (m32r-*-elf*): Likewise.
8242 (m32rle-*-elf*): Likewise.
8243 (m32r-*-linux*): Likewise.
8244 (m32rle-*-linux*): Likewise.
8245 (mcore-*-elf): Add t-fdpbit to tmake_file.
8246 (microblaze*-*-*): Likewise.
8247 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8248 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8249 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8250 Fix typo.
8251 Add mips/t-tpbit to tmake-file.
8252 (mips*-*-linux*): Fix typo.
8253 (mips*-sde-elf*): New case
8254 Add mips/t-sdemtk unless using newlib.
8255 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8256 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8257 (mn10300-*-*): Likewise.
8258 (pdp11-*-*): Likewise.
8259 (picochip-*-*): Add t-fpbit to tmake_file.
8260 (powerpc-*-eabisimaltivec*): Likewise.
8261 (powerpc-*-eabisim*): Likewise.
8262 (powerpc-*-elf*): Likewise.
8263 (powerpc-*-eabialtivec*): Likewise.
8264 (powerpc-xilinx-eabi*): New case.
8265 Add t-fdpbit to tmake_file.
8266 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8267 (powerpc-*-rtems*): Likewise.
8268 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8269 tmake_file.
8270 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8271 tmake_file.
8272 (powerpc-*-lynxos*): Likewise.
8273 (powerpcle-*-elf*): Likewise.
8274 (powerpcle-*-eabisim*): Likewise.
8275 (powerpcle-*-eabi*): Likewise.
8276 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8277 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8278 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8279 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8280 (rx-*-elf): Add t-fdpbit to tmake_file.
8281 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8282 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8283 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8284 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8285 sh*-*-netbsd*.
8286 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8287 (sh-wrs-vxworks): Likewise.
8288 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8289 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8290 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8291 (sparc64-*-rtems*): ... new case.
8292 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8293 (spu-*-elf*): Likewise.
8294 Add spu/t-elf to tmake_file.
8295 (v850*-*-*): Add t-fdpbit to tmake_file.
8296 (xstormy16-*-elf): Likewise.
8297 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8298 (mep*-*-*): Likewise.
8299
8300 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8301
8302 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8303 variables.
8304 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8305 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8306 (install-unwind_h): New target.
8307 (all): Depend on it.
8308 * config.host (unwind_header): New variable.
8309 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8310 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8311 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8312 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8313 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8314 Set unwind_header.
8315 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8316 Set unwind_header.
8317 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8318 arm*-*-eabi*.
8319 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8320 Set unwind_header.
8321 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8322 (ia64*-*-freebsd*): Likewise.
8323 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8324 tmake_file.
8325 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8326 $with_system_libunwind.
8327 (ia64*-*-hpux*): Set tmake_file.
8328 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8329 (picochip-*-*): Set tmake_file.
8330 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8331 md_unwind_header.
8332 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8333 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8334 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8335 (xtensa*-*-elf*): Set tmake_file.
8336 (xtensa*-*-linux*): Likewise.
8337 * configure.ac: Include ../config/unwind_ipinfo.m4.
8338 Call GCC_CHECK_UNWIND_GETIPINFO.
8339 Link unwind.h to $unwind_header.
8340 * configure: Regenerate.
8341 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8342 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8343 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8344 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8345 * config/unwind-dw2-fde-darwin.c: New file.
8346 * config/arm/libunwind.S, config/arm/pr-support.c,
8347 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8348 config/arm/unwind-arm.h,: New files.
8349 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8350 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8351 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8352 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8353 config/ia64/unwind-ia64.h: New files.
8354 * config/picochip/t-picochip: New file.
8355 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8356 files.
8357 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8358 * config/s390/t-tpf (LIB2ADDEH): Remove.
8359 * config/t-darwin (LIB2ADDEH): Set.
8360 * config/t-eh-dw2-dip: New file.
8361 * config/t-libunwind, config/t-libunwind-elf: New files.
8362 * config/t-sol2 (LIB2ADDEH): Remove.
8363 * config/xtensa/t-xtensa: New file.
8364
8365 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8366
8367 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8368 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8369 long long to check rt_sigreturn syscall.
8370
8371 2011-08-02 Alan Modra <amodra@gmail.com>
8372
8373 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8374 Restore for indirect call bcrtl from correct stack slot, and only
8375 if cfa+40 isn't valid.
8376
8377 2011-08-01 Julian Brown <julian@codesourcery.com>
8378
8379 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8380 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8381 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8382
8383 2011-08-01 Julian Brown <julian@codesourcery.com>
8384
8385 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8386 (libgcc-std.ver.in): Use above.
8387 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8388 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8389 throughout file.
8390 * config/t-fixedpoint-gnu-prefix: New file.
8391 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8392 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8393 instead of __PFX__.
8394
8395 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8396
8397 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8398 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8399 for x86-64. Properly check __x86_64__ and __LP64__.
8400
8401 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8402
8403 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8404 version.
8405 (_FP_WS_TYPE): Likewise.
8406 (_FP_I_TYPE): Likewise.
8407
8408 2011-07-28 Alan Modra <amodra@gmail.com>
8409
8410 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8411 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8412 in a plt call stub. Do restore r2 if stopped on bctrl.
8413
8414 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8415
8416 * config.host (i[3456x]86-*-netware*): Remove.
8417 * config/i386/netware-crt0.c, config/i386/t-nwld,
8418 config/i386/t-slibgcc-nwld: Remove.
8419
8420 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8421
8422 * config.host: Handle tic6x-*-*.
8423 * config/c6x/c6x-abi.h: New file.
8424
8425 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8426
8427 * config/i386/crtprec.c: New file.
8428 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8429 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8430 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8431 (x86_64-*-darwin*): Likewise.
8432 (i[34567]86-*-solaris2*: Likewise.
8433
8434 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8435
8436 * config/alpha/crtfastmath.c: New file.
8437 * config/i386/crtfastmath.c: New file.
8438 * config/ia64/crtfastmath.c: New file.
8439 * config/mips/crtfastmath.c: New file.
8440 * config/sparc/crtfastmath.c: New file.
8441
8442 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8443 crtfastmath.c.
8444 Add -frandom-seed=gcc-crtfastmath.
8445 * config/alpha/t-crtfm: Remove.
8446 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8447 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8448
8449 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8450 (alpha*-dec-osf5.1*): Likewise.
8451 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8452 Add crtfastmath.o to extra_parts.
8453 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8454 Add crtfastmath.o to extra_parts.
8455 (x86_64-*-darwin*): Likewise.
8456 (x86_64-*-mingw*): Likewise.
8457 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8458 (ia64*-*-freebsd*): Likewise.
8459 (ia64*-*-linux*): Likewise.
8460 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8461 Add crtfastmath.o to extra_parts.
8462
8463 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8464
8465 * config/darwin-crt3.o: New file.
8466 * config/rs6000/darwin-crt2.c: New file.
8467 * config/t-darwin: New file.
8468 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8469 (crt2.o): New rule.
8470 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8471 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8472 (powerpc64-*-darwin*): Likewise.
8473
8474 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8475
8476 * config/i386/netware-crt0.c: New file.
8477 * config/i386/t-nwld: Rename to ...
8478 * config/i386/t-slibgcc-nwld: ... this.
8479 * config/i386/t-nwld: New file.
8480 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8481 tmake_file.
8482 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8483 extra_parts.
8484
8485 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8486
8487 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8488 i386/t-crtstuff.
8489 * configure: Regenerate.
8490
8491 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8492
8493 * dfp-bit.c, dfp-bit.h: New files.
8494 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8495 variables.
8496 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8497 ($(d64pbit-o)): Likewise.
8498 ($(d128pbit-o)): Likewise.
8499 * config/t-dfprules: New file.
8500 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8501 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8502 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8503 (x86_64-*-linux*): Likewise.
8504 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8505 (i[34567]86-*-cygwin*): Likewise.
8506 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8507 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8508
8509 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8510
8511 * Makfile.in (LIBGCOV): New variable.
8512 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8513 * libgcov.c: New file.
8514
8515 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8516
8517 * fixed-bit.c, fixed-bit.h: New files.
8518 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8519 refer to fixed-bit.c.
8520
8521 2011-07-07 Joseph Myers <joseph@codesourcery.com>
8522
8523 * config.host (*local*): Remove.
8524
8525 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8526
8527 PR target/39150
8528 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8529 like i?86-*-solaris2.1[0-9]*.
8530 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8531 * configure.ac (i?86-*-solaris2*): Likewise.
8532 * configure: Regenerate.
8533
8534 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
8535
8536 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8537 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8538 md_unwind_header by splitting out of...
8539 (i[34567]86-*-linux*): ... this.
8540 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8541 Remove md_unwind_header by splitting out of...
8542 (x86_64-*-linux*): ... this.
8543
8544 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
8545
8546 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8547
8548 2011-06-28 Nick Clifton <nickc@redhat.com>
8549
8550 * config.host: Recognize all V850 variants.
8551
8552 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
8553
8554 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8555
8556 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8557
8558 * shared-object.mk (c_flags-$o): Save c_flags.
8559 ($(base)$(objext)): Use it.
8560 ($(base)_s$(objext)): Likewise.
8561
8562 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8563
8564 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8565 * libgcc-std.ver.in (GCC_4.7.0): New section.
8566
8567 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
8568
8569 PR target/49313
8570 PR target/29524
8571 * config/avr/t-avr: Fix line endings.
8572 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8573 _parityXX2.
8574
8575 2011-06-14 Olivier Hainque <hainque@adacore.com>
8576 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8577
8578 * config/mips/irix6-unwind.h: New file.
8579 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8580
8581 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8582
8583 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8584 (sparc64_fallback_frame_state): Use it.
8585 (sparc64_frob_update_context): Further adjust context.
8586 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8587 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8588 * config/sparc/sol2-cn.S: Likewise.
8589
8590 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8591
8592 * enable-execute-stack-empty.c: New file.
8593 * enable-execute-stack-mprotect.c: New file.
8594 * config/i386/enable-execute-stack-mingw32.c: New file.
8595 * config.host (enable_execute_stack): New variable.
8596 Select appropriate variants.
8597 * configure.ac: Link enable-execute-stack.c to
8598 $enable_execute_stack.
8599 * configure: Regenerate.
8600 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8601 (lib2funcs): Remove _enable_execute_stack.
8602
8603 2011-06-09 David S. Miller <davem@davemloft.net>
8604 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8605
8606 * config.host (sparc-*-linux*): Correct md_unwind_header
8607 filename.
8608 (s390x-ibm-tpf*): Fix typo.
8609
8610 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8611
8612 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8613 Add crtfastmath.o to extra_parts.
8614 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8615 mips/t-crtfm.
8616 * config/mips/t-crtfm: Remove.
8617
8618 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8619
8620 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8621
8622 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8623
8624 * config.host (sh*-*-linux*): Fix typo.
8625
8626 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8627
8628 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8629 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8630 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8631 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8632 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8633 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8634 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8635 Wrap in !__MINGW64__.
8636 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8637 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8638 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8639 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8640 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8641 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8642 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8643 Wrap in !__LP64__.
8644 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8645 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8646 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8647 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8648 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8649 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8650 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8651 * config/no-unwind.h: New file.
8652 * config.host (md_unwind_header): Document.
8653 Define.
8654 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8655 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8656 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8657 hppa[12]*-*-hpux11*): Set md_unwind_header.
8658 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8659 Set md_unwind_header.
8660 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8661 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8662 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8663 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8664 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8665 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8666 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8667 md_unwind_header.
8668 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8669 * configure: Regenerate.
8670
8671 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8672
8673 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8674 Set tmake_file, extra_parts.
8675 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8676 Remove O32 support.
8677 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8678 Remove O32 support.
8679 * config/mips/t-irix6: New file.
8680 * config/mips/t-slibgcc-irix: New file.
8681
8682 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8683
8684 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8685 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8686
8687 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8688
8689 * configure.ac (target_thread_file): Determine thread model.
8690 * configure: Regenerate.
8691 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8692 * config/alpha/t-alpha: New file.
8693 * config/alpha/t-crtfm: Use $<.
8694 * config/alpha/t-ieee: New file.
8695 * config/alpha/t-osf-pthread: New file.
8696 * config/alpha/t-slibgcc-osf: New file.
8697 * config/alpha/libgcc-osf5.ver: New file.
8698
8699 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8700
8701 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8702 tmake_file.
8703 Add crtfastmath.o to extra_parts.
8704
8705 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8706
8707 * config/gmon-sol2.c: Reindent.
8708 Cleanup comments.
8709 Remove, correct casts.
8710 Use STDERR_FILENO, NULL.
8711 (BASEADDRESS): Remove.
8712 (minbrk): Remove.
8713 (errno, sbrk): Remove declarations.
8714 (monstartup) [hp300]: Remove.
8715 (mcount): Remove.
8716
8717 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8718
8719 * Makefile.in (cpu_type): Define.
8720 * config.host (i[34567]86-*-rtems*): Handle it.
8721 (i[34567]86-*-solaris2*): Move body ...
8722 (*-*-solaris2*): ... here.
8723 New case, generalize.
8724 (sparc-*-elf*): Handle it.
8725 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8726 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8727 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8728 Fold into ...
8729 (sparc*-*-solaris2*): ... this.
8730 New case.
8731 (sparc64-*-elf*): Handle it.
8732 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8733 Merge ../gcc/config/i386/gmon-sol2.c.
8734 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8735 Use C comments.
8736 Merge ../gcc/config/i386/sol2-gc1.asm.
8737 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8738 Use C comments.
8739 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8740 Use C comments.
8741 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8742 * config/i386/t-crtstuff: New file.
8743 * config/i386/t-softfp: New file.
8744 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8745 $(T)crti.o, $(T)crtn.o): Remove.
8746 (gcrt1.o): New rule.
8747 (TARGET_LIBGCC2_CFLAGS): Remove.
8748 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8749 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8750 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8751 * config/sparc/t-sol2: New file.
8752 * config/sparc/t-crtfm: Move to ...
8753 * config/t-crtfm: ... this.
8754 Use $(cpu_type), $<.
8755 * config/t-crtin: New file.
8756 * config/sparc/t-softfp: New file.
8757 * config/sparc/t-softmul: New file.
8758 * config/t-rtems: New file.
8759 * config/t-slibgcc: New file.
8760 * config/t-slibgcc-elf-ver: New file.
8761 * config/t-slibgcc-gld: New file.
8762 * config/t-slibgcc-sld: New file.
8763 * config/t-sol2: New file.
8764 * configure.ac: Include ../config/lib-ld.m4.
8765 Call AC_LIB_PROG_LD_GNU.
8766 Substitute cpu_type.
8767 * configure: Regenerate.
8768
8769 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8770
8771 PR bootstrap/49173
8772 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8773 libgcc-std.ver in the build directory.
8774 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8775 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8776
8777 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8778
8779 * libgcc-std.ver.in: New file.
8780 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8781 variables.
8782 (libgcc-std.ver): New rule.
8783 * config/t-gnu-prefix: New file.
8784
8785 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8786
8787 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8788
8789 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8790
8791 * config/i386/darwin-lib.h: New file.
8792
8793 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8794
8795 * config/arm/symbian-lib.h: New.
8796
8797 2011-05-04 Chris Demetriou <cgd@google.com>
8798
8799 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8800 (__x86.get_pc_thunk.bx): ...this.
8801 (__morestack): Adjust for rename, remove undef of __i686.
8802
8803 2011-05-03 Chris Demetriou <cgd@google.com>
8804
8805 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8806
8807 2011-03-22 Joseph Myers <joseph@codesourcery.com>
8808
8809 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8810 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8811 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8812 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8813 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8814 Remove cases.
8815
8816 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
8817
8818 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8819 Adjust copyright year.
8820
8821 2011-03-07 Ian Lance Taylor <iant@google.com>
8822
8823 * generic-morestack.c (__splitstack_find): Adjust returned stack
8824 pointer to include all registers pushed by __morestack.
8825
8826 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8827
8828 PR target/40125
8829 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8830 (toolexecdir): Calculate and AC_SUBST.
8831 (toolexeclibdir): Likewise.
8832 * Makefile.in (target_noncanonical): Import.
8833 (toolexecdir): Likewise.
8834 (toolexeclibdir): Likewise.
8835 * configure: Regenerate.
8836
8837 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8838
8839 PR target/46040
8840 * config/arm/bpabi.h: Rename to...
8841 * config/arm/bpabi-lib.h: ...this.
8842
8843 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8844
8845 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8846 appropriate.
8847 * configure: Regenerate.
8848
8849 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8850
8851 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8852 __FLOAT_WORD_ORDER__.
8853 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8854 Delete.
8855
8856 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8857
8858 PR other/46202
8859 * Makefile.in (install-strip): New phony target.
8860
8861 2010-11-07 Ian Lance Taylor <iant@google.com>
8862
8863 PR target/46089
8864 * config/i386/morestack.S (__morestack_large_model): New
8865 function.
8866
8867 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8868
8869 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8870 Delete.
8871 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8872
8873 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8874
8875 * config/arm/bpabi.h: New file.
8876 * config/frv/frv-abi.h: New file.
8877
8878 2010-10-01 Ian Lance Taylor <iant@google.com>
8879
8880 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8881 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8882
8883 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8884
8885 PR target/45858
8886 * config.host: Add the missing `$'.
8887
8888 2010-09-30 Michael Eager <eager@eagercon.com>
8889
8890 * config.host: Add microblaze*-*-*.
8891 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8892 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8893 udivsi3.asm,umodsi3.asm}: New.
8894
8895 2010-09-28 Ian Lance Taylor <iant@google.com>
8896
8897 * configure.ac: Adjust CFI test to test assembler directly rather
8898 than checking gcc preprocessor macro.
8899 * configure: Rebuild.
8900
8901 2010-09-27 Ian Lance Taylor <iant@google.com>
8902
8903 * configure.ac: Test whether assembler supports CFI directives.
8904 * config.host: Only add t-stack and i386/t-stack-i386 to
8905 tmake_file if libgcc_cv_cfi is "yes".
8906 * configure: Rebuild.
8907
8908 2010-09-27 Ian Lance Taylor <iant@google.com>
8909
8910 * generic-morestack.h: New file.
8911 * generic-morestack.c: New file.
8912 * generic-morestack-thread.c: New file.
8913 * config/i386/morestack.S: New file.
8914 * config/t-stack: New file.
8915 * config/i386/t-stack-i386: New file.
8916 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8917 i386/t-stack-i386 to tmake_file.
8918
8919 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8920
8921 * Makefile.in (libgcc-extra-parts): Check for static archives and
8922 invoke ranlib after installing them.
8923 (gcc-extra-parts): Likewise.
8924 (install-leaf): Likewise.
8925
8926 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8927
8928 * configure: Regenerated.
8929
8930 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
8931
8932 * configure: Regenerated.
8933
8934 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8935 Andrew Pinski <pinskia@gmail.com>
8936
8937 PR target/40959
8938 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8939
8940 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8941
8942 PR target/45524
8943 * configure: Regenerated.
8944
8945 2010-09-06 Andreas Schwab <schwab@redhat.com>
8946
8947 * configure: Regenerate.
8948
8949 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8950
8951 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8952 64bit targets.
8953 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8954 for 64bit targets.
8955
8956 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8957 Iain Sandoe <iains@gcc.gnu.org>
8958
8959 PR target/45476
8960 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8961 LIB2FUNCS_EXCLUDE functions.
8962
8963 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8964
8965 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8966 Include dfp.m4.
8967 * configure: Regenerate.
8968
8969 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
8970
8971 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8972 i386/t-freebsd to tmake_file.
8973 * config/i386/t-freebsd: New file.
8974 * config/i386/libgcc-bsd.ver: New file.
8975
8976 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8977
8978 * config.host (powerpc*-eabispe*): Set tmake_file.
8979 (powerpc*-eabi*): Likewise.
8980 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8981 crtbeginS, crtendS, crtbeginT.
8982
8983 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
8984
8985 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8986 to tmake_file. Add crtfastmath.o to extra_parts.
8987 * config/mips/t-crtfm: New.
8988
8989 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
8990
8991 * config.host (sparc64-*-rtems*): New target.
8992
8993 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8994
8995 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8996 assembler syntax.
8997
8998 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8999
9000 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9001
9002 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9003
9004 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9005 alpha-dec-osf5.0* support.
9006
9007 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
9008
9009 * config.host: Add lm32-*-rtems*.
9010
9011 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9012 Uros Bizjak <ubizjak@gmail.com>
9013
9014 PR target/39048
9015 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9016 like other remaining 32-bit x86 OSes.
9017 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9018 assembler syntax.
9019 * config/i386/libgcc-sol2.ver: New file.
9020 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9021
9022 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
9023
9024 PR c/43553
9025 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9026 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9027 is used and substitute set_use_emutls.
9028 * configure: Regenerated.
9029
9030 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9031
9032 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9033
9034 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9035
9036 PR target/38085
9037 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9038 MULTILIB_CFLAGS.
9039 ($(T)gcrt1.o): Likewise.
9040 ($(T)crt1.o): Likewise.
9041 ($(T)crti.o): Likewise.
9042 ($(T)crtn.o): Likewise.
9043
9044 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9045
9046 PR other/42980
9047 * Makefile.in (install): Use $(MAKE) string in rule, for
9048 parallel make.
9049
9050 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9051
9052 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9053 * config/mmix/t-mmix: New file.
9054 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9055
9056 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9057
9058 PR java/41991
9059 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9060 SHLIB_MAPFILES.
9061
9062 2010-01-04 Anthony Green <green@moxielogic.com>
9063
9064 * config/moxie/crti.asm, config/moxie/crtn.asm,
9065 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9066 config/moxie/t-moxie: New files.
9067 * config.host: Add t-moxie-softfp reference.
9068
9069 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
9070
9071 PR other/39888
9072 * config/t-slibgcc-darwin: Fix embedded rpaths for
9073 --enable-version-specific-runtime-libs, build extension stub
9074 libs exposing features available from current libgcc_s.
9075
9076 2009-11-11 Jon Beniston <jon@beniston.com>
9077
9078 * config.host: Add lm32 targets.
9079 * config/lm32: New directory.
9080 * config/lm32/libgcc_lm32.h: New file.
9081 * config/lm32/_mulsi3.c: New file.
9082 * config/lm32/_udivmodsi4.c: New file.
9083 * config/lm32/_divsi3.c: New file.
9084 * config/lm32/_modsi3.c: New file.
9085 * config/lm32/_udivsi3.c: New file.
9086 * config/lm32/_umodsi3.c: New file.
9087 * config/lm32/_lshrsi3.S: New file.
9088 * config/lm32/_ashrsi3.S: New file.
9089 * config/lm32/_ashlsi3.S: New file.
9090 * config/lm32/crti.S: New file.
9091 * config/lm32/crtn.S: New file.
9092 * config/lm32/t-lm32: New file.
9093 * config/lm32/t-elf: New file.
9094 * config/lm32/t-uclinux: New file.
9095
9096 2009-10-26 Nick Clifton <nickc@redhat.com>
9097
9098 * config.host: Add support for RX target.
9099 * config/rx: New directory.
9100 * config/rx/rx-abi-functions.c: New file. Supplementary
9101 functions for libgcc to support the RX ABI.
9102 * config/rx/rx-abi.h: New file. Supplementary header file for
9103 libgcc RX ABI functions.
9104 * config/rx/t-rx: New file: Makefile fragment for building
9105 libgcc for the RX.
9106
9107 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
9108
9109 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9110 constraint of y0 to "g".
9111
9112 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9113
9114 * config.host: Include the s390 makefile fragments.
9115 * config/s390/32/_fixdfdi.c: New file.
9116 * config/s390/32/_fixsfdi.c: New file.
9117 * config/s390/32/_fixtfdi.c: New file.
9118 * config/s390/32/_fixunsdfdi.c: New file.
9119 * config/s390/32/_fixunssfdi.c: New file.
9120 * config/s390/32/_fixunstfdi.c: New file.
9121 * config/s390/32/t-floattodi: New file.
9122 * config/s390/libgcc-glibc.ver: New file.
9123 * config/s390/t-crtstuff: New file.
9124 * config/s390/t-linux: New file.
9125 * config/s390/t-tpf: New file.
9126
9127 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9128
9129 * configure.ac (AC_PREREQ): Bump to 2.64.
9130
9131 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9132
9133 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9134
9135 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9136
9137 * configure: Regenerate.
9138
9139 2009-08-09 Douglas B Rupp <rupp@gnat.com>
9140
9141 * config.host (ia64-hp-*vms*): New target.
9142 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9143 with ia64-hp-*vms*.
9144
9145 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9146
9147 * configure.ac: Add snippet for maintainer-mode.
9148 * configure: Regenerate.
9149 * Makefile.in (AUTOCONF, configure_deps): New variables.
9150 ($(srcdir)/configure)): New rule, active only with maintainer
9151 mode turned on.
9152
9153 2009-06-23 DJ Delorie <dj@redhat.com>
9154
9155 Add MeP port.
9156 * config.host: Add mep support.
9157
9158 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
9159
9160 * config.host: Add i386/${host_address}/t-fprules-softfp and
9161 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
9162
9163 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9164 for mingw targets.
9165 * config/i386/64/_multc3.c: Likewise.
9166 * config/i386/64/_powitf2.c: Likewise.
9167 * config/i386/64/eqtf2.c: Likewise.
9168 * config/i386/64/getf2.c: Likewise.
9169 * config/i386/64/letf2.c: Likewise.
9170 * config/i386/64/letf2.c: Likewise.
9171 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9172 unsigned long long for x64 mingw targets.
9173 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9174 (_FP_I_TYPE): Define as long long for x64 mingw target.
9175
9176 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9177
9178 * config.host (vax-*-linux*): New.
9179
9180 2009-05-31 Anthony Green <green@moxielogic.com>
9181
9182 * config.host: Add moxie support.
9183 * config/moxie/t-moxie: New file.
9184
9185 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
9186
9187 * config.host: Add i386/${host_address}/t-fprules-softfp and
9188 t-softfp to tmake_file for i[34567]86-*-cygwin*.
9189
9190 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9191
9192 * config.host: Add i386/${host_address}/t-fprules-softfp to
9193 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9194
9195 2009-04-09 Nick Clifton <nickc@redhat.com>
9196
9197 * config/ia64/tf-signs.c: Change copyright header to refer to
9198 version 3 of the GNU General Public License with version 3.1
9199 of the GCC Runtime Library Exception and to point readers at
9200 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9201 web page.
9202 * config/i386/32/tf-signs.c: Likewise.
9203 * config/libbid/_addsub_dd.c: Likewise.
9204 * config/libbid/_addsub_sd.c: Likewise.
9205 * config/libbid/_addsub_td.c: Likewise.
9206 * config/libbid/_dd_to_df.c: Likewise.
9207 * config/libbid/_dd_to_di.c: Likewise.
9208 * config/libbid/_dd_to_sd.c: Likewise.
9209 * config/libbid/_dd_to_sf.c: Likewise.
9210 * config/libbid/_dd_to_si.c: Likewise.
9211 * config/libbid/_dd_to_td.c: Likewise.
9212 * config/libbid/_dd_to_tf.c: Likewise.
9213 * config/libbid/_dd_to_udi.c: Likewise.
9214 * config/libbid/_dd_to_usi.c: Likewise.
9215 * config/libbid/_dd_to_xf.c: Likewise.
9216 * config/libbid/_df_to_dd.c: Likewise.
9217 * config/libbid/_df_to_sd.c: Likewise.
9218 * config/libbid/_df_to_td.c: Likewise.
9219 * config/libbid/_di_to_dd.c: Likewise.
9220 * config/libbid/_di_to_sd.c: Likewise.
9221 * config/libbid/_di_to_td.c: Likewise.
9222 * config/libbid/_div_dd.c: Likewise.
9223 * config/libbid/_div_sd.c: Likewise.
9224 * config/libbid/_div_td.c: Likewise.
9225 * config/libbid/_eq_dd.c: Likewise.
9226 * config/libbid/_eq_sd.c: Likewise.
9227 * config/libbid/_eq_td.c: Likewise.
9228 * config/libbid/_ge_dd.c: Likewise.
9229 * config/libbid/_ge_sd.c: Likewise.
9230 * config/libbid/_ge_td.c: Likewise.
9231 * config/libbid/_gt_dd.c: Likewise.
9232 * config/libbid/_gt_sd.c: Likewise.
9233 * config/libbid/_gt_td.c: Likewise.
9234 * config/libbid/_isinfd128.c: Likewise.
9235 * config/libbid/_isinfd32.c: Likewise.
9236 * config/libbid/_isinfd64.c: Likewise.
9237 * config/libbid/_le_dd.c: Likewise.
9238 * config/libbid/_le_sd.c: Likewise.
9239 * config/libbid/_le_td.c: Likewise.
9240 * config/libbid/_lt_dd.c: Likewise.
9241 * config/libbid/_lt_sd.c: Likewise.
9242 * config/libbid/_lt_td.c: Likewise.
9243 * config/libbid/_mul_dd.c: Likewise.
9244 * config/libbid/_mul_sd.c: Likewise.
9245 * config/libbid/_mul_td.c: Likewise.
9246 * config/libbid/_ne_dd.c: Likewise.
9247 * config/libbid/_ne_sd.c: Likewise.
9248 * config/libbid/_ne_td.c: Likewise.
9249 * config/libbid/_sd_to_dd.c: Likewise.
9250 * config/libbid/_sd_to_df.c: Likewise.
9251 * config/libbid/_sd_to_di.c: Likewise.
9252 * config/libbid/_sd_to_sf.c: Likewise.
9253 * config/libbid/_sd_to_si.c: Likewise.
9254 * config/libbid/_sd_to_td.c: Likewise.
9255 * config/libbid/_sd_to_tf.c: Likewise.
9256 * config/libbid/_sd_to_udi.c: Likewise.
9257 * config/libbid/_sd_to_usi.c: Likewise.
9258 * config/libbid/_sd_to_xf.c: Likewise.
9259 * config/libbid/_sf_to_dd.c: Likewise.
9260 * config/libbid/_sf_to_sd.c: Likewise.
9261 * config/libbid/_sf_to_td.c: Likewise.
9262 * config/libbid/_si_to_dd.c: Likewise.
9263 * config/libbid/_si_to_sd.c: Likewise.
9264 * config/libbid/_si_to_td.c: Likewise.
9265 * config/libbid/_td_to_dd.c: Likewise.
9266 * config/libbid/_td_to_df.c: Likewise.
9267 * config/libbid/_td_to_di.c: Likewise.
9268 * config/libbid/_td_to_sd.c: Likewise.
9269 * config/libbid/_td_to_sf.c: Likewise.
9270 * config/libbid/_td_to_si.c: Likewise.
9271 * config/libbid/_td_to_tf.c: Likewise.
9272 * config/libbid/_td_to_udi.c: Likewise.
9273 * config/libbid/_td_to_usi.c: Likewise.
9274 * config/libbid/_td_to_xf.c: Likewise.
9275 * config/libbid/_tf_to_dd.c: Likewise.
9276 * config/libbid/_tf_to_sd.c: Likewise.
9277 * config/libbid/_tf_to_td.c: Likewise.
9278 * config/libbid/_udi_to_dd.c: Likewise.
9279 * config/libbid/_udi_to_sd.c: Likewise.
9280 * config/libbid/_udi_to_td.c: Likewise.
9281 * config/libbid/_unord_dd.c: Likewise.
9282 * config/libbid/_unord_sd.c: Likewise.
9283 * config/libbid/_unord_td.c: Likewise.
9284 * config/libbid/_usi_to_dd.c: Likewise.
9285 * config/libbid/_usi_to_sd.c: Likewise.
9286 * config/libbid/_usi_to_td.c: Likewise.
9287 * config/libbid/_xf_to_dd.c: Likewise.
9288 * config/libbid/_xf_to_sd.c: Likewise.
9289 * config/libbid/_xf_to_td.c: Likewise.
9290 * config/libbid/bid128.c: Likewise.
9291 * config/libbid/bid128_2_str.h: Likewise.
9292 * config/libbid/bid128_2_str_macros.h: Likewise.
9293 * config/libbid/bid128_2_str_tables.c: Likewise.
9294 * config/libbid/bid128_add.c: Likewise.
9295 * config/libbid/bid128_compare.c: Likewise.
9296 * config/libbid/bid128_div.c: Likewise.
9297 * config/libbid/bid128_fma.c: Likewise.
9298 * config/libbid/bid128_logb.c: Likewise.
9299 * config/libbid/bid128_minmax.c: Likewise.
9300 * config/libbid/bid128_mul.c: Likewise.
9301 * config/libbid/bid128_next.c: Likewise.
9302 * config/libbid/bid128_noncomp.c: Likewise.
9303 * config/libbid/bid128_quantize.c: Likewise.
9304 * config/libbid/bid128_rem.c: Likewise.
9305 * config/libbid/bid128_round_integral.c: Likewise.
9306 * config/libbid/bid128_scalb.c: Likewise.
9307 * config/libbid/bid128_sqrt.c: Likewise.
9308 * config/libbid/bid128_string.c: Likewise.
9309 * config/libbid/bid128_to_int16.c: Likewise.
9310 * config/libbid/bid128_to_int32.c: Likewise.
9311 * config/libbid/bid128_to_int64.c: Likewise.
9312 * config/libbid/bid128_to_int8.c: Likewise.
9313 * config/libbid/bid128_to_uint16.c: Likewise.
9314 * config/libbid/bid128_to_uint32.c: Likewise.
9315 * config/libbid/bid128_to_uint64.c: Likewise.
9316 * config/libbid/bid128_to_uint8.c: Likewise.
9317 * config/libbid/bid32_to_bid128.c: Likewise.
9318 * config/libbid/bid32_to_bid64.c: Likewise.
9319 * config/libbid/bid64_add.c: Likewise.
9320 * config/libbid/bid64_compare.c: Likewise.
9321 * config/libbid/bid64_div.c: Likewise.
9322 * config/libbid/bid64_fma.c: Likewise.
9323 * config/libbid/bid64_logb.c: Likewise.
9324 * config/libbid/bid64_minmax.c: Likewise.
9325 * config/libbid/bid64_mul.c: Likewise.
9326 * config/libbid/bid64_next.c: Likewise.
9327 * config/libbid/bid64_noncomp.c: Likewise.
9328 * config/libbid/bid64_quantize.c: Likewise.
9329 * config/libbid/bid64_rem.c: Likewise.
9330 * config/libbid/bid64_round_integral.c: Likewise.
9331 * config/libbid/bid64_scalb.c: Likewise.
9332 * config/libbid/bid64_sqrt.c: Likewise.
9333 * config/libbid/bid64_string.c: Likewise.
9334 * config/libbid/bid64_to_bid128.c: Likewise.
9335 * config/libbid/bid64_to_int16.c: Likewise.
9336 * config/libbid/bid64_to_int32.c: Likewise.
9337 * config/libbid/bid64_to_int64.c: Likewise.
9338 * config/libbid/bid64_to_int8.c: Likewise.
9339 * config/libbid/bid64_to_uint16.c: Likewise.
9340 * config/libbid/bid64_to_uint32.c: Likewise.
9341 * config/libbid/bid64_to_uint64.c: Likewise.
9342 * config/libbid/bid64_to_uint8.c: Likewise.
9343 * config/libbid/bid_b2d.h: Likewise.
9344 * config/libbid/bid_binarydecimal.c: Likewise.
9345 * config/libbid/bid_conf.h: Likewise.
9346 * config/libbid/bid_convert_data.c: Likewise.
9347 * config/libbid/bid_decimal_data.c: Likewise.
9348 * config/libbid/bid_decimal_globals.c: Likewise.
9349 * config/libbid/bid_div_macros.h: Likewise.
9350 * config/libbid/bid_dpd.c: Likewise.
9351 * config/libbid/bid_flag_operations.c: Likewise.
9352 * config/libbid/bid_from_int.c: Likewise.
9353 * config/libbid/bid_functions.h: Likewise.
9354 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9355 * config/libbid/bid_inline_add.h: Likewise.
9356 * config/libbid/bid_internal.h: Likewise.
9357 * config/libbid/bid_round.c: Likewise.
9358 * config/libbid/bid_sqrt_macros.h: Likewise.
9359
9360 2009-04-09 Jakub Jelinek <jakub@redhat.com>
9361
9362 * Makefile.in: Change copyright header to refer to version
9363 3 of the GNU General Public License and to point readers at the
9364 COPYING3 file and the FSF's license web page.
9365 * config.host: Likewise.
9366
9367 2009-04-07 Alan Modra <amodra@bigpond.net.au>
9368
9369 * config.host: Reorder and merge to match config.gcc change.
9370
9371 2009-04-03 Alan Modra <amodra@bigpond.net.au>
9372
9373 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9374
9375 2009-03-28 Joseph Myers <joseph@codesourcery.com>
9376
9377 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9378 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9379 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9380 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9381
9382 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
9383
9384 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9385 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9386
9387 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9388
9389 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9390 ia64/t-softfp-compat to tmake_file.
9391
9392 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9393
9394 * config/ia64/__divxf3.asm: New.
9395 * config/ia64/_fixtfdi.asm: Likewise.
9396 * config/ia64/_fixunstfdi.asm: Likewise.
9397 * config/ia64/_floatditf.asm: Likewise.
9398 * config/ia64/t-fprules-softfp: Likewise.
9399 * config/ia64/t-softfp-compat: Likewise.
9400 * config/ia64/tf-signs.c: Likewise.
9401
9402 2009-01-18 Ben Elliston <bje@au.ibm.com>
9403
9404 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9405
9406 2009-01-16 Ben Elliston <bje@au.ibm.com>
9407
9408 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9409 to tmake_file.
9410
9411 2009-01-13 Ben Elliston <bje@au.ibm.com>
9412
9413 * config/t-softfp: New file.
9414 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9415 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9416
9417 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
9418
9419 * config.host: Add m32r*-*-rtems*.
9420
9421 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
9422
9423 * config.host: Add m32c*-*-rtems*.
9424
9425 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9426
9427 PR bootstrap/33100
9428 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9429 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9430 * configure: Regenerate.
9431 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9432 tmake_file here from gcc/config.gcc.
9433 Move extra_parts here from gcc/config.gcc.
9434 * config/i386/t-sol2: Move here from gcc/config/i386.
9435 Use gcc_srcdir instead of srcdir.
9436
9437 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9438
9439 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9440 case.
9441
9442 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9443
9444 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9445
9446 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9447
9448 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9449
9450 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9451
9452 Add picoChip port.
9453 * config.host: Add picochip-*-*.
9454
9455 2008-08-06 Bob Wilson <bob.wilson@acm.org>
9456
9457 * config.host: Match more processor names for Xtensa.
9458
9459 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9460
9461 * config/i386/64/t-softfp-compat: Update comments.
9462
9463 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9464
9465 * config/i386/64/_divtc3-compat.c: Moved to ...
9466 * config/i386/64/_divtc3.c: Here.
9467
9468 * config/i386/64/_multc3-compat.c: Moved to ...
9469 * config/i386/64/_multc3.c: Here.
9470
9471 * config/i386/64/_powitf2-compat.c: Moved to ...
9472 * config/i386/64/_powitf2.c: Here.
9473
9474 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9475 .c suffix instead of -compat.c.
9476
9477 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
9478
9479 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9480 (_FP_MUL_MEAT_D): Ditto.
9481 (_FP_DIV_MEAT_S): Ditto.
9482 (_FP_DIV_MEAT_D): Ditto.
9483
9484 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9485
9486 * Makefile.in: Add support for __sync_* libgcc functions.
9487
9488 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9489
9490 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9491
9492 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9493
9494 PR boostrap/36702
9495 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9496 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9497
9498 * config/i386/64/t-fprules-softfp: Moved to ...
9499 * config/i386/64/t-softfp-compat: This. New.
9500
9501 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
9502
9503 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9504 Initialize f with 0.0.
9505
9506 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9507
9508 PR target/36669
9509 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9510
9511 * config/i386/64/_divtc3-compat.c: New.
9512 * config/i386/64/_multc3-compat.c: Likewise.
9513 * config/i386/64/_powitf2-compat.c: Likewise.
9514 * config/i386/64/eqtf2.c: Likewise.
9515 * config/i386/64/getf2.c: Likewise.
9516 * config/i386/64/letf2.c: Likewise.
9517 * config/i386/64/t-fprules-softfp: Likewise.
9518
9519 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9520
9521 * config.host: Add i386/${host_address}/t-fprules-softfp to
9522 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
9523 i[34567]86-*-linux*, x86_64-*-linux*.
9524
9525 * configure.ac: Set host_address to 64 or 32 for x86.
9526 * configure: Regenerated.
9527
9528 * Makefile.in (config.status): Also depend on
9529 $(srcdir)/config.host.
9530
9531 * config/i386/32/t-fprules-softfp: New.
9532 * config/i386/32/tf-signs.c: Likewise.
9533
9534 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9535
9536 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9537 Uros Bizjak <ubizjak@gmail.com>
9538
9539 * config/i386/32/sfp-machine.h: New.
9540
9541 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9542
9543 * config/rs6000/t-ppccomm: Remove rules that conflict with
9544 auto-generated rules.
9545
9546 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9547
9548 * configure.ac: sinclude override.m4.
9549 * configure: Regenerate.
9550
9551 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9552
9553 * configure: Regenerate.
9554
9555 2008-06-10 Joseph Myers <joseph@codesourcery.com>
9556
9557 * Makefile.in (DECNUMINC): Remove
9558 -I$(MULTIBUILDTOP)../../libdecnumber.
9559 * gstdint.h: New.
9560
9561 2008-06-07 Joseph Myers <joseph@codesourcery.com>
9562
9563 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9564 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9565 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9566 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9567 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9568 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9569 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9570 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9571 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9572 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9573 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9574 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9575 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9576 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9577
9578 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9579
9580 * config.host (sh2[lbe]*-*-linux*): Allow target.
9581
9582 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9583
9584 * config/rs6000/t-ppccomm: Add build rules for new files.
9585 (LIB2ADD_ST): New variable.
9586
9587 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9588
9589 PR target/34210
9590 PR target/35508
9591 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9592 * config/t-avr: New file. Build 16bit libgcc functions.
9593
9594 2008-03-02 Jakub Jelinek <jakub@redhat.com>
9595
9596 PR target/35401
9597 * config/t-slibgcc-darwin: Make install-leaf dependent on
9598 install-darwin-libgcc-stubs instead of install.
9599
9600 2008-01-25 Joseph Myers <joseph@codesourcery.com>
9601
9602 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9603 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9604 sh-*-rtemscoff*): Remove cases.
9605
9606 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9607
9608 * Makefile.in (all): Use install-leaf rather than install.
9609 (install): Split most of the rule into...
9610 (install-leaf): ...this new one.
9611
9612 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
9613 Paolo Bonzini <bonzini@gnu.org>
9614
9615 PR target/30572
9616 * Makefile.in: Use @shlib_slibdir@ substitution to get
9617 correct install name on darwin.
9618 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
9619
9620 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
9621
9622 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9623 cris-*-elf and cris-*-none.
9624 (crisv32-*-linux*): Similar, as cris-*-linux*.
9625
9626 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9627
9628 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9629
9630 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9631
9632 PR regression/33926
9633 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9634 * configure: Regenerated.
9635
9636 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9637
9638 * Makefile.in (dfp-filenames): Replace decimal_globals,
9639 decimal_data, binarydecimal and convert_data with
9640 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9641 and bid_convert_data, respectively.
9642
9643 2007-09-17 Chao-ying Fu <fu@mips.com>
9644 Nigel Stephens <nigel@mips.com>
9645
9646 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9647 * Makefile.in (fixed_point): Define.
9648 Check if fixed_point is yes to build support functions.
9649 * configure.ac: Check for fixed_point support.
9650 * configure: Regenerated.
9651 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9652 funcs, modes, from, to.
9653
9654 2007-09-11 Janis Johnson <janis187@us.ibm.com
9655
9656 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9657
9658 2007-09-10 Janis Johnson <janis187@us.ibm.com>
9659
9660 * Makefile.in (dfp-filenames): Remove decUtility, add
9661 decDouble, decPacked, decQuad, decSingle.
9662
9663 2007-08-27 Hans Kester <hans.kester@ellips.nl>
9664
9665 * config.host : Add x86_64-elf target.
9666
9667 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9668
9669 * configure.ac (set_have_cc_tls): Add a missing =.
9670 * configure: Regenerated.
9671
9672 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9673
9674 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9675 and x86_64-*-linux*.
9676
9677 * config/t-tls: New file.
9678
9679 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
9680
9681 * configure.ac: Include ../config/enable.m4 and
9682 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9683 supports TLS and substitute set_have_cc_tls.
9684 * configure: Regenerated.
9685
9686 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9687
9688 * Makefile.in: Use libbid for DFP when BID is enabled.
9689
9690 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9691
9692 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
9693 extra_parts. Add config/i386/t-cygming to tmake_file.
9694 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9695
9696 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9697 Danny Smith <dannysmith@users.sourceforge.net>
9698
9699 PR target/29498
9700 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9701 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9702 * config/i386/t-crtfm: Compile crtfastmath.o with
9703 -minline-all-stringops.
9704
9705 2007-05-10 Richard Sandiford <richard@codesourcery.com>
9706
9707 * config.host (sparc-wrs-vxworks): New target.
9708
9709 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
9710
9711 * config.host: Recognize fido.
9712
9713 2007-04-04 Janis Johnson <janis187@us.ibm.com>
9714
9715 * configure: Check host, not target, for decimal float support.
9716
9717 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
9718
9719 * config/i386/t-crtpc: New file.
9720 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
9721 (x86_64-*-linux*): Ditto.
9722
9723 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
9724
9725 * config.host (x86_64-*-mingw*): New target.
9726
9727 2007-03-23 Michael Meissner <michael.meissner@amd.com>
9728 H.J. Lu <hongjiu.lu@intel.com>
9729
9730 * Makefile.in (enable_decimal_float): New.
9731 (DECNUMINC): Add
9732 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9733 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9734 (decbits-filenames): This.
9735 (decbits-objects): New.
9736 (libgcc-objects): Add $(decbits-objects).
9737
9738 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9739 Substitute enable_decimal_float.
9740 * configure: Regenerated.
9741
9742 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
9743
9744 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9745
9746 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9747
9748 * Makefile.in (install-info): New dummy target.
9749
9750 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9751
9752 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9753
9754 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9755
9756 * Makefile.in: Add install-html and install-pdf dummy
9757 targets.
9758
9759 2007-02-05 Roger Sayle <roger@eyesopen.com>
9760 Daniel Jacobowitz <dan@codesourcery.com>
9761
9762 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9763 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9764 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9765
9766 2007-01-29 Janis Johnson <janis187@us.ibm.com>
9767
9768 * Makefile.in (dec-filenames): Add decExcept.
9769
9770 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9771
9772 PR bootstrap/30469
9773 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9774 -fprofile-use.
9775
9776 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9777
9778 * configure.ac: Add --enable-version-specific-runtime-libs.
9779 Correct $slibdir default.
9780 * configure: Regenerated.
9781
9782 2007-01-23 Joseph Myers <joseph@codesourcery.com>
9783
9784 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9785
9786 2007-01-21 Andrew Pinski <pinskia@gmail.com>
9787
9788 PR target/30519
9789 * config.host (alpha*-*-linux*): Set extra_parts.
9790
9791 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9792
9793 * config/sh/t-linux: New.
9794 * config.host (sh*-*-linux*): Set tmake_file.
9795
9796 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9797
9798 * Makefile.in (install): Handle multilibs.
9799
9800 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9801
9802 * Makefile.in: Added .PHONY entry for documentation targets.
9803
9804 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9805
9806 * Makefile.in: Add empty info, html, dvi, pdf targets.
9807
9808 2007-01-04 Mike Stump <mrs@apple.com>
9809
9810 * Makefile.in (MAKEINFO): Remove.
9811 (PERL): Likewise.
9812
9813 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
9814
9815 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9816 * configure: Regenerate.
9817 * Makefile.in (host_subdir): Substitute it.
9818 (gcc_objdir): Use it.
9819
9820 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9821
9822 * config.host (ia64*-*-linux*): Set tmake_file.
9823
9824 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9825
9826 * Makefile.in (version): Define.
9827
9828 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9829 Paolo Bonzini <bonzini@gnu.org>
9830
9831 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9832 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9833 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9834 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9835 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9836 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9837 * configure: Generated.
9838 \f
9839 Copyright (C) 2007-2019 Free Software Foundation, Inc.
9840
9841 Copying and distribution of this file, with or without modification,
9842 are permitted in any medium without royalty provided the copyright
9843 notice and this notice are preserved.