]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Fix tests for std::variant to match original intention
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
48f42cbf 12019-04-15 Monk Chiang <sh.chiang04@gmail.com>
2
3 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
4 (RT_SIGRETURN): Update.
5 (nds32_fallback_frame_state): Update.
6
5d872360 72019-02-21 Martin Sebor <msebor@redhat.com>
8
9 * libgcc2.h (__clear_cache): Correct signature.
10 * libgcc2.c (__clear_cache): Same.
11
7afb4665 122019-02-20 Uroš Bizjak <ubizjak@gmail.com>
13
14 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
15 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
16
36c58fb1 172019-02-19 Uroš Bizjak <ubizjak@gmail.com>
18
19 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
20 regno instead of index to DWARF_ZERO_REG.
21
ca5e7551 222019-02-15 Eric Botcazou <ebotcazou@adacore.com>
23
24 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
25 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
26
f6691383 272019-01-31 Uroš Bizjak <ubizjak@gmail.com>
28
29 * config/alpha/t-linux: Add -mfp-rounding-mode=d
30 to HOST_LIBGCC2_CFLAGS.
31
161cd7e6 322019-01-23 Joseph Myers <joseph@codesourcery.com>
33
34 PR libgcc/88931
f6691383 35 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
161cd7e6 36
c099f1dd 372019-01-18 Martin Liska <mliska@suse.cz>
38
39 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
40 to ...
41 (__gcov_indirect_call_profiler_v3): ... this.
42 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
43 (__gcov_indirect_call_profiler_v3): Likewise.
44 * Makefile.in: Bump function name.
45
085a4ac7 462019-01-18 Martin Liska <mliska@suse.cz>
47
48 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
49 (gcov_version): Use in gcov_error.
50 (merge_one_data): Likewise.
51 (dump_one_gcov): Likewise.
52
02638fde 532019-01-18 Martin Liska <mliska@suse.cz>
54
55 * libgcov-driver.c (gcov_version_string): New function.
56 (gcov_version): Convert version integer into string.
57
1b9bc90e 582019-01-17 Andrew Stubbs <ams@codesourcery.com>
59 Kwok Cheung Yeung <kcy@codesourcery.com>
60 Julian Brown <julian@codesourcery.com>
61 Tom de Vries <tom@codesourcery.com>
62
63 * config.host: Recognize amdgcn*-*-amdhsa.
64 * config/gcn/crt0.c: New file.
65 * config/gcn/lib2-divmod-hi.c: New file.
66 * config/gcn/lib2-divmod.c: New file.
67 * config/gcn/lib2-gcn.h: New file.
68 * config/gcn/sfp-machine.h: New file.
69 * config/gcn/t-amdgcn: New file.
70
f4d3c071 712019-01-09 Sandra Loosemore <sandra@codesourcery.com>
72
73 PR other/16615
74
75 * config/c6x/libunwind.S: Mechanically replace "can not" with
76 "cannot".
77 * config/tilepro/atomic.h: Likewise.
78 * config/vxlib-tls.c: Likewise.
79 * generic-morestack-thread.c: Likewise.
80 * generic-morestack.c: Likewise.
81 * mkmap-symver.awk: Likewise.
82
fbd26352 832019-01-01 Jakub Jelinek <jakub@redhat.com>
84
85 Update copyright years.
86
5c934723 872018-12-20 H.J. Lu <hongjiu.lu@intel.com>
88
89 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
90 to ignore -Waddress-of-packed-member.
91
73dbcdab 922018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
93
94 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
95 parameter and corresponding code.
96 (ARM_FUNC_START): Likewise in both definitions.
97 Also update footer comment about condition that need to match with
98 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
99 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
100 defined. Weakly define it in this case.
101 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
102 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
103 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
104 comment to keep condition in sync with the one in
105 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
106
b7e132a4 1072018-12-18 Wei Xiao <wei3.xiao@intel.com>
108
109 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
110 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
111
3467ed68 1122018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
113
114 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
115 and .cfi_endproc directives for VxWorks targets.
116
c1410e55 1172018-12-05 Paul Koning <ni1d@arrl.net>
118
119 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
120
6a9a8e15 1212018-11-27 Alan Modra <amodra@gmail.com>
122
123 * config/rs6000/morestack.S (__stack_split_initialize),
124 (__morestack_get_guard, __morestack_set_guard),
125 (__morestack_make_guard): Provide CFI covering these functions.
126 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
127
65892c4d 1282018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
129
6a9a8e15 130 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
65892c4d 131 (sc_pt_regs_lr): Update for kernel.
132 (sc_pt_regs_tls): Update for kernel.
133
0277806c 1342018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
135
136 * config/csky/linux-unwind.h: Fix coding style.
137
1d0ac42c 1382018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
139
140 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
6a9a8e15 141 (csky_fallback_frame_state): Modify the check of the
1d0ac42c 142 instructions to adapt to changes in the kernel
143
2acd4f1d 1442018-11-09 Stafford Horne <shorne@gmail.com>
145 Richard Henderson <rth@twiddle.net>
146
147 * config.host: Add OpenRISC support.
148 * config/or1k/*: New.
149
14796673 1502018-11-08 Kito Cheng <kito@andestech.com>
151
152 * soft-fp/adddf3.c: Update from glibc.
153 * soft-fp/addsf3.c: Likewise.
154 * soft-fp/addtf3.c: Likewise.
155 * soft-fp/divdf3.c: Likewise.
156 * soft-fp/divsf3.c: Likewise.
157 * soft-fp/divtf3.c: Likewise.
158 * soft-fp/double.h: Likewise.
159 * soft-fp/eqdf2.c: Likewise.
160 * soft-fp/eqsf2.c: Likewise.
161 * soft-fp/eqtf2.c: Likewise.
162 * soft-fp/extenddftf2.c: Likewise.
163 * soft-fp/extended.h: Likewise.
164 * soft-fp/extendhftf2.c: Likewise.
165 * soft-fp/extendsfdf2.c: Likewise.
166 * soft-fp/extendsftf2.c: Likewise.
167 * soft-fp/extendxftf2.c: Likewise.
168 * soft-fp/fixdfdi.c: Likewise.
169 * soft-fp/fixdfsi.c: Likewise.
170 * soft-fp/fixdfti.c: Likewise.
171 * soft-fp/fixhfti.c: Likewise.
172 * soft-fp/fixsfdi.c: Likewise.
173 * soft-fp/fixsfsi.c: Likewise.
174 * soft-fp/fixsfti.c: Likewise.
175 * soft-fp/fixtfdi.c: Likewise.
176 * soft-fp/fixtfsi.c: Likewise.
177 * soft-fp/fixtfti.c: Likewise.
178 * soft-fp/fixunsdfdi.c: Likewise.
179 * soft-fp/fixunsdfsi.c: Likewise.
180 * soft-fp/fixunsdfti.c: Likewise.
181 * soft-fp/fixunshfti.c: Likewise.
182 * soft-fp/fixunssfdi.c: Likewise.
183 * soft-fp/fixunssfsi.c: Likewise.
184 * soft-fp/fixunssfti.c: Likewise.
185 * soft-fp/fixunstfdi.c: Likewise.
186 * soft-fp/fixunstfsi.c: Likewise.
187 * soft-fp/fixunstfti.c: Likewise.
188 * soft-fp/floatdidf.c: Likewise.
189 * soft-fp/floatdisf.c: Likewise.
190 * soft-fp/floatditf.c: Likewise.
191 * soft-fp/floatsidf.c: Likewise.
192 * soft-fp/floatsisf.c: Likewise.
193 * soft-fp/floatsitf.c: Likewise.
194 * soft-fp/floattidf.c: Likewise.
195 * soft-fp/floattihf.c: Likewise.
196 * soft-fp/floattisf.c: Likewise.
197 * soft-fp/floattitf.c: Likewise.
198 * soft-fp/floatundidf.c: Likewise.
199 * soft-fp/floatundisf.c: Likewise.
200 * soft-fp/floatunditf.c: Likewise.
201 * soft-fp/floatunsidf.c: Likewise.
202 * soft-fp/floatunsisf.c: Likewise.
203 * soft-fp/floatunsitf.c: Likewise.
204 * soft-fp/floatuntidf.c: Likewise.
205 * soft-fp/floatuntihf.c: Likewise.
206 * soft-fp/floatuntisf.c: Likewise.
207 * soft-fp/floatuntitf.c: Likewise.
208 * soft-fp/gedf2.c: Likewise.
209 * soft-fp/gesf2.c: Likewise.
210 * soft-fp/getf2.c: Likewise.
211 * soft-fp/half.h: Likewise.
212 * soft-fp/ledf2.c: Likewise.
213 * soft-fp/lesf2.c: Likewise.
214 * soft-fp/letf2.c: Likewise.
215 * soft-fp/muldf3.c: Likewise.
216 * soft-fp/mulsf3.c: Likewise.
217 * soft-fp/multf3.c: Likewise.
218 * soft-fp/negdf2.c: Likewise.
219 * soft-fp/negsf2.c: Likewise.
220 * soft-fp/negtf2.c: Likewise.
221 * soft-fp/op-1.h: Likewise.
222 * soft-fp/op-2.h: Likewise.
223 * soft-fp/op-4.h: Likewise.
224 * soft-fp/op-8.h: Likewise.
225 * soft-fp/op-common.h: Likewise.
226 * soft-fp/quad.h: Likewise.
227 * soft-fp/single.h: Likewise.
228 * soft-fp/soft-fp.h: Likewise.
229 * soft-fp/subdf3.c: Likewise.
230 * soft-fp/subsf3.c: Likewise.
231 * soft-fp/subtf3.c: Likewise.
232 * soft-fp/truncdfsf2.c: Likewise.
233 * soft-fp/trunctfdf2.c: Likewise.
234 * soft-fp/trunctfhf2.c: Likewise.
235 * soft-fp/trunctfsf2.c: Likewise.
236 * soft-fp/trunctfxf2.c: Likewise.
237 * soft-fp/unorddf2.c: Likewise.
238 * soft-fp/unordsf2.c: Likewise.
239 * soft-fp/unordtf2.c: Likewise.
240
703d2f69 2412018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
242
243 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
244 * config/i386/cpuinfo.h (processor_types): Add znver2.
245
b982cad0 2462018-11-01 Paul Koning <ni1d@arrl.net>
247
248 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
249 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
250
f00f02a3 2512018-10-31 Joseph Myers <joseph@codesourcery.com>
252
253 PR bootstrap/82856
254 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
255 * configure: Regenerate.
256
89301960 2572018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
258
259 * config/arc/lib1funcs.S (_muldi3): New function.
260 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
261
5c316bca 2622018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
263
264 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
265
352bbfad 2662018-10-25 Martin Liska <mliska@suse.cz>
267
268 PR other/87735
269 * libgcov-profiler.c: Revert.
270
2a4fec09 2712018-10-24 Martin Liska <mliska@suse.cz>
272
273 * libgcov-profiler.c: Start from 1 in order to distinguish
274 functions which were seen and these that were not.
275
56966d7f 2762018-10-18 Paul Koning <ni1d@arrl.net>
277
278 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
279 standard.
280 * divmod.c: Update references to __udivmodsi4.
281 * udivmod.c: Ditto.
282 * udivhi3.c: New file.
283 * udivmodhi4.c: New file.
284 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
285
f6e11d75 2862018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
287
288 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
289
38bfcdfc 2902018-10-12 Olivier Hainque <hainque@adacore.com>
291
292 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
293 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
294
c9d0a7d6 2952018-10-08 Paul Koning <ni1d@arrl.net>
296
297 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
298
604e9a8b 2992018-10-04 Martin Liska <mliska@suse.cz>
300
301 PR gcov-profile/84107
302 * libgcov-profiler.c (__gcov_indirect_call):
303 Change type to indirect_call_tuple.
304 (struct indirect_call_tuple): New struct.
305 (__gcov_indirect_call_topn_profiler): Change type.
306 (__gcov_indirect_call_profiler_v2): Use the new
307 variables.
308 * libgcov.h (struct indirect_call_tuple): New struct
309 definition.
310
c08fb910 3112018-10-03 Uros Bizjak <ubizjak@gmail.com>
312
313 * libgcc2.c (isnan): Use __builtin_isnan.
314 (isfinite): Use __builtin_isfinite.
315 (isinf): Use __builtin_isinf.
316
6032d88e 3172018-09-26 Uros Bizjak <ubizjak@gmail.com>
318
319 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
320
9bfa937c 3212018-09-21 Alexandre Oliva <oliva@adacore.com>
322
323 * config/vxcache.c: New file. Provide __clear_cache, based on
324 the cacheTextUpdate VxWorks service.
325 * config/t-vxworks (LIB2ADD): Add vxcache.c.
326 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
327 * config/t-vxwoks7: Likewise.
328
56621355 3292018-09-21 Martin Liska <mliska@suse.cz>
330
331 * libgcov-driver.c (crc32_unsigned): Remove.
332 (gcov_histogram_insert): Likewise.
333 (gcov_compute_histogram): Likewise.
334 (compute_summary): Simplify rapidly.
335 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
336 (merge_summary): Rapidly simplify.
337 (dump_one_gcov): Ignore gcov_summary.
338 (gcov_do_dump): Do not handle program summary, it's not
339 used.
340 * libgcov-util.c (tag_summary): Remove.
341 (read_gcda_finalize): Fix coding style.
342 (read_gcda_file): Initialize curr_object_summary.
343 (compute_summary): Remove.
344 (calculate_overlap): Remove settings of run_max.
345
92a43ed9 3462018-09-21 Monk Chiang <sh.chiang04@gmail.com>
347
348 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
349 ucontext_t type instead.
350 (nds32_fallback_frame_state): Remove struct _sigframe statement.
351
38f97b46 3522018-09-21 Kito Cheng <kito.cheng@gmail.com>
353
354 * config/nds32/t-nds32-glibc: New file.
355
e1f1a538 3562018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
357
358 * configure.ac (solaris_ld_v2_maps): New test.
359 * configure: Regenerate.
360 * Makefile.in (solaris_ld_v2_maps): New variable.
361 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
362 if supported.
363
a7852b35 3642018-08-23 Richard Earnshaw <rearnsha@arm.com>
365
366 PR target/86951
367 * config/arm/lib1funcs.asm (speculation_barrier): New function.
368 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
369 to build.
370
738b5536 3712018-08-22 Iain Sandoe <iain@sandoe.co.uk>
372
6a9a8e15 373 * config/unwind-dw2-fde-darwin.c
738b5536 374 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
375 * config/darwin10-unwind-find-enc-func.c: … to here.
376 * config/t-darwin: Build Darwin10 unwinder shim crt.
377 * libgcc/config.host: Add the Darwin10 unwinder shim.
378
f8a195db 3792018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
380
381 * config.host: Add crtbegin.o and crtend.o for
382 powerpc-wrs-vxworks target.
383
d406228c 3842018-08-17 Jojo <jijie_rong@c-sky.com>
385 Huibin Wang <huibin_wang@c-sky.com>
386 Sandra Loosemore <sandra@codesourcery.com>
387 Chung-Lin Tang <cltang@codesourcery.com>
388
389 C-SKY port: libgcc
390
391 * config.host: Add C-SKY support.
392 * config/csky/*: New.
393
d08b1d22 3942018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
395
396 * config/nds32/t-nds32-isr: Rearrange object dependency.
397 * config/nds32/initfini.c: Add dwarf2 unwinding support.
398 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
399 and registers usage.
400 * config/nds32/isr-library/excp_isr.S: Ditto.
401 * config/nds32/isr-library/intr_isr.S: Ditto.
402 * config/nds32/isr-library/reset.S: Ditto.
403 * config/nds32/isr-library/restore_all.inc: Ditto.
404 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
405 * config/nds32/isr-library/restore_partial.inc: Ditto.
406 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
407 * config/nds32/isr-library/save_all.inc: Ditto.
408 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
409 * config/nds32/isr-library/save_partial.inc: Ditto.
410 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
411 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
412
323d9aff 4132018-08-11 John David Anglin <danglin@gcc.gnu.org>
414
415 * config/pa/linux-atomic.c: Update comment.
416 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
417 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
418 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
419 __ATOMIC_RELAXED for atomic loads.
420 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
421 unordered store to release lock.
422 (__sync_lock_release_8): Likewise.
423 (SYNC_LOCK_RELEASE_2): Remove define.
c08fb910 424
5ad4bc86 4252018-08-02 Nicolas Pitre <nico@fluxnic.net>
426
427 PR libgcc/86512
428 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
429 exponent goes negative. Update my email address.
430 * config/arm/ieee754-sf.S: Likewise.
431
874612dc 4322018-08-01 Martin Liska <mliska@suse.cz>
433
434 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
c9e63184 435 check that __gcov_indirect_call_callee is non-null.
874612dc 436
5a8d2bfe 4372018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
438
439 * config/arm/ieee754-df.S: Fix comment for code working on
440 architectures >= 4.
441 * config/arm/ieee754-sf.S: Likewise.
442
d9a49803 4432018-07-27 H.J. Lu <hongjiu.lu@intel.com>
444
445 PR libgcc/85334
446 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
447 Removed.
448
90503e19 4492018-07-05 James Clarke <jrtc27@jrtc27.com>
450
451 * configure: Regenerated.
452
06f3e75c 4532018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
454
455 * Makefile.in (install_leaf): Use enable_gcov instead of
456 enable_libgcov.
457
bab25aa4 4582018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
459
460 * configure.ac: Add --disable-gcov option.
461 * configure: Regenerate.
462 * Makefile.in: Honour @enable_gcov@.
463
bd071ec6 4642018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
465
466 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
467 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
468 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
469 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
470 __ARM_ARCH__.
471 * config/arm/ieee754-sf.S: Likewise.
472 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
473
93dd1a25 4742018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
475
476 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
477 longer supported.
478 * config/arm/ieee754-sf.S: Likewise.
479
a9ee5a85 4802018-06-20 Than McIntosh <thanm@google.com>
481
482 PR libgcc/86213
483 * generic-morestack.c (allocate_segment): Move calls to getenv and
484 getpagesize to __morestack_load_mmap.
485 (__morestack_load_mmap) Initialize static_pagesize and
486 use_guard_page here so as to avoid clobbering SSE regs during a
487 __morestack call.
488
23b5c810 4892018-06-18 Michael Meissner <meissner@linux.ibm.com>
490
491 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
492 support modules with -mno-gnu-attribute.
493 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
494
3206b643 4952018-06-07 Olivier Hainque <hainque@adacore.com>
496
497 * config/t-vxworks (LIBGCC_INCLUDES): Add
498 -I$(MULTIBUILDTOP)../../gcc/include.
499 * config/t-vxworks7: Likewise. Reformat a bit to match
500 the t-vxworks layout.
501
f1522980 5022018-06-07 Olga Makhotina <olga.makhotina@intel.com>
503
504 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
505
6b9cd917 5062018-06-07 Martin Liska <mliska@suse.cz>
507
508 * libgcov-driver.c: Rename cs_all to all and assign it from
c9e63184 509 all_prg.
6b9cd917 510
5b24ad4b 5112018-06-07 Martin Liska <mliska@suse.cz>
512
c9e63184 513 PR bootstrap/86057
5b24ad4b 514 * libgcov-driver-system.c (replace_filename_variables): Use
c9e63184 515 memcpy instead of mempcpy.
5b24ad4b 516 (allocate_filename_struct): Do not allocate filename, allocate
c9e63184 517 prefix and set it.
5b24ad4b 518 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
c9e63184 519 here and properly copy content into it.
5b24ad4b 520 * libgcov-driver.c (struct gcov_filename): Remove max_length
c9e63184 521 field, change prefix from size_t into char *.
5b24ad4b 522 (compute_summary): Do not calculate longest filename.
523 (gcov_do_dump): Release memory of gf.filename after each file.
524 * libgcov-util.c (compute_summary): Use new signature of
c9e63184 525 compute_summary.
5b24ad4b 526 (calculate_overlap): Likewise.
527
945d4d55 5282018-06-05 Martin Liska <mliska@suse.cz>
529
530 PR gcov-profile/47618
531 * libgcov-driver-system.c (replace_filename_variables): New
c9e63184 532 function.
945d4d55 533 (gcov_exit_open_gcda_file): Use it.
534
5860b185 5352018-06-05 Martin Liska <mliska@suse.cz>
536
537 * libgcov-driver.c (gcov_compute_histogram): Remove usage
538 of gcov_ctr_summary.
539 (compute_summary): Do it just for a single summary.
540 (merge_one_data): Likewise.
541 (merge_summary): Simplify as we read just single summary.
542 (dump_one_gcov): Pass proper argument.
543 * libgcov-util.c (compute_one_gcov): Simplify as we have just
544 single summary.
545 (gcov_info_count_all_cold): Likewise.
546 (calculate_overlap): Likewise.
547
a5a22b4f 5482018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
549 Monk Chiang <sh.chiang04@gmail.com>
550
551 * config.host (nds32*-linux*): New.
552 * config/nds32/linux-atomic.c: New file.
553 * config/nds32/linux-unwind.h: New file.
554
3e80679d 5552018-05-31 Uros Bizjak <ubizjak@gmail.com>
556
557 PR target/85591
558 * config/i386/cpuinfo.c (get_amd_cpu): Return
559 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
560
edb0bd05 5612018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
562
c9e63184 563 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
edb0bd05 564
5522d934 5652018-05-29 Martin Liska <mliska@suse.cz>
566
c9e63184 567 PR gcov-profile/85759
5522d934 568 * libgcov-driver-system.c (gcov_error): Introduce usage of
c9e63184 569 GCOV_EXIT_AT_ERROR env. variable.
5522d934 570 * libgcov-driver.c (merge_one_data): Print error that we
c9e63184 571 overwrite a gcov file with a different timestamp.
5522d934 572
8e33a4d3 5732018-05-23 Kalamatee <kalamatee@gmail.com>
574
575 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
576 path to Lf$finfty.
577
51b16492 5782018-05-18 Kito Cheng <kito.cheng@gmail.com>
579 Monk Chiang <sh.chiang04@gmail.com>
580 Jim Wilson <jimw@sifive.com>
581
582 * config/riscv/save-restore.S: Add support for rv32e.
583
b232e6b5 5842018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
585
586 * config/arm/libunwind.S: Update comment relating to armv5.
587
5e15443c 5882018-05-17 Jerome Lambourg <lambourg@adacore.com>
589
590 * config/arm/cmse.c (cmse_check_address_range): Replace
591 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
592
6ebd326d 5932018-05-17 Olga Makhotina <olga.makhotina@intel.com>
594
595 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
596 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
597
4db2b348 5982018-05-08 Olga Makhotina <olga.makhotina@intel.com>
599
600 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
601 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
602
ab55f7db 6032018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
604
605 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
606
c5243565 6072018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
608 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
609
610 PR libgcc/84292
611 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
612 op_and_fetch to return the right result.
613
f0aaf758 6142018-04-27 Alan Modra <amodra@gmail.com>
615
616 PR libgcc/85532
617 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
618 -fno-asynchronous-unwind-tables.
619
4cccab88 6202018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
621
622 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
623 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
624
6174c788 6252018-04-24 H.J. Lu <hongjiu.lu@intel.com>
626
627 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
628 when including "config/i386/shadow-stack-unwind.h".
629
6726651f 6302018-04-24 H.J. Lu <hongjiu.lu@intel.com>
631
632 * configure: Regenerated.
633
9d42920b 6342018-04-20 Michael Meissner <meissner@linux.ibm.com>
635
636 PR target/85456
637 * config/rs6000/_powikf2.c: New file. Add support for the
638 __builtin_powil function when long double is IEEE 128-bit floating
639 point.
640 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
641 __powikf2 support.
642 (__powikf2): Likewise.
643 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
644 (__powikf2_hw): Likewise.
645 (__powikf2): Likewise.
646 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
647 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
648 (_powikf2-hw.c): Likewise.
649
20d1a075 6502018-04-19 H.J. Lu <hongjiu.lu@intel.com>
651
652 PR libgcc/85334
653 * unwind-generic.h (_Unwind_Frames_Increment): New.
654 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
655 Likewise.
656 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
657 count with _Unwind_Frames_Increment.
658 (_Unwind_ForcedUnwind_Phase2): Likewise.
659
07f8c7a4 6602018-04-19 H.J. Lu <hongjiu.lu@intel.com>
661
662 PR libgcc/85379
663 * config/i386/morestack.S (__stack_split_initialize): Add
664 _CET_ENDBR.
665
ee8fea81 6662018-04-19 Jakub Jelinek <jakub@redhat.com>
667
668 * configure: Regenerated.
669
124c259e 6702018-04-18 David Malcolm <dmalcolm@redhat.com>
671
672 PR jit/85384
673 * configure: Regenerate.
674
402140be 6752018-04-16 Jakub Jelinek <jakub@redhat.com>
676
677 PR target/84945
678 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
679 -Wdangling-else warnings. Mask shift counts to avoid
680 -Wshift-count-negative and -Wshift-count-overflow false positives.
681
7ea6a647 6822018-04-06 Ruslan Bukin <br@bsdpad.com>
683
684 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
685
0251a2a7 6862018-03-29 H.J. Lu <hongjiu.lu@intel.com>
687
688 PR target/85100
689 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
690 (XSTATE_FP): Likewise.
691 (XSTATE_SSE): Likewise.
692 (XSTATE_YMM): Likewise.
693 (XSTATE_OPMASK): Likewise.
694 (XSTATE_ZMM): Likewise.
695 (XSTATE_HI_ZMM): Likewise.
696 (XCR_AVX_ENABLED_MASK): Likewise.
697 (XCR_AVX512F_ENABLED_MASK): Likewise.
698 (get_available_features): Enable AVX and AVX512 features only
699 if their states are supported by OSXSAVE.
700
5cc47d53 7012018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
702
703 PR target/85025
704 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
705 Fix a typo, tmp => 255.
706
2e630204 7072018-03-20 Jakub Jelinek <jakub@redhat.com>
708
709 PR target/84945
710 * config/i386/cpuinfo.h (__cpu_features2): Declare.
711 * config/i386/cpuinfo.c (__cpu_features2): New variable for
712 ifndef SHARED only.
713 (set_feature): Define.
714 (get_available_features): Use set_feature macro. Set __cpu_features2
715 to the second word of features ifndef SHARED.
716
bae42e37 7172018-03-15 Julia Koval <julia.koval@intel.com>
718
719 * config/i386/cpuinfo.c (get_available_features): Add
720 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
721 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
722 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
723 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
724 FEATURE_AVX512BITALG.
725
8e9da9da 7262018-03-14 Julia Koval <julia.koval@intel.com>
727
728 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
729 icelake client and icelake server.
730
94fc4b64 7312018-03-06 John David Anglin <danglin@gcc.gnu.org>
732
733 * config/pa/fptr.c (_dl_read_access_allowed): New.
734 (__canonicalize_funcptr_for_compare): Use it.
c08fb910 735
0b118d5b 7362018-02-28 Jakub Jelinek <jakub@redhat.com>
737
738 PR debug/83917
739 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
740 $asm_hidden_op if visibility ("hidden") attribute works.
741 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
742 * config/i386/i386-asm.h: Don't include auto-host.h.
743 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
744 PACKAGE_URL): Don't undefine.
745 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
746 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
747 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
748 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
749 definition instead of hardcoded .hidden.
750 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
751 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
752 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
753 (USE_GAS_CFI_DIRECTIVES): Don't define.
754 * configure: Regenerated.
755 * config.in: Likewise.
756
9e8a86cf 7572018-02-26 Jakub Jelinek <jakub@redhat.com>
758
759 PR debug/83917
760 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
761 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
762 inclusion of auto-target.h and auto-host.h.
763 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
764 __GCC_HAVE_DWARF2_CFI_ASM.
765 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
766 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
767 cfi_pop): Define.
768 * config/i386/cygwin.S: Don't include auto-host.h here, just
769 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
770 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
771 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
772 * config/i386/resms64fx.h: Add cfi_* directives.
773 * config/i386/resms64x.h: Likewise.
774
372da7cd 7752018-02-20 Max Filippov <jcmvbkbc@gmail.com>
776
777 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
778 .literal_position directive.
779 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
780
5611e648 7812018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
782
783 PR target/84148
784 * configure: Regenerate.
785
d4f2cbd8 7862018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
787
788 PR target/84239
789 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
790 Include cetintrin.h not x86intrin.h.
791
1c9aa9c6 7922018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
793
794 PR target/84239
d4f2cbd8 795 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1c9aa9c6 796 Use new _get_ssp and _inc_ssp intrinsics.
797
102dd700 7982018-02-02 Julia Koval <julia.koval@intel.com>
799
800 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
801
eddd4dd0 8022018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
803
804 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
805 option.
806 (__divsi3): Use RF16 safe registers.
807 (__modsi3): Likewise.
808
3815462d 8092018-01-23 Max Filippov <jcmvbkbc@gmail.com>
810
811 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
812 (__divsf3): Make NaN return value quiet.
813 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
814 (__divdf3): Make NaN return value quiet.
815
e1192dcf 8162018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
817
818 * config/rl78/anddi3.S: New assembly file.
819 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
820
a2618819 8212018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
822
823 * config/rl78/umindi3.S: New assembly file.
824 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
825
14920f56 8262018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
827
828 * config/rl78/smindi3.S: New assembly file.
829 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
830
de5538ce 8312018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
c08fb910 832
de5538ce 833 * config/rl78/smaxdi3.S: New assembly file.
834 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
835
de0f3de6 8362018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
c08fb910 837
f77335d9 838 * config/rl78/umaxdi3.S: New assembly file.
839 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
c08fb910 840
fb437997 8412018-01-21 John David Anglin <danglin@gcc.gnu.org>
842
843 PR lto/83452
844 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
845 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
c08fb910 846
599c8d3e 8472018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
848
849 * config/aarch64/value-unwind.h (aarch64_vg): New function.
850 (DWARF_LAZY_REGISTER_VALUE): Define.
851 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
852 to provide a fallback register value.
853
2d295049 8542018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
855
856 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
857 __ibm128, instead of trying to use long double.
858 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
859 accomidate -mabi=ieeelongdouble multilibs.
860 (CVT_IBM128_TO_FLOAT128): Likewise.
861 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
862 the appropriate IBM extended double type.
863 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
864 (__gcc_qsub): Likewise.
865 (__gcc_qmul): Likewise.
866 (__gcc_qdiv): Likewise.
867 (pack_ldouble): Likewise.
868 (__gcc_qneg): Likewise.
869 (__gcc_qeq): Likewise.
870 (__gcc_qne): Likewise.
871 (__gcc_qge): Likewise.
872 (__gcc_qle): Likewise.
873 (__gcc_stoq): Likewise.
874 (__gcc_dtoq): Likewise.
875 (__gcc_itoq): Likewise.
876 (__gcc_utoq): Likewise.
877 (__gcc_qunord): Likewise.
878 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
879 quad-float128.h for the definitions.
880 (COPYSIGN): Use the f128 version instead of the q version.
881 (INFINITY): Likewise.
882 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
883 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
884 quad-float128.h for the definitions.
885 (COPYSIGN): Use the f128 version instead of the q version.
886 (INFINITY): Likewise.
887 (FABS): Likewise.
888 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
889 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
890 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
891
1c579c0e 8922018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
893
894 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
895 configuration.
896
8e8f6434 8972018-01-03 Jakub Jelinek <jakub@redhat.com>
898
899 Update copyright years.
900
9012017-12-12 Kito Cheng <kito.cheng@gmail.com>
26efd270 902
903 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
904 * config/riscv/multi3.c: New file.
905 * config/riscv/multi3.S: Remove.
906
1817431e 9072017-12-08 Jim Wilson <jimw@sifive.com>
908
909 * config/riscv/div.S: Use FUNC_* macros.
910 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
911 * config/riscv/save-restore.S: Likewise.
912 * config/riscv/riscv-asm.h: New.
913
0aba9567 9142017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
915
c78aa1b3 916 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
917 * config/rs6000/_divkc3.c (__divkc3): Likewise.
918
0aba9567 919 PR libgcc/83112
920 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
921 correct type for all ifunc resolvers to silence -Wattribute-alias
922 warnings. Eliminate the forward declaration of the resolver
923 functions which is no longer needed.
924 (__subkf3_resolve): Likewise.
925 (__mulkf3_resolve): Likewise.
926 (__divkf3_resolve): Likewise.
927 (__negkf2_resolve): Likewise.
928 (__eqkf2_resolve): Likewise.
929 (__nekf2_resolve): Likewise.
930 (__gekf2_resolve): Likewise.
931 (__gtkf2_resolve): Likewise.
932 (__lekf2_resolve): Likewise.
933 (__ltkf2_resolve): Likewise.
934 (__unordkf2_resolve): Likewise.
935 (__extendsfkf2_resolve): Likewise.
936 (__extenddfkf2_resolve): Likewise.
937 (__trunckfsf2_resolve): Likewise.
938 (__trunckfdf2_resolve): Likewise.
939 (__fixkfsi_resolve): Likewise.
940 (__fixkfdi_resolve): Likewise.
941 (__fixunskfsi_resolve): Likewise.
942 (__fixunskfdi_resolve): Likewise.
943 (__floatsikf_resolve): Likewise.
944 (__floatdikf_resolve): Likewise.
945 (__floatunsikf_resolve): Likewise.
946 (__floatundikf_resolve): Likewise.
947 (__extendkftf2_resolve): Likewise.
948 (__trunctfkf2_resolve): Likewise.
949
950 PR libgcc/83103
951 * config/rs6000/quad-float128.h (TF): Don't define if long double
952 is IEEE 128-bit floating point.
953 (TCtype): Define as either TCmode or KCmode, depending on whether
954 long double is IEEE 128-bit floating point.
955 (__mulkc3_sw): Add declarations for software/hardware versions of
956 complex multiply/divide.
957 (__divkc3_sw): Likewise.
958 (__mulkc3_hw): Likewise.
959 (__divkc3_hw): Likewise.
960 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
961 handlers to switch between using software emulation and hardware
962 float128 instructions, build the complex multiply/divide functions
963 for both software and hardware support.
964 * config/rs6000/_divkc3.c (_divkc3): Likewise.
965 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
966 (__divkc3_resolve): Likewise.
967 (__mulkc3): Likewise.
968 (__divkc3): Likewise.
969 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
970 (fp128_hw_src): Likewise.
971 (fp128_hw_static_obj): Likewise.
972 (fp128_hw_shared_obj): Likewise.
973 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
974 _mulkc3.c and _divkc3.c, changing the function name.
975 (_divkc3-hw.c): Likewise.
976 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
977 and _divkc3-hw.c.
978
87d7483a 9792017-11-26 Julia Koval <julia.koval@intel.com>
980
981 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
982 * config/i386/cpuinfo.h (processor_subtypes): Add
983 INTEL_COREI7_CANNONLAKE.
984
7c242f24 9852017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
986
987 PR bootstrap/83015
988 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
989 parameter.
990 * config/xtensa/unwind-dw2-xtensa.c: Likewise
991 * config/ia64/unwind-ia64.c: Add frames parameter.
992 * unwind-sjlj.c: Likewise.
993
c05f99c6 9942017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
995
996 * config/i386/linux-unwind.h: Include
997 config/i386/shadow-stack-unwind.h.
998 * config/i386/shadow-stack-unwind.h: New file.
999 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1000 pass it to _Unwind_Frames_Extra.
1001 * unwind-generic.h (_Unwind_Frames_Extra): New.
1002 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1003 parameter. Add local variable frames to count number of frames.
1004 (_Unwind_ForcedUnwind_Phase2): Likewise.
1005 (_Unwind_RaiseException): Add local variable frames to count
1006 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1007 uw_install_context.
1008 (_Unwind_ForcedUnwind): Likewise.
1009 (_Unwind_Resume): Likewise.
1010 (_Unwind_Resume_or_Rethrow): Likewise.
1011
5f42446c 10122017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1013
1014 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1015 (CET_FLAGS): New.
1016 * config/i386/morestack.S: Include <cet.h>.
1017 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1018 * config/i386/resms64.h: Include <cet.h>.
1019 * config/i386/resms64f.h: Likewise.
1020 * config/i386/resms64fx.h: Likewise.
1021 * config/i386/resms64x.h: Likewise.
1022 * config/i386/savms64.h: Likewise.
1023 * config/i386/savms64f.h: Likewise.
1024 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1025 (CRTSTUFF_T_CFLAGS): Likewise.
1026 * configure.ac: Include ../config/cet.m4.
1027 Set and substitute CET_FLAGS.
1028 * configure: Regenerated.
1029
9273bda7 10302017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1031
1032 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1033 renaming.
1034 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1035 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1036 * configure: Regenerate.
1037
bdcb436d 10382017-11-07 Tom de Vries <tom@codesourcery.com>
1039
1040 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1041 after "do {} while (0)".
1042
1ad21aef 10432017-11-07 Tom de Vries <tom@codesourcery.com>
1044
1045 PR other/82784
1046 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1047 semicolon after "do {} while (0)".
1048 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1049 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1050 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1051 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1052
c76a96ef 10532017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1054
1055 PR libgcc/82635
1056 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1057 sysctl to determine whether we're in a trampoline.
1058 Keep the pattern matching method for systems without
1059 KERN_PROC_SIGTRAMP sysctl.
1060
e892f4fa 10612017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1062 Vineet Gupta <vgupta@synopsys.com>
1063
1064 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1065 * config/arc/linux-unwind-reg.def: New file.
1066 * config/arc/linux-unwind-reg.h: Likewise.
1067
020b1a05 10682017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1069
1070 * config/rl78/subdi3.S: New assembly file.
1071 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1072
99efc84b 10732017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1074
1075 * config/rl78/adddi3.S: New assembly file.
1076 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1077
4bed1b09 10782017-10-13 Jakub Jelinek <jakub@redhat.com>
1079
1080 PR target/82274
1081 * libgcc2.c (__mulvDI3): If both operands have
1082 the same highpart of -1 and the topmost bit of lowpart is 0,
1083 multiplication overflows even if both lowparts are 0.
1084
d56894aa 10852017-09-28 James Bowman <james.bowman@ftdichip.com>
1086
1087 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1088
cb442ed3 10892017-09-26 Joseph Myers <joseph@codesourcery.com>
1090
1091 * config/microblaze/crti.S, config/microblaze/crtn.S,
1092 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1093 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1094 config/microblaze/mulsi3.S,
1095 config/microblaze/stack_overflow_exit.S,
1096 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1097 config/pa/milli64.S: Add .note.GNU-stack section.
1098
4d6bb87e 10992017-09-23 Daniel Santos <daniel.santos@pobox.com>
1100
1101 * configure.ac: Add Check for HAVE_AS_AVX.
1102 * config.in: Regenerate.
1103 * configure: Likewise.
1104 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1105 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1106 Correct out-of-date comments.
1107
df4660d3 11082017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1109
1110 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1111 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1112
39143cf7 11132017-09-17 Daniel Santos <daniel.santos@pobox.com>
1114
df4660d3 1115 * config/i386/i386-asm.h (PASTE2): New macro.
39143cf7 1116 (ASMNAME): Modify to use PASTE2.
1117 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1118 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
df4660d3 1119 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
39143cf7 1120 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
df4660d3 1121 * config/i386/resms64f.S: Likewise.
1122 * config/i386/resms64fx.S: Likewise.
1123 * config/i386/resms64x.S: Likewise.
1124 * config/i386/savms64.S: Likewise.
1125 * config/i386/savms64f.S: Likewise.
1126 * config/i386/avx_resms64.S: New file that only defines a macro and
39143cf7 1127 includes it's corresponding header file.
df4660d3 1128 * config/i386/avx_resms64f.S: Likewise.
1129 * config/i386/avx_resms64fx.S: Likewise.
1130 * config/i386/avx_resms64x.S: Likewise.
1131 * config/i386/avx_savms64.S: Likewise.
1132 * config/i386/avx_savms64f.S: Likewise.
1133 * config/i386/sse_resms64.S: Likewise.
1134 * config/i386/sse_resms64f.S: Likewise.
1135 * config/i386/sse_resms64fx.S: Likewise.
1136 * config/i386/sse_resms64x.S: Likewise.
1137 * config/i386/sse_savms64.S: Likewise.
1138 * config/i386/sse_savms64f.S: Likewise.
1139 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
39143cf7 1140
0c11960e 11412017-09-01 Olivier Hainque <hainque@adacore.com>
0c11960e 1142 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1143
061339f2 11442017-08-31 Olivier Hainque <hainque@adacore.com>
1145
1146 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1147 match as powerpc-wrs-vxworks*.
1148
6a000628 11492017-08-07 Jonathan Yong <10walls@gmail.com>
1150
1151 * config.host (*-cygwin): Include file from mingw
1152 config/i386/enable-execute-stack-mingw32.c
1153
17a98fea 11542017-08-01 Jerome Lambourg <lambourg@adacore.com>
c9e63184 1155 Doug Rupp <rupp@adacore.com>
1156 Olivier Hainque <hainque@adacore.com>
17a98fea 1157
1158 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1159 as well as arm-wrs-vxworks.
1160 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1161 LIB2ADDEH.
1162 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1163 __exidx_start and __exidx_end for downloadable modules.
1164
fffdea9e 11652017-08-01 Olivier Hainque <hainque@adacore.com>
1166
1167 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1168 * config/t-vxworks7: Likewise.
1169
b9454236 11702017-08-01 Olivier Hainque <hainque@adacore.com>
1171
1172 * config/t-vxworks: Instead of redefining LIB2ADD,
1173 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1174
f16062f7 11752017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1176
1177 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1178
65e1ae67 11792017-07-24 Daniel Santos <daniel.santos@pobox.com>
1180
1181 PR testsuite/80759
1182 * config.host: include i386/t-msabi for darwin and solaris.
1183 * config/i386/i386-asm.h
1184 (ELFFN): Rename to FN_TYPE.
1185 (FN_SIZE): New macro.
1186 (FN_HIDDEN): Likewise.
1187 (ASMNAME): Likewise.
1188 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1189 .globl.
1190 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1191 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1192 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1193 .macro.
1194 * config/i386/resms64f.S: Likewise.
1195 * config/i386/resms64fx.S: Likewise.
1196 * config/i386/resms64x.S: Likewise.
1197 * config/i386/savms64.S: Likewise.
1198 * config/i386/savms64f.S: Likewise.
1199
25e4634a 12002017-07-19 John Marino <gnugcc@marino.st>
1201
1202 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1203
9f6dc184 12042017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1205
1206 PR target/81193
1207 * configure.ac (PowerPC float128 hardware support): Test whether
1208 we can use __builtin_cpu_supports before enabling the ifunc
1209 handler.
1210 * configure: Regenerate.
1211
927c0132 12122017-07-10 Vineet Gupta <vgupta@synopsys.com>
1213
1214 * config.host: Remove uclibc from arc target spec.
1215
63d551af 12162017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1217
1218 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1219
378ca53a 12202017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1221
1222 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1223 (have_ieee_hw_p): Delete function.
1224 (SW_OR_HW) Use __builtin_cpu_supports().
1225
9b32089e 12262017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1227
1228 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1229
e6c95d8f 12302017-07-03 Olivier Hainque <hainque@adacore.com>
1231
378ca53a 1232 * config/t-vxworks7: New file, really.
e6c95d8f 1233
5266910f 12342017-06-28 Joseph Myers <joseph@codesourcery.com>
1235
1236 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1237 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1238 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1239 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1240 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1241 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1242 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1243 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1244 config/sh/linux-unwind.h (sh_fallback_frame_state),
1245 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1246 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1247 ucontext_t instead of struct ucontext.
1248
0e50554f 12492017-06-27 Jerome Lambourg <lambourg@adacore.com>
1250
1251 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1252 (x86_64-wrs-vxworks7): Likewise.
1253
899cdd88 12542017-06-27 Olivier Hainque <hainque@adacore.com>
1255
1256 * config/t-vxworks7: New file.
1257 * config.host (*-*-vxworks7): Use it.
1258
a4721bd0 12592017-06-22 Matt Turner <mattst88@gmail.com>
1260
1261 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1262 skylake case.
1263
27182bcd 12642017-06-21 Richard Biener <rguenther@suse.de>
1265
1266 PR gcov-profile/81080
1267 * configure.ac: Add AC_SYS_LARGEFILE.
1268 * libgcov.h: Include auto-target.h before tsystem.h to pick
1269 up _FILE_OFFSET_BITS which might differ for multilibs.
1270 * config.in: Regenerate.
1271 * configure: Likewise.
1272
73c72cdf 12732017-06-16 Richard Earnshaw <rearnsha@arm.com>
1274
1275 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1276
696ee0c7 12772017-06-09 Martin Liska <mliska@suse.cz>
1278
1279 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1280 Reset __gcov_indirect_call_callee to NULL.
1281
e7fcec67 12822017-06-08 Olivier Hainque <hainque@adacore.com>
1283
1284 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1285 the set of -I options, support for direct inclusions of net/uio.h
1286 by VxWorks header files via ioLib.h.
1287
69bf76d9 12882017-06-07 Tony Reix <tony.reix@atos.net>
1289 Matthieu Sarter <matthieu.sarter.external@atos.net>
1290 David Edelsohn <dje.gcc@gmail.com>
1291
c9e63184 1292 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1293 unconditionally.
1294 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1295 AIX 7.2 support.
69bf76d9 1296
b0e6722b 12972017-06-02 Olivier Hainque <hainque@adacore.com>
1298
1299 * config/vxlib.c (__gthread_once): Add missing value to
1300 return statement.
1301
78d07aaf 13022017-05-30 Olivier Hainque <hainque@adacore.com>
1303
1304 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1305 dollar sign before $(MULTIDIR).
1306
1e9944f4 13072017-05-26 Richard Henderson <rth@redhat.com>
1308
1309 PR libgcc/80037
1310 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1311
874dff1a 13122017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1313
1314 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1315 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1316 * config/arm/unwind-arm.c: Implement the above.
1317
c57508a3 13182017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1319
1320 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1321 section for a non-executable stack.
1322
7303090d 13232017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1324
1325 PR target/80600
1326 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1327
e67d3d38 13282017-05-14 Daniel Santos <daniel.santos@pobox.com>
1329
1330 * config.host: Add i386/t-msabi to i386/t-linux file list.
1331 * config/i386/i386-asm.h: New file.
1332 * config/i386/resms64.S: New file.
1333 * config/i386/resms64f.S: New file.
1334 * config/i386/resms64fx.S: New file.
1335 * config/i386/resms64x.S: New file.
1336 * config/i386/savms64.S: New file.
1337 * config/i386/savms64f.S: New file.
1338 * config/i386/t-msabi: New file.
1339
8b9c62ca 13402017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1341
1342 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1343 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1344
9b859c0a 13452017-05-05 Joshua Conner <joshconner@google.com>
1346
1347 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1348 pc-relative indirect handling for fuchsia.
1349 * config/t-slibgcc-fuchsia: New file.
1350 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
e67d3d38 1351 x86_64-*-fuchsia*): Add definitions.
9b859c0a 1352
44d47185 13532017-04-19 Martin Liska <mliska@suse.cz>
1354
1355 PR gcov-profile/80435
1356 * Makefile.in: Install gcov.h.
1357 * gcov.h: New file.
1358 * libgcov.h: Use the header and make __gcov_flush publicly
1359 visible.
1360
6db59335 13612017-04-18 Martin Liska <mliska@suse.cz>
1362
1363 PR gcov-profile/78783
1364 * libgcov-driver.c (gcov_get_filename): New function.
1365
726cec5c 13662017-04-07 Jeff Law <law@redhat.com>
1367
1368 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1369 target makefile fragment.
1370 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1371
47ad90e7 13722017-04-07 Alan Modra <amodra@gmail.com>
1373
1374 PR target/45053
1375 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1376
2fbe7a32 13772017-04-03 Jonathan Wakely <jwakely@redhat.com>
1378
1379 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1380
e69e67d4 13812017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1382
1383 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1384
319901d0 13852017-03-10 John Marino <gnugcc@marino.st>
1386
1387 * config/aarch64/freebsd-unwind.h: New file.
1388 * config.host: Add aarch64-*-freebsd unwinder.
1389
b97c2c61 13902017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1391
1392 * config/rs6000/crtrestvr.s: Use .machine altivec.
1393 * config/rs6000/crtsavevr.s: Ditto.
1394
8828c0f0 13952017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1396
1397 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1398 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1399 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1400 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1401 * configure: Regenerate.
1402 * config.in: Regenerate.
1403
b7714375 14042017-03-02 Jonathan Yong <10walls@gmail.com>
1405
1406 * config/i386/gthr-win32.h: Define NOGDI before
1407 windows.h include to prevent w32api CC_NONE macro
1408 clash with libgfortran.
1409
3a39f4cf 14102017-03-02 Jonathan Yong <10walls@gmail.com>
1411
1412 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1413
9c0ca8b6 14142017-02-16 Andrew Pinski <apinski@cavium.com>
1415
1416 * config/aarch64/value-unwind.h: New file.
1417 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1418 to tm_file.
1419
36387fad 14202017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1421
1422 * config.host: Add RISC-V tuples.
1423 * config/riscv/atomic.c: New file.
1424 * config/riscv/crti.S: Likewise.
1425 * config/riscv/crtn.S: Likewise.
1426 * config/riscv/div.S: Likewise.
1427 * config/riscv/linux-unwind.h: Likewise.
1428 * config/riscv/muldi3.S: Likewise.
1429 * config/riscv/multi3.S: Likewise.
1430 * config/riscv/save-restore.S: Likewise.
1431 * config/riscv/sfp-machine.h: Likewise.
1432 * config/riscv/t-elf: Likewise.
1433 * config/riscv/t-elf32: Likewise.
1434 * config/riscv/t-elf64: Likewise.
1435 * config/riscv/t-softfp32: Likewise.
1436 * config/riscv/t-softfp64: Likewise.
1437
e8c55c95 14382017-01-24 Jakub Jelinek <jakub@redhat.com>
1439
1440 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1441 /* FALLTHRU */ comments.
1442
a0e066ed 14432017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1444
1445 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1446
58c979ed 14472017-01-20 Jiong Wang <jiong.wang@arm.com>
1448
1449 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1450 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1451 DW_CFA_GNU_window_save for AArch64 and LP64.
1452
8657c382 14532017-01-20 Jiong Wang <jiong.wang@arm.com>
1454
1455 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1456
d10c58fd 14572017-01-19 Jiong Wang <jiong.wang@arm.com>
1458
1459 * config/aarch64/aarch64-unwind.h: New file.
1460 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1461 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1462 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1463 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1464 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1465 (aarch64_post_extract_frame_addr): New function.
1466 (aarch64_post_frob_eh_handler_addr): New function.
1467 (aarch64_frob_update_context): New function.
1468 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1469 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1470 aarch64*-*-freebsd*):
1471 Initialize md_unwind_header to include aarch64-unwind.h.
1472 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1473 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1474 __aarch64__.
1475 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1476 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1477 (uw_frob_return_addr): New function.
1478 (uw_install_context): Use uw_frob_return_addr.
1479
0812bb06 14802017-01-17 Jakub Jelinek <jakub@redhat.com>
1481
1482 PR other/79046
1483 * configure.ac: Add GCC_BASE_VER.
1484 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1485 version from BASE-VER file.
1486 * configure: Regenerated.
1487
fd961cec 14882017-01-13 Joe Seymour <joe.s@somniumtech.com>
1489
1490 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1491 libmul_f5.a): Filter archived prerequisites.
1492
e0aa57d6 14932017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1494
1495 * config/i386/cpuinfo.h (processor_features): Add
1496 FEATURE_AVX512VPOPCNTDQ.
1497 * config/i386/cpuinfo.c (get_available_features): Habdle new
1498 feature.
1499
4ed499e5 15002017-01-04 Joseph Myers <joseph@codesourcery.com>
1501
1502 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1503 payload if [__mips_nan2008].
1504
cb7a0f1d 15052017-01-04 Alan Modra <amodra@gmail.com>
1506
1507 * Makefile.in (configure_deps): Update.
1508 * configure: Regenerate.
1509
aad93da1 15102017-01-01 Jakub Jelinek <jakub@redhat.com>
1511
1512 Update copyright years.
1513
9834d450 15142016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1515
1516 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1517 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1518 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1519
1eff8c97 15202016-12-17 Matthias Klose <doko@ubuntu.com>
1521
1522 * config/arc/gmon: Remove empty directory.
1523
8df543e1 15242016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1525
1526 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1527 crtgend.
1528 (arc*-*-elf*): Likewise.
1529 * config/arc/t-arc: Remove old gmon lib targets.
1530 * config/arc/crtg.S: Remove.
1531 * config/arc/crtgend.S: Likewise.
1532 * config/arc/gmon/atomic.h: Likewise.
1533 * config/arc/gmon/auxreg.h: Likewise.
1534 * config/arc/gmon/dcache_linesz.S: Likewise.
1535 * config/arc/gmon/gmon.c: Likewise.
1536 * config/arc/gmon/machine-gmon.h: Likewise.
1537 * config/arc/gmon/mcount.c: Likewise.
1538 * config/arc/gmon/prof-freq-stub.S: Likewise.
1539 * config/arc/gmon/prof-freq.c: Likewise.
1540 * config/arc/gmon/profil.S: Likewise.
1541 * config/arc/gmon/sys/gmon.h: Likewise.
1542 * config/arc/gmon/sys/gmon_out.h: Likewise.
1543 * config/arc/t-arc-newlib: Likewise.
1544 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1545
489174fc 15462016-12-12 George Spelvin <linux@sciencehorizons.net>
1547
1548 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1549
4d1d4dad 15502016-12-12 George Spelvin <linux@sciencehorizons.net>
1551
1552 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1553 R16 instead of push + pop.
1554 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1555
a1928e5c 15562016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1557
1558 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1559 tmake_file.
1560
74d8fa14 15612016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1562
1563 * config.host (arc*-*-linux-uclibc*): Use default extra
1564 objects. Include linux-android header.
1565 * config/arc/crti.S (_init): Declare symbol as function.
1566 (_fini): Likewise.
1567
25df644f 15682016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1569
1570 PR fortran/78379
1571 * config/i386/cpuinfo.c: Move denums for processor vendors,
1572 processor type, processor subtypes and declaration of
1573 struct __processor_model into
1574 * config/i386/cpuinfo.h: New header file.
1575
2d3a01a7 15762016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1577 Thomas Preud'homme <thomas.preudhomme@arm.com>
1578
1579 * config/arm/cmse_nonsecure_call.S: New.
1580 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1581
0120ae30 15822016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1583 Thomas Preud'homme <thomas.preudhomme@arm.com>
1584
1585 * config/arm/t-arm (HAVE_CMSE): New.
1586 * config/arm/cmse.c: New.
1587
6c8f362e 15882016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1589
966d046c 1590 PR gcc/74748
1591 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1592 use generic linker version information on Blackfin.
1593
6c8f362e 1594 PR gcc/74748
1595 * libgcc/mkmap-symver.awk: add support for skip_underscore
1596
aaa50706 15972016-11-27 Iain Sandoe <iain@codesourcery.com>
1598 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1599
1600 PR target/67710
1601 * config/t-darwin: Default builds to 10.5 codegen.
1602
a5987adb 16032016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1604
1605 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1606 (_FP_NANSIGN_H): Likewise.
1607 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1608 (softfp_truncations): Add tfhf.
1609 (softfp_extras): Add required conversion functions.
1610
9f58227e 16112016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1612 Matthew Wahab <matthew.wahab@arm.com>
1613
1614 * config/arm/fp16.c (binary64): New.
1615 (__gnu_d2h_internal): New.
1616 (__gnu_d2h_ieee): New.
1617 (__gnu_d2h_alternative): New.
1618
684b17ed 16192016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1620 Matthew Wahab <matthew.wahab@arm.com>
1621
1622 * config/arm/fp16.c (struct format): New.
1623 (binary32): New.
1624 (__gnu_float2h_internal): New. Body moved from
1625 __gnu_f2h_internal and generalize.
1626 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1627 Call it with binary32.
1628
d1b857ae 16292016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1630
1631 * soft-fp/extendhftf2.c: Update from glibc.
1632 * soft-fp/fixhfti.c: Likewise.
1633 * soft-fp/fixunshfti.c: Likewise.
1634 * soft-fp/floattihf.c: Likewise.
1635 * soft-fp/floatuntihf.c: Likewise.
1636 * soft-fp/half.h: Likewise.
1637 * soft-fp/trunctfhf2.c: Likewise.
1638
7dbfd9e6 16392016-11-20 Marc Glisse <marc.glisse@inria.fr>
1640
1641 PR libgcc/77813
1642 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1643 __TMC_END__ behind a passthrough asm.
1644
6bf644d1 16452016-11-18 Walter Lee <walt@tilera.com>
1646
7dbfd9e6 1647 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
6bf644d1 1648
a28d23f0 16492016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1650
1651 * config/i386/cpuinfo.c (processor_features): Add
1652 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1653
732a947a 16542016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1655
1656 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1657 (__ARC_NORM__): Use instead ARC_OPTFPE.
1658 * config/arc/fp-hack.h: Likewise.
1659 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1660 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1661
7fce8768 16622016-11-16 Alexander Monakov <amonakov@ispras.ru>
1663
1664 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1665 * config/nvptx/mgomp.c: New file.
1666 * config/nvptx/t-nvptx: Add mgomp.c
1667
397d0e43 16682016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1669
1670 PR libgcc/68468
1671 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1672
44618e46 16732016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1674
1675 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1676 of checking for cpus.
1677 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1678 (__modsi3, __clzsi2): Likewise.
1679
6e6c7fc1 16802016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1681
1682 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1683 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1684 * config/i386/t-cpuinfo-static: New.
1685
36ffeeaf 16862016-11-03 Martin Liska <mliska@suse.cz>
1687
1688 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1689 (__gcov_time_profiler_atomic): Likewise.
1690
9769a02b 16912016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1692
1693 PR libgcc/78067
1694 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1695 count_leading_zeros.
1696
2743281b 16972016-11-02 Uros Bizjak <ubizjak@gmail.com>
1698
1699 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1700 * libgcc2.c (__divmoddi4): New function.
1701 * libgcc2.h (__divmoddi4): Declare.
1702 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1703 and __PFX_divmodti4.
1704
7829b1ae 17052016-10-24 Florian Weimer <fweimer@redhat.com>
1706
1707 PR libgcc/78064
1708 * unwind-c.c: Include auto-target.h.
1709
677e8b73 17102016-10-19 John David Anglin <danglin@gcc.gnu.org>
1711
2743281b 1712 * config/pa/pa64-hpux-lib.h: New file.
677e8b73 1713 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1714 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1715 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1716 hppa*64*-*-hpux11*.
1717
5dc8060e 17182016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1719
1720 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1721 definition.
1722 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1723 definition.
1724 * config/xtensa/t-windowed (LIB2ADDEH): Use
1725 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1726 or xtensa/t-linux.
1727
2b7e7fc4 17282016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1729
1730 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1731 __ieee754_sqrt): New functions.
1732 (__divdf3): Add implementation with new FPU instructions under
1733 #if XCHAL_HAVE_DFP_DIV.
1734 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1735 __ieee754_sqrtf): New functions.
1736 (__divsf3): Add implementation with new FPU instructions under
1737 #if XCHAL_HAVE_FP_DIV.
1738 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1739 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1740
ad7b10a2 17412016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1742
1743 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1744 equivalent.
1745 * config/tilepro/atomic.c: Likewise and stop casting model to
1746 enum memmodel.
1747
dff001ee 17482016-10-10 Joseph Myers <joseph@codesourcery.com>
1749
1750 PR target/77586
1751 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1752 soft-fp.
1753
88afddbc 17542016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1755
1756 * config.host: Add support for aarch64-*-freebsd*.
1757
7667e10d 17582016-10-05 Andreas Schwab <schwab@suse.de>
1759
1760 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1761 (.section .init_array): Don't call __do_jv_register_classes.
1762 (.section .init): Likewise.
1763
bc6b11a7 17642016-10-04 Jakub Jelinek <jakub@redhat.com>
1765
1766 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1767 (__JCR_LIST__): Remove.
1768 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1769 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1770 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1771 * config/ia64/crtend.S (__JCR_END__): Remove.
1772 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1773 conditionals.
1774 (__JCR_LIST__, __JCR_END__): Remove.
1775 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1776 (__do_global_ctors_1): Likewise.
1777
4785ab74 17782015-09-28 Uros Bizjak <ubizjak@gmail.com>
1779
1780 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1781 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1782
db46bcd3 17832016-09-27 Martin Liska <mliska@suse.cz>
1784
1785 PR gcov-profile/7970
1786 PR gcov-profile/16855
1787 PR gcov-profile/44779
1788 * libgcov-driver.c (__gcov_init): Do not register a atexit
1789 handler.
1790 (__gcov_exit): Rename from gcov_exit.
1791 * libgcov.h (__gcov_exit): Declare.
1792
1e849229 17932016-09-27 Martin Liska <mliska@suse.cz>
1794
1795 PR bootstrap/77749
1796 * Makefile.in: Remove _gcov_merge_delta.
1797 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1798 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1799 * libgcov.h: Remove declaration of __gcov_merge_delta.
1800
c678023a 18012016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1802
1803 * configure.ac: Do not create links, only substitute the filenames.
1804 * configure: Regenerate.
1805 * Makefile.in: Assign the substitution results to variables.
1806 (LIBGCC_LINKS): Define.
1807 (enable-execute-stack.c): New rule.
1808 (unwind.h): Likewise.
1809 (md-unwind-support.h): Likewise.
1810 (sfp-machine.h): Likewise.
1811 (gthr-default.h): Likewise.
1812 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1813 unwind.h as prerequisite of install-unwind_h-forbuild.
1814
69ea9908 18152016-09-16 Jakub Jelinek <jakub@redhat.com>
1816
1817 PR libgcc/71744
1818 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1819 is not the primary registry and atomics are available.
1820 (any_objects_registered): New variable.
1821 (__register_frame_info_bases, __register_frame_info_table_bases):
1822 Atomically store 1 to any_objects_registered after registering first
1823 unwind info.
1824 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1825
d1c9b60c 18262016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1827
1828 PR target/63250
1829 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1830 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1831 (HFtype): Likewise.
1832 (HCtype): Likewise.
1833 (__divhc3): Likewise.
1834 (__mulhc3): Likewise.
1835 * libgcc2.c: Support _mulhc3 and _divhc3.
1836
86d9b5ed 18372016-09-07 Joseph Myers <joseph@codesourcery.com>
1838
1839 PR libgcc/77519
1840 * libgcc2.c (NOTRUNC): Invert settings.
1841
4c790ba8 18422016-09-06 Martin Liska <mliska@suse.cz>
1843
1844 PR gcov-profile/77378
1845 PR gcov-profile/77466
1846 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1847 conditionaly enable/disable *_atomic functions.
1848
ac34f4bd 18492016-08-26 Joseph Myers <joseph@codesourcery.com>
1850
1851 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1852 where not already enabled.
1853
9cd45037 18542016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1855
1856 * config/mips/linux-unwind.h: Use sys/syscall.h.
1857
de41fc22 18582016-08-16 Joseph Myers <joseph@codesourcery.com>
1859
1860 PR libgcc/77265
1861 * soft-fp/adddf3.c: Update from glibc.
1862 * soft-fp/addsf3.c: Likewise.
1863 * soft-fp/addtf3.c: Likewise.
1864 * soft-fp/divdf3.c: Likewise.
1865 * soft-fp/divsf3.c: Likewise.
1866 * soft-fp/divtf3.c: Likewise.
1867 * soft-fp/double.h: Likewise.
1868 * soft-fp/eqdf2.c: Likewise.
1869 * soft-fp/eqsf2.c: Likewise.
1870 * soft-fp/eqtf2.c: Likewise.
1871 * soft-fp/extenddftf2.c: Likewise.
1872 * soft-fp/extended.h: Likewise.
1873 * soft-fp/extendsfdf2.c: Likewise.
1874 * soft-fp/extendsftf2.c: Likewise.
1875 * soft-fp/extendxftf2.c: Likewise.
1876 * soft-fp/fixdfdi.c: Likewise.
1877 * soft-fp/fixdfsi.c: Likewise.
1878 * soft-fp/fixdfti.c: Likewise.
1879 * soft-fp/fixsfdi.c: Likewise.
1880 * soft-fp/fixsfsi.c: Likewise.
1881 * soft-fp/fixsfti.c: Likewise.
1882 * soft-fp/fixtfdi.c: Likewise.
1883 * soft-fp/fixtfsi.c: Likewise.
1884 * soft-fp/fixtfti.c: Likewise.
1885 * soft-fp/fixunsdfdi.c: Likewise.
1886 * soft-fp/fixunsdfsi.c: Likewise.
1887 * soft-fp/fixunsdfti.c: Likewise.
1888 * soft-fp/fixunssfdi.c: Likewise.
1889 * soft-fp/fixunssfsi.c: Likewise.
1890 * soft-fp/fixunssfti.c: Likewise.
1891 * soft-fp/fixunstfdi.c: Likewise.
1892 * soft-fp/fixunstfsi.c: Likewise.
1893 * soft-fp/fixunstfti.c: Likewise.
1894 * soft-fp/floatdidf.c: Likewise.
1895 * soft-fp/floatdisf.c: Likewise.
1896 * soft-fp/floatditf.c: Likewise.
1897 * soft-fp/floatsidf.c: Likewise.
1898 * soft-fp/floatsisf.c: Likewise.
1899 * soft-fp/floatsitf.c: Likewise.
1900 * soft-fp/floattidf.c: Likewise.
1901 * soft-fp/floattisf.c: Likewise.
1902 * soft-fp/floattitf.c: Likewise.
1903 * soft-fp/floatundidf.c: Likewise.
1904 * soft-fp/floatundisf.c: Likewise.
1905 * soft-fp/floatunditf.c: Likewise.
1906 * soft-fp/floatunsidf.c: Likewise.
1907 * soft-fp/floatunsisf.c: Likewise.
1908 * soft-fp/floatunsitf.c: Likewise.
1909 * soft-fp/floatuntidf.c: Likewise.
1910 * soft-fp/floatuntisf.c: Likewise.
1911 * soft-fp/floatuntitf.c: Likewise.
1912 * soft-fp/gedf2.c: Likewise.
1913 * soft-fp/gesf2.c: Likewise.
1914 * soft-fp/getf2.c: Likewise.
1915 * soft-fp/ledf2.c: Likewise.
1916 * soft-fp/lesf2.c: Likewise.
1917 * soft-fp/letf2.c: Likewise.
1918 * soft-fp/muldf3.c: Likewise.
1919 * soft-fp/mulsf3.c: Likewise.
1920 * soft-fp/multf3.c: Likewise.
1921 * soft-fp/negdf2.c: Likewise.
1922 * soft-fp/negsf2.c: Likewise.
1923 * soft-fp/negtf2.c: Likewise.
1924 * soft-fp/op-1.h: Likewise.
1925 * soft-fp/op-2.h: Likewise.
1926 * soft-fp/op-4.h: Likewise.
1927 * soft-fp/op-8.h: Likewise.
1928 * soft-fp/op-common.h: Likewise.
1929 * soft-fp/quad.h: Likewise.
1930 * soft-fp/single.h: Likewise.
1931 * soft-fp/soft-fp.h: Likewise.
1932 * soft-fp/subdf3.c: Likewise.
1933 * soft-fp/subsf3.c: Likewise.
1934 * soft-fp/subtf3.c: Likewise.
1935 * soft-fp/truncdfsf2.c: Likewise.
1936 * soft-fp/trunctfdf2.c: Likewise.
1937 * soft-fp/trunctfsf2.c: Likewise.
1938 * soft-fp/trunctfxf2.c: Likewise.
1939 * soft-fp/unorddf2.c: Likewise.
1940 * soft-fp/unordsf2.c: Likewise.
1941 * soft-fp/unordtf2.c: Likewise.
1942
196b8968 19432016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1944
1945 PR gcov-profile/67097
1946 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1947
2d2b4107 19482016-08-10 Martin Liska <mliska@suse.cz>
1949
1950 PR gcov-profile/58306
1951 * Makefile.in: New functions (modules) are added.
1952 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1953 function.
1954 (__gcov_pow2_profiler_atomic): New function.
1955 (__gcov_one_value_profiler_body): New argument is instroduced.
1956 (__gcov_one_value_profiler): Call with the new argument.
1957 (__gcov_one_value_profiler_atomic): Likewise.
1958 (__gcov_indirect_call_profiler_v2): Likewise.
1959 (__gcov_time_profiler_atomic): New function.
1960 (__gcov_average_profiler_atomic): Likewise.
1961 (__gcov_ior_profiler_atomic): Likewise.
1962 * libgcov.h: Declare the aforementioned functions.
1963
ba662a81 19642016-08-09 Martin Liska <mliska@suse.cz>
1965
1966 * libgcov-util.c: Fix typo and GNU coding style.
1967
2d917abb 19682016-08-09 Martin Liska <mliska@suse.cz>
1969
1970 * Makefile.in: Remove __gcov_indirect_call_profiler.
1971 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1972 function.
1973 * libgcov.h: And the declaration of the function.
1974
defa7026 19752016-08-09 Martin Liska <mliska@suse.cz>
1976
1977 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1978 power of two.
1979
cc308618 19802016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1981
1982 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1983 * config/rs6000/_mulkc3.c: Likewise.
1984
33d428f0 19852016-07-29 Georg-Johann Lay <avr@gjlay.de>
1986
1987 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1988 zero_reg as previous call to __umulhisi3 already cleared it.
1989
04aca775 19902016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1991
1992 PR target/59833
1993 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1994
78c81e30 19952016-07-19 Nick Clifton <nickc@redhat.com>
1996
1997 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1998 Add crtinit.o and crtfini.o to extra_parts.
1999
244f142f 20002016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2001
2002 * config/rs6000/_divkc3.c: New.
2003 * config/rs6000/_mulkc3.c: New.
2004 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2005 and _divkc3.
2006 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2007 fp128_ppc_funcs.
2008
4623d929 20092016-07-11 Hale Wang <hale.wang@arm.com>
2010 Andre Vieira <andre.simoesdiasvieira@arm.com>
2011
2012 * config/arm/lib1funcs.S: Add new wrapper.
2013
2d079cbf 20142016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2015
2016 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2017
baea7c0c 20182016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2019
2020 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2021 and ARMv5t* rather than for a fixed list of architectures.
2022
9e6f4af4 20232016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2024
2025 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2026 implementation suitable for.
2027 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2028 for all Thumb-1 only targets.
2029 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2030 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2031 __ARM_ARCH_6M__.
2032 (EQUIV): Likewise.
2033 (ARM_FUNC_ALIAS): Likewise.
2034 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2035 version.
2036 (modsi3): Likewise.
2037 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2038 (clzdi2): Likewise.
2039 (ctzsi2): Likewise.
2040 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2041 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2042 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2043 __ARM_ARCH_6M__ and add comment to indicate the connection between
2044 this condition and the one in gcc/config/arm/elf.h.
2045 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2046 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2047 * config/arm/t-softfp: Likewise.
2048
286a203d 20492016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2050
2051 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2052 CTOR_LISTS_DEFINED_EXTERNALLY.
2053
dabe3026 20542016-06-28 Walter Lee <walt@tilera.com>
2055
2056 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2057 asm/unistd.h.
2058 (SPR_CMPEXCH_VALUE): Define for tilegx.
2059 (__NR_FAST_cmpxchg): Define for tilepro.
2060 (__NR_FAST_atomic_update): Define for tilepro.
2061 (__NR_FAST_cmpxchg64): Define for tilepro.
2062
21ecea39 20632016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2064
2743281b 2065 * config.host: Add suport for arm*-*-phoenix* targets.
21ecea39 2066
03fee1f8 20672016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2068
2069 * config.host: Remove support for mep-*.
2070 * config/mep/lib1funcs.S: Remove.
2071 * config/mep/lib2funcs.c: Remove.
2072 * config/mep/t-mep: Remove.
2073 * config/mep/tramp.c: Remove.
2074
0f7d9ee5 20752016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2076
2077 * config.host: Remove support for avr-rtems.
2078 * config/avr/t-rtems: Remove.
2079
13c64cbf 20802016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2081
2082 * config.host: Remove m32r-rtems support.
2083
dac5da06 20842016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2085
2086 * config.host: Remove h8300-rtems support.
2087
79573034 20882016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2089
2090 * config.host: Remove support for knetbsd.
2091
b79c0f5e 20922016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2093
2094 * config.host: Remove support for openbsd 2 and 3.
2095
6905db52 20962016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2097
2098 * config.host: Remove interix support.
2099 * config/i386/t-interix: Remove.
2100
433e4812 21012016-06-18 John David Anglin <danglin@gcc.gnu.org>
2102
2103 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2104 least-significant bit in function pointer for fixup.
2105
5d4123dc 21062016-06-05 Aaron Conole <aconole@redhat.com>
2107 Nathan Sidwell <nathan@acm.org>
2108
2109 PR libgcc/71400
2110 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2111 (get_gcov_error_file): Check __gcov_error_file before trying to
2112 initialize it.
2113 (gcov_error): Always use get_gcov_error_file.
2114
3237fc56 21152016-06-02 Aaron Conole <aconole@redhat.com>
2116
2117 * libgcov-driver-system.c (__gcov_error_file): New.
2118 (get_gcov_error_file): New.
2119 (gcov_error): Use and set __gcov_error_file.
2120 (gcov_error_exit): New.
2121 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2122
16dbe651 21232016-05-26 Nathan Sidwell <nathan@acm.org>
2124
2125 * config/nvptx/free.asm: Delete.
2126 * config/nvptx/malloc.asm: Delete.
2127 * config/nvptx/realloc.c: Delete.
2128 * t-nvptx: Update.
2129
f6871bbd 21302016-05-25 Nathan Sidwell <nathan@acm.org>
2131
2132 * config/nvptx/crt0.s: Delete.
2133 * config/nvptx/crt0.c: New.
2134 * t-nvptx: Update.
2135
51d42eb1 21362016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2137
61958e92 2138 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
51d42eb1 2139 dw2/seh configuration.
2140 [x86_64-*-mingw*]: Likewise.
2141
ffdf58db 21422016-05-10 Joel Sherrill <joel@rtems.org>
2143
2144 PR libgcc/70720
2145 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2146 targets so the same extra_parts are built. Also have tmake_file add
2147 on to its value rather than override.
2148
9a9b5abf 21492016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2150
2151 * config.host: Remove SH5 support.
2152 * configure: Likewise.
2153
f6fac0a1 21542016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2155
2156 * config/sh/crt1.S: Remove SH5 support.
2157 * config/sh/crti.S: Likewise.
2158 * config/sh/crtn.S: Likewise.
2159 * config/sh/lib1funcs-4-300.S: Likewise.
2160 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2161 * config/sh/lib1funcs.S: Likewise.
2162 * config/sh/linux-unwind.h: Likewise.
2163 * config/sh/t-sh64: Delete.
2164
7238c72c 21652016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2166
2167 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2168
5caa55b9 21692016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2170 Joern Rennecke <joern.rennecke@embecosm.com>
2171
2172 * config/arc/crttls.S: New file.
2173 * config/arc/t-arc: New rule.
2174 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2175
10dd6506 21762016-04-25 Nick Clifton <nickc@redhat.com>
2177
2178 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2179 (__mspabi_cmpd): Likewise.
2180 * config/msp430/floathidf.c (__floathidf): Likewise.
2181 * config/msp430/floathisf.c (__floathisf): Likewise
2182 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2183 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2184 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2185 second parameter.
2186 (__ashrsi3): Likewise.
2187
1701058d 21882016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2189
2190 * config/m68k/linux-atomic.c: Do not include unistd.h
2191
9703b760 21922016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2193
2194 * config/arm/ieee754-df.S: Fix typos in comments.
2195
62735984 21962016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2197
2198 PR target/70381
2199 * configure.ac (powerpc*-*-linux*): Rework tests to build
2200 __float128 emulation routines to not depend on using #pragma GCC
2201 target to enable -mfloat128.
2202 * configure: Regnerate.
2203
1c934c58 22042016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2205
2206 PR target/67172
2207 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2208 __MINGW32__ is defined.
2209
28a5f334 22102016-03-28 James Bowman <james.bowman@ftdichip.com>
2211
61958e92 2212 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
28a5f334 2213
88a2143c 22142016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2215
2216 PR libgcc/70363
2217 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2218 built with an assembler that does not support ISA 3.0
2219 instructions, rename __extendkftf2_sw to __extendkftf2.
2220
ed3d624c 22212016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2222
2223 PR target/38239
2224 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2225 call-clobbered registers.
2226 (internal_mcount): Remove __i386__ handling.
2227
1e085786 22282016-02-26 Joel Sherrill <joel@rtems.org>
2229
2230 * config.host: Add x86_64-*-rtems*.
2231
05ea12a2 22322016-02-26 Joel Sherrill <joel@rtems.org>
2233
2234 * libgcc/config.host: Add aarch64-*-rtems*.
2235
9b71efb9 22362016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2237 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2238
2239 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2240 union of u64 and double.
2241 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2242 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2243 value.
2244 (FP_ROUNDMODE): Update the usage of _fpscr.
2245
e59c8b12 22462016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2247
2248 PR driver/68463
2249 * Makefile.in (crtoffloadtable$(objext)): New rule.
2250 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2251 enable_offload_targets is not empty.
2252 * configure: Regenerate.
2253 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2254 crtoffloadtable.
2255
1fa780ac 22562016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2257
2258 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2259 .literal_position before the function.
2260 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2261 Likewise.
2262
c6d481f7 22632016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2264
2265 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2266 * config/s390/morestack.S: New file.
2267 * config/s390/t-stack-s390: New file.
2268 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2269
d58f7073 22702016-02-12 Walter Lee <walt@tilera.com>
2271
2272 * config.host (tilegx*-*-linux*): remove ti from
2273 softfp_int_modes for 32-bit configs.
2274
43cfc88a 22752016-02-10 Ian Lance Taylor <iant@google.com>
2276
2277 PR go/68562
2278 * config/i386/morestack.S (__stack_split_initialize): Align
2279 stack.
2280
ad2fe514 22812016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2282
2283 PR bootstrap/69611
2284 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2285 __FLOAT128__ to compile only for __float128 capable targets.
2286
92e91d03 22872016-01-25 Jakub Jelinek <jakub@redhat.com>
2288
2289 PR target/69444
2290 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2291 instead of ___NO_FPRS__.
2292
d99eec2c 22932016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
92e91d03 2294 Steven Munroe <munroesj@linux.vnet.ibm.com>
2295 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
d99eec2c 2296
2297 * config/rs6000/float128-sed: New files to convert TF names to KF
2298 names for PowerPC IEEE 128-bit floating point support.
2299 * config/rs6000/float128-sed-hw: Likewise.
2300
2301 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2302 floating point hardware support.
2303
2304 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2305 128-bit floating point software emulation or use ISA 3.0 hardware
2306 support if it is available.
2307
2308 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2309 floating point.
2310
2311 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2312 floating point to IBM extended double.
2313
2314 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2315 double to IEEE 128-bit floating point.
2316
2317 * config/rs6000/t-float128: New Makefile fragments to enable
2318 building __float128 emulation support.
2319 * config/rs6000/t-float128-hw: Likewise.
2320
2321 * config/rs6000/sfp-exceptions.c: New file to provide exception
2322 support for IEEE 128-bit floating point.
2323
2324 * config/rs6000/floattikf.c: New files for converting between IEEE
2325 128-bit floating point and signed/unsigned 128-bit integers.
2326 * config/rs6000/fixunskfti.c: Likewise.
2327 * config/rs6000/fixkfti.c: Likewise.
2328 * config/rs6000/floatuntikf.c: Likewise.
2329
2330 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2331 when building on 64-bit systems, or when VSX is enabled.
2332 (_FP_W_TYPE): Likewise.
2333 (_FP_WS_TYPE): Likewise.
2334 (_FP_I_TYPE): Likewise.
2335 (TItype): Define on 64-bit systems.
2336 (UTItype): Likewise.
2337 (TI_BITS): Likewise.
2338 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2339 (_FP_MUL_MEAT_Q): Likewise.
2340 (_FP_DIV_MEAT_D): Likewise.
2341 (_FP_DIV_MEAT_Q): Likewise.
2342 (_FP_NANFRAC_D): Likewise.
2343 (_FP_NANFRAC_Q): Likewise.
2344 (ISA_BIT): Add exception support if we are being compiled on a
2345 machine with hardware floating point support to build the IEEE
2346 128-bit emulation functions.
2347 (FP_EX_INVALID): Likewise.
2348 (FP_EX_OVERFLOW): Likewise.
2349 (FP_EX_UNDERFLOW): Likewise.
2350 (FP_EX_DIVZERO): Likewise.
2351 (FP_EX_INEXACT): Likewise.
2352 (FP_EX_ALL): Likewise.
2353 (__sfp_handle_exceptions): Likewise.
2354 (FP_HANDLE_EXCEPTIONS): Likewise.
2355 (FP_RND_NEAREST): Likewise.
2356 (FP_RND_ZERO): Likewise.
2357 (FP_RND_PINF): Likewise.
2358 (FP_RND_MINF): Likewise.
2359 (FP_RND_MASK): Likewise.
2360 (_FP_DECL_EX): Likewise.
2361 (FP_INIT_ROUNDMODE): Likewise.
2362 (FP_ROUNDMODE): Likewise.
2363
2364 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2365 VSX code, enable IEEE 128-bit floating point. If the compiler can
2366 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2367 floating point hardware instructions and it supports declaring
2368 functions with the ifunc attribute, enable ifunc functions to
2369 switch between software and hardware support.
2370 * configure.ac (powerpc*-*-linux*): Likewise.
2371 * configure: Regenerate.
2372
f557f14d 23732016-01-15 Nick Clifton <nickc@redhat.com>
2374
2375 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2376 dependency as the source file to be compiled.
2377 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2378 (lib2hw_mul_f5.o): Likewise.
2379
0e0d3ecb 23802016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2381
2382 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2383 * libgcc/config/rs6000/fixkfti.c: Likewise.
2384 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2385 * libgcc/config/rs6000/float128-hw.c: Likewise.
2386 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2387 * libgcc/config/rs6000/float128-sed: Likewise.
2388 * libgcc/config/rs6000/floattikf.c: Likewise.
2389 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2390 * libgcc/config/rs6000/quad-float128.h: Likewise.
2391 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2392 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2393 * libgcc/config/rs6000/t-float128: Likewise.
2394 * libgcc/config/rs6000/t-float128-hw: Likewise.
2395 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2396 * libgcc/config.host: Likewise.
2397 * libgcc/configure: Likewise.
2398 * libgcc/configure.ac: Likewise.
2399
398368d8 24002016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
92e91d03 2401 Steven Munroe <munroesj@linux.vnet.ibm.com>
2402 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
398368d8 2403
2404 * config/rs6000/sfp-exceptions.c: New file to provide exception
2405 support for IEEE 128-bit floating point.
2406
2407 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2408 floating point hardware support.
2409
2410 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2411 point conversions.
2412 * config/rs6000/fixunskfti.c: Likewise.
2413 * config/rs6000/fixkfti.c: Likewise.
2414 * config/rs6000/floatuntikf.c: Likewise.
2415 * config/rs6000/extendkftf2-sw.c: Likewise.
2416 * config/rs6000/trunctfkf2-sw.c: Likewise.
2417
2418 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2419 128-bit floating point software emulation or use ISA 3.0 hardware
2420 support if it is available.
2421
2422 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2423 floating point.
2424
2425 * config/rs6000/t-float128: New Makefile fragments to enable
2426 building __float128 emulation support.
2427 * config/rs6000/t-float128-hw: Likewise.
2428
2429 * config/rs6000/float128-sed: New file to convert TF names to KF
2430 names for PowerPC IEEE 128-bit floating point support.
2431
2432 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2433 when building on 64-bit systems, or when VSX is enabled.
2434 (_FP_W_TYPE): Likewise.
2435 (_FP_WS_TYPE): Likewise.
2436 (_FP_I_TYPE): Likewise.
2437 (TItype): Define on 64-bit systems.
2438 (UTItype): Likewise.
2439 (TI_BITS): Likewise.
2440 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2441 (_FP_MUL_MEAT_Q): Likewise.
2442 (_FP_DIV_MEAT_D): Likewise.
2443 (_FP_DIV_MEAT_Q): Likewise.
2444 (_FP_NANFRAC_D): Likewise.
2445 (_FP_NANFRAC_Q): Likewise.
2446 (ISA_BIT): Add exception support if we are being compiled on a
2447 machine with hardware floating point support to build the IEEE
2448 128-bit emulation functions.
2449 (FP_EX_INVALID): Likewise.
2450 (FP_EX_OVERFLOW): Likewise.
2451 (FP_EX_UNDERFLOW): Likewise.
2452 (FP_EX_DIVZERO): Likewise.
2453 (FP_EX_INEXACT): Likewise.
2454 (FP_EX_ALL): Likewise.
2455 (__sfp_handle_exceptions): Likewise.
2456 (FP_HANDLE_EXCEPTIONS): Likewise.
2457 (FP_RND_NEAREST): Likewise.
2458 (FP_RND_ZERO): Likewise.
2459 (FP_RND_PINF): Likewise.
2460 (FP_RND_MINF): Likewise.
2461 (FP_RND_MASK): Likewise.
2462 (_FP_DECL_EX): Likewise.
2463 (FP_INIT_ROUNDMODE): Likewise.
2464 (FP_ROUNDMODE): Likewise.
2465
2466 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2467 compiler can do __float128.
2468 * configure: Regenerate.
2469
2470 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2471 VSX code, enable IEEE 128-bit floating point.
2472
25cbccba 24732016-01-05 Olivier Hainque <hainque@adacore.com>
2474
2475 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
398368d8 2476 specificities.
25cbccba 2477
f1717362 24782016-01-04 Jakub Jelinek <jakub@redhat.com>
2479
2480 Update copyright years.
2481
444b6906 24822015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2483
2484 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
398368d8 2485 soft-fp targets.
444b6906 2486
9ff93578 24872015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2488
2489 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2490 instead of abort to avoid dependency on stdlib.h.
2491
a59e6fa6 24922015-12-09 John David Anglin <danglin@gcc.gnu.org>
2493
2494 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2495 to initialize call to __dl_fixup once.
2496
7ed86ba5 24972015-12-04 Nick Clifton <nickc@redhat.com>
2498
2499 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2500 Allow for the second argument being negative.
2501 * config.host (extra_parts): Define for MSP430. Create separate
2502 libraries for each of the hardware multiply formats.
2503 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2504 that are needed.
2505 * config/msp430/lib2mul.c: Likewise.
2506 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2507 Add rules to build hardware multiply libraries.
2508 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2509 __mspabi_divul function.
2510 (__mspabi_divllu): New stub function.
2511
2ec62878 25122015-12-01 John David Anglin <danglin@gcc.gnu.org>
2513
2514 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2515 fixup values if saved GOT address doesn't match runtime address.
2516 (fixup_branch_offset): Reorder list.
2517
08de21a4 25182015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2519
2520 * Makefile.in (VTV_CFLAGS): New variable.
2521 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2522 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2523 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2524 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2525 to extra_parts if $enable_vtable_verify = yes.
2526
7824e89a 25272015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2528
2529 PR target/68059
2530 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2531 (write): ...this and fix the return type.
2532
c0b6819e 25332015-11-19 DJ Delorie <dj@redhat.com>
2534
2535 * config/msp430/lib2hw_mul.S: Fix alignment.
2536
1927fff5 25372015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2538
2539 * config/nvptx/reduction.c: New.
2540 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2541
5bbad880 25422015-11-15 David Edelsohn <dje.gcc@gmail.com>
2543
2544 * config/rs6000/on_exit.c: New file.
2545 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2546 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2547
0c4d7986 25482015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2549
2550 * config/arc/dp-hack.h: Add support for ARCHS.
2551 * config/arc/ieee-754/divdf3.S: Likewise.
2552 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2553 * config/arc/ieee-754/muldf3.S: Likewise.
2554 * config/arc/ieee-754/mulsf3.S: Likewise
2555 * config/arc/lib1funcs.S: Likewise
2556 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2557 for ARCv2 cores.
2558 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2559 for ARCv2 cores.
2560 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2561 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2562 cores.
2563
4fa8daf5 25642015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2565
2566 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2567 value.
2568 * config/ia64/crtend.S: Likewise.
2569
d2dc729f 25702015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2571
2572 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2573 __CHAR_BIT__ instead of BITS_PER_UNIT.
2574 * fixed-bit.h: Likewise.
2575 * fp-bit.h: Likewise.
2576 * libgcc2.c (__popcountSI2): Likewise.
2577 (__popcountDI2): Likewise.
2578 * libgcc2.h: Likewise.
2579 * libgcov.h: Likewise.
2580
69de5ea9 25812015-11-07 David Edelsohn <dje.gcc@gmail.com>
2582
2583 * config/rs6000/atexit.c: New file.
2584 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2585 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2586 * config/rs6000/cxa_finalize.c
2587 (catomic_compare_and_exchange_bool_acq): Negate return value.
2588
47ce082f 25892015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2590
2591 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2592 (processor_subtypes): Add znver1.
2593 (get_amd_cpu): Detect znver1.
2594
18e98669 25952015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2596
2597 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2598 Include crtfastmath.o.
2599
9003096f 26002015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2601
2602 PR libgcc/66883
2603 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
18e98669 2604
2ee6cfdb 26052015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2606
2607 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2608 * config/rl78/divmodsi.S: Update return register to r8.
2609 * config/rl78/divmodhi.S: Update return register to r8,r9.
2610 Branch to main_loop_done_himode to pop registers before return.
2611
92e91d03 26122015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5814084e 2613
2614 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2615 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2616
6c1b774a 26172015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2618
2619 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2620
e3c15dbe 26212015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2622
2623 * config.host (xtensa*-*-uclinux*): New configuration.
2624
767110dd 26252015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2626
61958e92 2627 * config/i386/cpuinfo.c (processor_features): Add
767110dd 2628 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2629
b576f5d8 26302015-09-28 Joseph Myers <joseph@codesourcery.com>
2631
2632 * soft-fp/adddf3.c: Update from glibc.
2633 * soft-fp/addsf3.c: Likewise.
2634 * soft-fp/addtf3.c: Likewise.
2635 * soft-fp/divdf3.c: Likewise.
2636 * soft-fp/divsf3.c: Likewise.
2637 * soft-fp/divtf3.c: Likewise.
2638 * soft-fp/double.h: Likewise.
2639 * soft-fp/eqdf2.c: Likewise.
2640 * soft-fp/eqsf2.c: Likewise.
2641 * soft-fp/eqtf2.c: Likewise.
2642 * soft-fp/extenddftf2.c: Likewise.
2643 * soft-fp/extended.h: Likewise.
2644 * soft-fp/extendsfdf2.c: Likewise.
2645 * soft-fp/extendsftf2.c: Likewise.
2646 * soft-fp/extendxftf2.c: Likewise.
2647 * soft-fp/fixdfdi.c: Likewise.
2648 * soft-fp/fixdfsi.c: Likewise.
2649 * soft-fp/fixdfti.c: Likewise.
2650 * soft-fp/fixsfdi.c: Likewise.
2651 * soft-fp/fixsfsi.c: Likewise.
2652 * soft-fp/fixsfti.c: Likewise.
2653 * soft-fp/fixtfdi.c: Likewise.
2654 * soft-fp/fixtfsi.c: Likewise.
2655 * soft-fp/fixtfti.c: Likewise.
2656 * soft-fp/fixunsdfdi.c: Likewise.
2657 * soft-fp/fixunsdfsi.c: Likewise.
2658 * soft-fp/fixunsdfti.c: Likewise.
2659 * soft-fp/fixunssfdi.c: Likewise.
2660 * soft-fp/fixunssfsi.c: Likewise.
2661 * soft-fp/fixunssfti.c: Likewise.
2662 * soft-fp/fixunstfdi.c: Likewise.
2663 * soft-fp/fixunstfsi.c: Likewise.
2664 * soft-fp/fixunstfti.c: Likewise.
2665 * soft-fp/floatdidf.c: Likewise.
2666 * soft-fp/floatdisf.c: Likewise.
2667 * soft-fp/floatditf.c: Likewise.
2668 * soft-fp/floatsidf.c: Likewise.
2669 * soft-fp/floatsisf.c: Likewise.
2670 * soft-fp/floatsitf.c: Likewise.
2671 * soft-fp/floattidf.c: Likewise.
2672 * soft-fp/floattisf.c: Likewise.
2673 * soft-fp/floattitf.c: Likewise.
2674 * soft-fp/floatundidf.c: Likewise.
2675 * soft-fp/floatundisf.c: Likewise.
2676 * soft-fp/floatunditf.c: Likewise.
2677 * soft-fp/floatunsidf.c: Likewise.
2678 * soft-fp/floatunsisf.c: Likewise.
2679 * soft-fp/floatunsitf.c: Likewise.
2680 * soft-fp/floatuntidf.c: Likewise.
2681 * soft-fp/floatuntisf.c: Likewise.
2682 * soft-fp/floatuntitf.c: Likewise.
2683 * soft-fp/gedf2.c: Likewise.
2684 * soft-fp/gesf2.c: Likewise.
2685 * soft-fp/getf2.c: Likewise.
2686 * soft-fp/ledf2.c: Likewise.
2687 * soft-fp/lesf2.c: Likewise.
2688 * soft-fp/letf2.c: Likewise.
2689 * soft-fp/muldf3.c: Likewise.
2690 * soft-fp/mulsf3.c: Likewise.
2691 * soft-fp/multf3.c: Likewise.
2692 * soft-fp/negdf2.c: Likewise.
2693 * soft-fp/negsf2.c: Likewise.
2694 * soft-fp/negtf2.c: Likewise.
2695 * soft-fp/op-1.h: Likewise.
2696 * soft-fp/op-2.h: Likewise.
2697 * soft-fp/op-4.h: Likewise.
2698 * soft-fp/op-8.h: Likewise.
2699 * soft-fp/op-common.h: Likewise.
2700 * soft-fp/quad.h: Likewise.
2701 * soft-fp/single.h: Likewise.
2702 * soft-fp/soft-fp.h: Likewise.
2703 * soft-fp/subdf3.c: Likewise.
2704 * soft-fp/subsf3.c: Likewise.
2705 * soft-fp/subtf3.c: Likewise.
2706 * soft-fp/truncdfsf2.c: Likewise.
2707 * soft-fp/trunctfdf2.c: Likewise.
2708 * soft-fp/trunctfsf2.c: Likewise.
2709 * soft-fp/trunctfxf2.c: Likewise.
2710 * soft-fp/unorddf2.c: Likewise.
2711 * soft-fp/unordsf2.c: Likewise.
2712 * soft-fp/unordtf2.c: Likewise.
2713
0ed0ef69 27142015-09-24 Richard Earnshaw <rearnsha@arm.com>
2715
2716 PR libgcc/67624
2717 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2718
80fc7cb7 27192015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2720
2721 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2722 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2723 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2724 messages.
2725 (internal_mcount): Likewise.
2726 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2727 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2728
ba24ad38 27292015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2730
2731 * configure.ac (libgcc_cv_solaris_crts): New test.
2732 * configure: Regenerate.
2733 * config.in: Regenerate.
2734 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2735 * config/gmon-sol2.c: Rename to ...
2736 * config/sol2/gmon.c: ... this.
2737 Include auto-target.h.
2738 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2739 * config/t-sol2: Rename to ...
2740 * config/sol2/t-sol2: ... this.
2741 (gmon.o): Reflect renaming.
2742 (crtp.o, crtpg.o): New rules.
2743 * config.host (*-*-solaris2*): Reflect renaming.
2744 Use system CRTs if present.
2745 Remove default CRT case.
2746
c2ab7513 27472015-09-23 John David Anglin <danglin@gcc.gnu.org>
2748
2749 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2750 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2751 __kernel_cmpxchg2.
2752 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2753 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2754 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2755 (__sync_lock_test_and_set_##WIDTH): Likewise.
2756 (__sync_lock_release_##WIDTH): Likewise.
2757 (__sync_fetch_and_##OP##_4): Change result to match type of
2758 __kernel_cmpxchg.
2759 (__sync_##OP##_and_fetch_4): Likewise.
2760 (__sync_val_compare_and_swap_4): Likewise.
2761 (__sync_bool_compare_and_swap_4): likewise.
2762 (__sync_lock_test_and_set_4): Likewise.
2763 (__sync_lock_release_4): Likewise.
2764 (FETCH_AND_OP_2): Add long long variants.
2765 (OP_AND_FETCH_2): Likewise.
2766 (COMPARE_AND_SWAP_2 ): Likewise.
2767 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2768 (SYNC_LOCK_RELEASE_2): Likewise.
2769 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2770
92e91d03 27712015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
f96d88a8 2772
2773 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2774 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2775 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2776 (get_available_features): Habdle new features.
2777
672cc719 27782015-09-21 James Bowman <james.bowman@ftdichip.com>
2779
2780 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2781 memory layout. Deal correctly with BSS region larger than 32K.
2782 Handle a watchdog reset like a power-on reset. Clean up unused
2783 code.
2784
552a60d3 27852015-09-18 Andrew Dixie <andrewd@gentrack.com>
2786 David Edelsohn <dje.gcc@gmail.com>
2787
2788 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2789 * config/rs6000/crtdbase.S: New file.
2790 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2791
f12cf9f4 27922015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2793
2794 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2795 Add support for call0 ABI.
2796
9d8ce924 27972015-09-13 John David Anglin <danglin@gcc.gnu.org>
2798
2799 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2800
196c8383 28012015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2802
2803 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2804 (__GTHREAD_HAS_COND): Likewise.
2805 (__gthread_t): Likewise.
2806 (__gthread_cond_t): Likewise.
2807 (__gthread_time_t): Likewise.
2808 (__GTHREAD_MUTEX_INIT): Likewise.
2809 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2810 (__GTHREAD_COND_INIT): Likewise.
2811 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2812 (__GTHREAD_TIME_INIT): Likewise.
2813 (__gthread_create): Likewise.
2814 (__gthread_join): Likewise.
2815 (__gthread_detach): Likewise.
2816 (__gthread_equal): Likewise.
2817 (__gthread_self): Likewise.
2818 (__gthread_yield): Likewise.
2819 (__gthread_cond_broadcast): Likewise.
2820 (__gthread_cond_signal): Likewise.
2821 (__gthread_cond_wait): Likewise.
2822 (__gthread_cond_timedwait): Likewise.
2823 (__gthread_cond_wait_recursive): Likewise.
2824 (__gthread_cond_destroy): Likewise.
2825 (rtems_gxx_once): Delete.
2826 (rtems_gxx_key_create): Likewise.
2827 (rtems_gxx_key_delete): Likewise.
2828 (rtems_gxx_getspecific): Likewise.
2829 (rtems_gxx_setspecific): Likewise.
2830 (rtems_gxx_mutex_init): Likewise.
2831 (rtems_gxx_mutex_destroy): Likewise.
2832 (rtems_gxx_mutex_lock): Likewise.
2833 (rtems_gxx_mutex_trylock): Likewise.
2834 (rtems_gxx_mutex_unlock): Likewise.
2835 (rtems_gxx_recursive_mutex_init): Likewise.
2836 (rtems_gxx_recursive_mutex_lock): Likewise.
2837 (rtems_gxx_recursive_mutex_trylock): Likewise.
2838 (rtems_gxx_recursive_mutex_unlock): Likewise.
2839 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2840 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2841 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2842 (__gthread_once): Likewise.
2843 (__gthread_key_create): Likewise.
2844 (__gthread_key_delete): Likewise.
2845 (__gthread_getspecific): Likewise.
2846 (__gthread_setspecific): Likewise.
2847 (__gthread_key_t): Use <pthread.h> type.
2848 (__gthread_once_t): Likewise
2849 (__gthread_mutex_t): Use <sys/lock.h> type.
2850 (__gthread_recursive_mutex_t): Likewise
2851 (__gthread_mutex_lock): Use <sys/lock.h> function.
2852 (__gthread_mutex_trylock): Likewise.
2853 (__gthread_mutex_timedlock): Likewise.
2854 (__gthread_mutex_unlock): Likewise.
2855 (__gthread_mutex_destroy): Likewise.
2856 (__gthread_recursive_mutex_lock): Likewise.
2857 (__gthread_recursive_mutex_trylock): Likewise.
2858 (__gthread_recursive_mutex_timedlock): Likewise.
2859 (__gthread_recursive_mutex_unlock): Likewise.
2860 (__gthread_recursive_mutex_destroy): Likewise.
2861
15b21d23 28622015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2863
2864 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2865 context->sp instead of context->cfa.
2866
8a596a77 28672015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2868
2869 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2870 with unwind-dw2-fde-dip.
2871
863356ea 28722015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2873
2874 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2875 CALL12 followed by series of ENTRY to spill windowed registers.
2876 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2877 instead of making linux spill syscall.
2878
58bb1dbe 28792015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2880
2881 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2882 (get_intel_cpu): Likewise.
2883
cba3f034 28842015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2885
2886 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2887 (get_intel_cpu): Add Knights Landing support.
2888
aca0ff16 28892015-08-11 Uros Bizjak <ubizjak@gmail.com>
2890
2891 PR target/66954
2892 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2893 (get_available_features): Handle FEATURE_PCLMUL.
2894
71b19c56 28952015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2896
2897 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2898 Broadwell.
2899
ff285c74 29002015-07-22 Uros Bizjak <ubizjak@gmail.com>
2901
2902 PR target/66954
2903 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2904 (get_available_features): Handle FEATURE_AES.
2905
a46441d0 29062015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2907
2908 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2909 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2910
4e985e0f 29112015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2912
2913 * offloadstuff.c: Constify host data.
2914
c780eb05 29152015-07-17 Jan Beulich <jbeulich@suse.com>
2916
2917 * config/t-softfp: Split up "else ifneq".
2918
70425b26 29192015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2920 Cesar Philippidis <cesar@codesourcery.com>
2921 Chung-Lin Tang <cltang@codesourcery.com>
2922
2923 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2924 for __nios2_arch__ level.
2925
6c8a3242 29262015-07-13 John Marino <gnugcc@marino.st>
2927
2928 * config/i386/t-dragonfly: New.
2929
d277282f 29302015-07-01 John David Anglin <danglin@gcc.gnu.org>
2931
2932 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2933 better match light-weight syscall argument order.
2934 (__kernel_cmpxchg2): Likewise.
2935 Adjust callers.
2936
146896ec 29372015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2938
2939 * config.host: Support i[34567]86-*-elfiamcu target.
2940 * config/t-softfp-sfdftf: New file.
2941 * config/i386/32/t-iamcu: Likewise.
2942 * configure: Regenerated.
2943
58ddcdad 29442015-06-23 James Lemke <jwlemke@codesourcery.com>
2945
2946 libgcc/config/arm/
2947 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2948
e9abca4f 29492015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2950
2951 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2952
92e91d03 29532015-05-27 John Marino <gnugcc@marino.st>
328976ed 2954
2955 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2956 md_unwind_header
2957 * config/i386/freebsd-unwind.h: New.
2958
2a8549e0 29592015-05-22 Uros Bizjak <ubizjak@gmail.com>
2960
2961 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2962 i386/t-crtfm to tmake_file.
2963 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2964 (set_fast_math): Use set_fast_math_sse for SSE targets.
2965 * config/i386/t-crtfm: Remove.
2966
b5d18737 29672015-05-21 Alan Modra <amodra@gmail.com>
2968
2969 PR libgcc/66225
2970 * config/rs6000/morestack.S: Remove ".abiversion 1".
2971
ec3f28c9 29722015-05-20 Alan Modra <amodra@gmail.com>
2973
2974 * config/rs6000/morestack.S: New.
2975 * config/rs6000/t-stack-rs6000: New.
2976 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2977 to tmake_file.
2978 * generic-morestack.c: Don't build for powerpc 32-bit.
2979
11087c28 29802015-05-19 Eric Botcazou <ebotcazou@adacore.com>
2981
2982 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2983 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2984
f29929b5 29852015-05-16 James Bowman <james.bowman@ftdichip.com>
2986
2987 * config.host: FT32 target added.
2988 * config/ft32/*: New files for FT32 target.
2989
ce86a36a 29902015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2991
61958e92 2992 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2993 New macros.
2994 * config/arm/ieee754-df.S: Add CFI directives.
2995 * config/arm/ieee754-sf.S: Add CFI directives.
ce86a36a 2996
177cc56c 29972015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2998
2999 * configure.ac: Include config/sjlj.m4.
3000 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3001 * config.in: Regenerate.
3002 * configure: Likewise.
3003 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3004
a8a5046c 30052015-05-12 Uros Bizjak <ubizjak@gmail.com>
3006
3007 * libgcov-util.c: Add space between string literal and macro name.
3008
1ddaa252 30092015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3010 Chris Jones <chrisj@nvidia.com>
3011 Joshua Conner <jconner@nvidia.com>
3012
3013 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3014 (arm*-*-uclinux*): Likewise.
3015 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3016 * config/arm/crtfastmath.c: New file.
3017
162f9d1e 30182014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3019
3020 * Makefile.in (real_host_noncanonical): New variable.
3021 (libsubdir): Use it.
3022 * configure.ac (real_host_noncanonical): Compute. Remove special
3023 case for intelmicemul.
3024 * configure: Regenerate.
3025
005a5ef5 30262015-04-28 Uros Bizjak <ubizjak@gmail.com>
3027
3028 * config/frv/elf-lib.h: New file.
3029 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3030 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3031 to tm_file.
3032
30332015-04-28 Uros Bizjak <ubizjak@gmail.com>
3034
3035 * config/frv/frvbengin.c: Do not include defaults.h
3036 * config/frv/frvend.c: Ditto.
3037
acff2768 30382015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3039
3040 * config.host: Add h8300-*-linux
3041 * config/h8300/t-linux: New file.
3042 * config/h8300/lib1funs.s: Change symbol prefix.
3043 * config/h8300/sfp-machine.h: 64bit double support.
3044
a2e31d06 30452015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3046 Szabolcs Nagy <szabolcs.nagy@arm.com>
3047
3048 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3049 Linux if target provides dl_iterate_phdr.
3050
4b5fb32a 30512015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3052
3053 PR target/65612
3054 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3055 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3056 (__cpu_indicator_init@GCC_4.8.0): New.
3057 (__cpu_model@GCC_4.8.0): Likewise.
3058 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3059 -DUSE_ELF_SYMVER.
3060
e98e1692 30612015-04-16 Nick Clifton <nickc@redhat.com>
3062
3063 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3064 and __modhi3 functions.
3065 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3066 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3067
a0093a4f 30682015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3069
3070 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3071 do-while loop as macro body to avoid warnings.
3072
fb5ccd6d 30732015-04-10 Jakub Jelinek <jakub@redhat.com>
3074 Iain Sandoe <iain@codesourcery.com>
3075
3076 PR target/65351
3077 * configure: Regenerate.
3078
b1b085e0 30792015-04-07 Jakub Jelinek <jakub@redhat.com>
3080 Iain Sandoe <iain@codesourcery.com>
3081
3082 PR target/65351
3083 * configure: Regenerate.
3084
7ca58a65 30852015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3086
3087 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3088
b89c671b 30892015-03-03 Max Filippov <jcmvbkbc@gmail.com>
7ca58a65 3090
b89c671b 3091 Implement call0 ABI for xtensa
3092 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3093 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3094 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3095 use ret in call0 ABI.
3096 * config/xtensa/t-windowed: New file.
3097 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3098 * libgcc/configure: Regenerated.
3099 * libgcc/configure.ac: Check if xtensa target is configured for
3100 windowed ABI and thus needs to use custom unwind code.
3101
69831bb2 31022015-02-12 Jonathan Wakely <jwakely@redhat.com>
3103
3104 PR libgcc/64885
3105 * gthr-single.h: Use __unused__ attribute instead of unused.
3106 * config/gthr-vxworks.h: Likewise.
3107 * config/i386/gthr-win32.h: Likewise.
3108
c905381f 31092015-02-27 Kai Tietz <ktietz@redhat.com>
3110
3111 PR target/65038
3112 * config.in: Regenerated.
3113 * configure: Likewise.
3114 * configure.ac (AC_HEADER_STDC): Added explicit.
3115 (AC_CHECK_HEADERS): Check for default headers plus
3116 for ftw.h header.
3117 * libgcov-util.c (gcov_read_profile_dir): Disable use
3118 of ftw-function, if header is not found.
3119 (ftw_read_file): Likewise.
3120
0853f8db 31212015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3122
3123 PR target/65181
3124 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3125 -Dinhibit_libc.
3126
1c55a862 31272015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3128
3129 * config/arm/bpabi.S (test_div_by_zero): Make label names
3130 consistent between thumb2 and arm mode cases. Separate the
3131 signed comparison on the high word of the numerator from the
3132 unsigned comparison on the low word.
3133 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3134 signed comparison.
3135
6014aff2 31362015-02-17 Joseph Myers <joseph@codesourcery.com>
3137
3138 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3139 and <string.h>.
3140 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3141
a698bcaa 31422015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3143
3144 PR gcov-profile/61889
3083dd2f 3145 * libgcov-driver-system.c: undefine clashing macro for mkdir.
a698bcaa 3146
889a65e7 31472015-02-02 Nick Clifton <nickc@redhat.com>
3148
3149 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3150 rounding up the fraction.
3151
f3b68f27 31522015-01-31 John David Anglin <danglin@gcc.gnu.org>
3153
3154 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3155 oldval and newval to const void *. Fix typo.
3156 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3157 (FETCH_AND_OP_WORD): Likewise.
3158 (OP_AND_FETCH_WORD): Likewise.
3159 (COMPARE_AND_SWAP_2): Likewise.
3160 (__sync_val_compare_and_swap_4): Likewise.
3161 (__sync_lock_test_and_set_4): Likewise.
3162 (SYNC_LOCK_RELEASE_2): Likewise.
3163 Remove support for long long atomic operations.
3164
5be42fa9 31652015-01-27 Caroline Tice <cmtice@google.com>
3166
3167 Committing VTV Cywin/Ming patch for Patrick Wollgast
3168 * Makefile.in: Move rules to build vtv_*.o out of the check
3169 for CUSTOM_CRTSTUFF.
3170 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3171 i[34567]86-*-mingw*)
3172 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3173 enable_vtable_verify.
3174
45e05b5a 31752015-01-27 Nick Clifton <nickc@redhat.com>
3176
3177 * config/rl78/cmpsi2.S: Use function start and end macros.
3178 (__gcc_bcmp): New function.
3179 * config/rl78/lshrsi3.S: Use function start and end macros.
3180 * config/rl78/mulsi3.S: Add support for G10.
3181 (__mulqi3): New function for G10.
3182 * config/rl78/signbit.S: Use function start and end macros.
3183 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3184 fpmath-sf.S.
3185 (LIB2FUNCS_EXCLUDE): Define.
3186 (LIB2FUNCS_ST): Define.
3187 * config/rl78/trampoline.S: Use function start and end macros.
3188 * config/rl78/vregs.h (START_FUNC): New macro.
3189 (START_ANOTHER_FUNC): New macro.
3190 (END_FUNC): New macro.
3191 (END_ANOTHER_FUNC): New macro.
3192 * config/rl78/bit-count.S: New file. Contains assembler
3193 implementations of the bit counting functions: ___clzhi2,
3194 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3195 __paritysi2, __popcounthi2 and __popcountsi2.
3196 * config/rl78/fpbit-sf.S: New file. Contains assembler
3197 implementationas of the math functions: __negsf2, __cmpsf2,
3198 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3199 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3200 * config/rl78/fpmath-sf.S: New file. Contains assembler
3201 implementations of the math functions: __subsf3, __addsf3,
3202 __mulsf3 and __divsf3
3203
43cbcd84 32042015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3205
3206 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3207 Add i386/elf-lib.h to tm_file.
3208 * config/i386/elf-lib.h: Fix comment.
3209 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3210 && __sun__ && __svr4__]: Remove workaround.
3211
f8956357 32122015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3213
3214 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3215 FEATURE_BMI2.
3216 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3217
1b738d4d 32182015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3219
3220 * config/i386/cpuinfo.c (processor_subtypes): Add
3221 INTEL_COREI7_BROADWELL.
3222 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3223 model numbers.
3224
58ca7445 32252015-01-23 Uros Bizjak <ubizjak@gmail.com>
3226
3227 * config/i386/elf-lib.h: New file.
3228 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3229 Wrap definition in #ifdef __i386__.
3230 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3231 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3232 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3233 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3234 to tm_file.
3235
d4c9c88d 32362015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3237
3238 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3239 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3240
c46389f0 32412015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3242
3243 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3244 Update rt_sigframe format and address for current Nios II
3245 Linux conventions.
3246
275d0a7c 32472015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3248
3249 * config.host (arm*-*-freebsd*): Add new configuration for
3250 arm*-*-freebsd*.
3251 * config/arm/freebsd-atomic.c: New file.
3252 * config/arm/t-freebsd: Likewise.
3253 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3254 'PC-relative indirect' OS's.
3255
8992df51 32562015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3257
3258 * config.host: Add Visium support.
3259 * config/visium: New directory.
3260
d353bf18 32612015-01-05 Jakub Jelinek <jakub@redhat.com>
3262
3263 Update copyright years.
3264
78645e70 32652014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3266
3267 * config.host: Support mipsisa32r6 and mipsisa64r6.
3268 * config/mips/mips16.S: Do not build for R6.
3269
14cc370b 32702014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3271
3272 * config/sh/crt.h: New.
3273 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3274 symbols.
3275 * config/sh/crt1.S: Likewise.
3276
06f29f53 32772014-12-15 Uros Bizjak <ubizjak@gmail.com>
3278
3279 PR libgcc/63832
3280 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3281 func_ptr *dtor_list temporary variable to avoid "array subscript
3282 is above array bounds" warnings.
3283
92e91d03 32842014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
4c87b50c 3285
3286 * Makefile.in (with_aix_soname): Define.
3287 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3288 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3289 * configure: Recreate.
3290
c0235a33 32912014-12-05 Olivier Hainque <hainque@adacore.com>
3292
3293 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3294 now provided by defaults.h.
3295
273fffd6 32962014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3297
84cf4824 3298 PR target/55351
273fffd6 3299 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3300 whether it's defined.
3301
ffbfc7c5 33022014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3303
3304 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3305 * config/i386/cpuinfo.c (get_available_features): Detect it.
3306
ae22ef60 33072014-11-27 Tony Wang <tony.wang@arm.com>
3308
3309 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3310 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3311 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3312
a532bc30 33132014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3314
3315 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3316
e88ebd91 33172014-11-24 John David Anglin <danglin@gcc.gnu.org>
3318
3319 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3320 instead.
3321
422aeca3 33222014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3323 John David Anglin <danglin@gcc.gnu.org>
3324
3325 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3326 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3327 (OP_AND_FETCH_2): Likewise.
3328 (COMPARE_AND_SWAP_2): Likewise.
3329 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3330 (SYNC_LOCK_RELEASE_2): Likewise.
3331 (SUBWORD_SYNC_OP): Remove.
3332 (SUBWORD_VAL_CAS): Likewise.
3333 (SUBWORD_BOOL_CAS): Likewise.
3334 (FETCH_AND_OP_WORD): Update.
3335 Consistently use signed types.
005a5ef5 3336
a3d93be3 33372014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3338 Thomas Schwinge <thomas@codesourcery.com>
3339 Ilya Verbin <ilya.verbin@intel.com>
3340 Andrey Turetskiy <andrey.turetskiy@intel.com>
3341
3342 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3343 (crtoffloadend$(objext)): Likewise.
3344 * configure: Regenerate.
3345 * configure.ac (accel_dir_suffix): Compute new variable.
3346 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3347 if enable_offload_targets is not empty.
3348 * offloadstuff.c: New file.
3349
97a36a5b 33502014-11-13 Nick Clifton <nickc@redhat.com>
3351
3352 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3353 Use START_FUNC and END_FUNC macros to enable linker garbage
3354 collection.
3355 * config/rl78/divmodqi.S: Likewise.
3356 * config/rl78/divmodsi.S: Likewise.
3357 * config/rl78/mulsi3.S: Likewise.
3358 * config/rl78/lib2div.c: Remove G10 functions.
3359 * config/rl78/lib2muls.c: Likewise.
3360 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3361 * config/rl78/vregs.h (START_FUNC): New macro.
3362 (END_FUNC): New macro.
3363
f2b55aea 33642014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3365
3366 * config/mips/mips16.S: Set .module when supported. Update O32
3367 FP64 calling convention and use for FPXX when possible. Add FPXX
3368 calling convention fallback case.
3369
8ce80784 33702014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3371
3372 * config.host: Handle nvptx-*-*.
3373 * shared-object.mk (as-flags-$o): Define.
3374 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3375 -xassembler-with-cpp.
3376 * static-object.mk: Identical changes.
3377 * config/nvptx/t-nvptx: New file.
3378 * config/nvptx/crt0.s: New file.
3379 * config/nvptx/free.asm: New file.
3380 * config/nvptx/malloc.asm: New file.
3381 * config/nvptx/realloc.c: New file.
3382
0e36a0d7 33832014-10-30 Joseph Myers <joseph@codesourcery.com>
3384
3385 * Makefile.in (libgcc.map.in): New target.
3386 (libgcc.map): Use libgcc.map.in.
3387 * config/t-softfp (softfp_compat): New variable to be set by
3388 users.
3389 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3390 variables.
3391 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3392 directory.
3393 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3394 that use compat symbols and disable all code unless [SHARED].
3395 * config/t-softfp-compat: New file.
3396 * find-symver.awk: New file.
3397 * configure.ac (--with-glibc-version): New configure option.
3398 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3399 * configure: Regenerate.
3400 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3401 soft-float and e500.
3402
d9b5cf5c 34032014-10-29 Joseph Myers <joseph@codesourcery.com>
3404
3405 * config/t-hardfp (hardfp_exclusions): Document new variable for
3406 user to define.
3407 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3408 * config/t-softfp (softfp_extras): Document new variable for user
3409 to define.
3410 (softfp_func_list): Add functions from $(softfp_extras).
3411 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3412 * config.host (powerpc*-*-linux*): For e500v1, use
3413 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3414 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3415 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3416
2de51200 34172014-10-26 John David Anglin <danglin@gcc.gnu.org>
3418
3419 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3420 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3421 memory read accesses are ok.
3422
fd1eaa27 34232014-10-25 Joseph Myers <joseph@codesourcery.com>
3424
3425 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3426 * configure: Regenerate.
3427 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3428 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3429 of soft-fp for 32-bit classic hard float. Do not use
3430 t-softfp-excl for soft float.
3431
e707b8cc 34322014-10-22 Joseph Myers <joseph@codesourcery.com>
3433
3434 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3435 configurations.
3436 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3437 Remove variables.
3438
6ce12a35 34392014-10-22 Georg-Johann Lay <avr@gjlay.de>
3440
3441 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3442 introduced with 2014-10-21 trunk r216525.
3443
b4e6d2e2 34442014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
92e91d03 3445 Vidya Praveen <vidya.praveen@atmel.com>
3446 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3447 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3448 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
b4e6d2e2 3449
3450 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3451 order.
3452
3453 Updated library functions for AVRTINY arch.
3454 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3455 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3456 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3457 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3458 wsubi/wadi macors.
3459 (__mulsi3_helper): Update stack, preserve callee saved regs and
3460 argument from stack. Restore callee save registers.
3461 (__mulpsi3): Likewise.
3462 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3463 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6ce12a35 3464 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
b4e6d2e2 3465 AVRTINY.
3466 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3467 (__do_copy_data): Added new definition for AVRTINY.
3468 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3469 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3470 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3471 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3472 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3473 macors.
6ce12a35 3474 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
b4e6d2e2 3475 AVRTINY.
3476
6ce12a35 3477 Fix broken long multiplication on tiny arch.
b4e6d2e2 3478
d9bbc5ef 34792014-10-09 Joseph Myers <joseph@codesourcery.com>
3480
3481 * soft-fp/double.h: Update from glibc.
3482 * soft-fp/eqdf2.c: Likewise.
3483 * soft-fp/eqsf2.c: Likewise.
3484 * soft-fp/eqtf2.c: Likewise.
3485 * soft-fp/extenddftf2.c: Likewise.
3486 * soft-fp/extended.h: Likewise.
3487 * soft-fp/extendsfdf2.c: Likewise.
3488 * soft-fp/extendsftf2.c: Likewise.
3489 * soft-fp/extendxftf2.c: Likewise.
3490 * soft-fp/gedf2.c: Likewise.
3491 * soft-fp/gesf2.c: Likewise.
3492 * soft-fp/getf2.c: Likewise.
3493 * soft-fp/ledf2.c: Likewise.
3494 * soft-fp/lesf2.c: Likewise.
3495 * soft-fp/letf2.c: Likewise.
3496 * soft-fp/op-1.h: Likewise.
3497 * soft-fp/op-2.h: Likewise.
3498 * soft-fp/op-4.h: Likewise.
3499 * soft-fp/op-8.h: Likewise.
3500 * soft-fp/op-common.h: Likewise.
3501 * soft-fp/quad.h: Likewise.
3502 * soft-fp/single.h: Likewise.
3503 * soft-fp/soft-fp.h: Likewise.
3504 * soft-fp/unorddf2.c: Likewise.
3505 * soft-fp/unordsf2.c: Likewise.
3506 * soft-fp/unordtf2.c: Likewise.
3507 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3508 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3509 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3510 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3511 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3512 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3513 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3514 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3515 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3516 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3517
26054e0b 35182014-10-08 Rong Xu <xur@google.com>
3519
3520 * libgcov-util.c (read_gcda_file): Fix format.
3521 (find_match_gcov_info): Ditto.
3522 (calculate_2_entries): New.
3523 (compute_one_gcov): Ditto.
3524 (gcov_info_count_all_cold): Ditto.
3525 (gcov_info_count_all_zero): Ditto.
3526 (extract_file_basename): Ditto.
3527 (get_file_basename): Ditto.
3528 (set_flag): Ditto.
3529 (matched_gcov_info): Ditto.
3530 (calculate_overlap): Ditto.
3531 (gcov_profile_overlap): Ditto.
3532 * libgcov-driver.c (compute_summary): Make
3533 it avavilable for external calls.
3534
8a8f3988 35352014-10-06 Rong Xu <xur@google.com>
3536
3537 * Makefile.in: Ditto.
3538 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3539 (gcov_sort_icall_topn_counter): Ditto.
3540 (gcov_sort_topn_counter_arrays): Ditto.
3541 (dump_one_gcov): Sort indirect_call topn counters.
3542 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3543 function.
3544 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3545 utility function.
3546 (__gcov_indirect_call_topn_profiler): New profiler function.
3547 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3548 * libgcov.h: New decls.
3549
f230ef81 35502014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3551
3552 * config.host: Remove support for score-*.
3553
0cb69d12 35542014-09-22 Joseph Myers <joseph@codesourcery.com>
3555
3556 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3557 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3558 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3559 __LIBGCC_XF_MANT_DIG__.
3560 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3561 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3562 __LIBGCC_TF_MANT_DIG__.
3563 * libgcc2.c (NOTRUNC): Define in terms of
3564 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3565 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3566
acbb28e9 35672014-09-22 Joseph Myers <joseph@codesourcery.com>
3568
3569 PR target/63312
3570 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3571 New macros.
3572
d0eb4a95 35732014-09-22 Hans-Peter Nilsson <hp@axis.com>
3574
3575 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3576 override USE_PT_GNU_EH_FRAME.
3577 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3578 check USE_EH_FRAME_REGISTRY_ALWAYS against
3579 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3580 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3581 variable for substituted force_explicit_eh_registry.
3582 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3583 * configure.ac (explicit-exception-frame-registration):
3584 New AC_ARG_ENABLE.
3585 * configure: Regenerate.
3586
6c352a95 35872014-09-19 Olivier Hainque <hainque@adacore.com>
3588
3589 * config.host (powerpc-wrs-vxworksmils): New configuration,
3590 same as vxworksae.
3591
168dfbf0 35922014-09-18 Joseph Myers <joseph@codesourcery.com>
3593
3594 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3595
ca6c7c2e 35962014-09-18 Joseph Myers <joseph@codesourcery.com>
3597
3598 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3599 bits not set bits as indicating trapping exceptions.
3600
bc587267 36012014-09-17 Nathan sidwell <nathan@acm.org>
3602
3603 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3604 (LIBGCOV_DRIVER): ... here.
3605 * libgcov-driver.c (gcov_master): New.
3606 (gcov_exit): Remove from master chain.
3607 (__gcov_init): Add to master chain if version compatible. Don't
3608 clear the version.
3609 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3610 (gcov_reset_int): Clear master chain, if compatible.
3611 (gcov_dump_int): New internal interface. Dump master chain, if
3612 compatible.
3613 (gcov_dump): Alias for gcov_dump_int.
3614 * libgcov.h (struct gcov_root): Add next and prev fields.
3615 (struct gcov_master): New struct.
3616 (__gcov_master): New.
3617 (gcov_dump_int): Declare.
3618
0624d0c7 36192014-09-17 Olivier Hainque <hainque@adacore.com>
3620
3621 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3622 and crtbegin.o + crtend.o to extra_parts.
3623
d5957f0d 36242014-09-12 Joseph Myers <joseph@codesourcery.com>
3625
3626 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3627 __LIBGCC_HAS_SF_MODE__.
3628 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3629 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3630 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3631 * config/libbid/bid_gcc_intrinsics.h
3632 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3633 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3634 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3635 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3636 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3637 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3638
986b9a67 36392014-09-11 Georg-Johann Lay <avr@gjlay.de>
3640
3641 PR target/63223
3642 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3643 and R24 as needed. Make work for all devices and .text locations.
3644 (__do_global_ctors, __do_global_dtors): Use word addresses.
3645 (__tablejump__, __tablejump_elpm__): Remove functions.
3646 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3647 Add _tablejump2.
3648 (XICALL, XIJMP): New macros.
3649
8f908dc5 36502014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3651 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3652
3653 * config.host (aarch64*): Include crtfastmath.o and
3654 t-crtfm.
3655 * config/aarch64/crtfastmath.c: New file.
3656
f67c2dde 36572014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3658
3659 * config.host: Remove picochip support.
3660 * config/picochip/adddi3.S: Remove.
3661 * config/picochip/ashlsi3.S: Remove.
3662 * config/picochip/ashlsi3.c: Remove.
3663 * config/picochip/ashrsi3.S: Remove.
3664 * config/picochip/ashrsi3.c: Remove.
3665 * config/picochip/clzsi2.S: Remove.
3666 * config/picochip/cmpsi2.S: Remove.
3667 * config/picochip/divmod15.S: Remove.
3668 * config/picochip/divmodhi4.S: Remove.
3669 * config/picochip/divmodsi4.S: Remove.
3670 * config/picochip/lib1funcs.S: Remove.
3671 * config/picochip/longjmp.S: Remove.
3672 * config/picochip/lshrsi3.S: Remove.
3673 * config/picochip/lshrsi3.c: Remove.
3674 * config/picochip/parityhi2.S: Remove.
3675 * config/picochip/popcounthi2.S: Remove.
3676 * config/picochip/setjmp.S: Remove.
3677 * config/picochip/subdi3.S: Remove.
3678 * config/picochip/t-picochip: Remove.
3679 * config/picochip/ucmpsi2.S: Remove.
3680 * config/picochip/udivmodhi4.S: Remove.
3681 * config/picochip/udivmodsi4.S: Remove.
3682
b660d3c6 36832014-09-08 Joseph Myers <joseph@codesourcery.com>
3684
3685 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3686 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3687 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3688 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3689 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3690 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3691 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3692 defined and LIBGCC2_HAS_DF_MODE is defined.
3693 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3694 defined and LIBGCC2_HAS_XF_MODE is defined.
3695 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3696 defined and LIBGCC2_HAS_TF_MODE is defined.
3697
2aeea855 36982014-09-08 Joseph Myers <joseph@codesourcery.com>
3699
3700 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3701 and ROUND_TOWARDS_ZERO conditionals.
3702
a91625a6 37032014-09-07 Nathan sidwell <nathan@acm.org>
3704
3705 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3706 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3707
325b8c3c 37082014-09-05 Joseph Myers <joseph@codesourcery.com>
3709
3710 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3711 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3712 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3713 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3714 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3715 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3716 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3717 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3718 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3719 (DWARF_FRAME_REGISTERS): Change all uses to
3720 __LIBGCC_DWARF_FRAME_REGISTERS__.
3721 (EH_RETURN_STACKADJ_RTX): Change all uses to
3722 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3723 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3724 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3725 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3726 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3727 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3728 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3729 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3730 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3731 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3732 __LIBGCC_STACK_POINTER_REGNUM__.
3733 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3734 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3735 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3736 to __LIBGCC_STACK_POINTER_REGNUM__.
3737 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3738 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3739 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3740 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3741 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3742 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3743 (STACK_POINTER_REGNUM): Change all uses to
3744 __LIBGCC_STACK_POINTER_REGNUM__.
3745 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3746 use to __LIBGCC_STACK_POINTER_REGNUM__.
3747 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3748 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3749 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3750 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3751 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3752 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3753 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3754 to __LIBGCC_STACK_POINTER_REGNUM__.
3755 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3756 Remove conditional definition.
3757 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3758 __LIBGCC_TEXT_SECTION_ASM_OP__.
3759 (EH_FRAME_SECTION_NAME): Change all uses to
3760 __LIBGCC_EH_FRAME_SECTION_NAME__.
3761 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3762 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3763 (CTORS_SECTION_ASM_OP): Change all uses to
3764 __LIBGCC_CTORS_SECTION_ASM_OP__.
3765 (DTORS_SECTION_ASM_OP): Change all uses to
3766 __LIBGCC_DTORS_SECTION_ASM_OP__.
3767 (JCR_SECTION_NAME): Change all uses to
3768 __LIBGCC_JCR_SECTION_NAME__.
3769 (INIT_SECTION_ASM_OP): Change all uses to
3770 __LIBGCC_INIT_SECTION_ASM_OP__.
3771 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3772 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3773 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3774 __LIBGCC_STACK_GROWS_DOWNWARD__.
3775 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3776 __LIBGCC_INIT_SECTION_ASM_OP__.
3777 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3778 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3779 (EH_FRAME_SECTION_NAME): Change all uses to
3780 __LIBGCC_EH_FRAME_SECTION_NAME__.
3781 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3782 definitions. Change all uses to
3783 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3784 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3785 __LIBGCC_STACK_GROWS_DOWNWARD__.
3786 (DWARF_FRAME_REGISTERS): Change all uses to
3787 __LIBGCC_DWARF_FRAME_REGISTERS__.
3788 (EH_RETURN_STACKADJ_RTX): Change all uses to
3789 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3790 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3791 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3792 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3793 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3794 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3795
b12d2330 37962014-09-02 Nathan sidwell <nathan@acm.org>
3797
3798 * libgcov-interface.c (STRONG_ALIAS): New.
3799 (__gcov_flush): Call __gcov_reset_int.
3800 (__gcov_reset): Strong alias for ...
3801 (__gcov_reset_ing): ... this renamed hidden version.
3802 * libgcov.h (__gcov_reset_int): New declaration.
3803
827d5daf 38042014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3805
1db4f54b 3806 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3807 call from here...
3808 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3809 (__dso_handle): Define on Cygwin.
3810 * config/i386/t-cygming (crtbeginS.o): New rule.
3811 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3812
827d5daf 3813 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3814 declaration syntax.
3815
e3108d46 38162014-08-13 Steve Ellcey <sellcey@mips.com>
3817
3818 * crtstuff.c: Undef caddr_t.
3819
0898fffa 38202014-08-12 Steve Ellcey <sellcey@mips.com>
3821
3822 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3823
859fa1a9 38242014-08-07 Nathan Sidwell <nathan@acm.org>
3825
3826 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3827 (LIBGCOV_DRIVER): ... to here.
3828 * libgcov.h (gcov_do_dump): New #define.
3829 (struct gcov_root): New.
3830 (__gcov_root): New declaration.
3831 (__gcov_dump_one): Declare.
3832 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3833 run_accounted): Delete.
3834 (gcov_compute_histogram): Add LIST argument, adjust.
3835 (compute_summary): Adjust gcov_compute_histogram call.
3836 (gcov_do_dump): Not hidden, static in libgcov.
3837 (gcov_clear): Move to interface.c.
3838 (__gcov_dump_one): New, broken out of ...
3839 (gcov_exit): ... here. Make static.
3840 (__gcov_root): New.
3841 (__gcov_init): Adjust.
3842 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3843 declarations.
3844 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3845 (gcov_clear): Moved from driver.c. Add LIST argument.
3846 (__gcov_reset): Adjust for changed interfaces.
3847 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3848
3fa2798a 38492014-08-04 Rohit <rohitarulraj@freescale.com>
3850
3851 PR target/60102
3852 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
6d88799a 3853 based on change in SPE high register numbers and 3 HTM registers.
3fa2798a 3854
cb3ea3de 38552014-08-01 Nathan Sidwell <nathan@acm.org>
3856
3857 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3858 LIBGCOV_INTERFACE): Reformat.
3859 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3860 IN_GCOV_TOOL.
3861 * libgcov-interface.c: Reformat some comments.
3862 (__gcov_flush_mx): Add declaration. Tidy up definition.
3863
bfd88f52 38642014-07-31 Alan Modra <amodra@gmail.com>
3865 Peter Bergner <bergner@vnet.ibm.com>
3866
3867 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3868 (pack_ldouble): New function.
3869 (__gcc_qadd): Use it.
3870 (__gcc_qmul): Likewise.
3871 (__gcc_qdiv): Likewise.
3872 (__gcc_qneg): Likewise.
3873 (__gcc_stoq): Likewise.
3874 (__gcc_dtoq): Likewise.
3875
bcd3133e 38762014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3877
3878 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3879 (__tpf_eh_return): Add original return address as second parameter.
3880 Handle cases where unwinder routines were called directly, instead
3881 of from within the C++ library.
3882
1186f97a 38832014-07-29 Nathan Sidwell <nathan@acm.org>
3884
3885 * libgcov.h: Move renaming of entry points to lib gcov specific
3886 portion.
3887 (gcov_do_dump): New rename.
3888 (gcov_rewrite): Remove inline, make HIDDEN.
3889 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3890 (gcov_exit_compute_summary): Rename to ...
3891 (compute_summary): ... here. Add LIST argument.
3892 (gcov_exit_merge_gcda): Rename to ...
3893 (merge_one_data): ... here.
3894 (gcov_exit_write_gcda): Rename to ...
3895 (write_one_data): ... here.
3896 (gcov_exit_merge_summary): Rename to ...
3897 (merge_summary): Add RUN_COUNTED argument.
3898 (gcov_exit_dump_gcov): Rename to ...
3899 (dump_one_gcov): Add RUN_COUNTED argument.
3900 (gcov_do_dump): New function, broken out of ...
3901 (gcov_exit): ... here. Call it.
3902
ab0c4d2e 39032014-07-27 Anthony Green <green@moxielogic.com>
3904
3905 * config.host: Add moxiebox configuration suppport.
3906
6401b74d 39072014-07-27 Nathan Sidwell <nathan@acm.org>
3908
3909 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3910 (struct gcov_filename): ... here. Include buffer and max length
3911 fields.
3912 (gcov_max_filename): Remove.
3913 (gi_filename): Remove.
3914 (gcov_exit_compute_summary): Compute max filename here.
3915 (gcov_exit_merge_gcda): Add filename parm, adjust.
3916 (gcov_exit_merge_summary): Likewise.
3917 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3918 (gcov_exit): Likewise.
3919 (__gcov_init): Don't calculate max length here.
3920 * libgcov_util.c (max_filename_len): Remove.
3921 (read_gcda_file): Don't calculate max length here.
3922 (gcov_read_profile_dir): Don't propagate here.
3923 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3924 struct gcov_filename changes.
3925 (gcov_exit_open_gcda_file): Likewise.
3926
0f768e5f 39272014-07-25 Nathan Sidwell <nathan@acm.org>
3928
3929 * libgcov-driver.c (set_gcov_dump_complete,
3930 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3931 functions polluting user's namespace.
3932 (gcov_exit): Set variable directly.
3933 (gcov_clear): Reset variable directly.
3934 * libgcov-interface.c (get_gcov_dymp_complete,
3935 reset_gov_dump_complete): Remove declarations.
3936 (__gcov_reset, __gcov_dump): Don't call them.
3937
2b333d82 39382014-07-24 DJ Delorie <dj@redhat.com>
3939
3940 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
0f768e5f 3941 (__gcc_deregister_frame): Move logic to detect deregister function
3942 to ...
3943 (__gcc_register_frame): here, so it's consistent with the register
3944 logic.
2b333d82 3945
145d88ea 39462014-07-23 Nathan Sidwell <nathan@acm.org>
3947
3948 * libgcov-driver.c (set_gcov_list): Remove.
3949 (gcov_list): Make non-static in GCOV_TOOL.
3950 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3951
307c2567 39522014-07-17 John David Anglin <danglin@gcc.gnu.org>
3953
3954 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3955 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3956 Don't use SYNC_LOCK_RELEASE for int type.
3957
3dc22a01 39582014-07-14 Richard Biener <rguenther@suse.de>
3959
3960 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3961
a60d8a99 39622014-07-11 Rong Xu <xur@google.com>
3963
3964 * libgcov-util.c (gcov_max_filename): Fix declartion.
3965
e76f6040 39662014-07-10 Rong Xu <xur@google.com>
3967
3968 Add gcov-tool: an offline gcda profile processing tool
3969 Support.
3970 * libgcov-driver.c (gcov_max_filename): Make available
3971 to gcov-tool.
3972 * libgcov-merge.c (__gcov_merge_add): Replace
3973 gcov_read_counter() with a Macro.
3974 (__gcov_merge_ior): Ditto.
3975 (__gcov_merge_time_profile): Ditto.
3976 (__gcov_merge_single): Ditto.
3977 (__gcov_merge_delta): Ditto.
3978 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3979 in the utility functions.
3980 (set_fn_ctrs): Utility function for reading gcda files to in-memory
3981 gcov_list object link lists.
3982 (tag_function): Ditto.
3983 (tag_blocks): Ditto.
3984 (tag_arcs): Ditto.
3985 (tag_lines): Ditto.
3986 (tag_counters): Ditto.
3987 (tag_summary): Ditto.
3988 (read_gcda_finalize): Ditto.
3989 (read_gcda_file): Ditto.
3990 (ftw_read_file): Ditto.
3991 (read_profile_dir_init): Ditto.
3992 (gcov_read_profile_dir): Ditto.
3993 (gcov_read_counter_mem): Ditto.
3994 (gcov_get_merge_weight): Ditto.
3995 (merge_wrapper): A wrapper function that calls merging handler.
3996 (gcov_merge): Merge two gcov_info objects with weights.
3997 (find_match_gcov_info): Find the matched gcov_info in the list.
3998 (gcov_profile_merge): Merge two gcov_info object lists.
3999 (__gcov_add_counter_op): Process edge profile counter values.
4000 (__gcov_ior_counter_op): Process IOR profile counter values.
4001 (__gcov_delta_counter_op): Process delta profile counter values.
4002 (__gcov_single_counter_op): Process single profile counter values.
4003 (fp_scale): Callback function for float-point scaling.
005a5ef5 4004 (int_scale): Callback function for integer fraction scaling.
e76f6040 4005 (gcov_profile_scale): Scaling profile counters.
4006 (gcov_profile_normalize): Normalize profile counters.
4007 * libgcov.h: Add headers and functions for gcov-tool use.
4008 (gcov_get_counter): New.
4009 (gcov_get_counter_target): Ditto.
4010 (struct gcov_info): Make the functions field mutable in gcov-tool
4011 compilation.
4012
761d3cae 40132014-06-23 Kai Tietz <ktietz@redhat.com>
4014
4015 PR libgcc/61585
4016 * unwind-seh.c (_Unwind_GetGR): Check for proper
4017 index range.
4018 (_Unwind_SetGR): Likewise.
4019
b4187486 40202014-05-22 Nick Clifton <nickc@redhat.com>
4021
4022 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4023 -mhwmult=none.
4024
f1919901 40252014-05-22 Teresa Johnson <tejohnson@google.com>
4026
4027 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4028 include.
4029
463553db 40302014-05-20 John Marino <gnugcc@marino.st>
4031
4032 * config.host (*-*-dragonfly*): New target.
4033 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4034 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4035 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4036 * config/i386/dragonfly-unwind.h: New.
4037
17611fd9 40382014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4039
4040 PR libgcc/60166
4041 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4042 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4043
b061dab2 40442014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4045
4046 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4047 implementation.
4048
b81ef88d 40492014-05-12 Georg-Johann Lay <avr@gjlay.de>
4050
4051 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4052
d71975a6 40532014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4054
4055 PR libgcc/61097
4056 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4057 if --enable-shared.
4058
d3c4b980 40592014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4060
4061 Work around for current cygwin32 build problems.
4062 * config/i386/cygming-crtbegin.c (__register_frame_info,
4063 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4064 functions only for 64-bit systems.
4065
1f912f03 40662014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4067
4068 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4069 (sigill_caught, sigill_hdlr): Remove.
4070
3efb5d22 40712014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4072
4073 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4074 check.
4075 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4076 Solaris 9 single-threaded support.
4077 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4078 Solaris 9 single-threaded support. Add call_user_handler code
4079 sequences.
4080 (sparc_is_sighandler): Likewise.
4081
368b5b2c 40822014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4083
4084 * config.host: Append t-floattodi to tmake_file depending on
4085 host_address.
4086
0cdefccf 40872014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4088
c7285b71 4089 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
0cdefccf 4090
e5d692d7 40912014-03-10 Uros Bizjak <ubizjak@gmail.com>
4092
4093 PR libgcc/60472
4094 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
06f29f53 4095 variable to avoid "array subscript is above array bounds" warnings.
e5d692d7 4096 Use __builtin_expect when checking *jcr_list for NULL.
4097
ec5f5503 40982014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4099
4100 PR libgcc/59339
4101 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4102 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4103 vtv_*.o to extra_parts if enable_vtable_verify.
4104
6dd4126d 41052014-03-06 Nick Clifton <nickc@redhat.com>
4106
4107 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4108 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4109
c63fabc4 41102014-02-28 Joey Ye <joey.ye@arm.com>
4111
4112 PR libgcc/60166
4113 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4114 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4115 Set to zero.
4116
2da35515 41172014-02-24 Walter Lee <walt@tilera.com>
4118
4119 * config.host: Support "tilegx*" and "tilepro*" triplets.
4120 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4121 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4122
73e15dfc 41232014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4124 Chung-Lin Tang <cltang@codesourcery.com>
4125
4126 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4127 * config/nios2/crti.S: Remove .file directive.
4128 * config/nios2/crtn.S: Likewise.
4129
db5ce3d9 41302014-02-18 Kai Tietz <ktietz@redhat.com>
4131 Jonathan Schleifer <js@webkeks.org>
4132
4133 PR objc/56870
4134 * unwind-seh.c (_GCC_specific_handler): Pass proper
4135 value to unwind-handler.
4136
8f687340 41372014-02-12 Joseph Myers <joseph@codesourcery.com>
4138
4139 * soft-fp/adddf3.c: Update from glibc.
4140 * soft-fp/addsf3.c: Likewise.
4141 * soft-fp/addtf3.c: Likewise.
4142 * soft-fp/divdf3.c: Likewise.
4143 * soft-fp/divsf3.c: Likewise.
4144 * soft-fp/divtf3.c: Likewise.
4145 * soft-fp/double.h: Likewise.
4146 * soft-fp/eqdf2.c: Likewise.
4147 * soft-fp/eqsf2.c: Likewise.
4148 * soft-fp/eqtf2.c: Likewise.
4149 * soft-fp/extenddftf2.c: Likewise.
4150 * soft-fp/extended.h: Likewise.
4151 * soft-fp/extendsfdf2.c: Likewise.
4152 * soft-fp/extendsftf2.c: Likewise.
4153 * soft-fp/extendxftf2.c: Likewise.
4154 * soft-fp/fixdfdi.c: Likewise.
4155 * soft-fp/fixdfsi.c: Likewise.
4156 * soft-fp/fixdfti.c: Likewise.
4157 * soft-fp/fixsfdi.c: Likewise.
4158 * soft-fp/fixsfsi.c: Likewise.
4159 * soft-fp/fixsfti.c: Likewise.
4160 * soft-fp/fixtfdi.c: Likewise.
4161 * soft-fp/fixtfsi.c: Likewise.
4162 * soft-fp/fixtfti.c: Likewise.
4163 * soft-fp/fixunsdfdi.c: Likewise.
4164 * soft-fp/fixunsdfsi.c: Likewise.
4165 * soft-fp/fixunsdfti.c: Likewise.
4166 * soft-fp/fixunssfdi.c: Likewise.
4167 * soft-fp/fixunssfsi.c: Likewise.
4168 * soft-fp/fixunssfti.c: Likewise.
4169 * soft-fp/fixunstfdi.c: Likewise.
4170 * soft-fp/fixunstfsi.c: Likewise.
4171 * soft-fp/fixunstfti.c: Likewise.
4172 * soft-fp/floatdidf.c: Likewise.
4173 * soft-fp/floatdisf.c: Likewise.
4174 * soft-fp/floatditf.c: Likewise.
4175 * soft-fp/floatsidf.c: Likewise.
4176 * soft-fp/floatsisf.c: Likewise.
4177 * soft-fp/floatsitf.c: Likewise.
4178 * soft-fp/floattidf.c: Likewise.
4179 * soft-fp/floattisf.c: Likewise.
4180 * soft-fp/floattitf.c: Likewise.
4181 * soft-fp/floatundidf.c: Likewise.
4182 * soft-fp/floatundisf.c: Likewise.
4183 * soft-fp/floatunditf.c: Likewise.
4184 * soft-fp/floatunsidf.c: Likewise.
4185 * soft-fp/floatunsisf.c: Likewise.
4186 * soft-fp/floatunsitf.c: Likewise.
4187 * soft-fp/floatuntidf.c: Likewise.
4188 * soft-fp/floatuntisf.c: Likewise.
4189 * soft-fp/floatuntitf.c: Likewise.
4190 * soft-fp/gedf2.c: Likewise.
4191 * soft-fp/gesf2.c: Likewise.
4192 * soft-fp/getf2.c: Likewise.
4193 * soft-fp/ledf2.c: Likewise.
4194 * soft-fp/lesf2.c: Likewise.
4195 * soft-fp/letf2.c: Likewise.
4196 * soft-fp/muldf3.c: Likewise.
4197 * soft-fp/mulsf3.c: Likewise.
4198 * soft-fp/multf3.c: Likewise.
4199 * soft-fp/negdf2.c: Likewise.
4200 * soft-fp/negsf2.c: Likewise.
4201 * soft-fp/negtf2.c: Likewise.
4202 * soft-fp/op-1.h: Likewise.
4203 * soft-fp/op-2.h: Likewise.
4204 * soft-fp/op-4.h: Likewise.
4205 * soft-fp/op-8.h: Likewise.
4206 * soft-fp/op-common.h: Likewise.
4207 * soft-fp/quad.h: Likewise.
4208 * soft-fp/single.h: Likewise.
4209 * soft-fp/soft-fp.h: Likewise.
4210 * soft-fp/subdf3.c: Likewise.
4211 * soft-fp/subsf3.c: Likewise.
4212 * soft-fp/subtf3.c: Likewise.
4213 * soft-fp/truncdfsf2.c: Likewise.
4214 * soft-fp/trunctfdf2.c: Likewise.
4215 * soft-fp/trunctfsf2.c: Likewise.
4216 * soft-fp/trunctfxf2.c: Likewise.
4217 * soft-fp/unorddf2.c: Likewise.
4218 * soft-fp/unordsf2.c: Likewise.
4219 * soft-fp/unordtf2.c: Likewise.
4220 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4221 macro.
4222 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4223 Likewise.
4224 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4225 Likewise.
4226 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4227 Likewise.
4228 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4229 Likewise.
4230 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4231 Likewise.
4232 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4233 Likewise.
4234 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4235 Likewise.
4236 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4237 Likewise.
4238 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4239 Likewise.
4240 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4241 Likewise.
4242 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4243 Likewise.
4244 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4245 Likewise.
4246 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4247 Likewise.
4248 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4249 Likewise.
4250 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4251 Likewise.
4252
fc1cd012 42532014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4254
4255 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4256 cannot be represented.
4257 * config/s390/32/_fixsfdi.c: Likewise.
4258 * config/s390/32/_fixtfdi.c: Likewise.
4259 * config/s390/32/_fixunsdfdi.c: Likewise.
4260 * config/s390/32/_fixunssfdi.c: Likewise.
4261 * config/s390/32/_fixunstfdi.c: Likewise.
4262
4b366ca9 42632014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4264
4265 * configure.ac (libgcc_cv_mips_hard_float): New.
4266 * configure: Regenerate.
4267 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4268 t-softfp-sfdf for hard-float targets.
4269 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4270 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4271 (softfp_truncations, softfp_exclude_libgcc2): New.
4272 * config/t-hardfp: New file.
4273 * config/t-hardfp-sfdf: Likewise.
4274 * config/hardfp.c: Likewise.
4275
896dc54c 42762014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4277
4278 * config.host: Include t-floattodi also for s390x.
4279 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4280 * config/s390/32/_fixsfdi.c: Likewise.
4281 * config/s390/32/_fixtfdi.c: Likewise.
4282 * config/s390/32/_fixunsdfdi.c: Likewise.
4283 * config/s390/32/_fixunssfdi.c: Likewise.
4284 * config/s390/32/_fixunstfdi.c: Likewise.
4285
48118d02 42862014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4287
4288 PR target/59788
4289 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4290 (install-libgcc-unwind-map-forbuild): New target.
4291 (all): Depend on install-libgcc-unwind-map-forbuild.
4292 (install-libgcc-unwind-map): New target.
4293 (install): Depend on install-libgcc-unwind-map.
4294
1fa97c89 42952014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4296
4297 * config/nios2/crti.S (_init): Initialize GOT pointer from
4298 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4299
9bcbf352 43002014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4301
4302 * configure.ac: Check __mips64 when setting host_address.
4303 * configure: Regenerate.
4304 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4305 mips/t-mips64 and t-softfp.
4306 (mips*-*-linux*): Don't add mips/t-tpbit.
4307 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4308 (DPBIT, DPBIT_CFLAGS): Delete.
4309 * config/mips/sfp-machine.h: New file.
4310 * config/mips/t-mips64: Likewise.
4311 * config/mips/t-softfp-tf: Likewise.
4312 * config/mips/t-tpbit: Delete.
4313
81b83e46 43142014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4315
4316 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4317 as long long.
4318
41766a5f 43192014-01-25 Walter Lee <walt@tilera.com>
4320
4321 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4322 config.h or system.h.
4323 (bool) Define.
4324
c8d04645 43252014-01-25 Walter Lee <walt@tilera.com>
4326
4327 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4328 (post_atomic_barrier): Ditto.
4329 (__fetch_and_do): New macro.
4330 (__atomic_fetch_and_do): Use __fetch_and_do.
4331 (__sync_fetch_and_do): New macro.
4332 (__sync_fetch_and_add_4): New function.
4333 (__sync_fetch_and_sub_4): New function.
4334 (__sync_fetch_and_or_4): New function.
4335 (__sync_fetch_and_and_4): New function.
4336 (__sync_fetch_and_xor_4): New function.
4337 (__sync_fetch_and_nand_4): New function.
4338 (__sync_fetch_and_add_8): New function.
4339 (__sync_fetch_and_sub_8): New function.
4340 (__sync_fetch_and_or_8): New function.
4341 (__sync_fetch_and_and_8): New function.
4342 (__sync_fetch_and_xor_8): New function.
4343 (__sync_fetch_and_nand_8): New function.
4344 (__do_and_fetch): New macro.
4345 (__atomic_do_and_fetch): Use __do_and_fetch.
4346 (__sync_do_and_fetch): New macro.
4347 (__sync_add_and_fetch_4): New function.
4348 (__sync_sub_and_fetch_4): New function.
4349 (__sync_or_and_fetch_4): New function.
4350 (__sync_and_and_fetch_4): New function.
4351 (__sync_xor_and_fetch_4): New function.
4352 (__sync_nand_and_fetch_4): New function.
4353 (__sync_add_and_fetch_8): New function.
4354 (__sync_sub_and_fetch_8): New function.
4355 (__sync_or_and_fetch_8): New function.
4356 (__sync_and_and_fetch_8): New function.
4357 (__sync_xor_and_fetch_8): New function.
4358 (__sync_nand_and_fetch_8): New function.
4359 (__sync_exchange_methods): New macro.
4360 (__sync_val_compare_and_swap_4): New function.
4361 (__sync_bool_compare_and_swap_4): New function.
4362 (__sync_lock_test_and_test_4): New function.
4363 (__sync_val_compare_and_swap_8): New function.
4364 (__sync_bool_compare_and_swap_8): New function.
4365 (__sync_lock_test_and_test_8): New function.
4366 (__subword_cmpxchg_body): New macro.
4367 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4368 (__atomic_compare_exchange_2): Ditto.
4369 (__sync_subword_cmpxchg): New macro.
4370 (__sync_val_compare_and_swap_1): New function.
4371 (__sync_bool_compare_and_swap_1): New function.
4372 (__sync_val_compare_and_swap_2): New function.
4373 (__sync_bool_compare_and_swap_2): New function.
4374 (__atomic_subword): Rename to ...
4375 (__subword): ... New name.
4376 (__atomic_subword_fetch): Use __subword.
4377 (__sync_subword_fetch): New macro.
4378 (__sync_fetch_and_add_1): New function.
4379 (__sync_fetch_and_sub_1): New function.
4380 (__sync_fetch_and_or_1): New function.
4381 (__sync_fetch_and_and_1): New function.
4382 (__sync_fetch_and_xor_1): New function.
4383 (__sync_fetch_and_nand_1): New function.
4384 (__sync_fetch_and_add_2): New function.
4385 (__sync_fetch_and_sub_2): New function.
4386 (__sync_fetch_and_or_2): New function.
4387 (__sync_fetch_and_and_2): New function.
4388 (__sync_fetch_and_xor_2): New function.
4389 (__sync_fetch_and_nand_2): New function.
4390 (__sync_add_and_fetch_1): New function.
4391 (__sync_sub_and_fetch_1): New function.
4392 (__sync_or_and_fetch_1): New function.
4393 (__sync_and_and_fetch_1): New function.
4394 (__sync_xor_and_fetch_1): New function.
4395 (__sync_nand_and_fetch_1): New function.
4396 (__sync_add_and_fetch_2): New function.
4397 (__sync_sub_and_fetch_2): New function.
4398 (__sync_or_and_fetch_2): New function.
4399 (__sync_and_and_fetch_2): New function.
4400 (__sync_xor_and_fetch_2): New function.
4401 (__sync_nand_and_fetch_2): New function.
4402 (__atomic_subword_lock): Use __subword.
4403 (__sync_subword_lock): New macro.
4404 (__sync_lock_test_and_set_1): New function.
4405 (__sync_lock_test_and_set_2): New function.
4406
47bfa8ec 44072014-01-25 Walter Lee <walt@tilera.com>
4408
4409 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4410 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4411 (__atomic_subword): Ditto.
4412
fcb4fe71 44132014-01-25 Walter Lee <walt@tilera.com>
4414
4415 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4416 a prefix op argument.
4417 (__atomic_nand_fetch_4): Add prefix op.
4418 (__atomic_nand_fetch_8): Ditto.
4419
92e91d03 44202014-01-21 Baruch Siach <barch@tkos.co.il>
382e1a72 4421
4422 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4423
9c50d275 44242014-01-09 Rong Xu <xur@google.com>
4425
4426 * libgcov-driver.c (this_prg): make it local to save
4427 bss space.
4428 (gcov_exit_compute_summary): Ditto.
4429 (gcov_exit_merge_gcda): Ditto.
4430 (gcov_exit_merge_summary): Ditto.
4431 (gcov_exit_dump_gcov): Ditto.
4432
005a5ef5 44332014-01-08 Rong Xu <xur@google.com>
67745126 4434
4435 * libgcov-driver.c: Use libgcov.h.
4436 (buffer_fn_data): Use xmalloc instead of malloc.
4437 (gcov_exit_merge_gcda): Ditto.
4438 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4439 * libgcov.h: New common header files for libgcov-*.h.
4440 * libgcov-interface.c: Use libgcov.h
4441 * libgcov-merge.c: Ditto.
4442 * libgcov-profiler.c: Ditto.
4443 * Makefile.in: Add dependence to libgcov.h
4444
acf40e7e 44452014-01-02 Joseph Myers <joseph@codesourcery.com>
4446
4447 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4448 case of small numerator and finite nonzero result.
4449
f9fb6ba0 44502014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4451
4452 Update copyright years
4453
e4f22041 44542014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4455
4456 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4457 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4458 config/arc/dp-hack.h, config/arc/fp-hack.h,
4459 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4460 config/arc/ieee-754/arc600-dsp/divdf3.S,
4461 config/arc/ieee-754/arc600-dsp/divsf3.S,
4462 config/arc/ieee-754/arc600-dsp/muldf3.S,
4463 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4464 config/arc/ieee-754/arc600-mul64/divdf3.S,
4465 config/arc/ieee-754/arc600-mul64/divsf3.S,
4466 config/arc/ieee-754/arc600-mul64/muldf3.S,
4467 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4468 config/arc/ieee-754/arc600/divsf3.S,
4469 config/arc/ieee-754/arc600/mulsf3.S,
4470 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4471 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4472 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4473 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4474 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4475 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4476 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4477 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4478 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4479 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4480 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4481 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4482 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4483 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4484 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4485 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4486 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4487 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4488 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4489 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4490 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4491 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4492 vtv_start_preinit.c: Use the standard form for the copyright notice.
4493
de65406d 44942013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4495 Chung-Lin Tang <cltang@codesourcery.com>
4496 Based on patches from Altera Corporation
4497
4498 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4499 * config/nios2/lib2-nios2.h: New file.
4500 * config/nios2/lib2-divmod-hi.c: New file.
4501 * config/nios2/linux-unwind.h: New file.
4502 * config/nios2/lib2-divmod.c: New file.
4503 * config/nios2/linux-atomic.c: New file.
4504 * config/nios2/t-nios2: New file.
4505 * config/nios2/crti.asm: New file.
4506 * config/nios2/t-linux: New file.
4507 * config/nios2/lib2-divtable.c: New file.
4508 * config/nios2/lib2-mul.c: New file.
4509 * config/nios2/tramp.c: New file.
4510 * config/nios2/crtn.asm: New file.
4511
a0f1278f 45122013-12-26 Uros Bizjak <ubizjak@gmail.com>
4513
4514 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4515 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4516 from cpuid.h to check vendor signatures.
4517
0337c8ef 45182013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4519
e5d692d7 4520 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
0337c8ef 4521 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4522 (get_amd_cpu): Likewise.
4523
03797e66 45242013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4525
4526 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4527 Haswell.
4528
8a5280dc 45292013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4530 H.J. Lu <hongjiu.lu@intel.com>
4531
ed1bc9a4 4532 PR target/59422
4533 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
8a5280dc 4534 and AMD_JAGUAR.
4535 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4536 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4537 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4538 FEATURE_XOP and FEATURE_FMA.
4539 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4540 AMDFAM15H_BDVER3.
4541 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
ed1bc9a4 4542 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
8a5280dc 4543 FEATURE_FMA4 and FEATURE_XOP.
4544
ccc305ff 45452013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4546
4547 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4548 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4549 (get_intel_cpu): Updated.
4550
4ef5912a 45512013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4552
4553 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4554
62f068c6 45552013-12-09 Uros Bizjak <ubizjak@gmail.com>
4556
4557 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
2cc02024 4558 instructions when __SSE_MATH__ is defined.
62f068c6 4559
d742e92d 45602013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4561
4562 * config.host (microblaze-*-rtems*): New.
4563
706d62f5 45642013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4565
4566 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4567 architectures that do not have hardware divide instruction.
4568 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4569
81927967 45702013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4571
4572 * longlong.h: Delete (moved to include/).
4573
085d03cc 45742013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4575
4576 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4577 of normal number and qNaN to not raise an inexact exception.
4578
1f88bc79 45792013-11-28 Uros Bizjak <ubizjak@gmail.com>
4580
4581 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4582
45832013-11-28 Matthew Leach <matthew.leach@arm.com>
de12de96 4584
4585 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4586 for correct opcodes on BE.
4587
ea9697c4 45882013-11-27 Uros Bizjak <ubizjak@gmail.com>
4589
4590 * soft-fp/op-4.h: Update from glibc.
4591
b214253d 45922013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4593
4594 * libgcc2.c (__udivmoddi4): Define new implementation when
4595 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4596 divide instructions.
4597
334819e8 45982013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4599
4600 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4601
2b8d95bc 46022013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4603
4604 * config/t-softfp (soft-fp-objects-base): New variable.
4605 (soft-fp-objects): Use it.
4606
39da7440 46072013-11-23 David Edelson <dje.gcc@gmail.com>
4608 Andrew Dixie <andrewd@gentrack.com>
4609
4610 PR target/33704
4611 * config/rs6000/aixinitfini.c: New file.
4612 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4613 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4614 symbols.
4615
b848ffcd 46162013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4617
ea9697c4 4618 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
b848ffcd 4619
f75db2a8 46202013-11-18 Jan Hubicka <jh@suse.cz>
4621
5dbddbd9 4622 * libgcov-driver.c (run_accounted): Make global level static.
4623 (gcov_exit_merge_summary): Silence warning; do not clear
4624 run_accounted here.
4625 (gcov_exit): Clear it here.
4626
7a45fd9b 4627 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4628 run_accounted.
4629
f75db2a8 4630 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4631 (all_prg, crc32): Remove static vars.
4632 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4633 all_prg.
4634 (gcov_exit_merge_gcda): Add crc32 parameter.
4635 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4636 do not account run if it was already accounted.
4637 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4638 (gcov_exit): Initialize all_prg; update.
4639
822f2c1b 46402013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4641
4642 * configure: Regenerate.
4643
238f342d 46442013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4645 Alan Modra <amodra@gmail.com>
4646
4647 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4648 (frob_update_context): Use it.
4649
46502013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4651 Alan Modra <amodra@gmail.com>
4652
4653 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4654 (trampoline_initial): Provide ELFv2 variant.
4655 (__trampoline_setup): Likewise.
4656
4657 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4658 check for AIX indirect function call sequence if _CALL_ELF == 2.
4659
46602013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4661 Alan Modra <amodra@gmail.com>
4662
4663 * config/rs6000/linux-unwind.h (get_regs): Do not support
4664 old kernel versions if _CALL_ELF == 2.
4665 (frob_update_context): Do not support PLT stub variants only
4666 generated by old linkers if _CALL_ELF == 2.
4667
771a5362 46682013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4669 Alan Modra <amodra@gmail.com>
4670
4671 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4672 location of CR save area for 64-bit little-endian systems.
4673
f4f176bd 46742013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4675
4676 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4677 in tmake_file.
4678 * config/arm/t-vxworks: Delete.
4679
024d645a 46802013-11-10 Kai Tietz <ktietz@redhat.com>
4681
4682 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4683 Increment load-count on use of LIBGCC_SONAME DLL.
4684 (hmod_libgcc): New static variable to hold handle of
4685 LIBGCC_SONAME DLL.
4686 (__gcc_deregister_frame): Decrement load-count of
4687 LIBGCC_SONAME DLL.
4688
96ddb284 46892013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4690
4691 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4692 availability.
4693 * configure: Regenerate
4694
b4ad80db 46952013-11-07 Uros Bizjak <ubizjak@gmail.com>
4696
4697 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4698 FP_EX_DENORM. Store result to volatile location after SSE division
4699 to close interrupt window. Remove unneeded fwait after x87
4700 division since interrupt window will be closed by emitted fstp.
dc1dacdf 4701 Rewrite FP_EX_INEXACT handling.
b4ad80db 4702
589468a6 47032013-11-06 Joseph Myers <joseph@codesourcery.com>
4704
4705 * soft-fp/README: Update.
4706 * soft-fp/adddf3.c: Update from glibc.
4707 * soft-fp/addsf3.c: Likewise.
4708 * soft-fp/addtf3.c: Likewise.
4709 * soft-fp/divdf3.c: Likewise.
4710 * soft-fp/divsf3.c: Likewise.
4711 * soft-fp/divtf3.c: Likewise.
4712 * soft-fp/double.h: Likewise.
4713 * soft-fp/eqdf2.c: Likewise.
4714 * soft-fp/eqsf2.c: Likewise.
4715 * soft-fp/eqtf2.c: Likewise.
4716 * soft-fp/extenddftf2.c: Likewise.
4717 * soft-fp/extended.h: Likewise.
4718 * soft-fp/extendsfdf2.c: Likewise.
4719 * soft-fp/extendsftf2.c: Likewise.
4720 * soft-fp/extendxftf2.c: Likewise.
4721 * soft-fp/fixdfdi.c: Likewise.
4722 * soft-fp/fixdfsi.c: Likewise.
4723 * soft-fp/fixdfti.c: Likewise.
4724 * soft-fp/fixsfdi.c: Likewise.
4725 * soft-fp/fixsfsi.c: Likewise.
4726 * soft-fp/fixsfti.c: Likewise.
4727 * soft-fp/fixtfdi.c: Likewise.
4728 * soft-fp/fixtfsi.c: Likewise.
4729 * soft-fp/fixtfti.c: Likewise.
4730 * soft-fp/fixunsdfdi.c: Likewise.
4731 * soft-fp/fixunsdfsi.c: Likewise.
4732 * soft-fp/fixunsdfti.c: Likewise.
4733 * soft-fp/fixunssfdi.c: Likewise.
4734 * soft-fp/fixunssfsi.c: Likewise.
4735 * soft-fp/fixunssfti.c: Likewise.
4736 * soft-fp/fixunstfdi.c: Likewise.
4737 * soft-fp/fixunstfsi.c: Likewise.
4738 * soft-fp/fixunstfti.c: Likewise.
4739 * soft-fp/floatdidf.c: Likewise.
4740 * soft-fp/floatdisf.c: Likewise.
4741 * soft-fp/floatditf.c: Likewise.
4742 * soft-fp/floatsidf.c: Likewise.
4743 * soft-fp/floatsisf.c: Likewise.
4744 * soft-fp/floatsitf.c: Likewise.
4745 * soft-fp/floattidf.c: Likewise.
4746 * soft-fp/floattisf.c: Likewise.
4747 * soft-fp/floattitf.c: Likewise.
4748 * soft-fp/floatundidf.c: Likewise.
4749 * soft-fp/floatundisf.c: Likewise.
4750 * soft-fp/floatunditf.c: Likewise.
4751 * soft-fp/floatunsidf.c: Likewise.
4752 * soft-fp/floatunsisf.c: Likewise.
4753 * soft-fp/floatunsitf.c: Likewise.
4754 * soft-fp/floatuntidf.c: Likewise.
4755 * soft-fp/floatuntisf.c: Likewise.
4756 * soft-fp/floatuntitf.c: Likewise.
4757 * soft-fp/gedf2.c: Likewise.
4758 * soft-fp/gesf2.c: Likewise.
4759 * soft-fp/getf2.c: Likewise.
4760 * soft-fp/ledf2.c: Likewise.
4761 * soft-fp/lesf2.c: Likewise.
4762 * soft-fp/letf2.c: Likewise.
4763 * soft-fp/muldf3.c: Likewise.
4764 * soft-fp/mulsf3.c: Likewise.
4765 * soft-fp/multf3.c: Likewise.
4766 * soft-fp/negdf2.c: Likewise.
4767 * soft-fp/negsf2.c: Likewise.
4768 * soft-fp/negtf2.c: Likewise.
4769 * soft-fp/op-1.h: Likewise.
4770 * soft-fp/op-2.h: Likewise.
4771 * soft-fp/op-4.h: Likewise.
4772 * soft-fp/op-8.h: Likewise.
4773 * soft-fp/op-common.h: Likewise.
4774 * soft-fp/quad.h: Likewise.
4775 * soft-fp/single.h: Likewise.
4776 * soft-fp/soft-fp.h: Likewise.
4777 * soft-fp/subdf3.c: Likewise.
4778 * soft-fp/subsf3.c: Likewise.
4779 * soft-fp/subtf3.c: Likewise.
4780 * soft-fp/truncdfsf2.c: Likewise.
4781 * soft-fp/trunctfdf2.c: Likewise.
4782 * soft-fp/trunctfsf2.c: Likewise.
4783 * soft-fp/trunctfxf2.c: Likewise.
4784 * soft-fp/unorddf2.c: Likewise.
4785 * soft-fp/unordsf2.c: Likewise.
4786 * soft-fp/unordtf2.c: Likewise.
4787
8a3edb33 47882013-11-05 Uros Bizjak <ubizjak@gmail.com>
4789
4790 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4791 (_FP_MUL_MEAT_D): Ditto.
4792 (_FP_DIV_MEAT_S): Ditto.
4793 (_FP_DIV_MEAT_D): Ditto.
4794 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4795 t-softfp-sfdf and t-softfp to tmake_file.
4796
ea151fae 47972013-11-03 Uros Bizjak <ubizjak@gmail.com>
4798
4799 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4800 * config/i386/crtprec.c: Ditto.
4801
eae21ed1 48022013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4803 Shiva Chen <shiva0217@gmail.com>
4804
4805 * config.host (nds32*-elf*): Add nds32 target.
4806 * config/nds32 : New directory and files.
4807
b4294f67 48082013-10-16 Hans-Peter Nilsson <hp@axis.com>
4809
4810 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4811 * config.host (cpu_type) <Setting default>: Add entry for
4812 crisv32-*-*.
4813 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4814 <crisv32-*-linux*>: Adjust.
4815 * longlong.h: Wrap the whole CRIS section in a single
4816 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4817 and sub_ddmmss.
4818 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4819 defined.
4820 [__CRIS__] (__umulsidi3): Define.
4821 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4822 * config/cris/sfp-machine.h: New file.
4823 * config/cris/umulsidi3.S: New file.
4824 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4825 * config/cris/arit.c (SIGNMULT): New macro.
4826 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4827 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4828 saving 3 out of originally 33 cycles from the fastest
4829 path, 3 out of 54 from the medium path and one from the longest
4830 path. Improve comments.
4831
89432048 48322013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4833
4834 * sync.c: Remove static aliases and define each function directly
4835 under its real name.
4836
a99f9d91 48372013-10-02 John David Anglin <danglin@gcc.gnu.org>
4838
4839 * config.host (hppa*64*-*-linux*): Define extra_parts.
4840 (hppa*-*-linux*): Likewise.
4841
c6e92c43 48422013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4843
4844 * config/arc/crtgend.S: Add 2013 to Copyright years.
4845 * config/arc/gmon/atomic.h: Likewise.
4846 * config/arc/gmon/auxreg.h: Likewise.
4847 * config/arc/gmon/sys/gmon_out.h: Likewise.
4848 * config/arc/gmon/sys/gmon.h: Likewise.
4849 * config/arc/gmon/prof-freq.c: Likewise.
4850 * config/arc/gmon/mcount.c: Likewise.
4851 * config/arc/gmon/prof-freq-stub.S: Likewise.
4852 * config/arc/gmon/gmon.c: Likewise.
4853 * config/arc/gmon/machine-gmon.h: Likewise.
4854 * config/arc/gmon/profil.S: Likewise.
4855 * config/arc/gmon/dcache_linesz.S: Likewise.
4856 * config/arc/crtg.S: Likewise.
4857 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4858 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4859 * config/arc/ieee-754/adddf3.S: Likewise.
4860 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4861 * config/arc/ieee-754/fixsfsi.S: Likewise.
4862 * config/arc/ieee-754/gtsf2.S: Likewise.
4863 * config/arc/ieee-754/floatsisf.S: Likewise.
4864 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4865 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4866 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4867 * config/arc/ieee-754/fixdfsi.S: Likewise.
4868 * config/arc/ieee-754/addsf3.S: Likewise.
4869 * config/arc/ieee-754/gesf2.S: Likewise.
4870 * config/arc/ieee-754/floatsidf.S: Likewise.
4871 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4872 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4873 * config/arc/ieee-754/gtdf2.S: Likewise.
4874 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4875 * config/arc/ieee-754/uneqdf2.S: Likewise.
4876 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4877 * config/arc/ieee-754/uneqsf2.S: Likewise.
4878 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4879 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4880 * config/arc/ieee-754/eqdf2.S: Likewise.
4881 * config/arc/ieee-754/ordsf2.S: Likewise.
4882 * config/arc/ieee-754/divsf3.S: Likewise.
4883 * config/arc/ieee-754/divdf3.S: Likewise.
4884 * config/arc/ieee-754/floatunsidf.S: Likewise.
4885 * config/arc/ieee-754/orddf2.S: Likewise.
4886 * config/arc/ieee-754/eqsf2.S: Likewise.
4887 * config/arc/ieee-754/gedf2.S: Likewise.
4888 * config/arc/crtn.S: Likewise.
4889 * config/arc/crti.S: Likewise.
4890 * config/arc/t-arc700-uClibc: Likewise.
4891 * config/arc/asm.h: Likewise.
4892 * config/arc/libgcc-excl.ver: Likewise.
4893 * config/arc/t-arc-newlib: Likewise.
4894 * config/arc/divtab-arc700.c: Likewise.
4895 * config/arc/initfini.c: Likewise.
4896 * config/arc/fp-hack.h: Likewise.
4897
8abf21c0 48982013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4899 Diego Novillo <dnovillo@google.com>
4900
4901 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
29941397 4902 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4903 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4904 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8abf21c0 4905
8eaaaea3 49062013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4907 Brendan Kehoe <brendan@zen.org>
4908 Simon Cook <simon.cook@embecosm.com>
4909
4910 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4911 * config/arc: New directory.
4912 * longlong.h [__arc__] (umul_ppmm): Remove.
4913 [__arc__] (__umulsidi3): Define.
4914 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4915 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4916
5d7073ff 49172013-09-17 Jacek Caban <jacek@codeweavers.com>
4918
4919 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4920 CreateSemaphoreA.
4921 * config/i386/gthr-win32.h: Likewise.
4922
c5a0ae5e 49232013-09-16 DJ Delorie <dj@redhat.com>
4924
3feee9ae 4925 * config/rl78/vregs.h: Add G10 register definitions.
c5a0ae5e 4926 * config/rl78/lib2mul.c: Enable for RL78/G10.
4927 * config/rl78/lib2div.c: Likewise.
4928 * config/rl78/lshrsi3.S: Use vregs.h.
4929 * config/rl78/cmpsi2.S: Likewise.
4930 * config/rl78/trampoline.S: Likewise.
4931 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4932
03223f89 49332013-09-14 DJ Delorie <dj@redhat.com>
4934 Nick Clifton <nickc@redhat.com>
4935
4936 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4937 * config/rl78/vregs.h: New.
4938 * config/rl78/signbit.S: New file. Implements signbit function.
4939 * config/rl78/divmodsi.S: New.
4940 * config/rl78/divmodhi.S: New.
4941 * config/rl78/divmodqi.S: New.
4942 * config/rl78/t-rl78: Build them here...
4943 * config/rl78/lib2div.c: ...but not here.
4944
e4a25868 49452013-09-12 DJ Delorie <dj@redhat.com>
4946
4947 * config.host (msp*-*-elf): New.
4948 * config/msp430/: New port.
4949
f5f1a747 49502013-08-18 Iain Sandoe <iain@codesourcery.com>
4951
4952 PR gcov-profile/58127
4953 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4954 __thread var for emulated TLS.
4955 (__gcov_indirect_call_counters): Likewise.
4956
272552a3 49572013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
ea151fae 4958 Catherine Moore <clm@codesourcery.com>
92e91d03 4959 Richard Sandiford <rdsandiford@googlemail.com>
272552a3 4960
4961 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4962 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4963 (CALL_STUB_NO_RET): Likewise.
4964 (CALL_STUB_RET): Likewise.
4965 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4966 __mips16_ret call/return stub symbols.
4967 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4968 to tmake_file.
4969
26865d30 49702013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4971
4972 * config.host <mips*-*-linux*>: Remove a stray comment.
4973
4771c0ac 49742013-08-10 Jan Hubicka <jh@suse.cz>
4975
4976 Work around binutils PR14342
4977 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4978 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4979 (L_gcov_indirect_call_profiler_v2): New.
4980
fe37be54 49812013-08-06 Jan Hubicka <jh@suse.cz>
4982
4983 * libgcov.c (__gcov_indirect_call_callee,
4984 __gcov_indirect_call_counters): New global vars.
4985 (__gcov_indirect_call_profiler): replace by ...
4986 (__gcov_indirect_call_profiler_v2) ... this one.
4987
b710ec85 49882013-08-06 Caroline Tice <cmtice@google.com>
4989
62257207 4990 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
b710ec85 4991 vtv_start_preinit.o and vtv_end_preinit.o.
62257207 4992 * configure.ac: Add code to check/set enable_vtable_verify.
4993 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
b710ec85 4994 true.
62257207 4995 * vtv_start_preinit.c: New file.
4996 * vtv_end_preinit.c: New file.
4997 * vtv_start.c: New file.
4998 * vtv_end.c: New file.
4999 * configure: Regenerated.
b710ec85 5000
98997678 50012013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5002
5003 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5004 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5005 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5006 GPL-3.0-with-GCC-exception.
5007
b26b6f0d 50082013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5009
5010 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5011 ISA and up.
5012
e6270f6f 50132013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5014
5015 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5016 mapping for FPRs when creating the fallback framestate.
5017
fdbf5b19 50182013-07-19 Georg-Johann Lay <avr@gjlay.de>
5019
5020 PR target/57516
5021 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5022 (__round_s2_const, __round_u2_const)
5023 (__round_s4_const, __round_u4_const, __round_x8):
5024 Saturate result if addition result cannot be represented.
5025
6dcb849c 50262013-07-15 Matthias Klose <doko@ubuntu.com>
5027
5028 * libgcc2.c: Don't include <limits.h>.
5029
16348e18 50302013-07-09 Janis Johnson <janisjo@codesourcery.com>
5031
5032 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5033
64b5be08 50342013-07-06 Jakub Jelinek <jakub@redhat.com>
5035
5036 PR target/29776
5037 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5038
68a09193 50392013-06-28 Jakub Jelinek <jakub@redhat.com>
5040
5041 PR middle-end/36041
5042 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5043 Define.
5044 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5045 instead of table lookups.
5046 (__popcountDI2): Likewise.
5047
5fe358df 50482013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5049
5050 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5051 correctly.
5052
2511e9f1 50532013-06-21 Joseph Myers <joseph@codesourcery.com>
5054
5055 PR other/53317
5056 * soft-fp/adddf3.c: Update from glibc.
5057 * soft-fp/addsf3.c: Likewise.
5058 * soft-fp/addtf3.c: Likewise.
5059 * soft-fp/divdf3.c: Likewise.
5060 * soft-fp/divsf3.c: Likewise.
5061 * soft-fp/divtf3.c: Likewise.
5062 * soft-fp/double.h: Likewise.
5063 * soft-fp/eqdf2.c: Likewise.
5064 * soft-fp/eqsf2.c: Likewise.
5065 * soft-fp/eqtf2.c: Likewise.
5066 * soft-fp/extenddftf2.c: Likewise.
5067 * soft-fp/extended.h: Likewise.
5068 * soft-fp/extendsfdf2.c: Likewise.
5069 * soft-fp/extendsftf2.c: Likewise.
5070 * soft-fp/fixdfdi.c: Likewise.
5071 * soft-fp/fixdfsi.c: Likewise.
5072 * soft-fp/fixsfdi.c: Likewise.
5073 * soft-fp/fixsfsi.c: Likewise.
5074 * soft-fp/fixtfdi.c: Likewise.
5075 * soft-fp/fixtfsi.c: Likewise.
5076 * soft-fp/fixunsdfdi.c: Likewise.
5077 * soft-fp/fixunsdfsi.c: Likewise.
5078 * soft-fp/fixunssfdi.c: Likewise.
5079 * soft-fp/fixunssfsi.c: Likewise.
5080 * soft-fp/fixunstfdi.c: Likewise.
5081 * soft-fp/fixunstfsi.c: Likewise.
5082 * soft-fp/floatdidf.c: Likewise.
5083 * soft-fp/floatdisf.c: Likewise.
5084 * soft-fp/floatditf.c: Likewise.
5085 * soft-fp/floatsidf.c: Likewise.
5086 * soft-fp/floatsisf.c: Likewise.
5087 * soft-fp/floatsitf.c: Likewise.
5088 * soft-fp/floatundidf.c: Likewise.
5089 * soft-fp/floatundisf.c: Likewise.
5090 * soft-fp/floatunditf.c: Likewise.
5091 * soft-fp/floatunsidf.c: Likewise.
5092 * soft-fp/floatunsisf.c: Likewise.
5093 * soft-fp/floatunsitf.c: Likewise.
5094 * soft-fp/gedf2.c: Likewise.
5095 * soft-fp/gesf2.c: Likewise.
5096 * soft-fp/getf2.c: Likewise.
5097 * soft-fp/ledf2.c: Likewise.
5098 * soft-fp/lesf2.c: Likewise.
5099 * soft-fp/letf2.c: Likewise.
5100 * soft-fp/muldf3.c: Likewise.
5101 * soft-fp/mulsf3.c: Likewise.
5102 * soft-fp/multf3.c: Likewise.
5103 * soft-fp/negdf2.c: Likewise.
5104 * soft-fp/negsf2.c: Likewise.
5105 * soft-fp/negtf2.c: Likewise.
5106 * soft-fp/op-1.h: Likewise.
5107 * soft-fp/op-2.h: Likewise.
5108 * soft-fp/op-4.h: Likewise.
5109 * soft-fp/op-8.h: Likewise.
5110 * soft-fp/op-common.h: Likewise.
5111 * soft-fp/quad.h: Likewise.
5112 * soft-fp/single.h: Likewise.
5113 * soft-fp/soft-fp.h: Likewise.
5114 * soft-fp/subdf3.c: Likewise.
5115 * soft-fp/subsf3.c: Likewise.
5116 * soft-fp/subtf3.c: Likewise.
5117 * soft-fp/truncdfsf2.c: Likewise.
5118 * soft-fp/trunctfdf2.c: Likewise.
5119 * soft-fp/trunctfsf2.c: Likewise.
5120 * soft-fp/unorddf2.c: Likewise.
5121 * soft-fp/unordsf2.c: Likewise.
5122 * soft-fp/unordtf2.c: Likewise.
5123 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5124 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5125 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5126 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5127 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5128 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5129 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5130 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5131 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5132 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5133 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5134 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5135
0b4e9fcd 51362013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5137
5138 * config/mips/lib2funcs.c: New file.
5139 * config/mips/t-mips (LIB2ADD_ST): Add it.
5140
fe9c9e23 51412013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5142
5143 PR target/6526
5144 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5145 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5146
1c229e23 51472013-06-08 Walter Lee <walt@tilera.com>
5148
5149 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5150 Replace int64_t with long long. Add __extension__ where
5151 appropriate.
5152 * config/tilepro/atomic.c: Include config.h.
5153
1a7dfb13 51542013-06-06 Douglas B Rupp <rupp@adacore.com>
5155
5156 * config.host (arm-wrs-vxworks): Configure with other soft float.
5157
60b34f30 51582013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5159
5160 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5161 (mips64r5900el-*-elf*): New configurations.
5162
ebe9cbdb 51632013-06-04 Alan Modra <amodra@gmail.com>
5164
5165 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5166
fbcee6d1 51672013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5168
5169 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5170
aad33226 51712013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5172
5173 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5174 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5175 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5176
47ab8c10 51772013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5178
5179 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5180 (powerpc-wrs-vxworks): Likewise.
5181
34a60aa2 51822013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5183
5184 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5185 signal frames as well.
5186 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5187 STACK_BIAS to the CFA offset.
5188
be82f7a8 51892013-05-17 Richard Henderson <rth@redhat.com>
5190
5191 PR target/49146
5192 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5193 (execute_cfa_program): Use it when storing to fs->regs.
5194
bd89d2b6 51952013-05-08 Kai Tietz <ktietz@redhat.com>
5196
5197 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5198 (__deregister_frame_info): Likewise.
5199
9e849aff 52002013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5201
dfa9a36a 5202 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5203 NaN's payload.
5204
9e849aff 5205 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5206
d80dc920 52072013-04-25 Alan Modra <amodra@gmail.com>
5208
5209 * config.host: Match little-endian powerpc-linux.
5210
d359df0c 52112013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5212
5213 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5214 as 'unsigned long long' instead of 'unsigned long'.
5215 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5216 'signed long'.
5217
912507e5 52182013-04-10 Julian Brown <julian@codesourcery.com>
5219
5220 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5221 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5222 unsigned char/unsigned short.
5223 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5224
9dafcef4 52252013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5226
5227 PR other/55274
5228 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5229
11bec6e6 52302013-04-04 Meador Inge <meadori@codesourcery.com>
5231
5232 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5233 computing the location of the link register.
5234 (aeabi_uldivmod): Ditto.
5235
45d13ef4 52362013-03-27 Kai Tietz <ktietz@redhat.com>
5237
5238 * config.host: Add support for cygwin x64 target.
5239 * configure: Regenerated.
5240
cad8262b 52412013-03-26 Walter Lee <walt@tilera.com>
5242
5243 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5244 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5245
d2adc174 52462013-03-25 Kai Tietz <ktietz@redhat.com>
5247
5248 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5249
a5487e41 52502013-03-20 Robert Mason <rbmj@verizon.net>
5251
5252 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5253 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5254 (__gthread_leave_tsd_dtor_context): Add prototypes.
5255 (tls_delete_hook): Update.
5256
ff9c1bc1 52572013-03-20 Catherine Moore <clm@codesourcery.com>
5258 Joseph Myers <joseph@codesourcery.com>
5259 Chao-ying Fu <fu@mips.com>
5260
5261 * config/mips/mips16.S: Don't build for microMIPS.
5262 * config/mips/linux-unwind.h: Handle microMIPS frame.
5263 * config/mips/crtn.S (fini, init): New labels.
5264
228bf2b8 52652013-03-14 Jakub Jelinek <jakub@redhat.com>
5266
5267 PR tree-optimization/53265
5268 * unwind-dw2.c (execute_cfa_program): Avoid
5269 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5270 on targets with DWARF_FRAME_REGISTERS < 32.
5271
bb057878 52722013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5273
5274 PR target/49880
5275 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5276 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5277
a1b2a524 52782013-03-07 Sriraman Tallam <tmsriram@google.com>
5279
5280 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5281 sandybridge processors.
5282
9fe603c3 52832013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5284
5285 PR target/56529
5286 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5287 inclusion list.
5288
21ebaa24 52892013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
02f4bd0d 5290
5291 * config/microblaze/crti.S: Setup stack protection at entry
5292
958069e9 52932013-03-04 Georg-Johann Lay <avr@gjlay.de>
5294
5295 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5296 (__rotldi3): Shift bytewise if applicable.
5297
49be16da 52982013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5299
5300 * config/aarch64/sync-cache.c
5301 (__aarch64_sync_cache_range): Silence warnings.
5302
ca7a473f 53032013-02-25 Catherine Moore <clm@codesourcery.com>
5304
5305 Revert:
5306 2013-02-24 Catherine Moore <clm@codesourcery.com>
5307 Joseph Myers <joseph@codesourcery.com>
5308 Chao-ying Fu <fu@mips.com>
5309
5310 * config/mips/mips16.S: Don't build for microMIPS.
5311 * config/mips/linux-unwind.h: Handle microMIPS frame.
5312 * config/mips/crtn.S (fini, init): New labels.
5313
7fd93f9c 53142013-02-24 Catherine Moore <clm@codesourcery.com>
5315 Joseph Myers <joseph@codesourcery.com>
5316 Chao-ying Fu <fu@mips.com>
5317
5318 * config/mips/mips16.S: Don't build for microMIPS.
5319 * config/mips/linux-unwind.h: Handle microMIPS frame.
5320 * config/mips/crtn.S (fini, init): New labels.
5321
1859244f 53222012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
005a5ef5 5323 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
1859244f 5324 as dividend.
5325
2a0bfd56 53262013-02-16 Alan Modra <amodra@gmail.com>
5327
5328 PR target/55431
5329 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5330 (ppc_fallback_frame_state): Always set up save locations for fp
5331 and altivec. Don't bother with non-callee-saved regs, r0-r13
5332 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5333
cfbcb7d5 53342013-02-12 Georg-Johann Lay <avr@gjlay.de>
5335
5336 PR target/54222
5337 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5338 _ssmulHA, _ssmulSA.
5339 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5340 _ssmulha3, _usmulusa3, _ssmulsa3.
5341 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5342 (__muldi3): XCALL __muldi3_6 instead of rcall.
5343 (__umulsidi3, __mulsidi3): New functions.
5344 (do_prologue_saves, do_epilogue_restores): New .macros.
5345 (__divdi3_moddi3): Use them.
5346 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5347 (__usmulusa3, __ssmulsa3): New functions.
5348
48b8e70a 53492013-02-11 Iain Sandoe <iain@codesourcery.com>
5350 Jack Howarth <howarth@bromo.med.uc.edu>
5351 Patrick Marlier <patrick.marlier@gmail.com>
5352
5353 PR libitm/55693
5354 * config/darwin-crt-tm.c: Remove dummy functions hack.
5355
eafea251 53562013-02-08 Georg-Johann Lay <avr@gjlay.de>
5357
5358 PR target/54222
5359 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5360 * config/avr/lib2-object.mk: New iterator to build objects from it.
5361 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5362 lib2funcs.c.
5363 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5364 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5365 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5366 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5367 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5368 * config/avr/lib1funcs-fixed.S: Implement them.
5369
64b7b462 53702013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5371
5372 Update copyright years.
5373
a8af2dd5 53742013-02-01 David Edelsohn <dje.gcc@gmail.com>
5375
5376 PR target/54601
5377 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5378 Add crtcxa to extra_parts.
5379 * config/rs6000/exit.h: New file.
5380 * config/rs6000/cxa_atexit.c: New file.
5381 * config/rs6000/cxa_finalize.c: New file.
5382 * config/rs6000/crtcxa.c: New file.
5383 * config/rs6000/t-aix-cxa: New file.
5384 * config/rs6000/libgcc-aix-cxa.ver: New file.
5385
9a5788ea 53862013-01-31 Nick Clifton <nickc@redhat.com>
5387
5388 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5389 variant.
5390
63c85bd5 53912013-01-29 Georg-Johann Lay <avr@gjlay.de>
5392
5393 PR target/54222
5394 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5395 _mulQQ, _mulHQ, _mulHA, _mulSA,
5396 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5397 _divQQ, _divHQ, _divHA, _divSA,
5398 _divUQQ, _divUHQ, _divUHA, _divUSA.
5399
21ebaa24 54002013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
c48df545 5401
9a5788ea 5402 * config.host(microblaze*-linux*): tmake_file: Remove
c48df545 5403 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5404 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5405 to exclude functions from being built with libgcc.c and use
5406 the microblaze assembly.
5407
21ebaa24 54082013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
98f2ac05 5409
5410 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5411 extra_parts.
5412
ee4d7d9e 54132013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5414
5415 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5416 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5417 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5418 alignment operation.
5419
7deea711 54202013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5421
5422 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5423 loop start address for cache clearing.
5424
0dff9558 54252013-01-14 Georg-Johann Lay <avr@gjlay.de>
5426
5427 * config/avr/lib1funcs.S: Remove trailing blanks.
5428 * config/avr/lib1funcs-fixed.S: Ditto.
5429
d8ff1e9a 54302013-01-14 Georg-Johann Lay <avr@gjlay.de>
5431
5432 * config/avr/avr-lib.h: Add GPL copyright notice.
5433
dd509879 54342013-01-14 Georg-Johann Lay <avr@gjlay.de>
5435
5436 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5437 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5438 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5439 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5440
6e029611 54412013-01-07 Mark Kettenis <kettenis@openbsd.org>
5442
5443 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5444 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
51918e06 5445
409ad634 54462013-01-04 Nick Clifton <nickc@redhat.com>
5447
5448 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5449 the CALLT instruction is supported.
5450
1d384e02 54512012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5452
5453 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5454 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5455
cc4b03ac 54562012-12-13 John Tytgat <John@bass-software.com>
5457
5458 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5459 is 25.
5460
990457e2 54612012-12-12 Jakub Jelinek <jakub@redhat.com>
5462
5463 PR libgcc/55451
5464 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5465 undefined signed overflows.
5466
db6a9a70 54672012-12-09 Uros Bizjak <ubizjak@gmail.com>
5468
5469 PR target/55344
5470 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5471
038a6cd9 54722012-12-06 Uros Bizjak <ubizjak@gmail.com>
5473
5474 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5475 (FP_TRAPPING_EXCEPTIONS): Define.
5476 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5477 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5478
ef5f15fb 54792012-12-04 Richard Henderson <rth@redhat.com>
5480
5481 PR bootstrap/55571
5482 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5483
92e91d03 54842012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
09ef8b8d 5485
038a6cd9 5486 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
09ef8b8d 5487 (FP_EX_SHIFT): Define.
5488 (FP_TRAPPING_EXCEPTIONS): Define.
5489
92e91d03 54902012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
1caca546 5491
5492 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5493 (FP_ROUNDMODE): Use FP_RND_MASK.
5494 * config/aarch64/sfp-exceptions.c: New.
5495 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5496 Use __sfp_handle_exceptions.
5497
6a11e52b 54982012-12-04 Richard Earnshaw <rearnsha@arm.com>
5499
5500 * config.host: (arm*-*-freebsd*): Remove.
5501 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5502 (arm*-*-elf*): Remove.
5503 (arm*-*-wince-pe*): Remove.
5504 * arm/unwind-arm.c (struct fpa_reg): Delete.
5505 (struct fpa_regs): Delete.
5506 (phase1_vrs): Remove fpa element.
5507 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5508 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5509 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5510 * ieee754-sf.S (floatundisf): Remove FPA support.
5511 (floatdisf): Likewise.
5512 * ieee75f-df.S (floatundidf): Likewise.
5513 (floatdidf): Likewise.
5514
a92cf445 55152012-11-29 Kai Tietz <ktietz@redhat.com>
5516
5517 PR target/55445
5518 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5519 * unwind-generic.h: Likewise.
5520 * unwind-seh.c: Likewise.
5521
f0b6dfa6 55222012-11-28 Richard Henderson <rth@redhat.com>
5523
5524 PR libgcc/48076
5525 * emutls.c (__emutls_get_address): Avoid race condition between
5526 obj->loc.offset read and emutls_key initialization.
038a6cd9 5527
c8ec4eb6 55282012-11-22 Georg-Johann Lay <avr@gjlay.de>
5529
5530 Adjust decimal point of signed accum mode to GCC default.
5531
5532 PR target/54222
5533 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5534 _divqq_helper.
5535 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5536 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5537 (__mulha3, __mulsa3)
5538 (__divqq3, __divha3, __divsa3): Adjust to new position of
038a6cd9 5539 decimal point of signed accum types.
5540
c8ec4eb6 5541 (__mulusa3_round): New function.
5542 (__mulusa3): Use it.
5543 (__divqq_helper): New function.
5544 (__udivuqq3): Use it.
5545
ca8c4cb9 55462012-11-20 Jakub Jelinek <jakub@redhat.com>
5547
5548 PR bootstrap/55370
5549 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5550
5d2fca09 55512012-11-18 Teresa Johnson <tejohnson@google.com>
5552
5553 PR bootstrap/55051
5554 * libgcov.c (gcov_exit): Remove merged program summary
5555 comparison unless !GCOV_LOCKED.
5556
92e91d03 55572012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
bfc20a3e 5558
5559 * soft-fp: Updated from glibc upstream.
5560
20f6e7a3 55612012-11-06 Ian Lance Taylor <iant@google.com>
5562
5563 * generic-morestack.c (__generic_morestack): Align the returned
5564 stack pointer to a 32 byte boundary.
5565 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5566 increment the return address until we have decided that we don't
5567 have a varargs function.
5568 (__morestack) [32-bit]: Align stack correctly when calling C
5569 functions.
5570 (__morestack) [64-bit]: Likewise.
5571
97bd2465 55722012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5573
5574 * configure: Regenerate.
5575
d152ae90 55762012-11-02 Uros Bizjak <ubizjak@gmail.com>
5577
5578 PR target/55175
5579 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5580 * config/i386/sfp-machine.h: Guard exception handling
5581 code with _SOFT_FLOAT.
5582 * config/i386/32/sfp-machine.h: Guard rounding handling
5583 code with _SOFT_FLOAT.
5584 * config/i386/64/sfp-machine.h: Ditto.
5585
0cd8c088 55862012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5587
5588 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5589 as extra_parts.
5590
113702f6 55912012-10-26 Uros Bizjak <ubizjak@gmail.com>
5592
5593 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5594 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5595 when appropriate. Correct structure element types.
5596 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5597 -minline-all-stringops from compile flags.
5598
92e91d03 55992012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
00b706f9 5600
5601 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5602
92e91d03 56032012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
57380e33 5604
113702f6 5605 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
57380e33 5606
a2397d15 56072012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5608
5609 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5610 tmake_file.
5611
1b3d2097 56122012-10-23 Ian Bolton <ian.bolton@arm.com>
5613 Jim MacArthur <jim.macarthur@arm.com>
5614 Marcus Shawcroft <marcus.shawcroft@arm.com>
5615 Nigel Stephens <nigel.stephens@arm.com>
5616 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5617 Richard Earnshaw <rearnsha@arm.com>
5618 Sofiane Naci <sofiane.naci@arm.com>
5619 Stephen Thomas <stephen.thomas@arm.com>
5620 Tejas Belagod <tejas.belagod@arm.com>
5621 Yufeng Zhang <yufeng.zhang@arm.com>
5622
5623 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5624 * config/aarch64/crti.S: New file.
5625 * config/aarch64/crtn.S: New file.
5626 * config/aarch64/linux-unwind.h: New file.
5627 * config/aarch64/sfp-machine.h: New file.
5628 * config/aarch64/sync-cache.c: New file.
5629 * config/aarch64/t-aarch64: New file.
5630 * config/aarch64/t-softfp: New file.
5631
cfdcf688 56322012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5633
5634 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5635 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5636 no-longer-needed LDBU insns.
5637
92e91d03 56382012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
598ebe3d 5639
5640 * config.host
5641 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5642 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5643
530c2b2e 56442012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5645
5646 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5647
f49eb158 56482012-10-15 Matthias Klose <doko@ubuntu.com>
5649
5650 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5651
017f22df 56522012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5653
5654 * configure: Regenerate.
5655 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5656
da8b7497 56572012-10-10 Uros Bizjak <ubizjak@gmail.com>
5658
5659 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5660 instructions for 64bit targets only.
5661
19a23012 56622012-10-10 Uros Bizjak <ubizjak@gmail.com>
5663
5664 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5665 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5666 * config/i386/32/sfp-machine.h: ... here.
5667 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5668 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5669 New defines.
5670
a32dc74a 56712012-10-07 Matthias Klose <doko@ubuntu.com>
5672
5673 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5674 as unused.
5675 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5676
81ae3d37 56772012-10-06 Mark Kettenis <kettenis@openbsd.org>
5678
5679 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5680 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5681 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5682 (ElfW): Likewise.
5683
4e6a7cfc 56842012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5685
5686 PR other/53889
5687 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5688 Fix parameter names.
5689
7cc401e3 56902012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5691
5692 PR target/33135
5693 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5694 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5695 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5696
cfaba078 56972012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5698
5699 PR target/50457
5700 * config/sh/linux-atomic.S: Delete.
5701 * config/sh/linux-atomic.c: New.
5702 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5703 linux-atomic.c. Add cflags to disable warnings.
5704
4854adab 57052012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5706
5707 PR other/53889
5708 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5709 function.
5710 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5711 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5712 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5713 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
4e6a7cfc 5714 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5715 Likewise.
4854adab 5716 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5717 Likewise.
5718 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5719 Likewise.
5720 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5721 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5722
07cf7615 57232012-09-19 Mark Kettenis <kettenis@openbsd.org>
5724
cfaba078 5725 * config.host (hppa-*-openbsd*): New target.
5726 * config/pa/t-openbsd: New file.
07cf7615 5727
b4ebb666 57282012-09-15 Georg-Johann Lay <avr@gjlay.de>
5729
5730 PR target/54222
5731 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5732 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5733 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5734 (__divsa3): Use __negsi2 to negate r_quoL.
5735 * config/avr/lib1funcs.S (FALIAS): New macro.
5736 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5737 (__negsi2): ...this new function.
5738 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5739 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5740 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5741 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5742 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5743 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5744
6e7c6395 57452012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5746
5747 PR target/54089
5748 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5749 (lshrsi3): Reimplement as lshrsi3_r0.
5750
5e847ded 57512012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5752
5753 PR target/46191
5754 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5755 of libgcc.a.
5756
7995ce5f 57572012-09-07 Teresa Johnson <tejohnson@google.com>
5758
cfaba078 5759 PR gcov-profile/54487
7995ce5f 5760 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
cfaba078 5761 differences.
7995ce5f 5762
fd28e216 57632012-09-05 Georg-Johann Lay <avr@gjlay.de>
5764
5765 PR target/54461
5766 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5767 not configured --with-avrlibc=no.
5768 * config/avr/t-avrlibc: New file.
5769 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5770 (DPBIT_FUNCS): Ditto.
5771 (TPBIT_FUNCS): Ditto.
5772
2688cb90 57732012-09-04 Teresa Johnson <tejohnson@google.com>
5774
5775 * libgcov.c (struct gcov_summary_buffer): New structure.
5776 (gcov_histogram_insert): New function.
5777 (gcov_compute_histogram): Ditto.
5778 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5779 histograms during summary merging.
5780
51796b3a 57812012-09-01 Mark Kettenis <kettenis@openbsd.org>
5782
5783 * config.host (x86_64-*-openbsd*): New target.
d152ae90 5784
d36db932 57852012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5786
5787 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5788 attribute.
5789
d87654c8 57902012-08-24 Georg-Johann Lay <avr@gjlay.de>
5791
5792 PR target/54222
5793 * config/avr/t-avr (conv_X): Rename to func_X.
5794
017c5b98 57952012-08-24 Georg-Johann Lay <avr@gjlay.de>
5796
5797 PR target/54222
5798 * config/avr/lib1funcs-fixed.S: New file.
5799 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5800 after they are used.
5801 (neg2, neg4): New macros.
5802 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5803 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5804 (__umulhisi3): Speed up MUL variant if there is enough flash.
5805 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5806 avr-modes.def.
5807 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5808 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5809 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5810 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5811 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5812 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5813 (LIB2FUNCS_EXCLUDE): Add supported functions.
5814
65bcd545 58152012-08-22 Georg-Johann Lay <avr@gjlay.de>
5816
5817 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5818 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5819 libgcc-s-objects.
5820 * fixed-obj.mk: Only expand dependency if $o is not in
5821 LIB2FUNCS_EXCLUDE.
5822
39166195 58232012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5824
5825 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5826
b78f422e 58272012-08-22 Joseph Myers <joseph@codesourcery.com>
5828
5829 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5830 depend on --enable-shared.
5831 ($(lib1asmfuncs-o)): Use %.vis files independent of
5832 --enable-shared.
5833 * static-object.mk ($(base)$(objext), $(base).vis)
5834 ($(base)_s$(objext)): Use same rules for visibility handling as in
5835 shared-object.mk.
5836
66ef0f44 58372012-08-21 Ian Lance Taylor <iant@google.com>
5838
5839 * config/i386/morestack.S (__morestack_non_split): Increase amount
5840 of space allocated for non-split code stack.
5841
93547515 58422012-08-19 Joseph Myers <joseph@codesourcery.com>
5843
5844 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5845 even if inhibit_libc.
5846
98d22b3c 58472012-08-17 Julian Brown <julian@codesourcery.com>
5848
5849 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5850 -fexceptions -fnon-call-exceptions if not defined.
5851 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5852 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5853
2076ec4b 58542012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5855
5856 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5857 type.
5858
c1420b84 58592012-08-16 David Edelsohn <dje.gcc@gmail.com>
5860
5861 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5862 rs6000/t-slibgcc-aix.
5863
ae5b70d0 58642012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5865
5866 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5867
4ff70f1c 58682012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5869
5870 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5871
464810a0 58722012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5873
5874 PR driver/54171
5875 * Makefile.in (version): Replace top_srcdir with srcdir.
5876
d2c6da38 58772012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5878
5879 * Makefile.in (version): set to BASE-VER file from gcc directory.
5880
a575acb2 58812012-08-01 Nick Clifton <nickc@redhat.com>
5882
5883 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5884 Implements __clrsb for an HImode argument.
5885
3a44f5e6 58862012-07-31 Nick Clifton <nickc@redhat.com>
5887
5888 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5889 Implements __clrsb for an HImode argument.
5890 * config/stormy16/clrsbhi2.c: New file:
5891 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5892
56b17dd7 58932012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5894
5895 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5896
8ad0b530 58972012-07-19 Tristan Gingold <gingold@adacore.com>
5898 Richard Henderson <rth@redhat.com>
5899
5900 * unwind-seh.c: New file.
5901 * unwind-generic.h: Include windows.h for SEH.
5902 (_Unwind_Exception): Use 6 private fields for SEH.
5903 (_GCC_specific_handler): Declare.
5904 * unwind-c.c (__gcc_personality_seh0): New function.
5905 Adjust for SEH.
5906 * config/i386/libgcc-cygming.ver: New file.
5907 * config/i386/t-seh-eh: New file.
5908 * config.host (x86_64-*-mingw*): Default to seh.
5909
017bf976 59102012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5911
5912 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5913
6f24586e 59142012-06-17 Uros Bizjak <ubizjak@gmail.com>
5915
5916 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5917 __builtin_expect when checking for exceptions.
5918 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5919
1927db1f 59202012-06-13 Uros Bizjak <ubizjak@gmail.com>
5921
7b9088d5 5922 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5923 function declaration.
5924 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5925 (FP_RND_MASK): New.
5926 * config/ia64/sfp-exceptions.c: New.
5927 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
1927db1f 5928
c3576308 59292012-06-13 Uros Bizjak <ubizjak@gmail.com>
5930
5931 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5932 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5933 * config/i386/64/sfp-machine: ... (delete here) ...
5934 * config/i386/sfp-machine.h: ... to here.
5935 (FP_EX_MASK): Remove.
5936 (FP_RND_MASK): New.
5937 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5938
725b956c 59392012-06-11 Sriraman Tallam <tmsriram@google.com>
5940
5941 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5942 * config/i386/libgcc-sol2.ver: Ditto.
5943 * config/i386/libgcc-glibc.ver: Ditto.
5944
026e608e 59452012-06-11 Roland McGrath <mcgrathr@google.com>
5946
5947 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5948 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5949 pthread_cancel.
5950
2c223cf2 59512012-06-09 Uros Bizjak <ubizjak@gmail.com>
5952
5953 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5954 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5955 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5956 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5957 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5958 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5959 * config/i386/64/sfp-machine: ... (delete here) ...
5960 * config/i386/sfp-machine.h: ... to here.
5961 (FP_EX_MASK): New.
5962 (__sfp_handle_exceptions): New function declaration.
5963 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5964 * config/i386/sfp-exceptions.c: New.
5965 * config/i386/t-softfp: New.
5966 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5967 i386/t-softfp to tmake_file.
5968
620803f2 59692012-06-03 David S. Miller <davem@davemloft.net>
5970
5971 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5972 change.
5973
38ef0978 59742012-05-31 David S. Miller <davem@davemloft.net>
5975
5976 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5977 multiply and divide instructions on 32-bit when V9.
5978 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5979
e1c346e5 59802012-05-29 Joseph Myers <joseph@codesourcery.com>
5981
5982 * config/arm/ieee754-df.S: Fix typos.
5983 * config/arm/ieee754-sf.S: Fix typos.
5984 * config/c6x/libunwind.S: Fix typos.
5985 * config/epiphany/udivsi3-float.c: Fix typos.
5986 * config/microblaze/muldi3_hard.S: Fix typos.
5987 * config/picochip/adddi3.S: Fix typos.
5988 * config/picochip/ashlsi3.S: Fix typos.
5989 * config/picochip/ashrsi3.S: Fix typos.
5990 * config/picochip/clzsi2.S: Fix typos.
5991 * config/picochip/cmpsi2.S: Fix typos.
5992 * config/picochip/divmod15.S: Fix typos.
5993 * config/picochip/divmodhi4.S: Fix typos.
5994 * config/picochip/divmodsi4.S: Fix typos.
5995 * config/picochip/longjmp.S: Fix typos.
5996 * config/picochip/lshrsi3.S: Fix typos.
5997 * config/picochip/parityhi2.S: Fix typos.
5998 * config/picochip/popcounthi2.S: Fix typos.
5999 * config/picochip/setjmp.S: Fix typos.
6000 * config/picochip/subdi3.S: Fix typos.
6001 * config/picochip/ucmpsi2.S: Fix typos.
6002 * config/picochip/udivmodhi4.S: Fix typos.
6003 * config/picochip/udivmodsi4.S: Fix typos.
6004 * config/spu/divv2df3.c: Fix typos.
6005 * config/spu/mfc_multi_tag_release.c: Fix typos.
6006 * config/spu/mfc_tag_release.c: Fix typos.
6007 * configure.ac: Fix typos.
6008 * configure: Regenerate.
6009
4bb0c596 60102012-05-25 Ian Lance Taylor <iant@google.com>
6011
6012 * config/i386/morestack.S (__morestack_non_split): Check whether
6013 caller is varargs and needs %bp to hold the stack frame on return.
6014
05b6028a 60152012-05-25 Olivier Hainque <hainque@adacore.com>
6016
6017 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6018 sequence in the non pic case on VxWorks.
6019
de055a8b 60202012-05-24 Olivier Hainque <hainque@adacore.com>
6021
05c265fe 6022 * Makefile.in: Move dependency on install-unwind_h from
de055a8b 6023 "install-leaf" to "install".
6024
511797dd 60252012-05-24 Olivier Hainque <hainque@adacore.com>
6026
6027 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6028 Use a separate command for stamp removals.
6029
c05436a7 60302012-05-21 Andrew Pinski <apinski@cavium.com>
6031
6032 PR bootstrap/53183
6033 * configure.ac: Define the default includes to being none.
6034 * configure: Regenerate.
6035
0e0bcebd 60362012-05-16 Olivier Hainque <hainque@adacore.com>
6037
6038 * Makefile.in (install-unwind_h): Rename into ...
6039 (install-unwind_h-forbuild): New target.
6040 (all): Use it instead of the former install-unwind_h.
6041 (install-unwind_h): Reinstate, copy to user install destination
6042 for include files, not to the internal gcc object directory one.
6043 (install-leaf): Depend on it.
6044
4ea72f7b 60452012-05-15 Olivier Hainque <hainque@adacore.com>
6046
6047 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6048 register numbers. LR_REGNO replaces R_LR.
6049 (ucontext_for): New, helper for ...
6050 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6051 and 5.3 of ...
6052 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6053
98c9b52b 60542012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6055
6056 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6057 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6058 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6059 i386/t-cpuinfo ...
6060 (i[34567]86-*-*, x86_64-*-*): ... here.
6061
6062 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6063 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6064
6065 * config/i386/i386-cpuinfo.c: Rename to ...
6066 * config/i386/cpuinfo.c: ... this.
6067 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6068
6069 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6070 (libgcc_cv_init_priority): New test.
6071 * configure: Regenerate.
6072 * config.in: New file.
6073 * Makefile.in (clean): Rename config.h to auto-target.h.
6074 (config.h): Likewise.
6075 (stamp-h): Likewise.
6076
6077 * config/i386/cpuinfo.c (auto-target.h): Include.
6078 (CONSTRUCTOR_PRIORITY): Define.
6079 (__cpu_indicator_init): Use it.
6080
a7534247 60812012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6082
6083 * longlong.h: Use a URL instead of an FSF postal address.
6084 Replace spaces with tab.
6085
7b9088d5 60862012-05-08 Teresa Johnson <tejohnson@google.com>
4ef7becb 6087
6088 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6089 (__gcov_dump): Ditto.
6090 (gcov_dump_complete): New global variable.
6091 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6092 (__gcov_flush): Outline functionality now in gcov_clear.
6093 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6094
416e60e6 60952012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6096
4bb0c596 6097 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6098 (mips*-*-linux*): Include mips/t-tpbit when long double is
6099 16 bytes long.
416e60e6 6100
d79cfc15 61012012-04-25 Sriraman Tallam <tmsriram@google.com>
6102
6103 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6104 (get_available_features): New argument. Check for AVX2.
6105 (__cpu_indicator_init): Modify call to get_available_features.
6106
cef20746 61072012-04-25 Alan Modra <amodra@gmail.com>
6108
6109 * config/rs6000/crtsavevr.S: New file.
6110 * config/rs6000/crtrestvr.S: New file.
6111 * config/rs6000/t-savresfgpr: Build the above.
6112 * config/rs6000/t-netbsd: Likewise.
6113
0a166714 61142012-04-24 Sriraman Tallam <tmsriram@google.com>
6115
6116 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6117
f0fd108f 61182012-04-24 Sriraman Tallam <tmsriram@google.com>
6119
6120 * libgcc/config/i386/i386-cpuinfo.c: New file.
6121 * libgcc/config/i386/t-cpuinfo: New file.
6122 * libgcc/config.host: Include t-cpuinfo.
6123 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6124
394bef3f 61252012-04-24 Chao-ying Fu <fu@mips.com>
6126
6127 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6128
5617a3db 61292012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6130
6131 struct siginfo vs. siginfo_t
6132
6133 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6134 siginfo_t instead of struct siginfo.
6135 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6136 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6137 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6138 (ia64_handle_unwabi): Likewise.
6139 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6140 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6141 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6142 (sh_fallback_frame_state): Likewise.
6143 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6144 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6145
49a280b5 61462012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6147
6148 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6149 system call number.
6150
6c760a69 61512012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6152
6153 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6154 if it hasn't been previously saved.
6155
59e4072c 61562012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6157
6158 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6159 only for glibc.
6160
d32d7e3a 61612012-03-28 Georg-Johann Lay <avr@gjlay.de>
6162
6163 PR target/52737
6164 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6165 instead of __AVR_HAVE_8BIT_SP__.
6166
6aadb6e2 61672012-03-26 Tristan Gingold <gingold@adacore.com>
6168
6169 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6170 (unw_table_entry): Use unw_word instead of unsigned long.
6171 (_Unwind_FindTableEntry): Likewise.
6172 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6173 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6174 (_Unwind_FindTableEntry): Likewise.
6175 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6176 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6177 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6178 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6179 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6180 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6181 (uw_init_context_1, uw_install_context): Likewise.
6182 (unw_word): Move to unwind-ia64.h
6183
784576c7 61842012-03-26 Tristan Gingold <gingold@adacore.com>
6185
6186 * config/vms/vms-ucrt0.c: Update copyright years.
6187 Add a sanity check.
6188 (___gcc_main_flags): Declare.
6189 (__main): Check flags to remap argv and exit code.
6190 * config.host (*-*-*vms*): Adjust extra_parts.
6191 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6192 (crt0.o): Add.
6193
483ac460 61942012-03-22 Richard Earnshaw <rearnsha@arm.com>
6195
6196 * arm/lib1funcs.asm (ctzsi2): New function.
6197 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6198 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6199 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6200 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6201 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6202 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6203
bdd1ee48 62042012-03-21 Andreas Tobler <andreast@fgznet.ch>
6205
6206 * config.host: Add bits to support powerpc64-*-freebsd*.
6207 * config/rs6000/freebsd-unwind.h: New file.
6208 * config/rs6000/t-freebsd64: New file.
6209
df85f61c 62102012-03-20 Richard Guenther <rguenther@suse.de>
6211
6212 PR gcov-profile/52627
6213 * libgcov.c (init_mx): Fix mutex name.
6214
46da3ce5 62152012-03-16 Tristan Gingold <gingold@adacore.com>
6216
6217 * config/ia64/vms-unwind.h: Remove ulong (and replace
6218 it by unw_reg where used). Define unw_reg with __int64.
6219
264a5d11 62202012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6221
6222 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6223 Solaris 8 handling.
6224 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6225 Solaris 8 handling.
6226 (sparc_is_sighandler): Likewise.
6227
42b3e3d6 62282012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6229
6230 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6231 <= saved reg size.
6232
c2c4377d 62332012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6234
6235 * config/arm/crtn.S: Fix typo.
6236
3f2da048 62372012-03-13 Richard Guenther <rguenther@suse.de>
6238
6239 * libgcov.c: Remove stdio.h include and NULL un-define.
6240
b4e1521f 62412012-03-13 Richard Guenther <rguenther@suse.de>
6242
6243 PR target/52569
6244 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6245
1d110375 62462012-03-13 Richard Guenther <rguenther@suse.de>
6247
6248 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6249
0e6ad699 62502012-03-13 Richard Guenther <rguenther@suse.de>
6251
6252 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6253 and __gthread_mutex_init_function definitions.
6254
1f7e141e 62552012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6256
6257 * config.host (mips*-*-openbsd*): Remove.
6258
126b6848 62592012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6260
6261 * config.host: Remove alpha*-dec-osf5.1* handling.
6262 * config/alpha/gthr-posix.c: Remove.
6263 * config/alpha/libgcc-osf5.ver: Remove.
6264 * config/alpha/osf5-unwind.h: Remove.
6265 * config/alpha/t-osf-pthread: Remove.
6266 * config/alpha/t-slibgcc-osf: Remove.
6267 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6268 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6269 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6270 * mkmap-flat.awk: Remove osf_export handling.
6271
2e7d9be1 62722012-03-12 Richard Guenther <rguenther@suse.de>
6273
6274 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6275 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6276 (__gthread_mutex_init_function): New function.
6277 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6278
6279 PR gcov/49484
6280 * libgcov.c: Include gthr.h.
6281 (__gcov_flush_mx): New global variable.
6282 (init_mx, init_mx_once): New functions.
6283 (__gcov_flush): Protect self with a mutex.
6284 (__gcov_fork): Re-initialize mutex after forking.
6285 * unwind-dw2-fde.c: Change condition under which to use
6286 __GTHREAD_MUTEX_INIT_FUNCTION.
6287
8f852c44 62882012-03-12 Tristan Gingold <gingold@adacore.com>
6289
6290 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6291 * config/ia64/t-vms: Likewise.
6292
04d5d0ad 62932012-03-11 Michael Hope <michael.hope@linaro.org>
6294
7b9088d5 6295 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6296 for Thumb-2.
04d5d0ad 6297
3d14844b 62982012-03-07 Walter Lee <walt@tilera.com>
6299
6300 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6301 "arch_atomic_".
6302 (atomic_xor): Rename and move definition to
6303 config/tilepro/atomic.h.
6304 (atomic_nand): Ditto.
6305 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6306 "arch_atomic_".
6307 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6308 (arch_atomic_nand): Ditto.
6309
3abce231 63102012-03-07 Georg-Johann Lay <avr@gjlay.de>
6311
6312 PR target/52507
6313 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6314
ee3ce577 63152012-03-07 Georg-Johann Lay <avr@gjlay.de>
6316
6317 PR target/52505
6318 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6319 from RAM.
6320
be20cbdd 63212012-03-07 Georg-Johann Lay <avr@gjlay.de>
6322
6323 PR target/52461
6324 PR target/52508
6325 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6326 if RAMPZ affects reading from RAM.
6327 (__tablejump_elpm__): Ditto.
6328 (.xload): Ditto.
6329 (__movmemx_hi): Ditto.
6330 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6331 (__do_global_dtors): Ditto.
6332 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6333 (__movmemx_hi): Ditto.
6334
e9b46b49 63352012-03-05 Richard Henderson <rth@redhat.com>
6336
6337 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6338 [ARM] (count_trailing_zeros): Use the builtin.
6339
2da7d23a 63402012-03-01 Kai Tietz <ktietz@redhat.com>
6341
6342 * soft-fp: Imported from glibc upstream.
6343
ed67de04 63442012-02-28 Kai Tietz <ktietz@redhat.com>
6345
6346 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6347 for mingw-targets as attribute gcc_struct.
6348
154b49cd 63492012-02-28 Ian Lance Taylor <iant@google.com>
6350
6351 * generic-morestack.c (__splitstack_releasecontext): Correct call
6352 to __morestack_release_segments.
6353
8d2259c8 63542012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6355
6356 PR target/52390
6357 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6358 for __linux__ when removing signals from __morestack_fullmask.
6359
97e18ae2 63602012-02-23 Georg-Johann Lay <avr@gjlay.de>
6361
6362 PR target/52261
6363 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6364
c3dd2023 63652012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6366
6367 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6368 instead of HAVE_INITFINI_ARRAY.
6369 * config/ia64/crtend.S: Likewise.
6370
7ed6dbef 63712012-02-20 Kai Tietz <ktietz@redhat.com>
6372
52cec843 6373 PR libstdc++/52300
6374 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6375
7ed6dbef 6376 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6377 to w32-unwind.h header.
6378
6a8f7b8b 63792012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6380
6381 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6382 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6383 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6384 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6385
7db87803 63862012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6387
6388 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6389
d114e642 63902012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6391
6392 PR libitm/52220
6393 * config/darwin-crt-tm.c: Correct typo.
154b49cd 6394
b8f45854 63952012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6396 Patrick Marlier <patrick.marlier@gmail.com>
6397
6398 PR libitm/52220
6399 * config/darwin-crt-tm.c: Generate dummy functions.
6400
621d0dd2 64012012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6402 Patrick Marlier <patrick.marlier@gmail.com>
6403
6404 PR libitm/52042
6405 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6406 (__doTMRegistrations): Call it.
154b49cd 6407 (__doTMdeRegistrations): Likewise.
621d0dd2 6408
0b6cf66f 64092012-01-15 Georg-Johann Lay <avr@gjlay.de>
92e91d03 6410 Anatoly Sokolov <aesok@post.ru>
6411 Eric Weddington <eric.weddington@atmel.com>
0b6cf66f 6412
6413 PR target/52261
6414 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6415 (__epilogue_restores__): Ditto.
6416
99e0a0ad 64172012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6418
6419 PR target/51921
6420 PR target/52205
6421 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6422 Solaris 11 and slightly reformat.
6423 (sparc_is_sighandler): Likewise.
6424
7ce78e23 64252012-02-14 Walter Lee <walt@tilera.com>
6426
6427 * config.host: Handle tilegx and tilepro.
6428 * config/tilegx/sfp-machine.h: New file.
6429 * config/tilegx/sfp-machine32.h: New file.
6430 * config/tilegx/sfp-machine64.h: New file.
6431 * config/tilegx/t-crtstuff: New file.
6432 * config/tilegx/t-softfp: New file.
6433 * config/tilegx/t-tilegx: New file.
6434 * config/tilepro/atomic.c: New file.
6435 * config/tilepro/atomic.h: New file.
6436 * config/tilepro/linux-unwind.h: New file.
6437 * config/tilepro/sfp-machine.h: New file.
6438 * config/tilepro/softdivide.c: New file.
6439 * config/tilepro/softmpy.S: New file.
6440 * config/tilepro/t-crtstuff: New file.
6441 * config/tilepro/t-tilepro: New file.
6442
f47763a6 64432012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6444
6445 PR libstdc++/51296
6446 PR libstdc++/51906
6447 * gthr-posix.h: Allow static initializer macros to be disabled.
6448 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6449
674cb359 64502012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6451
6452 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6453 Add t-slibgcc-libgcc to tmake_file.
6454 * config/mips/libgcc-mips16.ver: Revert previous patch.
6455 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6456
92e91d03 64572012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6458 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b9fdd12b 6459
6460 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6461 * config/cr16/crti.S: New file.
6462 * config/cr16/crtlibid.S: New file.
6463 * config/cr16/crtn.S: New file.
6464 * config/cr16/lib1funcs.S: New file.
6465 * config/cr16/t-cr16: New file.
6466 * config/cr16/t-crtlibid: New file.
6467 * config/cr16/unwind-dw2.h: New file.
6468 * config/cr16/unwind-cr16.c: New file.
6469 * config/cr16/divmodhi3.c: New file.
6470
01cdc5b2 64712012-01-25 Alan Modra <amodra@gmail.com>
6472
6473 * config/rs6000/t-linux64: Delete. Move..
6474 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6475 * config/rs6000/t-linux: ..and libgcc flags to here.
6476
af8e12d0 64772012-01-22 Douglas B Rupp <rupp@gnat.com>
6478
6479 * config.host (i[34567]86-*-interix3*):
01cdc5b2 6480 Change triplet to i[34567]86-*-interix[3-9]*.
af8e12d0 6481 * configure: Regenerate.
6482
a657080a 64832012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6484 Richard Sandiford <rdsandiford@googlemail.com>
6485
6486 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6487 * config/mips/mips16.S (__mips16_rdhwr): New function.
6488 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6489
72e76fa0 64902012-01-11 Nathan Sidwell <nathan@acm.org>
6491
6492 * libgcov.c (__gcov_init): Ignore objects with no functions.
6493
ed2541ea 64942012-01-10 Georg-Johann Lay <avr@gjlay.de>
6495
6496 PR target/49868
6497 Extend __pgmx semantics to linearize memory.
6498 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6499 * config/avr/lib1funcs.S (__xload_1): New function.
6500 (__movmemx_qi, __movmemx_hi): New functions.
6501 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6502 semantics.
ddf97006 6503
6e647e51 65042012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6505
6506 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6507 purported sigacthandler address isn't null before dereferencing it.
6508 (sparc_is_sighandler): Likewise.
6509
af185b18 65102012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6511
6512 PR ada/41929
6513 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6514 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6515 (sparc_is_sighandler): Likewise.
6516 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6517
2ff958e6 65182012-01-06 Tristan Gingold <gingold@adacore.com>
6519
6520 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6521 compatibility thunks...
6522 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6523 (crtbeginS.o, crtendS.o): ... and these to ...
6524 * config/ia64/t-ia64-elf: ... this new file.
6525 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6526 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6527
ce94380e 65282012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6529
6530 * configure: Regenerate.
6531 * config/s390/t-crtstuff: Remove -fPIC.
6532
ca4c7704 65332012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6534
6535 PR bootstrap/51006
6536 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6537 for NetBSD.
6538
b32bc361 65392012-01-02 Georg-Johann Lay <avr@gjlay.de>
6540
6541 PR target/51345
6542 * config/avr/lib1funcs.S: Remove FIXME comments.
6543 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6544
83921eda 65452012-01-02 Georg-Johann Lay <avr@gjlay.de>
6546
6547 Implement light-weight DImode support.
6548 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6549 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6550 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6551 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6552
6071b85b 65532011-12-30 Nathan Sidwell <nathan@acm.org>
6554
6555 * libgcov.c (gcov_crc32): Remove global var.
6556 (free_fn_data): New function.
6557 (buffer_fn_data): Pass in filename, more robust error recovery.
6558 (crc32_unsigned): New function.
6559 (gcov_exit): More robust detection of new program. More robust
6560 error recovery.
6561 (__gcov_init): Do not update program's crc here.
6562
611b540a 65632011-12-21 Tristan Gingold <gingold@adacore.com>
6564
6565 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6566
ddf97006 65672011-12-21 Ian Lance Taylor <iant@google.com>
6568
6569 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6570
0d84f164 65712011-12-20 Ian Lance Taylor <iant@google.com>
6572
6573 * config/i386/morestack.S (__morestack_non_split): If there is
6574 enough stack space already, don't split. Ask for more stack space
6575 than we required.
6576
d77ac56d 65772011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6578
6579 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6580 `sys/sdt.h'.
6581 (_Unwind_DebugHook): New function.
6582 (uw_restore_core_regs): New define.
6583 (unwind_phase2): Use uw_restore_core_regs instead of
6584 restore_core_regs.
6585 (unwind_phase2_forced): Likewise.
6586 (__gnu_Unwind_Resume): Likewise.
6587
80898d14 65882011-12-20 Uros Bizjak <ubizjak@gmail.com>
6589
6590 * config/alpha/linux-unwind.h: Update copyright years.
6591 (MD_FROB_UPDATE_CONTEXT): New define.
6592 (alpha_frob_update_context): New function.
6593
20dbbfaf 65942011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6595
6596 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6597 tmake_file rather replacing it.
6598
d42ef213 65992011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6600
6601 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
80898d14 6602 function is not used for PPC64.
d42ef213 6603 (save_world): Amend comments. Update the VRsave mask to reflect the
6604 saved regs.
6605 (rest_world): Update comments, do not clobber r10, do not use r8.
6606 (eh_rest_world_r10): Amend comments, do not use r8.
6607 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6608 no longer used, move restore of CR and target address to the end of
6609 the routine.
6610
3efc00f6 66112011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6612
6613 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6614 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6615
fa0431fa 66162011-12-14 Georg-Johann Lay <avr@gjlay.de>
6617
6618 PR target/49313
6619 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6620 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6621
18e6a060 66222011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6623
6624 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6625
0dcd7d21 66262011-12-09 Georg-Johann Lay <avr@gjlay.de>
6627
6628 PR target/49313
6629 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6630 * config/avr/lib1funcs.S (__muldi3): New function.
6631
a41e0f2d 66322011-12-06 Andrew Pinski <apinski@cavium.com>
6633
6634 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6635 size of func_ptr.
6636 (__frame_dummy_init_array_entry): Likewise.
6637
8c8193e1 66382011-12-06 Georg-Johann Lay <avr@gjlay.de>
6639
6640 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6641
6642 PR target/51345
6643 PR target/51002
6644 * config/avr/lib1funcs.S (__prologue_saves__,
6645 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6646 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6647
e2306166 66482011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6649
6650 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6651
61437698 66522011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6653
6654 PR other/51272
6655 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6656 (_ITM_deregisterTMCloneTable): Likewise.
6657 (__register_frame_info): Fix unused warning.
6658 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6659 pthread_default_stacksize_np): Likewise.
6660 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
80898d14 6661
78e515f7 66622011-11-29 DJ Delorie <dj@redhat.com>
6663
6664 * config.host (rl78-*-elf): New case.
6665 * config/rl78: New directory for the Renesas RL78.
6666
adce431d 66672011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6668
6669 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6670 formatting.
6671
738c50b8 66722011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6673
6674 PR other/51022
6675 * config/rs6000/t-savresfgpr: New file.
6676 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6677 $(srcdir)/config/rs6000/eabi.S.
6678 * config/rs6000/t-ppccomm-ldbl: Remove.
6679 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6680 tmake_file.
6681 (powerpc-*-eabispe*): Likewise.
6682 (powerpc-*-eabi*): Likewise.
6683 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6684 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6685 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6686 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6687 tmake_file.
6688 (powerpc-*-eabisim*): Likewise.
6689 (powerpc-*-elf*): Likewise.
6690 (powerpc-*-eabialtivec*): Likewise.
6691 (powerpc-xilinx-eabi*): Likewise.
6692 (powerpc-*-rtems*): Likewise.
6693 (powerpcle-*-elf*): Likewise.
6694 (powerpcle-*-eabisim*): Likewise.
6695 (powerpcle-*-eabi*): Likewise.
6696
bda4944f 66972011-11-27 Ian Lance Taylor <iant@google.com>
6698
6699 * generic-morestack.c (__splitstack_find): Check for NULL old
6700 stack value.
6701 (__splitstack_resetcontext): New function.
6702 (__splitstack_releasecontext): New function.
6703 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6704
00b708da 67052011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6706
6707 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6708
7c66781a 67092011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6710
6711 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6712
5bb27b7c 67132011-11-26 Richard Henderson <rth@redhat.com>
6714
6715 * config/m68k/linux-atomic.c: New file.
6716 * config/m68k/t-linux: New file.
6717 * config.host (m68k-uclinux, m68k-linux): Use it.
6718
d9ca835b 67192011-11-26 Richard Henderson <rth@redhat.com>
6720
6721 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6722 (__TMC_END__): Only declare if hidden is available; in the definition,
6723 if hidden is unavailable add a null record.
6724 (deregister_tm_clones, register_tm_clones): New.
6725 (__do_global_dtors_aux, frame_dummy): Use them.
6726 (__do_global_dtors, __do_global_ctors_1): Likewise.
6727
8f8ba4fc 67282011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6729
6730 * config/darwin-crt-tm.c: New file.
6731 * config.host (darwin): Build crttms.o crttme.o to provide
6732 startup and shutdown for tm clones.
6733 * config/t-darwin (crttms.o): New build rule.
6734 (crttme.o): Likewise.
6735
e426aa2b 67362011-11-21 Hans-Peter Nilsson <hp@axis.com>
6737
6738 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6739 et al.
6740
2d171408 67412011-11-21 Richard Henderson <rth@redhat.com>
6742
6743 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6744 (__TMC_LIST__, __TMC_END__): New.
6745 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6746 (__do_global_dtors): Likewise.
6747 (frame_dummy): Call _ITM_registerTMCloneTable.
6748 (__do_global_ctors_1): Likewise.
6749
08417926 67502011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6751
6752 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6753 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6754 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6755 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6756 * config/i386/t-darwin64: Remove.
6757 * config/sh/t-netbsd (LIB2ADD): Remove.
6758
cde39152 67592011-11-21 Georg-Johann Lay <avr@gjlay.de>
6760
6761 PR target/49313
6762 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6763 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6764 * config/avr/lib1funcs.S (wmov): New assembler macro.
6765 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6766 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6767 (__udivmod64): New function.
6768 (__negdi2): New function.
6769
30957bde 67702011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6771
6772 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6773 *-*-freebsd*aout*): Remove.
6774
a504f092 67752011-11-20 Hans-Peter Nilsson <hp@axis.com>
6776
6777 * static-object.mk (c_flags-$o): Save c_flags.
6778 ($(base)$(objext)): Use it.
6779
31da0b3d 67802011-11-18 Steve Ellcey <sje@cup.hp.com>
6781
6782 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6783
5bd39e93 67842011-11-18 Georg-Johann Lay <avr@gjlay.de>
6785
6786 PR target/49868
6787 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6788 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6789 New functions.
6790
a3bfd5b2 67912011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6792
6793 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6794 functions.
80898d14 6795 (aeabi_uidivmod): Likewise.
a3bfd5b2 6796 (umodsi3): Likewise.
6797 (divsi3): Likewise.
6798 (aeabi_idivmod): Likewise.
6799 (modsi3): Likewise.
6800
3512ee5b 68012011-11-16 Tristan Gingold <gingold@adacore.com>
6802
6803 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6804
4202ef11 68052011-11-15 Georg-Johann Lay <avr@gjlay.de>
6806
6807 PR target/49868
6808 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6809 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6810
ab4fdb3d 68112011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6812
6813 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6814 tmake_file list.
6815 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6816 * config/pa/t-stublib64: Delete.
6817
eee57ca7 68182011-11-12 Richard Henderson <rth@redhat.com>
6819
6820 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6821 cast the pointer argument to _Unwind_SetGRPtr.
6822
0c74e0e8 68232011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6824
6825 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6826
23371076 68272011-11-09 Ian Lance Taylor <iant@google.com>
6828
6829 * generic-morestack.c: Include <string.h>.
6830 (uintptr_type): Define.
6831 (struct initial_sp): Add dont_block_signals field. Reduce size of
6832 extra array by 1.
6833 (allocate_segment): Set prev field to NULL. Don't set
6834 __morestack_current_segment or __morestack_segments.
6835 (__generic_morestack): Update current->prev and *pp after calling
6836 allocate_segment.
6837 (__morestack_block_signals): Don't do anything if
6838 dont_block_signals is set.
6839 (__morestack_unblock_signals): Likewise.
6840 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6841 uintptr_type.
6842 (__splitstack_block_signals): New function.
6843 (enum __splitstack_content_offsets): Define.
6844 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6845 (__splitstack_makecontext): New function.
6846 (__splitstack_block_signals_context): New function.
6847 (__splitstack_find_context): New function.
6848 * config/i386/morestack.S (__morestack_get_guard): New function.
6849 (__morestack_set_guard, __morestack_make_guard): New functions.
6850 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6851
2d00fffd 68522011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6853
6854 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6855 (i[34567]86-*-mingw*): ... here.
6856 (x86_64-*-mingw*): ... here.
6857
6886ca41 68582011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6859
6860 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6861
5014df5d 68622011-11-07 Nathan Sidwell <nathan@acm.org>
6863
6864 * libgcov.c (struct gcov_fn_buffer): New struct.
6865 (buffer_fn_data): New helper.
6866 (gcov_exit): Rework for new gcov data structures.
6867
702a5eec 68682011-11-07 Georg-Johann Lay <avr@gjlay.de>
6869
6870 PR target/49313
6871 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6872
2219274c 68732011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6874
6875 * config.host (tmake_file): Correct comment.
6876 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6877 t-libgcc-pic.
6878 (bfin*-uclinux*): Likewise.
6879 (bfin*-linux-uclibc*): Likewise.
6880 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6881
6882 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6883 assigning.
6884 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6885 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6886 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6887 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6888 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6889 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6890 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6891 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6892 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6893 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6894 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6895 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6896 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6897
6898 * config/bfin/t-elf: Remove.
6899 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6900
fbb6f195 69012011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6902
6903 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6904 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6905 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6906 (lm32-*-elf*): ... this.
6907 (lm32-*-rtems*): ... and this.
6908 Add to tmake_file.
6909 (m32r-*-rtems*): Add to tmake_file.
6910 (moxie-*-rtems*): Likewise.
6911 (sparc-*-rtems*): Likewise.
6912 Remove t-rtems from tmake_file.
6913 (sparc64-*-rtems*): Likewise.
6914 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6915 instead.
6916
7336fab9 69172011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6918
6919 PR bootstrap/50982
6920 * config/gthr-posix.h: Move ...
6921 * gthr-posix.h: ... here.
6922 * config/gthr-lynx.h: Reflect this.
6923 * config/gthr-vxworks.h: Likewise.
6924 * config/rs6000/gthr-aix.h: Likewise.
6925 * configure.ac (target_thread_file): Likewise.
6926 * configure: Regenerate.
6927
6c10eb68 69282011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6929
6930 * config.host (arm*-*-rtemseabi*): New target.
6931
3fe1f35b 69322011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6933
6934 PR other/50991
6935 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6936 extra-parts.
6937
d19f5793 69382011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6939
6940 * config.host (epiphany-*-elf*): New configuration.
6941 * config/epiphany: New Directory.
6942
02c5dcd9 69432011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6944
6945 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6946 * config/avr/t-rtems: New.
6947 Filter out _exit from LIB1ASMFUNCS.
6948
f3223c0b 69492011-11-04 David S. Miller <davem@davemloft.net>
6950
6951 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6952 * configure: Rebuild.
6953
994652ec 69542011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6955
6956 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6957 variable.
6958
02d9a2c3 69592011-11-04 Georg-Johann Lay <avr@gjlay.de>
6960
6961 PR target/50931
6962 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6963 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6964
81b973fe 69652011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6966
6967 PR target/50989
6968 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6969
ae1b140e 69702011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6971
6972 * config/c6x/t-elf (LIB2ADDEH): Set.
6973 * config/c6x/t-c6x-elf: Remove.
6974
0a76a5ff 69752011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6976
6977 * config/i386/sol2-ci.S: Rename to ...
6978 * config/i386/crti.S: ... this.
6979 * config/i386/sol2-cn.S: Rename to ...
6980 * config/i386/crtn.S: ... this.
6981 * config/sparc/sol2-ci.S: Rename to ...
6982 * config/sparc/crti.S: ... this.
6983 * config/sparc/sol2-cn.S: Rename to ...
6984 * config/sparc/crtn.S: ... this.
6985 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6986 (crti.o, crtn.o): Remove.
6987
26f2feff 69882011-11-04 Tristan Gingold <gingold@adacore.com>
6989
6990 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6991
131667b5 69922011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6993
6994 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6995
af64ed6f 69962011-11-03 Hans-Peter Nilsson <hp@axis.com>
6997
6998 * config.host (crisv32-*-none, cris-*-none): Remove.
6999 (crisv32-*-elf): Append to tmake_file, don't just set it.
7000 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7001
4dad46bd 70022011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7003
7004 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7005 (ecrtn$(objext)): Likewise.
7006 (ncrti$(objext)): Likewise.
7007 (ncrtn$(objext)): Likewise.
7008
37626bf8 70092011-11-03 Andreas Schwab <schwab@redhat.com>
7010
7011 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7012
95de80bc 70132011-11-02 David S. Miller <davem@davemloft.net>
7014
7015 * configure.ac: Set host_address on sparc too.
7016 * configure: Regenerate.
7017 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7018 based upon host_address.
7019 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7020
b5347955 70212011-11-02 Jason Merrill <jason@redhat.com>
7022
7023 * config/rs6000/t-ppccomm: Add missing \.
7024
630d52ca 70252011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7026
7027 * gthr-single.h, gthr.h: New files.
7028 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7029 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7030 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7031 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7032 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7033 * configure.ac (thread_header): New variable.
7034 Set it depending on target_thread_file.
7035 (gthr-default.h): Link from $thread_header.
7036 * configure: Regenerate.
7037 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7038
022a2799 70392011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7040
7041 * configure.ac (tm_file_): New variable.
7042 Determine from tm_file.
7043 (tm_file, tm_defines): Substitute.
7044 * configure: Regenerate.
7045 * mkheader.sh: New file.
7046 * Makefile.in (clean): Remove libgcc_tm.h.
7047 ($(objects)): Depend on libgcc_tm.h.
7048 (libgcc_tm_defines, libgcc_tm_file): New variables.
7049 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7050 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7051 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7052 ($(extra-parts)): Depend on libgcc_tm.h.
7053 * config.host (tm_defines, tm_file): New variable.
7054 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7055 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7056 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7057 (avr-*-rtems*): Likewise.
7058 (avr-*-*): Likewise.
7059 (frv-*-elf): Likewise.
7060 (frv-*-*linux*): Likewise.
7061 (h8300-*-rtems*): Likewise.
7062 (h8300-*-elf*): Likewise.
7063 (i[34567]86-*-darwin*): Likewise.
7064 (x86_64-*-darwin*): Likewise.
7065 (rx-*-elf): Likewise.
7066 (tic6x-*-uclinux): Likewise.
7067 (tic6x-*-elf): Likewise.
7068 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7069 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7070 * config/i386/cygming-crtbegin.c: Likewise.
7071 * config/i386/cygming-crtend.c: Likewise.
7072 * config/ia64/fde-vms.c: Likewise.
7073 * config/ia64/unwind-ia64.c: Likewise.
7074 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7075 * config/rs6000/darwin-fallback.c: Likewise.
7076 * config/stormy16/lib2funcs.c: Likewise.
7077 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7078 * crtstuff.c: Likewise.
7079 * dfp-bit.h: Likewise.
7080 * emutls.c: Likewise.
7081 * fixed-bit.c: Likewise.
7082 * fp-bit.c: Likewise.
7083 * generic-morestack-thread.c: Likewise.
7084 * generic-morestack.c: Likewise.
7085 * libgcc2.c: Likewise.
7086 * libgcov.c: Likewise.
7087 * unwind-dw2-fde-dip.c: Likewise.
7088 * unwind-dw2-fde.c: Likewise.
7089 * unwind-dw2.c: Likewise.
7090 * unwind-sjlj.c: Likewise.
7091
4dc4ff49 70922011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7093
7094 * configure.ac: Include ../config/picflag.m4.
7095 (GCC_PICFLAG): Call it.
7096 Substitute.
7097 * configure: Regenerate.
7098 * Makefile.in (gcc_srcdir): Remove.
7099 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7100 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7101 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7102 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7103 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7104 Use $<.
7105 Remove comment.
7106 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7107 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7108 to refer to libgcc2.c.
7109 Use $<.
7110 * config/darwin-64.c: New file.
7111 * config/darwin-crt3.c: Remove comment.
7112 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7113 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7114 config/udivmodsi4.c: New files.
7115 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7116 config/memset.c: New files.
7117 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7118 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7119 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7120 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7121 * config/t-openbsd-thread: New file.
7122 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7123 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7124 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7125 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7126 qrnnd.S.
7127 Adapt filename.
7128 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7129 to refer to gthr-posix.c.
7130 * config/alpha/t-vms (LIB2ADD): Set.
7131 * config/alpha/vms-gcc_shell_handler.c: New file.
7132 * config/arm/bpabi.c, config/arm/fp16.c,
7133 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7134 config/arm/unaligned-funcs.c: New files.
7135 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7136 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7137 * config/arm/t-linux: Likewise.
7138 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7139 * config/arm/t-netbsd: New file.
7140 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7141 * config/arm/t-symbian (LIB2ADD_ST): Set.
7142 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7143 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7144 * config/bfin/t-elf: New file.
7145 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7146 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7147 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7148 config/c6x/ltf.c: New files.
7149 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7150 (HOST_LIBGCC2_CFLAGS): Set.
7151 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7152 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7153 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7154 New files.
7155 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7156 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7157 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7158 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7159 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7160 files.
7161 * config/frv/t-frv (LIB2ADD): Set.
7162 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7163 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7164 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7165 config/h8300/popcounthi2.c: New files.
7166 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7167 * config/i386/gthr-win32.c: New file.
7168 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7169 * config/i386/t-cygwin: Likewise.
7170 * config/i386/t-darwin, config/i386/t-darwin64,
7171 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7172 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7173 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7174 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7175 * config/ia64/quadlib.c: New file.
7176 * config/ia64/t-hpux (LIB2ADD): Set.
7177 * config/ia64/t-ia64: Add comment.
7178 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7179 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7180 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7181 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7182 * config/m32c/t-m32c (LIB2ADD): Set.
7183 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7184 * config/m32r/t-m32r: Likewise.
7185 * config/m68k/fpgnulib.c: New file.
7186 * config/m68k/t-floatlib (LIB2ADD): Set.
7187 (xfgnulib.c): New target.
7188 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7189 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7190 * config/mep/t-mep (LIB2ADD): Set.
7191 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7192 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7193 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7194 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7195 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7196 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7197 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7198 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7199 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7200 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7201 New files.
7202 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7203 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7204 * config/pa/fptr.c, config/pa/lib2funcs.S,
7205 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7206 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7207 (LIB2ADD, LIB2ADD_ST): Set.
7208 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7209 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7210 Set.
7211 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7212 * config/pdp11/t-pdp11: New file.
7213 * config/picochip/libgccExtras/adddi3.S,
7214 config/picochip/libgccExtras/ashlsi3.S,
7215 config/picochip/libgccExtras/ashrsi3.S,
7216 config/picochip/libgccExtras/clzsi2.S,
7217 config/picochip/libgccExtras/cmpsi2.S,
7218 config/picochip/libgccExtras/divmod15.S,
7219 config/picochip/libgccExtras/divmodhi4.S,
7220 config/picochip/libgccExtras/divmodsi4.S,
7221 config/picochip/libgccExtras/lshrsi3.S,
7222 config/picochip/libgccExtras/parityhi2.S,
7223 config/picochip/libgccExtras/popcounthi2.S,
7224 config/picochip/libgccExtras/subdi3.S,
7225 config/picochip/libgccExtras/ucmpsi2.S,
7226 config/picochip/libgccExtras/udivmodhi4.S,
7227 config/picochip/libgccExtras/udivmodsi4.S: New files.
7228 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7229 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7230 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7231 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7232 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7233 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7234 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7235 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7236 files.
7237 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7238 (HOST_LIBGCC2_CFLAGS): Set.
7239 * config/rs6000/t-darwin64: New file.
7240 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7241 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7242 * config/rs6000/t-ppccomm (LIB2ADD): Add
7243 $(srcdir)/config/rs6000/tramp.S.
7244 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7245 Add $(srcdir)/config/rs6000/eabi.S.
7246 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7247 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7248 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7249 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7250 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7251 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7252 * config/rs6000/tramp.S: New file.
7253 * config/s390/t-tpf: Remove.
7254 * config/sh/linux-atomic.S: New file.
7255 * config/sh/t-linux (LIB2ADD): Set.
7256 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7257 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7258 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7259 to unwind-dw2.c.
7260 (HOST_LIBGCC2_CFLAGS): Set.
7261 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7262 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7263 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7264 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7265 config/spu/mfc_multi_tag_release.c,
7266 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7267 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7268 config/spu/multi3.c: New files.
7269 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7270 (HOST_LIBGCC2_CFLAGS): Set.
7271 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7272 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7273 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7274 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7275 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7276 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7277 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7278 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7279 config/stormy16/umodsi3.c: New files.
7280 * config/xtensa/lib2funcs.S: New file.
7281 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7282 * config/xtensa/t-xtensa (LIB2ADD): Set.
7283 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7284 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7285 Add t-freebsd-thread to tmake_file for posix threads.
7286 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7287 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7288 (*-*-lynxos*): Likewise.
7289 (*-*-netbsd*): Likewise.
7290 (*-*-openbsd*): Likewise.
7291 Add t-openbsd-thread to tmake_file for posix threads.
7292 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7293 (*-*-vxworks*): Set tmake_file.
7294 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7295 (alpha*-*-freebsd*): Likewise.
7296 (alpha*-*-netbsd*): Likewise.
7297 (alpha*-*-openbsd*): Likewise.
7298 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7299 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7300 (alpha*-dec-*vms*): Likewise.
7301 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7302 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7303 (bfin*-uclinux*): Likewise.
7304 (bfin*-linux-uclibc*): Likewise.
7305 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7306 (crisv32-*-none): Likewise.
7307 (cris-*-elf): Likewise.
7308 (cris-*-none): Likewise.
7309 (cris-*-linux*, crisv32-*-linux*): Likewise.
7310 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7311 tmake_file.
7312 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7313 tmake_file.
7314 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7315 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7316 (x86_64-*-elf*): Likewise.
7317 (i[34567]86-*-nto-qnx*): Likewise.
7318 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7319 win32 threads.
7320 (x86_64-*-mingw*): Likewise.
7321 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7322 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7323 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7324 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7325 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7326 tmake_file.
7327 (mipsisa64sr71k-*-elf*): Likewise.
7328 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7329 (mips-*-elf*, mipsel-*-elf*): Likewise.
7330 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7331 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7332 (mips*-*-rtems*): Likewise.
7333 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7334 to tmake_file.
7335 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7336 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7337 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7338 (spu-*-elf*): Likewise.
7339 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7340
9213d2eb 73412011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7342
7343 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7344 $(srcdir) to refer to $(LIB1ASMSRC).
7345 Use $<.
7346 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7347 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7348 config/arm/lib1funcs.S: New files.
7349 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7350 * config/arm/t-arm: New file.
7351 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7352 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7353 config/arm/t-strongarm-elf: New files.
7354 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7355 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7356 * config/avr/lib1funcs.S: New file.
7357 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7358 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7359 * config/c6x/lib1funcs.S: New file.
7360 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7361 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7362 * config/frv/lib1funcs.S: New file.
7363 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7364 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7365 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7366 * config/ia64/__divxf3.asm: Rename to ...
7367 * config/ia64/__divxf3.S: ... this.
7368 Adapt lib1funcs.asm filename.
7369 * config/ia64/_fixtfdi.asm: Rename to ...
7370 * config/ia64/_fixtfdi.S: ... this.
7371 Adapt lib1funcs.asm filename.
7372 * config/ia64/_fixunstfdi.asm: Rename to ...
7373 * config/ia64/_fixunstfdi.S: ... this.
7374 Adapt lib1funcs.asm filename.
7375 * config/ia64/_floatditf.asm: Rename to ...
7376 * config/ia64/_floatditf.S: ... this.
7377 Adapt lib1funcs.asm filename.
7378 * config/ia64/lib1funcs.S: New file.
7379 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7380 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7381 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7382 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7383 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7384 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7385 * config/mep/lib1funcs.S: New file.
7386 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7387 * config/mips/mips16.S: New file.
7388 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7389 * config/pa/milli64.S: New file.
7390 * config/pa/t-linux, config/pa/t-linux64: New files.
7391 * config/picochip/lib1funcs.S: New file.
7392 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7393 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7394 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7395 * config/sh/t-netbsd: New file.
7396 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7397 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7398 * config/sh/t-sh64: New file.
7399 * config/sparc/lb1spc.S: New file.
7400 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7401 filename.
7402 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7403 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7404 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7405 config/xtensa/lib1funcs.S: New files.
7406 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7407 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7408 tmake_file.
7409 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7410 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7411 (arm*-*-linux*): Likewise.
7412 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7413 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7414 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7415 (arm*-*-ecos-elf): Likewise.
7416 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7417 (arm*-*-rtems*): Likewise.
7418 (arm*-*-elf): Likewise.
7419 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7420 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7421 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7422 (bfin*-uclinux*): Likewise.
7423 (bfin*-linux-uclibc*): Likewise.
7424 (bfin*-rtems*): Likewise.
7425 (bfin*-*): Likewise.
7426 (fido-*-elf): Merge into m68k-*-elf*.
7427 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7428 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7429 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7430 (h8300-*-elf*): Likewise.
7431 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7432 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7433 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7434 (i[34567]86-*-mingw*): Likewise.
7435 (x86_64-*-mingw*): Likewise.
7436 (i[34567]86-*-interix3*): Likewise.
7437 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7438 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7439 (m68k-*-elf*): Also handle fido-*-elf.
7440 Add m68k/t-floatlib to tmake_file.
7441 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7442 (m68k-*-linux*): Likewise.
7443 (m68k-*-rtems*): Likewise.
7444 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7445 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7446 sh64*-*-*.
7447 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7448 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7449 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7450 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7451 sh/t-netbsd to tmake_file.
7452 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7453 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7454 (sh-wrs-vxworks): Likewise.
7455 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7456 *-leon[3-9]*.
7457 (v850*-*-*): Add v850/t-v850 to tmake_file.
7458 (vax-*-linux*): Add vax/t-linux to tmake_file.
7459 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7460
237490bf 74612011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7462
7463 * crtstuff.c: New file.
7464 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7465 (CRTSTUFF_T_CFLAGS): Define.
7466 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7467 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7468 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7469 crtstuff.c.
7470 Use $<.
7471 (crtbeginT.o): Use $(objext).
7472 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7473 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7474 (gcc-extra-parts): Remove.
7475 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7476 Set extra_parts.
7477 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7478 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7479 Add t-crtstuff-pic to tmake_file.
7480 (*-*-lynxos*): New case.
7481 Set tmake_file, extra_parts.
7482 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7483 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7484 *-*-netbsdelf[2-9]*.
7485 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7486 (*-*-rtems*): Set extra_parts.
7487 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7488 (*-*-uclinux*): New case.
7489 Set extra_parts.
7490 (*-*-vms*): New case.
7491 Set tmake_file, extra_parts.
7492 (*-*-elf): Set extra_parts.
7493 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7494 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7495 vms/t-vms64.
7496 Set extra_parts.
7497 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7498 Set extra_parts.
7499 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7500 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7501 (arm-wrs-vxworks): Append to tmake_file.
7502 Set extra_parts.
7503 (arm*-*-uclinux*): Set extra_parts.
7504 (arm*-*-ecos-elf): Likewise.
7505 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7506 arm*-*-eabi*.
7507 (arm*-*-rtems*): Set extra_parts.
7508 (arm*-*-elf): Likewise.
7509 (avr-*-rtems*): Clear extra_parts.
7510 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7511 Set extra_parts.
7512 (bfin*-uclinux*): Likewise.
7513 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7514 (bfin*-rtems*): Append to tmake_file.
7515 Set extra_parts.
7516 (bfin*-*): Likewise.
7517 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7518 (crisv32-*-elf): ... this.
7519 (crisv32-*-none): ... this.
7520 (cris-*-elf, cris-*-none): New cases.
7521 Add cris/t-elfmulti to tmake_file.
7522 (fr30-*-elf): Append to tmake_file.
7523 Set extra_parts.
7524 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7525 Set extra_parts.
7526 (h8300-*-rtems*): Append to tmake_file.
7527 Set extra_parts.
7528 (h8300-*-elf*): Likewise.
7529 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7530 Set extra_parts.
7531 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7532 Set extra_parts.
7533 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7534 (x86_64-*-elf*): Likewise.
7535 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7536 (x86_64-*-freebsd*): Likewise.
7537 (x86_64-*-netbsd*): Likewise.
7538 (i[34567]86-*-linux*): Likewise.
7539 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7540 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7541 (x86_64-*-linux*): Likewise.
7542 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7543 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7544 tmake_file.
7545 Set extra_parts.
7546 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7547 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7548 Append to extra_parts, remove crtbegin.o, crtend.o.
7549 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7550 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7551 crtend.o, crtbeginS.o, crtendS.o.
7552 (ia64*-*-linux*): Comment extra_parts.
7553 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7554 Set extra_parts.
7555 (iq2000*-*-elf*): Clear extra_parts.
7556 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7557 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7558 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7559 (m32r-*-rtems*): ... this.
7560 Add m32r/t-m32r to tmake_file.
7561 (m68k-*-elf*): Add t-crtin to tmake_file.
7562 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7563 (mcore-*-elf): Likewise.
7564 (microblaze*-*-*): Set extra_parts.
7565 (mips*-sde-elf*): New case.
7566 Set tmake_file, extra_parts.
7567 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7568 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7569 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7570 tmake_file.
7571 Set extra_parts.
7572 (mipsisa64sr71k-*-elf*): Likewise.
7573 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7574 (mips-*-elf*, mipsel-*-elf*): Likewise.
7575 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7576 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7577 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7578 (mips*-*-rtems*): Likewise.
7579 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7580 (moxie-*-*): Split into ...
7581 (moxie-*-elf, moxie-*-uclinux*): ... this.
7582 Add to extra_parts, remove crtbegin.o, crtend.o.
7583 (moxie-*-rtems*): New case.
7584 Set tmake_file.
7585 Clear extra_parts.
7586 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7587 Set extra_parts.
7588 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7589 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7590 tmake_file.
7591 Set extra_parts.
7592 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7593 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7594 Set extra_parts.
7595 (powerpc-*-eabisim*): Likewise.
7596 (powerpc-*-elf*): Likewise.
7597 (powerpc-*-eabialtivec*): Likewise.
7598 (powerpc-xilinx-eabi*): Likewise.
7599 (powerpc-*-eabi*): Likewise.
7600 (powerpc-*-rtems*): Likewise.
7601 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7602 tmake_file.
7603 Set extra_parts.
7604 (powerpc-*-lynxos*): Add to tmake_file.
7605 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7606 rs6000/t-crtstuff, t-crtstuff-pic.
7607 Set extra_parts.
7608 (powerpcle-*-eabisim*): Likewise.
7609 (powerpcle-*-eabi*): Likewise.
7610 (rx-*-elf): Remove extra_parts.
7611 (s390x-ibm-tpf*): Set extra_parts.
7612 (score-*-elf): Set extra_parts.
7613 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7614 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7615 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7616 (sh64l*-*-netbsd*): Split into ...
7617 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7618 Add t-crtstuff-pic to tmake_file.
7619 Set extra_parts.
7620 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7621 Set extra_parts.
7622 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7623 (sparc-*-elf*): Remove t-crtin from tmake_file.
7624 Add to extra_parts, remove crtbegin.o, crtend.o.
7625 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7626 (sparc64-*-linux*): Likewise.
7627 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7628 Add to extra_parts, remove crtbegin.o, crtend.o.
7629 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7630 Add to extra_parts, remove crtbegin.o, crtend.o.
7631 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7632 Add to extra_parts, remove crtbegin.o, crtend.o.
7633 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7634 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7635 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7636 Set extra_parts.
7637 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7638 Set extra_parts.
7639 (tic6x-*-*): Change to ...
7640 (tic6x-*-elf): ... this.
7641 Set extra_parts.
7642 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7643 Set extra_parts.
7644 (am33_2.0-*-linux*): Add comment.
7645 (mep*-*-*): Add mep/t-mep to tmake_file.
7646 Set extra_parts.
7647 * config/alpha/t-vms: New file.
7648 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7649 * config/arm/crti.S, config/arm/crtn.S: New files.
7650 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7651 * config/bfin/crtlibid.S: New file.
7652 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7653 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7654 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7655 (crti.o, crtin.o): New rules.
7656 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7657 * config/c6x/t-uclinux: New file.
7658 * config/cris/t-elfmulti: New file.
7659 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7660 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7661 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7662 * config/frv/t-frv: New file.
7663 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7664 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7665 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7666 New files.
7667 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7668 refer to cygming-crtbegin.c, cygming-crtend.c.
7669 Use $<.
7670 * config/i386/t-nto: New file.
7671 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7672 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7673 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7674 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7675 Use .S extension.
7676 Use $<.
7677 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7678 (crtinitS.o): New rule.
7679 * config/ia64/vms-crtinit.S: New file.
7680 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7681 * config/m32r/initfini.c: New file.
7682 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7683 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7684 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7685 * config/mep/t-mep: New file.
7686 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7687 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7688 * config/mips/crti.S, config/mips/crtn.S: New files.
7689 * config/mips/t-crtstuff: New file.
7690 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7691 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7692 (CUSTOM_CRTIN): Set.
7693 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7694 dependencies.
7695 Use $(srcdir) to refer to crti.S, crtn.S.
7696 Use .S extension, $<.
7697 * config/moxie/crti.asm: Rename to ...
7698 * config/moxie/crti.S: ... this.
7699 * config/moxie/crtn.asm: Rename to ...
7700 * config/moxie/crtn.S: ... this.
7701 * config/moxie/t-moxie: Remove.
7702 * config/pa/stublib.c: New file.
7703 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7704 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7705 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7706 * config/rs6000/t-crtstuff: New file.
7707 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7708 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7709 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7710 Make output file explicit.
7711 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7712 Make output file explicit.
7713 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7714 Make output file explicit.
7715 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7716 Make output file explicit.
7717 * config/score/crti.S, config/score/crtn.S: New files.
7718 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7719 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7720 files.
7721 * config/sh/t-sh, config/sh/t-superh: New files.
7722 * config/sparc/t-linux64: New file.
7723 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7724 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7725 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7726 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7727 * config/t-crtin: Remove.
7728 * config/t-crtstuff-pic: New file.
7729 * config/t-sol2 (CUSTOM_CRTIN): Set.
7730 (crti.o, crtn.o): New rules.
7731 * config/vms/t-vms: New file.
7732 * config/vms/vms-ucrt0.c: New file.
7733 * config/xtensa/t-elf: New file.
7734
a997b0d8 77352011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7736
7737 * Makefile.in (SHLIB_NM_FLAGS): Set.
7738 * mkmap-flat.awk, mkmap-symver.awk: New files.
7739 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7740 exceptions.
7741 * configure: Regenerate.
7742 * config/libgcc-glibc.ver: New file.
7743 * config/libgcc-libsystem.ver: New file.
7744 * config/t-libunwind (SHLIB_LC): Set.
7745 * config/t-linux: New file.
7746 * config/t-slibgcc (INSTALL_SHLIB): New.
7747 (SHLIB_INSTALL): Use it.
7748 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7749 to mkmap-symver.awk.
7750 (SHLIB_MAPFILES): Don't append, adapt pathname.
7751 (SHLIB_VERPFX): Set.
7752 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7753 to mkmap-symver.awk.
7754 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7755 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7756 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7757 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7758 to mkmap-flat.awk.
7759 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7760 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7761 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7762 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7763 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7764 * config/i386/libgcc-darwin.10.4.ver,
7765 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7766 New files.
7767 * config/i386/t-darwin: Remove.
7768 * config/i386/t-darwin64: Likewise.
7769 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7770 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7771 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7772 * config/i386/t-linux: New file.
7773 * config/i386/t-mingw32: New file.
7774 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7775 * config/ia64/t-glibc: Rename to ...
7776 * config/ia64/t-linux: ... this.
7777 (SHLIB_MAPFILES): Set.
7778 * config/ia64/t-glibc-libunwind: Rename to ...
7779 * config/ia64/t-linux-libunwind: ... this.
7780 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7781 * config/ia64/t-slibgcc-hpux: New file.
7782 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7783 * config/m68k/t-slibgcc-elf-ver: New file.
7784 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7785 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7786 to mkmap-flat.awk.
7787 * config/pa/t-slibgcc-hpux: New file.
7788 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7789 files.
7790 * config/rs6000/libgcc-darwin.10.4.ver,
7791 config/rs6000/libgcc-darwin.10.5.ver: New files.
7792 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7793 config/rs6000/libgcc-glibc.ver.
7794 * config/rs6000/libgcc-ppc64.ver: Rename to
7795 config/rs6000/libgcc-ibm-ldouble.ver.
7796 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7797 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7798 * config/rs6000/t-ldbl128: Rename to ...
7799 * config/rs6000/t-linux: ... this.
7800 (SHLIB_MAPFILES): Adapt filename.
7801 * config/rs6000/t-slibgcc-aix: New file.
7802 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7803 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7804 libgcc-excl.ver, libgcc-glibc.ver.
7805 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7806 * config/sparc/libgcc-glibc.ver: New file.
7807 * config/sparc/t-linux: New file.
7808 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7809 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7810 t-slibgcc-elf-ver to tmake_file.
7811 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7812 *-*-freebsd[34].
7813 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7814 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7815 t-slibgcc-elf-ver, t-linux to tmake_file.
7816 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7817 tmake_file.
7818 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7819 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7820 (alpha*-dec-*vms*): Likewise.
7821 (arm*-*-freebsd*): Append to tmake_file.
7822 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7823 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7824 arm*-*-linux-*eabi.
7825 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7826 tmake_file for arm*-*-symbianelf*.
7827 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7828 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7829 cris/t-linux.
7830 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7831 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7832 pa/t-slibgcc-dwarf-ver to tmake_file.
7833 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7834 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7835 (hppa*64*-*-hpux11*): Likewise.
7836 (hppa[12]*-*-hpux11*): Likewise.
7837 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7838 i386/t-crtpc, i386/t-crtfm.
7839 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7840 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7841 to tmake_file.
7842 Add i386/t-cygwin to tmake_file.
7843 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7844 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7845 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7846 to tmake_file.
7847 Add i386/t-mingw32 to tmake_file.
7848 (x86_64-*-mingw*): Likewise.
7849 (ia64*-*-freebsd*): Append to tmake_file.
7850 (ia64*-*-linux*): Append to tmake_file.
7851 Replace ia64/t-glibc by ia64/t-linux.
7852 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7853 system libunwind.
7854 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7855 t-slibgcc-hpux to tmake_file.
7856 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7857 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7858 (m32rle-*-linux*): Likewise.
7859 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7860 sjlj exceptions.
7861 (microblaze*-linux*): New case.
7862 Append to tmake_file, add t-slibgcc-nolc-override.
7863 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7864 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7865 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7866 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7867 rs6000/t-slibgcc-aix to tmake_file.
7868 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7869 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7870 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7871 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7872 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7873 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7874 sh*-*-linux*.
7875 (sparc-*-linux*): Append to tmake_file for *-leon*.
7876 Add sparc/t-linux to tmake_file for non-Leon targets.
7877 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7878 (tic6x-*-uclinux): New case.
7879 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7880 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7881 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7882 (am33_2.0-*-linux*): Append to tmake_file.
7883 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7884 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7885 x86_64-*-kfreebsd*-gnu.
7886 Add i386/t-linux to tmake_file.
7887
638a95a0 78882011-10-28 Ian Lance Taylor <iant@google.com>
7889
7890 * config/i386/morestack.S: Correct CFI information to do proper
7891 returns throughout function. In 32-bit mode, save %ebx so that it
7892 is restored on unwind.
7893
ef785e44 78942011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7895
7896 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7897 case where B3 isn't the return register.
7898
19b85223 7899 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7900 logic for doubleword pops.
7901
70f50eb0 79022011-10-25 Andreas Tobler <andreast@fgznet.ch>
7903
7904 * config/rs6000/t-freebsd: Add wildcard.
7905
ec2b386c 79062011-10-21 Paul Brook <paul@codesourcery.com>
7907
7908 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7909
b09a3f46 79102011-10-16 Uros Bizjak <ubizjak@gmail.com>
7911 Eric Botcazou <ebotcazou@adacore.com>
7912
7913 PR target/50737
7914 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7915 fs->signal_frame to 1.
7916
8acdf7c6 79172011-10-07 Ian Lance Taylor <iant@google.com>
7918
7919 * generic-morestack-thread.c: #include <errno.h>.
7920
1780e36e 79212011-10-07 Ian Lance Taylor <iant@google.com>
7922
7923 PR target/46093
7924 * generic-morestack.c (__generic_morestack): Make sure the segment
7925 is large enough for both the stack frame and the copied
7926 parameters.
7927
f57fac72 79282011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7929
7930 PR bootstrap/49804
7931 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7932 extra_parts.
7933
6ef008f9 79342011-09-28 Nick Clifton <nickc@redhat.com>
7935
7936 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7937 64-bit doubles are not enabled.
7938 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7939 and floatunsisf functions.
7940
7e5fc0c4 79412011-09-13 Paul Brook <paul@codesourcery.com>
6ef008f9 7942
7e5fc0c4 7943 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7944 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7945 * unwind-arm-common.inc: New file.
7946 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7947 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7948 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7949 * config/c6x/libunwind.S: New file.
7950 * config/c6x/pr-support.c: New file.
7951 * config/c6x/unwind-c6x.c: New file.
7952 * config/c6x/unwind-c6x.h: New file.
7953 * config/c6x/t-c6x-elf: New file.
7954
047a5c56 79552011-08-23 Uros Bizjak <ubizjak@gmail.com>
7956
7957 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7958 (ASM_DIVZERO): Ditto.
7959 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7960
985e908e 79612011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7962
7963 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7964
c1c81358 79652011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
7966
7967 PR target/50090
7968 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7969 instead of an assembly one.
7970
7642fc98 79712011-08-12 Paolo Bonzini <bonzini@gnu.org>
7972
7973 PR bootstrap/50047
7974 * Makefile.in (install-unwind_h): Create
7975 $(gcc_objdir)/include/unwind.h atomically.
7976
392bda6f 79772011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7978
7979 * Makefile.in (install-unwind_h): Remove destination file first.
7980
21889c08 79812011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7982
7983 * sync.c: New file.
7984 * config/mips/t-mips16: New file.
7985 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7986 (mips*-*-linux*): Likewise.
7987 (mips*-sde-elf*): Likewise.
7988 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7989 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7990 Add mips/t-mips16 to tmake_file.
7991 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7992 (mips-*-elf*): Likewise.
7993 (mips64-*-elf*): Likewise.
7994 (mips64orion-*-elf*): Likewise.
7995 (mips*-*-rtems*): Likewise.
7996 (mipstx39-*-elf*): Likewise.
7997 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7998 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7999 LIBGCC_SYNC_CFLAGS.
8000 Use $(srcdir) to refer to sync.c.
8001 Use $<.
8002 ($(libgcc-sync-funcs-o)): Likewise.
8003 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8004 ($(libgcc-sync-funcs-s-o)): Likewise.
8005
3569d462 80062011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8007
8008 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8009 t-libunwind.
8010
e451a093 80112011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8012
8013 PR other/48007
8014 * config/i386/value-unwind.h: New.
8015
ab3bed33 80162011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8017
8018 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8019 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8020 Add to tmake_file rather than overriding it.
8021
84600db5 80222011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8023
8024 * config/t-softfp: Remove.
8025 * soft-fp: Moved from ../gcc/config.
8026 * soft-fp/README: Remove t-softfp reference.
8027 * soft-fp/t-softfp: Move to config/t-softfp.
8028 (softfp_machine_header): Remove.
8029 (softfp_file_list): Remove config subdir.
8030 (soft-fp-objects): New variable.
8031 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8032 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8033 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8034 * config/t-softfp-excl: New file.
8035 * config/t-softfp-sfdf: New file.
8036 * config/t-softfp-tf: New file.
8037 * config/no-sfp-machine.h: New file.
8038 * config/arm/sfp-machine.h: New file.
8039 * config/arm/t-softfp: New file.
8040 * config/c6x/sfp-machine.h: New file.
8041 * config/i386/32/t-fprules-softfp: Rename to ...
8042 * config/i386/32/t-softfp: ... this.
8043 (tifunctions, LIB2ADD): Remove.
8044 (softfp_int_modes): Override.
8045 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8046 subdir.
8047 * config/i386/64/eqtf2.c: Likewise.
8048 * config/i386/64/getf2.c: Likewise.
8049 * config/i386/64/letf2.c: Likewise.
8050 * config/ia64/sft-machine.h: New file.
8051 * config/ia64/t-fprules-softfp: Rename to ...
8052 * config/ia64/t-softfp: ... this.
8053 * config/lm32/sfp-machine.h: New file.
8054 * config/moxie/t-moxie-softfp: Remove.
8055 * config/rs6000/ibm-ldouble-format: New file.
8056 * config/rs6000/ibm-ldouble.c: New file.
8057 * config/rs6000/libgcc-ppc-glibc.ver: New file
8058 * config/rs6000/libgcc-ppc64.ver: New file
8059 * config/rs6000/sfp-machine.h: New file.
8060 * config/rs6000/t-freebsd: New file.
8061 * config/rs6000/t-ibm-ldouble: New file.
8062 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8063 libgcc-ppc-glibc.ver.
8064 * config/rs6000/t-linux64: New file.
8065 * config/rs6000/t-ppccomm (LIB2ADD): Add
8066 $(srcdir)/config/rs6000/ibm-ldouble.c.
8067 * config/rs6000/t-ppccomm-ldbl: New file.
8068 * config/score/sfp-machine.h: New file.
8069 * config.host (sfp_machine_header): Explain.
8070 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8071 t-softfp to tmake_file.
8072 (arm*-*-uclinux*): Likewise.
8073 (arm*-*-ecos-elf): Likewise.
8074 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8075 (arm*-*-rtems*): Likewise.
8076 (arm*-*-elf): Likewise.
8077 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8078 in tmake_file.
8079 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8080 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8081 (lm32-*-uclinux*): Likewise.
8082 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8083 t-softfp-excl, t-softfp.
8084 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8085 (powerpc64-*-darwin*): Likewise.
8086 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8087 to tmake_file.
8088 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8089 tmake_file.
8090 (powerpc-*-eabisim*): Likewise.
8091 (powerpc-*-elf*): Likewise.
8092 (powerpc-*-eabialtivec*): Likewise.
8093 (powerpc-xilinx-eabi*): Likewise.
8094 (powerpc-*-rtems*): Likewise.
8095 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8096 t-softfp-excl, t-softfp to tmake_file.
8097 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8098 rs6000/t-ppccomm-ldbl to tmake_file.
8099 (powerpcle-*-elf*): Likewise.
8100 (powerpcle-*-eabisim*): Likewise.
8101 (powerpcle-*-eabi*): Likewise.
8102 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8103 rs6000/t-ibm-ldouble to tmake_file.
8104 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8105 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8106 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8107 (tic6x-*-*): Likewise.
8108 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8109 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8110 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8111 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8112 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8113 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8114 t-softfp to tmake_file.
8115 * configure.ac (sfp_machine_header): Provide default if unset.
8116 Substitute.
8117 Link sfp-machine.h to config/$sfp_machine_header.
8118 * configure: Regenerate.
8119
a23b9c51 81202011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8121
8122 * Makefile.in (double_type_size, long_double_type_size): Set.
8123 Remove $(fpbit-in-libgcc) support.
8124 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8125 (fpbit-src): New variable.
8126 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8127 Compile with -DFLOAT $(FPBIT_CFLAGS).
8128 Use $<.
8129 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8130 Compile with $(FPBIT_CFLAGS).
8131 Use $<.
8132 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8133 Compile with -DFLOAT $(TPBIT_CFLAGS).
8134 Use $<.
8135 * configure.ac (double_type_size, long_double_type_size):
8136 Determine and substitute.
8137 * configure: Regenerate.
8138 * fp-bit.c, fp-bit.h: New files.
8139 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8140 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8141 * config/mips/t-mips: New file.
8142 * config/mips/t-sdemtk: New file.
8143 * config/rs6000/ppc64-fp.c: New file.
8144 * config/rs6000/t-darwin (LIB2ADD): Add
8145 $(srcdir)/config/rs6000/ppc64-fp.c.
8146 * config/rs6000/t-ppc64-fp: New file.
8147 * config/rx/rx-lib.h: New file.
8148 * config/rx/t-rx (FPBIT): Set to true.
8149 ($(gcc_objdir)/fp-bit.c): Remove.
8150 (DPBIT): Set to true only with -m64bit-doubles.
8151 ($(gcc_objdir)/dp-bit.c): Remove.
8152 * config/sparc/t-softfp: Remove.
8153 * config/spu/t-elf: New file.
8154 * config/t-fdpbit, config/t-fpbit: New files.
8155 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8156 (mips*-*-*): Likewise.
8157 (arm-wrs-vxworks): Likewise.
8158 (arm*-*-freebsd*): Likewise.
8159 (avr-*-rtems*): Add t-fpbit to tmake_file.
8160 (avr-*-*): Likewise.
8161 (bfin*-elf*): Add t-fdpbit to tmake_file.
8162 (bfin*-uclinux*): Likewise.
8163 (bfin*-linux-uclibc*): Likewise.
8164 (bfin*-rtems*): New case.
8165 Add t-fdpbit to tmake_file.
8166 (bfin*-*): Add t-fdpbit to tmake_file.
8167 (crisv32-*-elf): Likewise.
8168 (cris-*-linux*): Likewise.
8169 (fr30-*-elf): Likewise.
8170 (frv-*-elf, frv-*-*linux*): Likewise.
8171 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8172 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8173 (m32r-*-elf*): Likewise.
8174 (m32rle-*-elf*): Likewise.
8175 (m32r-*-linux*): Likewise.
8176 (m32rle-*-linux*): Likewise.
8177 (mcore-*-elf): Add t-fdpbit to tmake_file.
8178 (microblaze*-*-*): Likewise.
8179 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8180 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8181 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8182 Fix typo.
8183 Add mips/t-tpbit to tmake-file.
8184 (mips*-*-linux*): Fix typo.
8185 (mips*-sde-elf*): New case
8186 Add mips/t-sdemtk unless using newlib.
8187 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8188 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8189 (mn10300-*-*): Likewise.
8190 (pdp11-*-*): Likewise.
8191 (picochip-*-*): Add t-fpbit to tmake_file.
8192 (powerpc-*-eabisimaltivec*): Likewise.
8193 (powerpc-*-eabisim*): Likewise.
8194 (powerpc-*-elf*): Likewise.
8195 (powerpc-*-eabialtivec*): Likewise.
8196 (powerpc-xilinx-eabi*): New case.
8197 Add t-fdpbit to tmake_file.
8198 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8199 (powerpc-*-rtems*): Likewise.
8200 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8201 tmake_file.
8202 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8203 tmake_file.
8204 (powerpc-*-lynxos*): Likewise.
8205 (powerpcle-*-elf*): Likewise.
8206 (powerpcle-*-eabisim*): Likewise.
8207 (powerpcle-*-eabi*): Likewise.
8208 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8209 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8210 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8211 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8212 (rx-*-elf): Add t-fdpbit to tmake_file.
8213 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8214 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8215 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8216 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8217 sh*-*-netbsd*.
8218 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8219 (sh-wrs-vxworks): Likewise.
8220 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8221 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8222 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8223 (sparc64-*-rtems*): ... new case.
8224 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8225 (spu-*-elf*): Likewise.
8226 Add spu/t-elf to tmake_file.
8227 (v850*-*-*): Add t-fdpbit to tmake_file.
8228 (xstormy16-*-elf): Likewise.
8229 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8230 (mep*-*-*): Likewise.
8231
e59be7e3 82322011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8233
8234 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8235 variables.
8236 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8237 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8238 (install-unwind_h): New target.
8239 (all): Depend on it.
8240 * config.host (unwind_header): New variable.
8241 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8242 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8243 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8244 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8245 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8246 Set unwind_header.
8247 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8248 Set unwind_header.
8249 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8250 arm*-*-eabi*.
8251 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8252 Set unwind_header.
8253 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8254 (ia64*-*-freebsd*): Likewise.
8255 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8256 tmake_file.
8257 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8258 $with_system_libunwind.
8259 (ia64*-*-hpux*): Set tmake_file.
8260 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8261 (picochip-*-*): Set tmake_file.
8262 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8263 md_unwind_header.
8264 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8265 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8266 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8267 (xtensa*-*-elf*): Set tmake_file.
8268 (xtensa*-*-linux*): Likewise.
8269 * configure.ac: Include ../config/unwind_ipinfo.m4.
8270 Call GCC_CHECK_UNWIND_GETIPINFO.
8271 Link unwind.h to $unwind_header.
8272 * configure: Regenerate.
8273 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8274 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8275 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8276 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8277 * config/unwind-dw2-fde-darwin.c: New file.
8278 * config/arm/libunwind.S, config/arm/pr-support.c,
8279 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8280 config/arm/unwind-arm.h,: New files.
8281 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8282 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8283 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8284 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8285 config/ia64/unwind-ia64.h: New files.
8286 * config/picochip/t-picochip: New file.
8287 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8288 files.
8289 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8290 * config/s390/t-tpf (LIB2ADDEH): Remove.
8291 * config/t-darwin (LIB2ADDEH): Set.
8292 * config/t-eh-dw2-dip: New file.
8293 * config/t-libunwind, config/t-libunwind-elf: New files.
8294 * config/t-sol2 (LIB2ADDEH): Remove.
8295 * config/xtensa/t-xtensa: New file.
8296
b57de711 82972011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8298
8299 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8300 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8301 long long to check rt_sigreturn syscall.
8302
9a4af446 83032011-08-02 Alan Modra <amodra@gmail.com>
8304
8305 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8306 Restore for indirect call bcrtl from correct stack slot, and only
8307 if cfa+40 isn't valid.
8308
bbbe4599 83092011-08-01 Julian Brown <julian@codesourcery.com>
8310
8311 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8312 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8313 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8314
ac34b7db 83152011-08-01 Julian Brown <julian@codesourcery.com>
8316
8317 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8318 (libgcc-std.ver.in): Use above.
8319 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8320 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8321 throughout file.
8322 * config/t-fixedpoint-gnu-prefix: New file.
8323 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8324 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8325 instead of __PFX__.
8326
2a7dfa04 83272011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8328
8329 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8330 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8331 for x86-64. Properly check __x86_64__ and __LP64__.
8332
a232cb08 83332010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8334
8335 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8336 version.
8337 (_FP_WS_TYPE): Likewise.
8338 (_FP_I_TYPE): Likewise.
8339
c54e2746 83402011-07-28 Alan Modra <amodra@gmail.com>
8341
8342 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8343 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8344 in a plt call stub. Do restore r2 if stopped on bctrl.
8345
4d72c922 83462011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8347
8348 * config.host (i[3456x]86-*-netware*): Remove.
8349 * config/i386/netware-crt0.c, config/i386/t-nwld,
8350 config/i386/t-slibgcc-nwld: Remove.
8351
5aa04b01 83522011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8353
8354 * config.host: Handle tic6x-*-*.
8355 * config/c6x/c6x-abi.h: New file.
8356
ba079bc9 83572011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8358
8359 * config/i386/crtprec.c: New file.
8360 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8361 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8362 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8363 (x86_64-*-darwin*): Likewise.
8364 (i[34567]86-*-solaris2*: Likewise.
8365
1125ba83 83662011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8367
8368 * config/alpha/crtfastmath.c: New file.
8369 * config/i386/crtfastmath.c: New file.
8370 * config/ia64/crtfastmath.c: New file.
8371 * config/mips/crtfastmath.c: New file.
8372 * config/sparc/crtfastmath.c: New file.
8373
8374 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8375 crtfastmath.c.
8376 Add -frandom-seed=gcc-crtfastmath.
8377 * config/alpha/t-crtfm: Remove.
8378 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8379 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8380
8381 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8382 (alpha*-dec-osf5.1*): Likewise.
8383 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8384 Add crtfastmath.o to extra_parts.
8385 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8386 Add crtfastmath.o to extra_parts.
8387 (x86_64-*-darwin*): Likewise.
8388 (x86_64-*-mingw*): Likewise.
8389 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8390 (ia64*-*-freebsd*): Likewise.
8391 (ia64*-*-linux*): Likewise.
8392 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8393 Add crtfastmath.o to extra_parts.
8394
1a4a11f3 83952011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8396
8397 * config/darwin-crt3.o: New file.
8398 * config/rs6000/darwin-crt2.c: New file.
8399 * config/t-darwin: New file.
8400 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8401 (crt2.o): New rule.
8402 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8403 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8404 (powerpc64-*-darwin*): Likewise.
8405
ef3ab47f 84062011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8407
8408 * config/i386/netware-crt0.c: New file.
8409 * config/i386/t-nwld: Rename to ...
8410 * config/i386/t-slibgcc-nwld: ... this.
8411 * config/i386/t-nwld: New file.
8412 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8413 tmake_file.
8414 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8415 extra_parts.
8416
367b55f3 84172011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8418
8419 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8420 i386/t-crtstuff.
8421 * configure: Regenerate.
8422
17aa03f5 84232011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8424
8425 * dfp-bit.c, dfp-bit.h: New files.
8426 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8427 variables.
8428 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8429 ($(d64pbit-o)): Likewise.
8430 ($(d128pbit-o)): Likewise.
8431 * config/t-dfprules: New file.
8432 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8433 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8434 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8435 (x86_64-*-linux*): Likewise.
8436 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8437 (i[34567]86-*-cygwin*): Likewise.
8438 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8439 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8440
2bc72a9f 84412011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8442
8443 * Makfile.in (LIBGCOV): New variable.
8444 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8445 * libgcov.c: New file.
8446
36a5227d 84472011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8448
8449 * fixed-bit.c, fixed-bit.h: New files.
8450 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8451 refer to fixed-bit.c.
8452
689a8077 84532011-07-07 Joseph Myers <joseph@codesourcery.com>
8454
8455 * config.host (*local*): Remove.
8456
14f27bc6 84572011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8458
8459 PR target/39150
8460 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8461 like i?86-*-solaris2.1[0-9]*.
8462 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8463 * configure.ac (i?86-*-solaris2*): Likewise.
8464 * configure: Regenerate.
8465
fe27820f 84662011-07-06 Thomas Schwinge <thomas@schwinge.name>
8467
8468 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8469 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8470 md_unwind_header by splitting out of...
8471 (i[34567]86-*-linux*): ... this.
8472 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8473 Remove md_unwind_header by splitting out of...
8474 (x86_64-*-linux*): ... this.
8475
934ca5fd 84762011-07-04 Georg-Johann Lay <avr@gjlay.de>
8477
8478 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8479
707238af 84802011-06-28 Nick Clifton <nickc@redhat.com>
8481
8482 * config.host: Recognize all V850 variants.
8483
5125dcef 84842011-06-22 Uros Bizjak <ubizjak@gmail.com>
8485
8486 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8487
f92b36a5 84882011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8489
8490 * shared-object.mk (c_flags-$o): Save c_flags.
8491 ($(base)$(objext)): Use it.
8492 ($(base)_s$(objext)): Likewise.
8493
d8492bd3 84942011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8495
8496 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8497 * libgcc-std.ver.in (GCC_4.7.0): New section.
8498
fa72efb7 84992011-06-16 Georg-Johann Lay <avr@gjlay.de>
5125dcef 8500
fa72efb7 8501 PR target/49313
8502 PR target/29524
8503 * config/avr/t-avr: Fix line endings.
8504 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8505 _parityXX2.
8506
adf7c0a1 85072011-06-14 Olivier Hainque <hainque@adacore.com>
8508 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8509
8510 * config/mips/irix6-unwind.h: New file.
8511 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8512
47529489 85132011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8514
8515 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8516 (sparc64_fallback_frame_state): Use it.
8517 (sparc64_frob_update_context): Further adjust context.
8518 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8519 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8520 * config/sparc/sol2-cn.S: Likewise.
8521
a6f06169 85222011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8523
8524 * enable-execute-stack-empty.c: New file.
8525 * enable-execute-stack-mprotect.c: New file.
8526 * config/i386/enable-execute-stack-mingw32.c: New file.
8527 * config.host (enable_execute_stack): New variable.
8528 Select appropriate variants.
8529 * configure.ac: Link enable-execute-stack.c to
8530 $enable_execute_stack.
8531 * configure: Regenerate.
8532 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8533 (lib2funcs): Remove _enable_execute_stack.
8534
f9cccfac 85352011-06-09 David S. Miller <davem@davemloft.net>
8536 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8537
8538 * config.host (sparc-*-linux*): Correct md_unwind_header
8539 filename.
8540 (s390x-ibm-tpf*): Fix typo.
8541
ee884cfb 85422011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8543
8544 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8545 Add crtfastmath.o to extra_parts.
8546 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8547 mips/t-crtfm.
8548 * config/mips/t-crtfm: Remove.
8549
01cb8ad1 85502011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8551
8552 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8553
73956a0d 85542011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8555
8556 * config.host (sh*-*-linux*): Fix typo.
8557
1e53920f 85582011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8559
8560 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8561 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8562 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8563 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8564 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8565 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8566 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8567 Wrap in !__MINGW64__.
8568 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8569 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8570 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8571 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8572 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8573 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8574 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8575 Wrap in !__LP64__.
8576 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8577 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8578 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8579 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8580 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8581 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8582 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8583 * config/no-unwind.h: New file.
8584 * config.host (md_unwind_header): Document.
8585 Define.
8586 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8587 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8588 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8589 hppa[12]*-*-hpux11*): Set md_unwind_header.
8590 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8591 Set md_unwind_header.
8592 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8593 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8594 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8595 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8596 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8597 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8598 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8599 md_unwind_header.
8600 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8601 * configure: Regenerate.
8602
8087ae75 86032011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8604
8605 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8606 Set tmake_file, extra_parts.
8607 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8608 Remove O32 support.
8609 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8610 Remove O32 support.
8611 * config/mips/t-irix6: New file.
8612 * config/mips/t-slibgcc-irix: New file.
8613
506cfbc8 86142011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8615
8616 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8617 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8618
541346b9 86192011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8620
8621 * configure.ac (target_thread_file): Determine thread model.
8622 * configure: Regenerate.
8623 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8624 * config/alpha/t-alpha: New file.
8625 * config/alpha/t-crtfm: Use $<.
8626 * config/alpha/t-ieee: New file.
8627 * config/alpha/t-osf-pthread: New file.
8628 * config/alpha/t-slibgcc-osf: New file.
8629 * config/alpha/libgcc-osf5.ver: New file.
8630
43ae7603 86312011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8632
8633 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8634 tmake_file.
8635 Add crtfastmath.o to extra_parts.
8636
f0d9a626 86372011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8638
8639 * config/gmon-sol2.c: Reindent.
8640 Cleanup comments.
8641 Remove, correct casts.
8642 Use STDERR_FILENO, NULL.
8643 (BASEADDRESS): Remove.
8644 (minbrk): Remove.
8645 (errno, sbrk): Remove declarations.
8646 (monstartup) [hp300]: Remove.
8647 (mcount): Remove.
8648
63abf89e 86492011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8650
8651 * Makefile.in (cpu_type): Define.
8652 * config.host (i[34567]86-*-rtems*): Handle it.
8653 (i[34567]86-*-solaris2*): Move body ...
8654 (*-*-solaris2*): ... here.
8655 New case, generalize.
8656 (sparc-*-elf*): Handle it.
8657 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8658 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8659 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8660 Fold into ...
8661 (sparc*-*-solaris2*): ... this.
8662 New case.
8663 (sparc64-*-elf*): Handle it.
8664 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8665 Merge ../gcc/config/i386/gmon-sol2.c.
8666 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8667 Use C comments.
8668 Merge ../gcc/config/i386/sol2-gc1.asm.
8669 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8670 Use C comments.
8671 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8672 Use C comments.
8673 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8674 * config/i386/t-crtstuff: New file.
8675 * config/i386/t-softfp: New file.
8676 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8677 $(T)crti.o, $(T)crtn.o): Remove.
8678 (gcrt1.o): New rule.
8679 (TARGET_LIBGCC2_CFLAGS): Remove.
8680 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8681 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8682 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8683 * config/sparc/t-sol2: New file.
8684 * config/sparc/t-crtfm: Move to ...
8685 * config/t-crtfm: ... this.
8686 Use $(cpu_type), $<.
8687 * config/t-crtin: New file.
8688 * config/sparc/t-softfp: New file.
8689 * config/sparc/t-softmul: New file.
8690 * config/t-rtems: New file.
8691 * config/t-slibgcc: New file.
8692 * config/t-slibgcc-elf-ver: New file.
8693 * config/t-slibgcc-gld: New file.
8694 * config/t-slibgcc-sld: New file.
8695 * config/t-sol2: New file.
8696 * configure.ac: Include ../config/lib-ld.m4.
8697 Call AC_LIB_PROG_LD_GNU.
8698 Substitute cpu_type.
8699 * configure: Regenerate.
8700
b1da9d72 87012011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8702
8703 PR bootstrap/49173
8704 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8705 libgcc-std.ver in the build directory.
8706 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8707 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8708
f308a9b2 87092011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8710
8711 * libgcc-std.ver.in: New file.
8712 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8713 variables.
8714 (libgcc-std.ver): New rule.
8715 * config/t-gnu-prefix: New file.
8716
c177b341 87172011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8718
8719 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8720
8633828c 87212011-05-10 Joseph Myers <joseph@codesourcery.com>
8722
8723 * config/i386/darwin-lib.h: New file.
8724
3be74046 87252011-05-10 Joseph Myers <joseph@codesourcery.com>
8726
8727 * config/arm/symbian-lib.h: New.
8728
5e1a494e 87292011-05-04 Chris Demetriou <cgd@google.com>
8730
8731 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8732 (__x86.get_pc_thunk.bx): ...this.
8733 (__morestack): Adjust for rename, remove undef of __i686.
8734
0bb50d04 87352011-05-03 Chris Demetriou <cgd@google.com>
8736
8737 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8738
17b3d2a8 87392011-03-22 Joseph Myers <joseph@codesourcery.com>
8740
8741 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8742 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8743 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8744 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8745 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8746 Remove cases.
8747
95525c17 87482011-03-14 Andreas Tobler <andreast@fgznet.ch>
8749
8750 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8751 Adjust copyright year.
8752
82c96609 87532011-03-07 Ian Lance Taylor <iant@google.com>
8754
8755 * generic-morestack.c (__splitstack_find): Adjust returned stack
8756 pointer to include all registers pushed by __morestack.
8757
abfe0c5b 87582011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8759
8760 PR target/40125
8761 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8762 (toolexecdir): Calculate and AC_SUBST.
8763 (toolexeclibdir): Likewise.
8764 * Makefile.in (target_noncanonical): Import.
8765 (toolexecdir): Likewise.
8766 (toolexeclibdir): Likewise.
8767 * configure: Regenerate.
8768
48f93ee5 87692010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8770
8771 PR target/46040
8772 * config/arm/bpabi.h: Rename to...
8773 * config/arm/bpabi-lib.h: ...this.
8774
76aa642f 87752010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8776
8777 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8778 appropriate.
8779 * configure: Regenerate.
8780
e8b06528 87812010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8782
8783 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8784 __FLOAT_WORD_ORDER__.
8785 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8786 Delete.
8787
2b7a4d59 87882010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8789
8790 PR other/46202
8791 * Makefile.in (install-strip): New phony target.
8792
457123d6 87932010-11-07 Ian Lance Taylor <iant@google.com>
8794
8795 PR target/46089
8796 * config/i386/morestack.S (__morestack_large_model): New
8797 function.
8798
f6e5e456 87992010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8800
8801 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8802 Delete.
8803 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8804
faf175ae 88052010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8806
8807 * config/arm/bpabi.h: New file.
8808 * config/frv/frv-abi.h: New file.
8809
9266176d 88102010-10-01 Ian Lance Taylor <iant@google.com>
8811
8812 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8813 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8814
13ba4217 88152010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8816
8817 PR target/45858
8818 * config.host: Add the missing `$'.
8819
d34b0d1e 88202010-09-30 Michael Eager <eager@eagercon.com>
8821
8822 * config.host: Add microblaze*-*-*.
8823 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8824 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8825 udivsi3.asm,umodsi3.asm}: New.
8826
78ca2689 88272010-09-28 Ian Lance Taylor <iant@google.com>
8828
8829 * configure.ac: Adjust CFI test to test assembler directly rather
8830 than checking gcc preprocessor macro.
8831 * configure: Rebuild.
8832
c9b3ebc5 88332010-09-27 Ian Lance Taylor <iant@google.com>
8834
8835 * configure.ac: Test whether assembler supports CFI directives.
8836 * config.host: Only add t-stack and i386/t-stack-i386 to
8837 tmake_file if libgcc_cv_cfi is "yes".
8838 * configure: Rebuild.
8839
48b14f50 88402010-09-27 Ian Lance Taylor <iant@google.com>
8841
8842 * generic-morestack.h: New file.
8843 * generic-morestack.c: New file.
8844 * generic-morestack-thread.c: New file.
8845 * config/i386/morestack.S: New file.
8846 * config/t-stack: New file.
8847 * config/i386/t-stack-i386: New file.
8848 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8849 i386/t-stack-i386 to tmake_file.
8850
fd80c7a1 88512010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8852
8853 * Makefile.in (libgcc-extra-parts): Check for static archives and
8854 invoke ranlib after installing them.
8855 (gcc-extra-parts): Likewise.
8856 (install-leaf): Likewise.
8857
70fbcd6d 88582010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8859
8860 * configure: Regenerated.
8861
19aace05 88622010-09-10 Kai Tietz <kai.tietz@onevision.com>
8863
70fbcd6d 8864 * configure: Regenerated.
19aace05 8865
279dadf5 88662010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8867 Andrew Pinski <pinskia@gmail.com>
8868
5125dcef 8869 PR target/40959
279dadf5 8870 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8871
a87eb011 88722010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8873
8874 PR target/45524
8875 * configure: Regenerated.
8876
e6425baf 88772010-09-06 Andreas Schwab <schwab@redhat.com>
8878
8879 * configure: Regenerate.
8880
e88f4c66 88812010-09-03 Uros Bizjak <ubizjak@gmail.com>
8882
8883 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8884 64bit targets.
8885 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8886 for 64bit targets.
8887
1d8139cc 88882010-09-03 Uros Bizjak <ubizjak@gmail.com>
8889 Iain Sandoe <iains@gcc.gnu.org>
8890
8891 PR target/45476
8892 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8893 LIB2FUNCS_EXCLUDE functions.
8894
23340821 88952010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8896
8897 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8898 Include dfp.m4.
8899 * configure: Regenerate.
8900
278afeb5 89012010-09-01 Uros Bizjak <ubizjak@gmail.com>
8902
8903 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8904 i386/t-freebsd to tmake_file.
8905 * config/i386/t-freebsd: New file.
8906 * config/i386/libgcc-bsd.ver: New file.
8907
952bf8bb 89082010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8909
8910 * config.host (powerpc*-eabispe*): Set tmake_file.
8911 (powerpc*-eabi*): Likewise.
8912 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8913 crtbeginS, crtendS, crtbeginT.
8914
283681bb 89152010-06-12 Kazu Hirata <kazu@codesourcery.com>
8916
8917 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8918 to tmake_file. Add crtfastmath.o to extra_parts.
8919 * config/mips/t-crtfm: New.
8920
92e91d03 89212010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a6180b96 8922
8923 * config.host (sparc64-*-rtems*): New target.
8924
05157f42 89252010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8926
8927 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8928 assembler syntax.
8929
8a84c748 89302010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8931
8932 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8933
ed3e1bbc 89342010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8935
8936 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8937 alpha-dec-osf5.0* support.
8938
92e91d03 89392010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
432dd419 8940
8941 * config.host: Add lm32-*-rtems*.
8942
20be3c56 89432010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
92e91d03 8944 Uros Bizjak <ubizjak@gmail.com>
20be3c56 8945
8946 PR target/39048
8947 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8948 like other remaining 32-bit x86 OSes.
8949 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8950 assembler syntax.
8951 * config/i386/libgcc-sol2.ver: New file.
8952 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8953
92e91d03 89542010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
8f0f72c0 8955
8956 PR c/43553
8957 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8958 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8959 is used and substitute set_use_emutls.
8960 * configure: Regenerated.
8961
cf842d6a 89622010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8963
8964 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8965
4dcd7ab3 89662010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8967
8968 PR target/38085
8969 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8970 MULTILIB_CFLAGS.
8971 ($(T)gcrt1.o): Likewise.
8972 ($(T)crt1.o): Likewise.
8973 ($(T)crti.o): Likewise.
8974 ($(T)crtn.o): Likewise.
8975
a426f025 89762010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8977
8978 PR other/42980
8979 * Makefile.in (install): Use $(MAKE) string in rule, for
8980 parallel make.
8981
8525326e 89822010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8983
8984 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8985 * config/mmix/t-mmix: New file.
8986 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8987
14a10763 89882010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8989
8990 PR java/41991
8991 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8992 SHLIB_MAPFILES.
8993
00301a1a 89942010-01-04 Anthony Green <green@moxielogic.com>
8995
8996 * config/moxie/crti.asm, config/moxie/crtn.asm,
8997 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8998 config/moxie/t-moxie: New files.
8999 * config.host: Add t-moxie-softfp reference.
9000
92e91d03 90012009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
d2b1aa3d 9002
9003 PR other/39888
9004 * config/t-slibgcc-darwin: Fix embedded rpaths for
9005 --enable-version-specific-runtime-libs, build extension stub
9006 libs exposing features available from current libgcc_s.
9007
92e91d03 90082009-11-11 Jon Beniston <jon@beniston.com>
f6fe91e8 9009
278afeb5 9010 * config.host: Add lm32 targets.
9011 * config/lm32: New directory.
9012 * config/lm32/libgcc_lm32.h: New file.
9013 * config/lm32/_mulsi3.c: New file.
9014 * config/lm32/_udivmodsi4.c: New file.
9015 * config/lm32/_divsi3.c: New file.
9016 * config/lm32/_modsi3.c: New file.
9017 * config/lm32/_udivsi3.c: New file.
9018 * config/lm32/_umodsi3.c: New file.
9019 * config/lm32/_lshrsi3.S: New file.
9020 * config/lm32/_ashrsi3.S: New file.
9021 * config/lm32/_ashlsi3.S: New file.
9022 * config/lm32/crti.S: New file.
9023 * config/lm32/crtn.S: New file.
9024 * config/lm32/t-lm32: New file.
9025 * config/lm32/t-elf: New file.
9026 * config/lm32/t-uclinux: New file.
f6fe91e8 9027
24833e1a 90282009-10-26 Nick Clifton <nickc@redhat.com>
9029
9030 * config.host: Add support for RX target.
9031 * config/rx: New directory.
9032 * config/rx/rx-abi-functions.c: New file. Supplementary
9033 functions for libgcc to support the RX ABI.
9034 * config/rx/rx-abi.h: New file. Supplementary header file for
9035 libgcc RX ABI functions.
9036 * config/rx/t-rx: New file: Makefile fragment for building
9037 libgcc for the RX.
9038
1d7e299f 90392009-10-09 Uros Bizjak <ubizjak@gmail.com>
9040
9041 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9042 constraint of y0 to "g".
9043
e38fe738 90442009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9045
9046 * config.host: Include the s390 makefile fragments.
9047 * config/s390/32/_fixdfdi.c: New file.
9048 * config/s390/32/_fixsfdi.c: New file.
9049 * config/s390/32/_fixtfdi.c: New file.
9050 * config/s390/32/_fixunsdfdi.c: New file.
9051 * config/s390/32/_fixunssfdi.c: New file.
9052 * config/s390/32/_fixunstfdi.c: New file.
9053 * config/s390/32/t-floattodi: New file.
9054 * config/s390/libgcc-glibc.ver: New file.
9055 * config/s390/t-crtstuff: New file.
9056 * config/s390/t-linux: New file.
9057 * config/s390/t-tpf: New file.
9058
81a71e2b 90592009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9060
9061 * configure.ac (AC_PREREQ): Bump to 2.64.
9062
a1ef431d 90632009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9064
9065 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9066
cd9a469c 90672009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9068
9069 * configure: Regenerate.
9070
9b9a2528 90712009-08-09 Douglas B Rupp <rupp@gnat.com>
9072
9073 * config.host (ia64-hp-*vms*): New target.
9074 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9075 with ia64-hp-*vms*.
9076
a2655af1 90772009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9078
9079 * configure.ac: Add snippet for maintainer-mode.
9080 * configure: Regenerate.
9081 * Makefile.in (AUTOCONF, configure_deps): New variables.
9082 ($(srcdir)/configure)): New rule, active only with maintainer
9083 mode turned on.
9084
46222c18 90852009-06-23 DJ Delorie <dj@redhat.com>
9086
9087 Add MeP port.
9088 * config.host: Add mep support.
9089
13dc7657 90902009-06-22 Kai Tietz <kai.tietz@onevision.com>
9091
82a3cc73 9092 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 9093 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
82a3cc73 9094
9095 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9096 for mingw targets.
13dc7657 9097 * config/i386/64/_multc3.c: Likewise.
9098 * config/i386/64/_powitf2.c: Likewise.
9099 * config/i386/64/eqtf2.c: Likewise.
9100 * config/i386/64/getf2.c: Likewise.
9101 * config/i386/64/letf2.c: Likewise.
9102 * config/i386/64/letf2.c: Likewise.
82a3cc73 9103 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9104 unsigned long long for x64 mingw targets.
9105 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9106 (_FP_I_TYPE): Define as long long for x64 mingw target.
13dc7657 9107
63bfd172 91082009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9109
9110 * config.host (vax-*-linux*): New.
9111
be52b6d8 91122009-05-31 Anthony Green <green@moxielogic.com>
9113
9114 * config.host: Add moxie support.
9115 * config/moxie/t-moxie: New file.
9116
92e91d03 91172009-05-29 David Billinghurst <billingd@gcc.gnu.org>
6471e33b 9118
9119 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 9120 t-softfp to tmake_file for i[34567]86-*-cygwin*.
6471e33b 9121
09ec66c8 91222009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9123
9124 * config.host: Add i386/${host_address}/t-fprules-softfp to
9125 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9126
6bc9506f 91272009-04-09 Nick Clifton <nickc@redhat.com>
9128
9129 * config/ia64/tf-signs.c: Change copyright header to refer to
9130 version 3 of the GNU General Public License with version 3.1
9131 of the GCC Runtime Library Exception and to point readers at
9132 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9133 web page.
9134 * config/i386/32/tf-signs.c: Likewise.
9135 * config/libbid/_addsub_dd.c: Likewise.
9136 * config/libbid/_addsub_sd.c: Likewise.
9137 * config/libbid/_addsub_td.c: Likewise.
9138 * config/libbid/_dd_to_df.c: Likewise.
9139 * config/libbid/_dd_to_di.c: Likewise.
9140 * config/libbid/_dd_to_sd.c: Likewise.
9141 * config/libbid/_dd_to_sf.c: Likewise.
9142 * config/libbid/_dd_to_si.c: Likewise.
9143 * config/libbid/_dd_to_td.c: Likewise.
9144 * config/libbid/_dd_to_tf.c: Likewise.
9145 * config/libbid/_dd_to_udi.c: Likewise.
9146 * config/libbid/_dd_to_usi.c: Likewise.
9147 * config/libbid/_dd_to_xf.c: Likewise.
9148 * config/libbid/_df_to_dd.c: Likewise.
9149 * config/libbid/_df_to_sd.c: Likewise.
9150 * config/libbid/_df_to_td.c: Likewise.
9151 * config/libbid/_di_to_dd.c: Likewise.
9152 * config/libbid/_di_to_sd.c: Likewise.
9153 * config/libbid/_di_to_td.c: Likewise.
9154 * config/libbid/_div_dd.c: Likewise.
9155 * config/libbid/_div_sd.c: Likewise.
9156 * config/libbid/_div_td.c: Likewise.
9157 * config/libbid/_eq_dd.c: Likewise.
9158 * config/libbid/_eq_sd.c: Likewise.
9159 * config/libbid/_eq_td.c: Likewise.
9160 * config/libbid/_ge_dd.c: Likewise.
9161 * config/libbid/_ge_sd.c: Likewise.
9162 * config/libbid/_ge_td.c: Likewise.
9163 * config/libbid/_gt_dd.c: Likewise.
9164 * config/libbid/_gt_sd.c: Likewise.
9165 * config/libbid/_gt_td.c: Likewise.
9166 * config/libbid/_isinfd128.c: Likewise.
9167 * config/libbid/_isinfd32.c: Likewise.
9168 * config/libbid/_isinfd64.c: Likewise.
9169 * config/libbid/_le_dd.c: Likewise.
9170 * config/libbid/_le_sd.c: Likewise.
9171 * config/libbid/_le_td.c: Likewise.
9172 * config/libbid/_lt_dd.c: Likewise.
9173 * config/libbid/_lt_sd.c: Likewise.
9174 * config/libbid/_lt_td.c: Likewise.
9175 * config/libbid/_mul_dd.c: Likewise.
9176 * config/libbid/_mul_sd.c: Likewise.
9177 * config/libbid/_mul_td.c: Likewise.
9178 * config/libbid/_ne_dd.c: Likewise.
9179 * config/libbid/_ne_sd.c: Likewise.
9180 * config/libbid/_ne_td.c: Likewise.
9181 * config/libbid/_sd_to_dd.c: Likewise.
9182 * config/libbid/_sd_to_df.c: Likewise.
9183 * config/libbid/_sd_to_di.c: Likewise.
9184 * config/libbid/_sd_to_sf.c: Likewise.
9185 * config/libbid/_sd_to_si.c: Likewise.
9186 * config/libbid/_sd_to_td.c: Likewise.
9187 * config/libbid/_sd_to_tf.c: Likewise.
9188 * config/libbid/_sd_to_udi.c: Likewise.
9189 * config/libbid/_sd_to_usi.c: Likewise.
9190 * config/libbid/_sd_to_xf.c: Likewise.
9191 * config/libbid/_sf_to_dd.c: Likewise.
9192 * config/libbid/_sf_to_sd.c: Likewise.
9193 * config/libbid/_sf_to_td.c: Likewise.
9194 * config/libbid/_si_to_dd.c: Likewise.
9195 * config/libbid/_si_to_sd.c: Likewise.
9196 * config/libbid/_si_to_td.c: Likewise.
9197 * config/libbid/_td_to_dd.c: Likewise.
9198 * config/libbid/_td_to_df.c: Likewise.
9199 * config/libbid/_td_to_di.c: Likewise.
9200 * config/libbid/_td_to_sd.c: Likewise.
9201 * config/libbid/_td_to_sf.c: Likewise.
9202 * config/libbid/_td_to_si.c: Likewise.
9203 * config/libbid/_td_to_tf.c: Likewise.
9204 * config/libbid/_td_to_udi.c: Likewise.
9205 * config/libbid/_td_to_usi.c: Likewise.
9206 * config/libbid/_td_to_xf.c: Likewise.
9207 * config/libbid/_tf_to_dd.c: Likewise.
9208 * config/libbid/_tf_to_sd.c: Likewise.
9209 * config/libbid/_tf_to_td.c: Likewise.
9210 * config/libbid/_udi_to_dd.c: Likewise.
9211 * config/libbid/_udi_to_sd.c: Likewise.
9212 * config/libbid/_udi_to_td.c: Likewise.
9213 * config/libbid/_unord_dd.c: Likewise.
9214 * config/libbid/_unord_sd.c: Likewise.
9215 * config/libbid/_unord_td.c: Likewise.
9216 * config/libbid/_usi_to_dd.c: Likewise.
9217 * config/libbid/_usi_to_sd.c: Likewise.
9218 * config/libbid/_usi_to_td.c: Likewise.
9219 * config/libbid/_xf_to_dd.c: Likewise.
9220 * config/libbid/_xf_to_sd.c: Likewise.
9221 * config/libbid/_xf_to_td.c: Likewise.
9222 * config/libbid/bid128.c: Likewise.
9223 * config/libbid/bid128_2_str.h: Likewise.
9224 * config/libbid/bid128_2_str_macros.h: Likewise.
9225 * config/libbid/bid128_2_str_tables.c: Likewise.
9226 * config/libbid/bid128_add.c: Likewise.
9227 * config/libbid/bid128_compare.c: Likewise.
9228 * config/libbid/bid128_div.c: Likewise.
9229 * config/libbid/bid128_fma.c: Likewise.
9230 * config/libbid/bid128_logb.c: Likewise.
9231 * config/libbid/bid128_minmax.c: Likewise.
9232 * config/libbid/bid128_mul.c: Likewise.
9233 * config/libbid/bid128_next.c: Likewise.
9234 * config/libbid/bid128_noncomp.c: Likewise.
9235 * config/libbid/bid128_quantize.c: Likewise.
9236 * config/libbid/bid128_rem.c: Likewise.
9237 * config/libbid/bid128_round_integral.c: Likewise.
9238 * config/libbid/bid128_scalb.c: Likewise.
9239 * config/libbid/bid128_sqrt.c: Likewise.
9240 * config/libbid/bid128_string.c: Likewise.
9241 * config/libbid/bid128_to_int16.c: Likewise.
9242 * config/libbid/bid128_to_int32.c: Likewise.
9243 * config/libbid/bid128_to_int64.c: Likewise.
9244 * config/libbid/bid128_to_int8.c: Likewise.
9245 * config/libbid/bid128_to_uint16.c: Likewise.
9246 * config/libbid/bid128_to_uint32.c: Likewise.
9247 * config/libbid/bid128_to_uint64.c: Likewise.
9248 * config/libbid/bid128_to_uint8.c: Likewise.
9249 * config/libbid/bid32_to_bid128.c: Likewise.
9250 * config/libbid/bid32_to_bid64.c: Likewise.
9251 * config/libbid/bid64_add.c: Likewise.
9252 * config/libbid/bid64_compare.c: Likewise.
9253 * config/libbid/bid64_div.c: Likewise.
9254 * config/libbid/bid64_fma.c: Likewise.
9255 * config/libbid/bid64_logb.c: Likewise.
9256 * config/libbid/bid64_minmax.c: Likewise.
9257 * config/libbid/bid64_mul.c: Likewise.
9258 * config/libbid/bid64_next.c: Likewise.
9259 * config/libbid/bid64_noncomp.c: Likewise.
9260 * config/libbid/bid64_quantize.c: Likewise.
9261 * config/libbid/bid64_rem.c: Likewise.
9262 * config/libbid/bid64_round_integral.c: Likewise.
9263 * config/libbid/bid64_scalb.c: Likewise.
9264 * config/libbid/bid64_sqrt.c: Likewise.
9265 * config/libbid/bid64_string.c: Likewise.
9266 * config/libbid/bid64_to_bid128.c: Likewise.
9267 * config/libbid/bid64_to_int16.c: Likewise.
9268 * config/libbid/bid64_to_int32.c: Likewise.
9269 * config/libbid/bid64_to_int64.c: Likewise.
9270 * config/libbid/bid64_to_int8.c: Likewise.
9271 * config/libbid/bid64_to_uint16.c: Likewise.
9272 * config/libbid/bid64_to_uint32.c: Likewise.
9273 * config/libbid/bid64_to_uint64.c: Likewise.
9274 * config/libbid/bid64_to_uint8.c: Likewise.
9275 * config/libbid/bid_b2d.h: Likewise.
9276 * config/libbid/bid_binarydecimal.c: Likewise.
9277 * config/libbid/bid_conf.h: Likewise.
9278 * config/libbid/bid_convert_data.c: Likewise.
9279 * config/libbid/bid_decimal_data.c: Likewise.
9280 * config/libbid/bid_decimal_globals.c: Likewise.
9281 * config/libbid/bid_div_macros.h: Likewise.
9282 * config/libbid/bid_dpd.c: Likewise.
9283 * config/libbid/bid_flag_operations.c: Likewise.
9284 * config/libbid/bid_from_int.c: Likewise.
9285 * config/libbid/bid_functions.h: Likewise.
9286 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9287 * config/libbid/bid_inline_add.h: Likewise.
9288 * config/libbid/bid_internal.h: Likewise.
9289 * config/libbid/bid_round.c: Likewise.
9290 * config/libbid/bid_sqrt_macros.h: Likewise.
9291
92922009-04-09 Jakub Jelinek <jakub@redhat.com>
9293
9294 * Makefile.in: Change copyright header to refer to version
9295 3 of the GNU General Public License and to point readers at the
9296 COPYING3 file and the FSF's license web page.
9297 * config.host: Likewise.
9298
4e5e2802 92992009-04-07 Alan Modra <amodra@bigpond.net.au>
9300
9301 * config.host: Reorder and merge to match config.gcc change.
9302
8d40ea45 93032009-04-03 Alan Modra <amodra@bigpond.net.au>
9304
9305 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9306
f2397fc4 93072009-03-28 Joseph Myers <joseph@codesourcery.com>
9308
9309 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9310 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9311 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9312 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9313
24200b28 93142009-02-12 Uros Bizjak <ubizjak@gmail.com>
9315
9316 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9317 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9318
8b21beb2 93192009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9320
24200b28 9321 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9322 ia64/t-softfp-compat to tmake_file.
8b21beb2 9323
9324 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9325
9326 * config/ia64/__divxf3.asm: New.
9327 * config/ia64/_fixtfdi.asm: Likewise.
9328 * config/ia64/_fixunstfdi.asm: Likewise.
9329 * config/ia64/_floatditf.asm: Likewise.
9330 * config/ia64/t-fprules-softfp: Likewise.
9331 * config/ia64/t-softfp-compat: Likewise.
9332 * config/ia64/tf-signs.c: Likewise.
9333
9df8be69 93342009-01-18 Ben Elliston <bje@au.ibm.com>
9335
9336 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9337
f2b540ae 93382009-01-16 Ben Elliston <bje@au.ibm.com>
9339
9340 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9341 to tmake_file.
9342
5790f80a 93432009-01-13 Ben Elliston <bje@au.ibm.com>
9344
9345 * config/t-softfp: New file.
9346 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9347 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9348
92e91d03 93492009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
b8138586 9350
9351 * config.host: Add m32r*-*-rtems*.
9352
92e91d03 93532008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
7eac0a4e 9354
9355 * config.host: Add m32c*-*-rtems*.
9356
03150a33 93572008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9358
9359 PR bootstrap/33100
9360 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9361 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9362 * configure: Regenerate.
9363 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9364 tmake_file here from gcc/config.gcc.
9365 Move extra_parts here from gcc/config.gcc.
9366 * config/i386/t-sol2: Move here from gcc/config/i386.
9367 Use gcc_srcdir instead of srcdir.
9368
77a32a8e 93692008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9370
9371 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9372 case.
9373
1eab96a6 93742008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9375
9376 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9377
74cd9df8 93782008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9379
9380 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9381
8372e9ea 93822008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9383
9384 Add picoChip port.
9385 * config.host: Add picochip-*-*.
9386
75c7ffbc 93872008-08-06 Bob Wilson <bob.wilson@acm.org>
9388
9389 * config.host: Match more processor names for Xtensa.
9390
fb4830c6 93912008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9392
9393 * config/i386/64/t-softfp-compat: Update comments.
9394
7c92db45 93952008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9396
9397 * config/i386/64/_divtc3-compat.c: Moved to ...
9398 * config/i386/64/_divtc3.c: Here.
9399
9400 * config/i386/64/_multc3-compat.c: Moved to ...
9401 * config/i386/64/_multc3.c: Here.
9402
9403 * config/i386/64/_powitf2-compat.c: Moved to ...
9404 * config/i386/64/_powitf2.c: Here.
9405
9406 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9407 .c suffix instead of -compat.c.
9408
ec2e6a4e 94092008-07-05 Uros Bizjak <ubizjak@gmail.com>
9410
9411 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9412 (_FP_MUL_MEAT_D): Ditto.
9413 (_FP_DIV_MEAT_S): Ditto.
9414 (_FP_DIV_MEAT_D): Ditto.
9415
fdbb505a 94162008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9417
9418 * Makefile.in: Add support for __sync_* libgcc functions.
9419
310c48f2 94202008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9421
9422 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9423
144633f4 94242008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9425
9426 PR boostrap/36702
9427 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9428 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9429
9430 * config/i386/64/t-fprules-softfp: Moved to ...
9431 * config/i386/64/t-softfp-compat: This. New.
9432
e25ffafe 94332008-07-02 Uros Bizjak <ubizjak@gmail.com>
9434
9435 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9436 Initialize f with 0.0.
9437
b3fd46a0 94382008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9439
9440 PR target/36669
9441 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9442
9443 * config/i386/64/_divtc3-compat.c: New.
9444 * config/i386/64/_multc3-compat.c: Likewise.
9445 * config/i386/64/_powitf2-compat.c: Likewise.
9446 * config/i386/64/eqtf2.c: Likewise.
9447 * config/i386/64/getf2.c: Likewise.
9448 * config/i386/64/letf2.c: Likewise.
9449 * config/i386/64/t-fprules-softfp: Likewise.
9450
94512008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9452
9453 * config.host: Add i386/${host_address}/t-fprules-softfp to
9454 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
1d7e299f 9455 i[34567]86-*-linux*, x86_64-*-linux*.
b3fd46a0 9456
9457 * configure.ac: Set host_address to 64 or 32 for x86.
9458 * configure: Regenerated.
9459
9460 * Makefile.in (config.status): Also depend on
9461 $(srcdir)/config.host.
9462
9463 * config/i386/32/t-fprules-softfp: New.
9464 * config/i386/32/tf-signs.c: Likewise.
9465
9466 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9467
94682008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9469 Uros Bizjak <ubizjak@gmail.com>
9470
9471 * config/i386/32/sfp-machine.h: New.
9472
eaef9489 94732008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9474
9475 * config/rs6000/t-ppccomm: Remove rules that conflict with
9476 auto-generated rules.
9477
5b2c7553 94782008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9479
9480 * configure.ac: sinclude override.m4.
9481 * configure: Regenerate.
9482
dde02e56 94832008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9484
9485 * configure: Regenerate.
9486
4d6f3aad 94872008-06-10 Joseph Myers <joseph@codesourcery.com>
9488
9489 * Makefile.in (DECNUMINC): Remove
9490 -I$(MULTIBUILDTOP)../../libdecnumber.
9491 * gstdint.h: New.
9492
6af9f7ea 94932008-06-07 Joseph Myers <joseph@codesourcery.com>
9494
9495 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9496 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9497 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9498 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9499 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9500 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9501 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9502 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9503 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9504 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9505 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9506 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9507 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9508 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9509
ccf1c0f1 95102008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9511
9512 * config.host (sh2[lbe]*-*-linux*): Allow target.
9513
19872d0b 95142008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9515
9516 * config/rs6000/t-ppccomm: Add build rules for new files.
9517 (LIB2ADD_ST): New variable.
9518
38dd5584 95192008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9520
9521 PR target/34210
9522 PR target/35508
9523 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9524 * config/t-avr: New file. Build 16bit libgcc functions.
9525
8e5da69c 95262008-03-02 Jakub Jelinek <jakub@redhat.com>
9527
9528 PR target/35401
9529 * config/t-slibgcc-darwin: Make install-leaf dependent on
9530 install-darwin-libgcc-stubs instead of install.
9531
99c77e32 95322008-01-25 Joseph Myers <joseph@codesourcery.com>
9533
9534 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9535 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9536 sh-*-rtemscoff*): Remove cases.
9537
8237872e 95382007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9539
9540 * Makefile.in (all): Use install-leaf rather than install.
9541 (install): Split most of the rule into...
9542 (install-leaf): ...this new one.
9543
00a05b87 95442007-12-19 Etsushi Kato <ek.kato@gmail.com>
9545 Paolo Bonzini <bonzini@gnu.org>
9546
9547 PR target/30572
e25ffafe 9548 * Makefile.in: Use @shlib_slibdir@ substitution to get
9549 correct install name on darwin.
00a05b87 9550 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
1d7e299f 9551
877d7f12 95522007-12-15 Hans-Peter Nilsson <hp@axis.com>
9553
9554 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9555 cris-*-elf and cris-*-none.
9556 (crisv32-*-linux*): Similar, as cris-*-linux*.
9557
75612461 95582007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9559
9560 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9561
f11b4169 95622007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9563
9564 PR regression/33926
9565 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9566 * configure: Regenerated.
9567
84d1fc49 95682007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9569
9570 * Makefile.in (dfp-filenames): Replace decimal_globals,
9571 decimal_data, binarydecimal and convert_data with
9572 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9573 and bid_convert_data, respectively.
9574
3ac0842f 95752007-09-17 Chao-ying Fu <fu@mips.com>
9576 Nigel Stephens <nigel@mips.com>
9577
9578 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9579 * Makefile.in (fixed_point): Define.
9580 Check if fixed_point is yes to build support functions.
9581 * configure.ac: Check for fixed_point support.
9582 * configure: Regenerated.
9583 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9584 funcs, modes, from, to.
9585
8c72b2f9 95862007-09-11 Janis Johnson <janis187@us.ibm.com
9587
9588 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9589
c8ac5d9a 95902007-09-10 Janis Johnson <janis187@us.ibm.com>
9591
9592 * Makefile.in (dfp-filenames): Remove decUtility, add
9593 decDouble, decPacked, decQuad, decSingle.
9594
cc8ebe39 95952007-08-27 Hans Kester <hans.kester@ellips.nl>
9596
9597 * config.host : Add x86_64-elf target.
9598
db1c99de 95992007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9600
9601 * configure.ac (set_have_cc_tls): Add a missing =.
9602 * configure: Regenerated.
9603
e4cbe54f 96042007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9605
9606 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9607 and x86_64-*-linux*.
9608
9609 * config/t-tls: New file.
9610
1d7e299f 9611 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
e4cbe54f 9612
9613 * configure.ac: Include ../config/enable.m4 and
9614 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9615 supports TLS and substitute set_have_cc_tls.
9616 * configure: Regenerated.
9617
9b6b0236 96182007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9619
9620 * Makefile.in: Use libbid for DFP when BID is enabled.
9621
9e51385b 96222007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9623
9624 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
1d7e299f 9625 extra_parts. Add config/i386/t-cygming to tmake_file.
9e51385b 9626 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9627
8f433c51 96282007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9b6b0236 9629 Danny Smith <dannysmith@users.sourceforge.net>
8f433c51 9630
9631 PR target/29498
9632 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9633 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9634 * config/i386/t-crtfm: Compile crtfastmath.o with
9635 -minline-all-stringops.
9636
723e1902 96372007-05-10 Richard Sandiford <richard@codesourcery.com>
9638
9639 * config.host (sparc-wrs-vxworks): New target.
9640
278e2fd1 96412007-04-14 Kazu Hirata <kazu@codesourcery.com>
9642
9643 * config.host: Recognize fido.
9644
2968d68c 96452007-04-04 Janis Johnson <janis187@us.ibm.com>
9646
9647 * configure: Check host, not target, for decimal float support.
9648
6d057ce8 96492007-04-03 Uros Bizjak <ubizjak@gmail.com>
9650
9651 * config/i386/t-crtpc: New file.
9652 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
e25ffafe 9653 (x86_64-*-linux*): Ditto.
6d057ce8 9654
0bbe9142 96552007-02-30 Kai Tietz <kai.tietz@onevision.com>
9656
9657 * config.host (x86_64-*-mingw*): New target.
9658
10de71e1 96592007-03-23 Michael Meissner <michael.meissner@amd.com>
9660 H.J. Lu <hongjiu.lu@intel.com>
9661
9662 * Makefile.in (enable_decimal_float): New.
9663 (DECNUMINC): Add
9664 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9665 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9666 (decbits-filenames): This.
9667 (decbits-objects): New.
9668 (libgcc-objects): Add $(decbits-objects).
9669
9670 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9671 Substitute enable_decimal_float.
9672 * configure: Regenerated.
9673
7a9b9c95 96742007-03-19 Hans-Peter Nilsson <hp@axis.com>
9675
9676 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9677
37decb40 96782007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9679
9680 * Makefile.in (install-info): New dummy target.
9681
bce94ab5 96822007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9683
9684 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9685
1403bdd1 96862007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9687
9688 * Makefile.in: Add install-html and install-pdf dummy
9689 targets.
9690
fce64ed4 96912007-02-05 Roger Sayle <roger@eyesopen.com>
9692 Daniel Jacobowitz <dan@codesourcery.com>
9693
9694 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9695 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9696 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9697
4d863ca5 96982007-01-29 Janis Johnson <janis187@us.ibm.com>
9699
9700 * Makefile.in (dec-filenames): Add decExcept.
9701
f0356913 97022007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9703
9704 PR bootstrap/30469
9705 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9706 -fprofile-use.
9707
bbdcab13 97082007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9709
9710 * configure.ac: Add --enable-version-specific-runtime-libs.
9711 Correct $slibdir default.
9712 * configure: Regenerated.
9713
3da0fdbc 97142007-01-23 Joseph Myers <joseph@codesourcery.com>
9715
9716 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9717
cdca0ab7 97182007-01-21 Andrew Pinski <pinskia@gmail.com>
9719
9720 PR target/30519
9721 * config.host (alpha*-*-linux*): Set extra_parts.
9722
97f1a704 97232007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9724
9725 * config/sh/t-linux: New.
9726 * config.host (sh*-*-linux*): Set tmake_file.
9727
52617116 97282007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9729
9730 * Makefile.in (install): Handle multilibs.
9731
c0e5c948 97322007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9733
9734 * Makefile.in: Added .PHONY entry for documentation targets.
9735
d62e2f2f 97362007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9737
9738 * Makefile.in: Add empty info, html, dvi, pdf targets.
9739
68cf2994 97402007-01-04 Mike Stump <mrs@apple.com>
9741
9742 * Makefile.in (MAKEINFO): Remove.
9743 (PERL): Likewise.
9744
f534b3b3 97452007-01-04 Paolo Bonzini <bonzini@gnu.org>
9746
9747 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9748 * configure: Regenerate.
9749 * Makefile.in (host_subdir): Substitute it.
1d7e299f 9750 (gcc_objdir): Use it.
f534b3b3 9751
c11c6ae3 97522007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9753
9754 * config.host (ia64*-*-linux*): Set tmake_file.
9755
d272bed8 97562007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9757
9758 * Makefile.in (version): Define.
9759
894a47b4 97602007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9761 Paolo Bonzini <bonzini@gnu.org>
9762
9763 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9764 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9765 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9766 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9767 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9768 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9769 * configure: Generated.
f1717362 9770\f
fbd26352 9771Copyright (C) 2007-2019 Free Software Foundation, Inc.
f1717362 9772
9773Copying and distribution of this file, with or without modification,
9774are permitted in any medium without royalty provided the copyright
9775notice and this notice are preserved.