]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
PR c++/89083, c++/80864 - ICE with list initialization in template.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
161cd7e6 12019-01-23 Joseph Myers <joseph@codesourcery.com>
2
3 PR libgcc/88931
4 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits
5 case.
6
c099f1dd 72019-01-18 Martin Liska <mliska@suse.cz>
8
9 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
10 to ...
11 (__gcov_indirect_call_profiler_v3): ... this.
12 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
13 (__gcov_indirect_call_profiler_v3): Likewise.
14 * Makefile.in: Bump function name.
15
085a4ac7 162019-01-18 Martin Liska <mliska@suse.cz>
17
18 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
19 (gcov_version): Use in gcov_error.
20 (merge_one_data): Likewise.
21 (dump_one_gcov): Likewise.
22
02638fde 232019-01-18 Martin Liska <mliska@suse.cz>
24
25 * libgcov-driver.c (gcov_version_string): New function.
26 (gcov_version): Convert version integer into string.
27
1b9bc90e 282019-01-17 Andrew Stubbs <ams@codesourcery.com>
29 Kwok Cheung Yeung <kcy@codesourcery.com>
30 Julian Brown <julian@codesourcery.com>
31 Tom de Vries <tom@codesourcery.com>
32
33 * config.host: Recognize amdgcn*-*-amdhsa.
34 * config/gcn/crt0.c: New file.
35 * config/gcn/lib2-divmod-hi.c: New file.
36 * config/gcn/lib2-divmod.c: New file.
37 * config/gcn/lib2-gcn.h: New file.
38 * config/gcn/sfp-machine.h: New file.
39 * config/gcn/t-amdgcn: New file.
40
f4d3c071 412019-01-09 Sandra Loosemore <sandra@codesourcery.com>
42
43 PR other/16615
44
45 * config/c6x/libunwind.S: Mechanically replace "can not" with
46 "cannot".
47 * config/tilepro/atomic.h: Likewise.
48 * config/vxlib-tls.c: Likewise.
49 * generic-morestack-thread.c: Likewise.
50 * generic-morestack.c: Likewise.
51 * mkmap-symver.awk: Likewise.
52
fbd26352 532019-01-01 Jakub Jelinek <jakub@redhat.com>
54
55 Update copyright years.
56
5c934723 572018-12-20 H.J. Lu <hongjiu.lu@intel.com>
58
59 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
60 to ignore -Waddress-of-packed-member.
61
73dbcdab 622018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
63
64 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
65 parameter and corresponding code.
66 (ARM_FUNC_START): Likewise in both definitions.
67 Also update footer comment about condition that need to match with
68 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
69 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
70 defined. Weakly define it in this case.
71 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
72 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
73 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
74 comment to keep condition in sync with the one in
75 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
76
b7e132a4 772018-12-18 Wei Xiao <wei3.xiao@intel.com>
78
79 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
80 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
81
3467ed68 822018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
83
84 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
85 and .cfi_endproc directives for VxWorks targets.
86
c1410e55 872018-12-05 Paul Koning <ni1d@arrl.net>
88
89 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
90
6a9a8e15 912018-11-27 Alan Modra <amodra@gmail.com>
92
93 * config/rs6000/morestack.S (__stack_split_initialize),
94 (__morestack_get_guard, __morestack_set_guard),
95 (__morestack_make_guard): Provide CFI covering these functions.
96 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
97
65892c4d 982018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
99
6a9a8e15 100 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
65892c4d 101 (sc_pt_regs_lr): Update for kernel.
102 (sc_pt_regs_tls): Update for kernel.
103
0277806c 1042018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
105
106 * config/csky/linux-unwind.h: Fix coding style.
107
1d0ac42c 1082018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
109
110 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
6a9a8e15 111 (csky_fallback_frame_state): Modify the check of the
1d0ac42c 112 instructions to adapt to changes in the kernel
113
2acd4f1d 1142018-11-09 Stafford Horne <shorne@gmail.com>
115 Richard Henderson <rth@twiddle.net>
116
117 * config.host: Add OpenRISC support.
118 * config/or1k/*: New.
119
14796673 1202018-11-08 Kito Cheng <kito@andestech.com>
121
122 * soft-fp/adddf3.c: Update from glibc.
123 * soft-fp/addsf3.c: Likewise.
124 * soft-fp/addtf3.c: Likewise.
125 * soft-fp/divdf3.c: Likewise.
126 * soft-fp/divsf3.c: Likewise.
127 * soft-fp/divtf3.c: Likewise.
128 * soft-fp/double.h: Likewise.
129 * soft-fp/eqdf2.c: Likewise.
130 * soft-fp/eqsf2.c: Likewise.
131 * soft-fp/eqtf2.c: Likewise.
132 * soft-fp/extenddftf2.c: Likewise.
133 * soft-fp/extended.h: Likewise.
134 * soft-fp/extendhftf2.c: Likewise.
135 * soft-fp/extendsfdf2.c: Likewise.
136 * soft-fp/extendsftf2.c: Likewise.
137 * soft-fp/extendxftf2.c: Likewise.
138 * soft-fp/fixdfdi.c: Likewise.
139 * soft-fp/fixdfsi.c: Likewise.
140 * soft-fp/fixdfti.c: Likewise.
141 * soft-fp/fixhfti.c: Likewise.
142 * soft-fp/fixsfdi.c: Likewise.
143 * soft-fp/fixsfsi.c: Likewise.
144 * soft-fp/fixsfti.c: Likewise.
145 * soft-fp/fixtfdi.c: Likewise.
146 * soft-fp/fixtfsi.c: Likewise.
147 * soft-fp/fixtfti.c: Likewise.
148 * soft-fp/fixunsdfdi.c: Likewise.
149 * soft-fp/fixunsdfsi.c: Likewise.
150 * soft-fp/fixunsdfti.c: Likewise.
151 * soft-fp/fixunshfti.c: Likewise.
152 * soft-fp/fixunssfdi.c: Likewise.
153 * soft-fp/fixunssfsi.c: Likewise.
154 * soft-fp/fixunssfti.c: Likewise.
155 * soft-fp/fixunstfdi.c: Likewise.
156 * soft-fp/fixunstfsi.c: Likewise.
157 * soft-fp/fixunstfti.c: Likewise.
158 * soft-fp/floatdidf.c: Likewise.
159 * soft-fp/floatdisf.c: Likewise.
160 * soft-fp/floatditf.c: Likewise.
161 * soft-fp/floatsidf.c: Likewise.
162 * soft-fp/floatsisf.c: Likewise.
163 * soft-fp/floatsitf.c: Likewise.
164 * soft-fp/floattidf.c: Likewise.
165 * soft-fp/floattihf.c: Likewise.
166 * soft-fp/floattisf.c: Likewise.
167 * soft-fp/floattitf.c: Likewise.
168 * soft-fp/floatundidf.c: Likewise.
169 * soft-fp/floatundisf.c: Likewise.
170 * soft-fp/floatunditf.c: Likewise.
171 * soft-fp/floatunsidf.c: Likewise.
172 * soft-fp/floatunsisf.c: Likewise.
173 * soft-fp/floatunsitf.c: Likewise.
174 * soft-fp/floatuntidf.c: Likewise.
175 * soft-fp/floatuntihf.c: Likewise.
176 * soft-fp/floatuntisf.c: Likewise.
177 * soft-fp/floatuntitf.c: Likewise.
178 * soft-fp/gedf2.c: Likewise.
179 * soft-fp/gesf2.c: Likewise.
180 * soft-fp/getf2.c: Likewise.
181 * soft-fp/half.h: Likewise.
182 * soft-fp/ledf2.c: Likewise.
183 * soft-fp/lesf2.c: Likewise.
184 * soft-fp/letf2.c: Likewise.
185 * soft-fp/muldf3.c: Likewise.
186 * soft-fp/mulsf3.c: Likewise.
187 * soft-fp/multf3.c: Likewise.
188 * soft-fp/negdf2.c: Likewise.
189 * soft-fp/negsf2.c: Likewise.
190 * soft-fp/negtf2.c: Likewise.
191 * soft-fp/op-1.h: Likewise.
192 * soft-fp/op-2.h: Likewise.
193 * soft-fp/op-4.h: Likewise.
194 * soft-fp/op-8.h: Likewise.
195 * soft-fp/op-common.h: Likewise.
196 * soft-fp/quad.h: Likewise.
197 * soft-fp/single.h: Likewise.
198 * soft-fp/soft-fp.h: Likewise.
199 * soft-fp/subdf3.c: Likewise.
200 * soft-fp/subsf3.c: Likewise.
201 * soft-fp/subtf3.c: Likewise.
202 * soft-fp/truncdfsf2.c: Likewise.
203 * soft-fp/trunctfdf2.c: Likewise.
204 * soft-fp/trunctfhf2.c: Likewise.
205 * soft-fp/trunctfsf2.c: Likewise.
206 * soft-fp/trunctfxf2.c: Likewise.
207 * soft-fp/unorddf2.c: Likewise.
208 * soft-fp/unordsf2.c: Likewise.
209 * soft-fp/unordtf2.c: Likewise.
210
703d2f69 2112018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
212
213 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
214 * config/i386/cpuinfo.h (processor_types): Add znver2.
215
b982cad0 2162018-11-01 Paul Koning <ni1d@arrl.net>
217
218 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
219 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
220
f00f02a3 2212018-10-31 Joseph Myers <joseph@codesourcery.com>
222
223 PR bootstrap/82856
224 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
225 * configure: Regenerate.
226
89301960 2272018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
228
229 * config/arc/lib1funcs.S (_muldi3): New function.
230 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
231
5c316bca 2322018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
233
234 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
235
352bbfad 2362018-10-25 Martin Liska <mliska@suse.cz>
237
238 PR other/87735
239 * libgcov-profiler.c: Revert.
240
2a4fec09 2412018-10-24 Martin Liska <mliska@suse.cz>
242
243 * libgcov-profiler.c: Start from 1 in order to distinguish
244 functions which were seen and these that were not.
245
56966d7f 2462018-10-18 Paul Koning <ni1d@arrl.net>
247
248 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
249 standard.
250 * divmod.c: Update references to __udivmodsi4.
251 * udivmod.c: Ditto.
252 * udivhi3.c: New file.
253 * udivmodhi4.c: New file.
254 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
255
f6e11d75 2562018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
257
258 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
259
38bfcdfc 2602018-10-12 Olivier Hainque <hainque@adacore.com>
261
262 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
263 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
264
c9d0a7d6 2652018-10-08 Paul Koning <ni1d@arrl.net>
266
267 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
268
604e9a8b 2692018-10-04 Martin Liska <mliska@suse.cz>
270
271 PR gcov-profile/84107
272 * libgcov-profiler.c (__gcov_indirect_call):
273 Change type to indirect_call_tuple.
274 (struct indirect_call_tuple): New struct.
275 (__gcov_indirect_call_topn_profiler): Change type.
276 (__gcov_indirect_call_profiler_v2): Use the new
277 variables.
278 * libgcov.h (struct indirect_call_tuple): New struct
279 definition.
280
c08fb910 2812018-10-03 Uros Bizjak <ubizjak@gmail.com>
282
283 * libgcc2.c (isnan): Use __builtin_isnan.
284 (isfinite): Use __builtin_isfinite.
285 (isinf): Use __builtin_isinf.
286
6032d88e 2872018-09-26 Uros Bizjak <ubizjak@gmail.com>
288
289 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
290
9bfa937c 2912018-09-21 Alexandre Oliva <oliva@adacore.com>
292
293 * config/vxcache.c: New file. Provide __clear_cache, based on
294 the cacheTextUpdate VxWorks service.
295 * config/t-vxworks (LIB2ADD): Add vxcache.c.
296 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
297 * config/t-vxwoks7: Likewise.
298
56621355 2992018-09-21 Martin Liska <mliska@suse.cz>
300
301 * libgcov-driver.c (crc32_unsigned): Remove.
302 (gcov_histogram_insert): Likewise.
303 (gcov_compute_histogram): Likewise.
304 (compute_summary): Simplify rapidly.
305 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
306 (merge_summary): Rapidly simplify.
307 (dump_one_gcov): Ignore gcov_summary.
308 (gcov_do_dump): Do not handle program summary, it's not
309 used.
310 * libgcov-util.c (tag_summary): Remove.
311 (read_gcda_finalize): Fix coding style.
312 (read_gcda_file): Initialize curr_object_summary.
313 (compute_summary): Remove.
314 (calculate_overlap): Remove settings of run_max.
315
92a43ed9 3162018-09-21 Monk Chiang <sh.chiang04@gmail.com>
317
318 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
319 ucontext_t type instead.
320 (nds32_fallback_frame_state): Remove struct _sigframe statement.
321
38f97b46 3222018-09-21 Kito Cheng <kito.cheng@gmail.com>
323
324 * config/nds32/t-nds32-glibc: New file.
325
e1f1a538 3262018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
327
328 * configure.ac (solaris_ld_v2_maps): New test.
329 * configure: Regenerate.
330 * Makefile.in (solaris_ld_v2_maps): New variable.
331 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
332 if supported.
333
a7852b35 3342018-08-23 Richard Earnshaw <rearnsha@arm.com>
335
336 PR target/86951
337 * config/arm/lib1funcs.asm (speculation_barrier): New function.
338 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
339 to build.
340
738b5536 3412018-08-22 Iain Sandoe <iain@sandoe.co.uk>
342
6a9a8e15 343 * config/unwind-dw2-fde-darwin.c
738b5536 344 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
345 * config/darwin10-unwind-find-enc-func.c: … to here.
346 * config/t-darwin: Build Darwin10 unwinder shim crt.
347 * libgcc/config.host: Add the Darwin10 unwinder shim.
348
f8a195db 3492018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
350
351 * config.host: Add crtbegin.o and crtend.o for
352 powerpc-wrs-vxworks target.
353
d406228c 3542018-08-17 Jojo <jijie_rong@c-sky.com>
355 Huibin Wang <huibin_wang@c-sky.com>
356 Sandra Loosemore <sandra@codesourcery.com>
357 Chung-Lin Tang <cltang@codesourcery.com>
358
359 C-SKY port: libgcc
360
361 * config.host: Add C-SKY support.
362 * config/csky/*: New.
363
d08b1d22 3642018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
365
366 * config/nds32/t-nds32-isr: Rearrange object dependency.
367 * config/nds32/initfini.c: Add dwarf2 unwinding support.
368 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
369 and registers usage.
370 * config/nds32/isr-library/excp_isr.S: Ditto.
371 * config/nds32/isr-library/intr_isr.S: Ditto.
372 * config/nds32/isr-library/reset.S: Ditto.
373 * config/nds32/isr-library/restore_all.inc: Ditto.
374 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
375 * config/nds32/isr-library/restore_partial.inc: Ditto.
376 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
377 * config/nds32/isr-library/save_all.inc: Ditto.
378 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
379 * config/nds32/isr-library/save_partial.inc: Ditto.
380 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
381 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
382
323d9aff 3832018-08-11 John David Anglin <danglin@gcc.gnu.org>
384
385 * config/pa/linux-atomic.c: Update comment.
386 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
387 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
388 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
389 __ATOMIC_RELAXED for atomic loads.
390 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
391 unordered store to release lock.
392 (__sync_lock_release_8): Likewise.
393 (SYNC_LOCK_RELEASE_2): Remove define.
c08fb910 394
5ad4bc86 3952018-08-02 Nicolas Pitre <nico@fluxnic.net>
396
397 PR libgcc/86512
398 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
399 exponent goes negative. Update my email address.
400 * config/arm/ieee754-sf.S: Likewise.
401
874612dc 4022018-08-01 Martin Liska <mliska@suse.cz>
403
404 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
c9e63184 405 check that __gcov_indirect_call_callee is non-null.
874612dc 406
5a8d2bfe 4072018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
408
409 * config/arm/ieee754-df.S: Fix comment for code working on
410 architectures >= 4.
411 * config/arm/ieee754-sf.S: Likewise.
412
d9a49803 4132018-07-27 H.J. Lu <hongjiu.lu@intel.com>
414
415 PR libgcc/85334
416 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
417 Removed.
418
90503e19 4192018-07-05 James Clarke <jrtc27@jrtc27.com>
420
421 * configure: Regenerated.
422
06f3e75c 4232018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
424
425 * Makefile.in (install_leaf): Use enable_gcov instead of
426 enable_libgcov.
427
bab25aa4 4282018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
429
430 * configure.ac: Add --disable-gcov option.
431 * configure: Regenerate.
432 * Makefile.in: Honour @enable_gcov@.
433
bd071ec6 4342018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
435
436 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
437 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
438 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
439 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
440 __ARM_ARCH__.
441 * config/arm/ieee754-sf.S: Likewise.
442 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
443
93dd1a25 4442018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
445
446 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
447 longer supported.
448 * config/arm/ieee754-sf.S: Likewise.
449
a9ee5a85 4502018-06-20 Than McIntosh <thanm@google.com>
451
452 PR libgcc/86213
453 * generic-morestack.c (allocate_segment): Move calls to getenv and
454 getpagesize to __morestack_load_mmap.
455 (__morestack_load_mmap) Initialize static_pagesize and
456 use_guard_page here so as to avoid clobbering SSE regs during a
457 __morestack call.
458
23b5c810 4592018-06-18 Michael Meissner <meissner@linux.ibm.com>
460
461 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
462 support modules with -mno-gnu-attribute.
463 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
464
3206b643 4652018-06-07 Olivier Hainque <hainque@adacore.com>
466
467 * config/t-vxworks (LIBGCC_INCLUDES): Add
468 -I$(MULTIBUILDTOP)../../gcc/include.
469 * config/t-vxworks7: Likewise. Reformat a bit to match
470 the t-vxworks layout.
471
f1522980 4722018-06-07 Olga Makhotina <olga.makhotina@intel.com>
473
474 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
475
6b9cd917 4762018-06-07 Martin Liska <mliska@suse.cz>
477
478 * libgcov-driver.c: Rename cs_all to all and assign it from
c9e63184 479 all_prg.
6b9cd917 480
5b24ad4b 4812018-06-07 Martin Liska <mliska@suse.cz>
482
c9e63184 483 PR bootstrap/86057
5b24ad4b 484 * libgcov-driver-system.c (replace_filename_variables): Use
c9e63184 485 memcpy instead of mempcpy.
5b24ad4b 486 (allocate_filename_struct): Do not allocate filename, allocate
c9e63184 487 prefix and set it.
5b24ad4b 488 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
c9e63184 489 here and properly copy content into it.
5b24ad4b 490 * libgcov-driver.c (struct gcov_filename): Remove max_length
c9e63184 491 field, change prefix from size_t into char *.
5b24ad4b 492 (compute_summary): Do not calculate longest filename.
493 (gcov_do_dump): Release memory of gf.filename after each file.
494 * libgcov-util.c (compute_summary): Use new signature of
c9e63184 495 compute_summary.
5b24ad4b 496 (calculate_overlap): Likewise.
497
945d4d55 4982018-06-05 Martin Liska <mliska@suse.cz>
499
500 PR gcov-profile/47618
501 * libgcov-driver-system.c (replace_filename_variables): New
c9e63184 502 function.
945d4d55 503 (gcov_exit_open_gcda_file): Use it.
504
5860b185 5052018-06-05 Martin Liska <mliska@suse.cz>
506
507 * libgcov-driver.c (gcov_compute_histogram): Remove usage
508 of gcov_ctr_summary.
509 (compute_summary): Do it just for a single summary.
510 (merge_one_data): Likewise.
511 (merge_summary): Simplify as we read just single summary.
512 (dump_one_gcov): Pass proper argument.
513 * libgcov-util.c (compute_one_gcov): Simplify as we have just
514 single summary.
515 (gcov_info_count_all_cold): Likewise.
516 (calculate_overlap): Likewise.
517
a5a22b4f 5182018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
519 Monk Chiang <sh.chiang04@gmail.com>
520
521 * config.host (nds32*-linux*): New.
522 * config/nds32/linux-atomic.c: New file.
523 * config/nds32/linux-unwind.h: New file.
524
3e80679d 5252018-05-31 Uros Bizjak <ubizjak@gmail.com>
526
527 PR target/85591
528 * config/i386/cpuinfo.c (get_amd_cpu): Return
529 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
530
edb0bd05 5312018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
532
c9e63184 533 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
edb0bd05 534
5522d934 5352018-05-29 Martin Liska <mliska@suse.cz>
536
c9e63184 537 PR gcov-profile/85759
5522d934 538 * libgcov-driver-system.c (gcov_error): Introduce usage of
c9e63184 539 GCOV_EXIT_AT_ERROR env. variable.
5522d934 540 * libgcov-driver.c (merge_one_data): Print error that we
c9e63184 541 overwrite a gcov file with a different timestamp.
5522d934 542
8e33a4d3 5432018-05-23 Kalamatee <kalamatee@gmail.com>
544
545 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
546 path to Lf$finfty.
547
51b16492 5482018-05-18 Kito Cheng <kito.cheng@gmail.com>
549 Monk Chiang <sh.chiang04@gmail.com>
550 Jim Wilson <jimw@sifive.com>
551
552 * config/riscv/save-restore.S: Add support for rv32e.
553
b232e6b5 5542018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
555
556 * config/arm/libunwind.S: Update comment relating to armv5.
557
5e15443c 5582018-05-17 Jerome Lambourg <lambourg@adacore.com>
559
560 * config/arm/cmse.c (cmse_check_address_range): Replace
561 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
562
6ebd326d 5632018-05-17 Olga Makhotina <olga.makhotina@intel.com>
564
565 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
566 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
567
4db2b348 5682018-05-08 Olga Makhotina <olga.makhotina@intel.com>
569
570 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
571 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
572
ab55f7db 5732018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
574
575 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
576
c5243565 5772018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
578 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
579
580 PR libgcc/84292
581 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
582 op_and_fetch to return the right result.
583
f0aaf758 5842018-04-27 Alan Modra <amodra@gmail.com>
585
586 PR libgcc/85532
587 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
588 -fno-asynchronous-unwind-tables.
589
4cccab88 5902018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
591
592 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
593 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
594
6174c788 5952018-04-24 H.J. Lu <hongjiu.lu@intel.com>
596
597 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
598 when including "config/i386/shadow-stack-unwind.h".
599
6726651f 6002018-04-24 H.J. Lu <hongjiu.lu@intel.com>
601
602 * configure: Regenerated.
603
9d42920b 6042018-04-20 Michael Meissner <meissner@linux.ibm.com>
605
606 PR target/85456
607 * config/rs6000/_powikf2.c: New file. Add support for the
608 __builtin_powil function when long double is IEEE 128-bit floating
609 point.
610 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
611 __powikf2 support.
612 (__powikf2): Likewise.
613 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
614 (__powikf2_hw): Likewise.
615 (__powikf2): Likewise.
616 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
617 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
618 (_powikf2-hw.c): Likewise.
619
20d1a075 6202018-04-19 H.J. Lu <hongjiu.lu@intel.com>
621
622 PR libgcc/85334
623 * unwind-generic.h (_Unwind_Frames_Increment): New.
624 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
625 Likewise.
626 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
627 count with _Unwind_Frames_Increment.
628 (_Unwind_ForcedUnwind_Phase2): Likewise.
629
07f8c7a4 6302018-04-19 H.J. Lu <hongjiu.lu@intel.com>
631
632 PR libgcc/85379
633 * config/i386/morestack.S (__stack_split_initialize): Add
634 _CET_ENDBR.
635
ee8fea81 6362018-04-19 Jakub Jelinek <jakub@redhat.com>
637
638 * configure: Regenerated.
639
124c259e 6402018-04-18 David Malcolm <dmalcolm@redhat.com>
641
642 PR jit/85384
643 * configure: Regenerate.
644
402140be 6452018-04-16 Jakub Jelinek <jakub@redhat.com>
646
647 PR target/84945
648 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
649 -Wdangling-else warnings. Mask shift counts to avoid
650 -Wshift-count-negative and -Wshift-count-overflow false positives.
651
7ea6a647 6522018-04-06 Ruslan Bukin <br@bsdpad.com>
653
654 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
655
0251a2a7 6562018-03-29 H.J. Lu <hongjiu.lu@intel.com>
657
658 PR target/85100
659 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
660 (XSTATE_FP): Likewise.
661 (XSTATE_SSE): Likewise.
662 (XSTATE_YMM): Likewise.
663 (XSTATE_OPMASK): Likewise.
664 (XSTATE_ZMM): Likewise.
665 (XSTATE_HI_ZMM): Likewise.
666 (XCR_AVX_ENABLED_MASK): Likewise.
667 (XCR_AVX512F_ENABLED_MASK): Likewise.
668 (get_available_features): Enable AVX and AVX512 features only
669 if their states are supported by OSXSAVE.
670
5cc47d53 6712018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
672
673 PR target/85025
674 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
675 Fix a typo, tmp => 255.
676
2e630204 6772018-03-20 Jakub Jelinek <jakub@redhat.com>
678
679 PR target/84945
680 * config/i386/cpuinfo.h (__cpu_features2): Declare.
681 * config/i386/cpuinfo.c (__cpu_features2): New variable for
682 ifndef SHARED only.
683 (set_feature): Define.
684 (get_available_features): Use set_feature macro. Set __cpu_features2
685 to the second word of features ifndef SHARED.
686
bae42e37 6872018-03-15 Julia Koval <julia.koval@intel.com>
688
689 * config/i386/cpuinfo.c (get_available_features): Add
690 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
691 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
692 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
693 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
694 FEATURE_AVX512BITALG.
695
8e9da9da 6962018-03-14 Julia Koval <julia.koval@intel.com>
697
698 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
699 icelake client and icelake server.
700
94fc4b64 7012018-03-06 John David Anglin <danglin@gcc.gnu.org>
702
703 * config/pa/fptr.c (_dl_read_access_allowed): New.
704 (__canonicalize_funcptr_for_compare): Use it.
c08fb910 705
0b118d5b 7062018-02-28 Jakub Jelinek <jakub@redhat.com>
707
708 PR debug/83917
709 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
710 $asm_hidden_op if visibility ("hidden") attribute works.
711 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
712 * config/i386/i386-asm.h: Don't include auto-host.h.
713 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
714 PACKAGE_URL): Don't undefine.
715 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
716 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
717 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
718 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
719 definition instead of hardcoded .hidden.
720 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
721 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
722 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
723 (USE_GAS_CFI_DIRECTIVES): Don't define.
724 * configure: Regenerated.
725 * config.in: Likewise.
726
9e8a86cf 7272018-02-26 Jakub Jelinek <jakub@redhat.com>
728
729 PR debug/83917
730 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
731 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
732 inclusion of auto-target.h and auto-host.h.
733 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
734 __GCC_HAVE_DWARF2_CFI_ASM.
735 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
736 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
737 cfi_pop): Define.
738 * config/i386/cygwin.S: Don't include auto-host.h here, just
739 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
740 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
741 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
742 * config/i386/resms64fx.h: Add cfi_* directives.
743 * config/i386/resms64x.h: Likewise.
744
372da7cd 7452018-02-20 Max Filippov <jcmvbkbc@gmail.com>
746
747 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
748 .literal_position directive.
749 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
750
5611e648 7512018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
752
753 PR target/84148
754 * configure: Regenerate.
755
d4f2cbd8 7562018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
757
758 PR target/84239
759 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
760 Include cetintrin.h not x86intrin.h.
761
1c9aa9c6 7622018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
763
764 PR target/84239
d4f2cbd8 765 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1c9aa9c6 766 Use new _get_ssp and _inc_ssp intrinsics.
767
102dd700 7682018-02-02 Julia Koval <julia.koval@intel.com>
769
770 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
771
eddd4dd0 7722018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
773
774 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
775 option.
776 (__divsi3): Use RF16 safe registers.
777 (__modsi3): Likewise.
778
3815462d 7792018-01-23 Max Filippov <jcmvbkbc@gmail.com>
780
781 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
782 (__divsf3): Make NaN return value quiet.
783 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
784 (__divdf3): Make NaN return value quiet.
785
e1192dcf 7862018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
787
788 * config/rl78/anddi3.S: New assembly file.
789 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
790
a2618819 7912018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
792
793 * config/rl78/umindi3.S: New assembly file.
794 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
795
14920f56 7962018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
797
798 * config/rl78/smindi3.S: New assembly file.
799 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
800
de5538ce 8012018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
c08fb910 802
de5538ce 803 * config/rl78/smaxdi3.S: New assembly file.
804 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
805
de0f3de6 8062018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
c08fb910 807
f77335d9 808 * config/rl78/umaxdi3.S: New assembly file.
809 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
c08fb910 810
fb437997 8112018-01-21 John David Anglin <danglin@gcc.gnu.org>
812
813 PR lto/83452
814 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
815 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
c08fb910 816
599c8d3e 8172018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
818
819 * config/aarch64/value-unwind.h (aarch64_vg): New function.
820 (DWARF_LAZY_REGISTER_VALUE): Define.
821 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
822 to provide a fallback register value.
823
2d295049 8242018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
825
826 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
827 __ibm128, instead of trying to use long double.
828 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
829 accomidate -mabi=ieeelongdouble multilibs.
830 (CVT_IBM128_TO_FLOAT128): Likewise.
831 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
832 the appropriate IBM extended double type.
833 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
834 (__gcc_qsub): Likewise.
835 (__gcc_qmul): Likewise.
836 (__gcc_qdiv): Likewise.
837 (pack_ldouble): Likewise.
838 (__gcc_qneg): Likewise.
839 (__gcc_qeq): Likewise.
840 (__gcc_qne): Likewise.
841 (__gcc_qge): Likewise.
842 (__gcc_qle): Likewise.
843 (__gcc_stoq): Likewise.
844 (__gcc_dtoq): Likewise.
845 (__gcc_itoq): Likewise.
846 (__gcc_utoq): Likewise.
847 (__gcc_qunord): Likewise.
848 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
849 quad-float128.h for the definitions.
850 (COPYSIGN): Use the f128 version instead of the q version.
851 (INFINITY): Likewise.
852 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
853 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
854 quad-float128.h for the definitions.
855 (COPYSIGN): Use the f128 version instead of the q version.
856 (INFINITY): Likewise.
857 (FABS): Likewise.
858 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
859 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
860 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
861
1c579c0e 8622018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
863
864 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
865 configuration.
866
8e8f6434 8672018-01-03 Jakub Jelinek <jakub@redhat.com>
868
869 Update copyright years.
870
8712017-12-12 Kito Cheng <kito.cheng@gmail.com>
26efd270 872
873 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
874 * config/riscv/multi3.c: New file.
875 * config/riscv/multi3.S: Remove.
876
1817431e 8772017-12-08 Jim Wilson <jimw@sifive.com>
878
879 * config/riscv/div.S: Use FUNC_* macros.
880 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
881 * config/riscv/save-restore.S: Likewise.
882 * config/riscv/riscv-asm.h: New.
883
0aba9567 8842017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
885
c78aa1b3 886 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
887 * config/rs6000/_divkc3.c (__divkc3): Likewise.
888
0aba9567 889 PR libgcc/83112
890 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
891 correct type for all ifunc resolvers to silence -Wattribute-alias
892 warnings. Eliminate the forward declaration of the resolver
893 functions which is no longer needed.
894 (__subkf3_resolve): Likewise.
895 (__mulkf3_resolve): Likewise.
896 (__divkf3_resolve): Likewise.
897 (__negkf2_resolve): Likewise.
898 (__eqkf2_resolve): Likewise.
899 (__nekf2_resolve): Likewise.
900 (__gekf2_resolve): Likewise.
901 (__gtkf2_resolve): Likewise.
902 (__lekf2_resolve): Likewise.
903 (__ltkf2_resolve): Likewise.
904 (__unordkf2_resolve): Likewise.
905 (__extendsfkf2_resolve): Likewise.
906 (__extenddfkf2_resolve): Likewise.
907 (__trunckfsf2_resolve): Likewise.
908 (__trunckfdf2_resolve): Likewise.
909 (__fixkfsi_resolve): Likewise.
910 (__fixkfdi_resolve): Likewise.
911 (__fixunskfsi_resolve): Likewise.
912 (__fixunskfdi_resolve): Likewise.
913 (__floatsikf_resolve): Likewise.
914 (__floatdikf_resolve): Likewise.
915 (__floatunsikf_resolve): Likewise.
916 (__floatundikf_resolve): Likewise.
917 (__extendkftf2_resolve): Likewise.
918 (__trunctfkf2_resolve): Likewise.
919
920 PR libgcc/83103
921 * config/rs6000/quad-float128.h (TF): Don't define if long double
922 is IEEE 128-bit floating point.
923 (TCtype): Define as either TCmode or KCmode, depending on whether
924 long double is IEEE 128-bit floating point.
925 (__mulkc3_sw): Add declarations for software/hardware versions of
926 complex multiply/divide.
927 (__divkc3_sw): Likewise.
928 (__mulkc3_hw): Likewise.
929 (__divkc3_hw): Likewise.
930 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
931 handlers to switch between using software emulation and hardware
932 float128 instructions, build the complex multiply/divide functions
933 for both software and hardware support.
934 * config/rs6000/_divkc3.c (_divkc3): Likewise.
935 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
936 (__divkc3_resolve): Likewise.
937 (__mulkc3): Likewise.
938 (__divkc3): Likewise.
939 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
940 (fp128_hw_src): Likewise.
941 (fp128_hw_static_obj): Likewise.
942 (fp128_hw_shared_obj): Likewise.
943 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
944 _mulkc3.c and _divkc3.c, changing the function name.
945 (_divkc3-hw.c): Likewise.
946 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
947 and _divkc3-hw.c.
948
87d7483a 9492017-11-26 Julia Koval <julia.koval@intel.com>
950
951 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
952 * config/i386/cpuinfo.h (processor_subtypes): Add
953 INTEL_COREI7_CANNONLAKE.
954
7c242f24 9552017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
956
957 PR bootstrap/83015
958 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
959 parameter.
960 * config/xtensa/unwind-dw2-xtensa.c: Likewise
961 * config/ia64/unwind-ia64.c: Add frames parameter.
962 * unwind-sjlj.c: Likewise.
963
c05f99c6 9642017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
965
966 * config/i386/linux-unwind.h: Include
967 config/i386/shadow-stack-unwind.h.
968 * config/i386/shadow-stack-unwind.h: New file.
969 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
970 pass it to _Unwind_Frames_Extra.
971 * unwind-generic.h (_Unwind_Frames_Extra): New.
972 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
973 parameter. Add local variable frames to count number of frames.
974 (_Unwind_ForcedUnwind_Phase2): Likewise.
975 (_Unwind_RaiseException): Add local variable frames to count
976 number of frames, pass it to _Unwind_RaiseException_Phase2 and
977 uw_install_context.
978 (_Unwind_ForcedUnwind): Likewise.
979 (_Unwind_Resume): Likewise.
980 (_Unwind_Resume_or_Rethrow): Likewise.
981
5f42446c 9822017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
983
984 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
985 (CET_FLAGS): New.
986 * config/i386/morestack.S: Include <cet.h>.
987 (__morestack_large_model): Add _CET_ENDBR at function entrance.
988 * config/i386/resms64.h: Include <cet.h>.
989 * config/i386/resms64f.h: Likewise.
990 * config/i386/resms64fx.h: Likewise.
991 * config/i386/resms64x.h: Likewise.
992 * config/i386/savms64.h: Likewise.
993 * config/i386/savms64f.h: Likewise.
994 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
995 (CRTSTUFF_T_CFLAGS): Likewise.
996 * configure.ac: Include ../config/cet.m4.
997 Set and substitute CET_FLAGS.
998 * configure: Regenerated.
999
9273bda7 10002017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1001
1002 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1003 renaming.
1004 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1005 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1006 * configure: Regenerate.
1007
bdcb436d 10082017-11-07 Tom de Vries <tom@codesourcery.com>
1009
1010 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1011 after "do {} while (0)".
1012
1ad21aef 10132017-11-07 Tom de Vries <tom@codesourcery.com>
1014
1015 PR other/82784
1016 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1017 semicolon after "do {} while (0)".
1018 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1019 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1020 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1021 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1022
c76a96ef 10232017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1024
1025 PR libgcc/82635
1026 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1027 sysctl to determine whether we're in a trampoline.
1028 Keep the pattern matching method for systems without
1029 KERN_PROC_SIGTRAMP sysctl.
1030
e892f4fa 10312017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1032 Vineet Gupta <vgupta@synopsys.com>
1033
1034 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1035 * config/arc/linux-unwind-reg.def: New file.
1036 * config/arc/linux-unwind-reg.h: Likewise.
1037
020b1a05 10382017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1039
1040 * config/rl78/subdi3.S: New assembly file.
1041 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1042
99efc84b 10432017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1044
1045 * config/rl78/adddi3.S: New assembly file.
1046 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1047
4bed1b09 10482017-10-13 Jakub Jelinek <jakub@redhat.com>
1049
1050 PR target/82274
1051 * libgcc2.c (__mulvDI3): If both operands have
1052 the same highpart of -1 and the topmost bit of lowpart is 0,
1053 multiplication overflows even if both lowparts are 0.
1054
d56894aa 10552017-09-28 James Bowman <james.bowman@ftdichip.com>
1056
1057 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1058
cb442ed3 10592017-09-26 Joseph Myers <joseph@codesourcery.com>
1060
1061 * config/microblaze/crti.S, config/microblaze/crtn.S,
1062 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1063 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1064 config/microblaze/mulsi3.S,
1065 config/microblaze/stack_overflow_exit.S,
1066 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1067 config/pa/milli64.S: Add .note.GNU-stack section.
1068
4d6bb87e 10692017-09-23 Daniel Santos <daniel.santos@pobox.com>
1070
1071 * configure.ac: Add Check for HAVE_AS_AVX.
1072 * config.in: Regenerate.
1073 * configure: Likewise.
1074 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1075 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1076 Correct out-of-date comments.
1077
df4660d3 10782017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1079
1080 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1081 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1082
39143cf7 10832017-09-17 Daniel Santos <daniel.santos@pobox.com>
1084
df4660d3 1085 * config/i386/i386-asm.h (PASTE2): New macro.
39143cf7 1086 (ASMNAME): Modify to use PASTE2.
1087 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1088 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
df4660d3 1089 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
39143cf7 1090 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
df4660d3 1091 * config/i386/resms64f.S: Likewise.
1092 * config/i386/resms64fx.S: Likewise.
1093 * config/i386/resms64x.S: Likewise.
1094 * config/i386/savms64.S: Likewise.
1095 * config/i386/savms64f.S: Likewise.
1096 * config/i386/avx_resms64.S: New file that only defines a macro and
39143cf7 1097 includes it's corresponding header file.
df4660d3 1098 * config/i386/avx_resms64f.S: Likewise.
1099 * config/i386/avx_resms64fx.S: Likewise.
1100 * config/i386/avx_resms64x.S: Likewise.
1101 * config/i386/avx_savms64.S: Likewise.
1102 * config/i386/avx_savms64f.S: Likewise.
1103 * config/i386/sse_resms64.S: Likewise.
1104 * config/i386/sse_resms64f.S: Likewise.
1105 * config/i386/sse_resms64fx.S: Likewise.
1106 * config/i386/sse_resms64x.S: Likewise.
1107 * config/i386/sse_savms64.S: Likewise.
1108 * config/i386/sse_savms64f.S: Likewise.
1109 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
39143cf7 1110
0c11960e 11112017-09-01 Olivier Hainque <hainque@adacore.com>
0c11960e 1112 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1113
061339f2 11142017-08-31 Olivier Hainque <hainque@adacore.com>
1115
1116 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1117 match as powerpc-wrs-vxworks*.
1118
6a000628 11192017-08-07 Jonathan Yong <10walls@gmail.com>
1120
1121 * config.host (*-cygwin): Include file from mingw
1122 config/i386/enable-execute-stack-mingw32.c
1123
17a98fea 11242017-08-01 Jerome Lambourg <lambourg@adacore.com>
c9e63184 1125 Doug Rupp <rupp@adacore.com>
1126 Olivier Hainque <hainque@adacore.com>
17a98fea 1127
1128 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1129 as well as arm-wrs-vxworks.
1130 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1131 LIB2ADDEH.
1132 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1133 __exidx_start and __exidx_end for downloadable modules.
1134
fffdea9e 11352017-08-01 Olivier Hainque <hainque@adacore.com>
1136
1137 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1138 * config/t-vxworks7: Likewise.
1139
b9454236 11402017-08-01 Olivier Hainque <hainque@adacore.com>
1141
1142 * config/t-vxworks: Instead of redefining LIB2ADD,
1143 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1144
f16062f7 11452017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1146
1147 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1148
65e1ae67 11492017-07-24 Daniel Santos <daniel.santos@pobox.com>
1150
1151 PR testsuite/80759
1152 * config.host: include i386/t-msabi for darwin and solaris.
1153 * config/i386/i386-asm.h
1154 (ELFFN): Rename to FN_TYPE.
1155 (FN_SIZE): New macro.
1156 (FN_HIDDEN): Likewise.
1157 (ASMNAME): Likewise.
1158 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1159 .globl.
1160 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1161 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1162 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1163 .macro.
1164 * config/i386/resms64f.S: Likewise.
1165 * config/i386/resms64fx.S: Likewise.
1166 * config/i386/resms64x.S: Likewise.
1167 * config/i386/savms64.S: Likewise.
1168 * config/i386/savms64f.S: Likewise.
1169
25e4634a 11702017-07-19 John Marino <gnugcc@marino.st>
1171
1172 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1173
9f6dc184 11742017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1175
1176 PR target/81193
1177 * configure.ac (PowerPC float128 hardware support): Test whether
1178 we can use __builtin_cpu_supports before enabling the ifunc
1179 handler.
1180 * configure: Regenerate.
1181
927c0132 11822017-07-10 Vineet Gupta <vgupta@synopsys.com>
1183
1184 * config.host: Remove uclibc from arc target spec.
1185
63d551af 11862017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1187
1188 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1189
378ca53a 11902017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1191
1192 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1193 (have_ieee_hw_p): Delete function.
1194 (SW_OR_HW) Use __builtin_cpu_supports().
1195
9b32089e 11962017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1197
1198 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1199
e6c95d8f 12002017-07-03 Olivier Hainque <hainque@adacore.com>
1201
378ca53a 1202 * config/t-vxworks7: New file, really.
e6c95d8f 1203
5266910f 12042017-06-28 Joseph Myers <joseph@codesourcery.com>
1205
1206 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1207 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1208 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1209 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1210 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1211 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1212 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1213 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1214 config/sh/linux-unwind.h (sh_fallback_frame_state),
1215 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1216 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1217 ucontext_t instead of struct ucontext.
1218
0e50554f 12192017-06-27 Jerome Lambourg <lambourg@adacore.com>
1220
1221 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1222 (x86_64-wrs-vxworks7): Likewise.
1223
899cdd88 12242017-06-27 Olivier Hainque <hainque@adacore.com>
1225
1226 * config/t-vxworks7: New file.
1227 * config.host (*-*-vxworks7): Use it.
1228
a4721bd0 12292017-06-22 Matt Turner <mattst88@gmail.com>
1230
1231 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1232 skylake case.
1233
27182bcd 12342017-06-21 Richard Biener <rguenther@suse.de>
1235
1236 PR gcov-profile/81080
1237 * configure.ac: Add AC_SYS_LARGEFILE.
1238 * libgcov.h: Include auto-target.h before tsystem.h to pick
1239 up _FILE_OFFSET_BITS which might differ for multilibs.
1240 * config.in: Regenerate.
1241 * configure: Likewise.
1242
73c72cdf 12432017-06-16 Richard Earnshaw <rearnsha@arm.com>
1244
1245 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1246
696ee0c7 12472017-06-09 Martin Liska <mliska@suse.cz>
1248
1249 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1250 Reset __gcov_indirect_call_callee to NULL.
1251
e7fcec67 12522017-06-08 Olivier Hainque <hainque@adacore.com>
1253
1254 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1255 the set of -I options, support for direct inclusions of net/uio.h
1256 by VxWorks header files via ioLib.h.
1257
69bf76d9 12582017-06-07 Tony Reix <tony.reix@atos.net>
1259 Matthieu Sarter <matthieu.sarter.external@atos.net>
1260 David Edelsohn <dje.gcc@gmail.com>
1261
c9e63184 1262 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1263 unconditionally.
1264 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1265 AIX 7.2 support.
69bf76d9 1266
b0e6722b 12672017-06-02 Olivier Hainque <hainque@adacore.com>
1268
1269 * config/vxlib.c (__gthread_once): Add missing value to
1270 return statement.
1271
78d07aaf 12722017-05-30 Olivier Hainque <hainque@adacore.com>
1273
1274 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1275 dollar sign before $(MULTIDIR).
1276
1e9944f4 12772017-05-26 Richard Henderson <rth@redhat.com>
1278
1279 PR libgcc/80037
1280 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1281
874dff1a 12822017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1283
1284 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1285 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1286 * config/arm/unwind-arm.c: Implement the above.
1287
c57508a3 12882017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1289
1290 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1291 section for a non-executable stack.
1292
7303090d 12932017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1294
1295 PR target/80600
1296 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1297
e67d3d38 12982017-05-14 Daniel Santos <daniel.santos@pobox.com>
1299
1300 * config.host: Add i386/t-msabi to i386/t-linux file list.
1301 * config/i386/i386-asm.h: New file.
1302 * config/i386/resms64.S: New file.
1303 * config/i386/resms64f.S: New file.
1304 * config/i386/resms64fx.S: New file.
1305 * config/i386/resms64x.S: New file.
1306 * config/i386/savms64.S: New file.
1307 * config/i386/savms64f.S: New file.
1308 * config/i386/t-msabi: New file.
1309
8b9c62ca 13102017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1311
1312 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1313 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1314
9b859c0a 13152017-05-05 Joshua Conner <joshconner@google.com>
1316
1317 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1318 pc-relative indirect handling for fuchsia.
1319 * config/t-slibgcc-fuchsia: New file.
1320 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
e67d3d38 1321 x86_64-*-fuchsia*): Add definitions.
9b859c0a 1322
44d47185 13232017-04-19 Martin Liska <mliska@suse.cz>
1324
1325 PR gcov-profile/80435
1326 * Makefile.in: Install gcov.h.
1327 * gcov.h: New file.
1328 * libgcov.h: Use the header and make __gcov_flush publicly
1329 visible.
1330
6db59335 13312017-04-18 Martin Liska <mliska@suse.cz>
1332
1333 PR gcov-profile/78783
1334 * libgcov-driver.c (gcov_get_filename): New function.
1335
726cec5c 13362017-04-07 Jeff Law <law@redhat.com>
1337
1338 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1339 target makefile fragment.
1340 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1341
47ad90e7 13422017-04-07 Alan Modra <amodra@gmail.com>
1343
1344 PR target/45053
1345 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1346
2fbe7a32 13472017-04-03 Jonathan Wakely <jwakely@redhat.com>
1348
1349 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1350
e69e67d4 13512017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1352
1353 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1354
319901d0 13552017-03-10 John Marino <gnugcc@marino.st>
1356
1357 * config/aarch64/freebsd-unwind.h: New file.
1358 * config.host: Add aarch64-*-freebsd unwinder.
1359
b97c2c61 13602017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1361
1362 * config/rs6000/crtrestvr.s: Use .machine altivec.
1363 * config/rs6000/crtsavevr.s: Ditto.
1364
8828c0f0 13652017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1366
1367 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1368 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1369 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1370 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1371 * configure: Regenerate.
1372 * config.in: Regenerate.
1373
b7714375 13742017-03-02 Jonathan Yong <10walls@gmail.com>
1375
1376 * config/i386/gthr-win32.h: Define NOGDI before
1377 windows.h include to prevent w32api CC_NONE macro
1378 clash with libgfortran.
1379
3a39f4cf 13802017-03-02 Jonathan Yong <10walls@gmail.com>
1381
1382 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1383
9c0ca8b6 13842017-02-16 Andrew Pinski <apinski@cavium.com>
1385
1386 * config/aarch64/value-unwind.h: New file.
1387 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1388 to tm_file.
1389
36387fad 13902017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1391
1392 * config.host: Add RISC-V tuples.
1393 * config/riscv/atomic.c: New file.
1394 * config/riscv/crti.S: Likewise.
1395 * config/riscv/crtn.S: Likewise.
1396 * config/riscv/div.S: Likewise.
1397 * config/riscv/linux-unwind.h: Likewise.
1398 * config/riscv/muldi3.S: Likewise.
1399 * config/riscv/multi3.S: Likewise.
1400 * config/riscv/save-restore.S: Likewise.
1401 * config/riscv/sfp-machine.h: Likewise.
1402 * config/riscv/t-elf: Likewise.
1403 * config/riscv/t-elf32: Likewise.
1404 * config/riscv/t-elf64: Likewise.
1405 * config/riscv/t-softfp32: Likewise.
1406 * config/riscv/t-softfp64: Likewise.
1407
e8c55c95 14082017-01-24 Jakub Jelinek <jakub@redhat.com>
1409
1410 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1411 /* FALLTHRU */ comments.
1412
a0e066ed 14132017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1414
1415 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1416
58c979ed 14172017-01-20 Jiong Wang <jiong.wang@arm.com>
1418
1419 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1420 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1421 DW_CFA_GNU_window_save for AArch64 and LP64.
1422
8657c382 14232017-01-20 Jiong Wang <jiong.wang@arm.com>
1424
1425 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1426
d10c58fd 14272017-01-19 Jiong Wang <jiong.wang@arm.com>
1428
1429 * config/aarch64/aarch64-unwind.h: New file.
1430 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1431 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1432 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1433 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1434 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1435 (aarch64_post_extract_frame_addr): New function.
1436 (aarch64_post_frob_eh_handler_addr): New function.
1437 (aarch64_frob_update_context): New function.
1438 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1439 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1440 aarch64*-*-freebsd*):
1441 Initialize md_unwind_header to include aarch64-unwind.h.
1442 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1443 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1444 __aarch64__.
1445 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1446 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1447 (uw_frob_return_addr): New function.
1448 (uw_install_context): Use uw_frob_return_addr.
1449
0812bb06 14502017-01-17 Jakub Jelinek <jakub@redhat.com>
1451
1452 PR other/79046
1453 * configure.ac: Add GCC_BASE_VER.
1454 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1455 version from BASE-VER file.
1456 * configure: Regenerated.
1457
fd961cec 14582017-01-13 Joe Seymour <joe.s@somniumtech.com>
1459
1460 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1461 libmul_f5.a): Filter archived prerequisites.
1462
e0aa57d6 14632017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1464
1465 * config/i386/cpuinfo.h (processor_features): Add
1466 FEATURE_AVX512VPOPCNTDQ.
1467 * config/i386/cpuinfo.c (get_available_features): Habdle new
1468 feature.
1469
4ed499e5 14702017-01-04 Joseph Myers <joseph@codesourcery.com>
1471
1472 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1473 payload if [__mips_nan2008].
1474
cb7a0f1d 14752017-01-04 Alan Modra <amodra@gmail.com>
1476
1477 * Makefile.in (configure_deps): Update.
1478 * configure: Regenerate.
1479
aad93da1 14802017-01-01 Jakub Jelinek <jakub@redhat.com>
1481
1482 Update copyright years.
1483
9834d450 14842016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1485
1486 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1487 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1488 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1489
1eff8c97 14902016-12-17 Matthias Klose <doko@ubuntu.com>
1491
1492 * config/arc/gmon: Remove empty directory.
1493
8df543e1 14942016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1495
1496 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1497 crtgend.
1498 (arc*-*-elf*): Likewise.
1499 * config/arc/t-arc: Remove old gmon lib targets.
1500 * config/arc/crtg.S: Remove.
1501 * config/arc/crtgend.S: Likewise.
1502 * config/arc/gmon/atomic.h: Likewise.
1503 * config/arc/gmon/auxreg.h: Likewise.
1504 * config/arc/gmon/dcache_linesz.S: Likewise.
1505 * config/arc/gmon/gmon.c: Likewise.
1506 * config/arc/gmon/machine-gmon.h: Likewise.
1507 * config/arc/gmon/mcount.c: Likewise.
1508 * config/arc/gmon/prof-freq-stub.S: Likewise.
1509 * config/arc/gmon/prof-freq.c: Likewise.
1510 * config/arc/gmon/profil.S: Likewise.
1511 * config/arc/gmon/sys/gmon.h: Likewise.
1512 * config/arc/gmon/sys/gmon_out.h: Likewise.
1513 * config/arc/t-arc-newlib: Likewise.
1514 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1515
489174fc 15162016-12-12 George Spelvin <linux@sciencehorizons.net>
1517
1518 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1519
4d1d4dad 15202016-12-12 George Spelvin <linux@sciencehorizons.net>
1521
1522 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1523 R16 instead of push + pop.
1524 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1525
a1928e5c 15262016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1527
1528 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1529 tmake_file.
1530
74d8fa14 15312016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1532
1533 * config.host (arc*-*-linux-uclibc*): Use default extra
1534 objects. Include linux-android header.
1535 * config/arc/crti.S (_init): Declare symbol as function.
1536 (_fini): Likewise.
1537
25df644f 15382016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1539
1540 PR fortran/78379
1541 * config/i386/cpuinfo.c: Move denums for processor vendors,
1542 processor type, processor subtypes and declaration of
1543 struct __processor_model into
1544 * config/i386/cpuinfo.h: New header file.
1545
2d3a01a7 15462016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1547 Thomas Preud'homme <thomas.preudhomme@arm.com>
1548
1549 * config/arm/cmse_nonsecure_call.S: New.
1550 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1551
0120ae30 15522016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1553 Thomas Preud'homme <thomas.preudhomme@arm.com>
1554
1555 * config/arm/t-arm (HAVE_CMSE): New.
1556 * config/arm/cmse.c: New.
1557
6c8f362e 15582016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1559
966d046c 1560 PR gcc/74748
1561 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1562 use generic linker version information on Blackfin.
1563
6c8f362e 1564 PR gcc/74748
1565 * libgcc/mkmap-symver.awk: add support for skip_underscore
1566
aaa50706 15672016-11-27 Iain Sandoe <iain@codesourcery.com>
1568 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1569
1570 PR target/67710
1571 * config/t-darwin: Default builds to 10.5 codegen.
1572
a5987adb 15732016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1574
1575 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1576 (_FP_NANSIGN_H): Likewise.
1577 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1578 (softfp_truncations): Add tfhf.
1579 (softfp_extras): Add required conversion functions.
1580
9f58227e 15812016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1582 Matthew Wahab <matthew.wahab@arm.com>
1583
1584 * config/arm/fp16.c (binary64): New.
1585 (__gnu_d2h_internal): New.
1586 (__gnu_d2h_ieee): New.
1587 (__gnu_d2h_alternative): New.
1588
684b17ed 15892016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1590 Matthew Wahab <matthew.wahab@arm.com>
1591
1592 * config/arm/fp16.c (struct format): New.
1593 (binary32): New.
1594 (__gnu_float2h_internal): New. Body moved from
1595 __gnu_f2h_internal and generalize.
1596 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1597 Call it with binary32.
1598
d1b857ae 15992016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1600
1601 * soft-fp/extendhftf2.c: Update from glibc.
1602 * soft-fp/fixhfti.c: Likewise.
1603 * soft-fp/fixunshfti.c: Likewise.
1604 * soft-fp/floattihf.c: Likewise.
1605 * soft-fp/floatuntihf.c: Likewise.
1606 * soft-fp/half.h: Likewise.
1607 * soft-fp/trunctfhf2.c: Likewise.
1608
7dbfd9e6 16092016-11-20 Marc Glisse <marc.glisse@inria.fr>
1610
1611 PR libgcc/77813
1612 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1613 __TMC_END__ behind a passthrough asm.
1614
6bf644d1 16152016-11-18 Walter Lee <walt@tilera.com>
1616
7dbfd9e6 1617 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
6bf644d1 1618
a28d23f0 16192016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1620
1621 * config/i386/cpuinfo.c (processor_features): Add
1622 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1623
732a947a 16242016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1625
1626 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1627 (__ARC_NORM__): Use instead ARC_OPTFPE.
1628 * config/arc/fp-hack.h: Likewise.
1629 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1630 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1631
7fce8768 16322016-11-16 Alexander Monakov <amonakov@ispras.ru>
1633
1634 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1635 * config/nvptx/mgomp.c: New file.
1636 * config/nvptx/t-nvptx: Add mgomp.c
1637
397d0e43 16382016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1639
1640 PR libgcc/68468
1641 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1642
44618e46 16432016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1644
1645 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1646 of checking for cpus.
1647 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1648 (__modsi3, __clzsi2): Likewise.
1649
6e6c7fc1 16502016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1651
1652 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1653 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1654 * config/i386/t-cpuinfo-static: New.
1655
36ffeeaf 16562016-11-03 Martin Liska <mliska@suse.cz>
1657
1658 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1659 (__gcov_time_profiler_atomic): Likewise.
1660
9769a02b 16612016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1662
1663 PR libgcc/78067
1664 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1665 count_leading_zeros.
1666
2743281b 16672016-11-02 Uros Bizjak <ubizjak@gmail.com>
1668
1669 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1670 * libgcc2.c (__divmoddi4): New function.
1671 * libgcc2.h (__divmoddi4): Declare.
1672 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1673 and __PFX_divmodti4.
1674
7829b1ae 16752016-10-24 Florian Weimer <fweimer@redhat.com>
1676
1677 PR libgcc/78064
1678 * unwind-c.c: Include auto-target.h.
1679
677e8b73 16802016-10-19 John David Anglin <danglin@gcc.gnu.org>
1681
2743281b 1682 * config/pa/pa64-hpux-lib.h: New file.
677e8b73 1683 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1684 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1685 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1686 hppa*64*-*-hpux11*.
1687
5dc8060e 16882016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1689
1690 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1691 definition.
1692 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1693 definition.
1694 * config/xtensa/t-windowed (LIB2ADDEH): Use
1695 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1696 or xtensa/t-linux.
1697
2b7e7fc4 16982016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1699
1700 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1701 __ieee754_sqrt): New functions.
1702 (__divdf3): Add implementation with new FPU instructions under
1703 #if XCHAL_HAVE_DFP_DIV.
1704 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1705 __ieee754_sqrtf): New functions.
1706 (__divsf3): Add implementation with new FPU instructions under
1707 #if XCHAL_HAVE_FP_DIV.
1708 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1709 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1710
ad7b10a2 17112016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1712
1713 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1714 equivalent.
1715 * config/tilepro/atomic.c: Likewise and stop casting model to
1716 enum memmodel.
1717
dff001ee 17182016-10-10 Joseph Myers <joseph@codesourcery.com>
1719
1720 PR target/77586
1721 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1722 soft-fp.
1723
88afddbc 17242016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1725
1726 * config.host: Add support for aarch64-*-freebsd*.
1727
7667e10d 17282016-10-05 Andreas Schwab <schwab@suse.de>
1729
1730 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1731 (.section .init_array): Don't call __do_jv_register_classes.
1732 (.section .init): Likewise.
1733
bc6b11a7 17342016-10-04 Jakub Jelinek <jakub@redhat.com>
1735
1736 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1737 (__JCR_LIST__): Remove.
1738 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1739 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1740 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1741 * config/ia64/crtend.S (__JCR_END__): Remove.
1742 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1743 conditionals.
1744 (__JCR_LIST__, __JCR_END__): Remove.
1745 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1746 (__do_global_ctors_1): Likewise.
1747
4785ab74 17482015-09-28 Uros Bizjak <ubizjak@gmail.com>
1749
1750 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1751 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1752
db46bcd3 17532016-09-27 Martin Liska <mliska@suse.cz>
1754
1755 PR gcov-profile/7970
1756 PR gcov-profile/16855
1757 PR gcov-profile/44779
1758 * libgcov-driver.c (__gcov_init): Do not register a atexit
1759 handler.
1760 (__gcov_exit): Rename from gcov_exit.
1761 * libgcov.h (__gcov_exit): Declare.
1762
1e849229 17632016-09-27 Martin Liska <mliska@suse.cz>
1764
1765 PR bootstrap/77749
1766 * Makefile.in: Remove _gcov_merge_delta.
1767 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1768 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1769 * libgcov.h: Remove declaration of __gcov_merge_delta.
1770
c678023a 17712016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1772
1773 * configure.ac: Do not create links, only substitute the filenames.
1774 * configure: Regenerate.
1775 * Makefile.in: Assign the substitution results to variables.
1776 (LIBGCC_LINKS): Define.
1777 (enable-execute-stack.c): New rule.
1778 (unwind.h): Likewise.
1779 (md-unwind-support.h): Likewise.
1780 (sfp-machine.h): Likewise.
1781 (gthr-default.h): Likewise.
1782 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1783 unwind.h as prerequisite of install-unwind_h-forbuild.
1784
69ea9908 17852016-09-16 Jakub Jelinek <jakub@redhat.com>
1786
1787 PR libgcc/71744
1788 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1789 is not the primary registry and atomics are available.
1790 (any_objects_registered): New variable.
1791 (__register_frame_info_bases, __register_frame_info_table_bases):
1792 Atomically store 1 to any_objects_registered after registering first
1793 unwind info.
1794 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1795
d1c9b60c 17962016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1797
1798 PR target/63250
1799 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1800 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1801 (HFtype): Likewise.
1802 (HCtype): Likewise.
1803 (__divhc3): Likewise.
1804 (__mulhc3): Likewise.
1805 * libgcc2.c: Support _mulhc3 and _divhc3.
1806
86d9b5ed 18072016-09-07 Joseph Myers <joseph@codesourcery.com>
1808
1809 PR libgcc/77519
1810 * libgcc2.c (NOTRUNC): Invert settings.
1811
4c790ba8 18122016-09-06 Martin Liska <mliska@suse.cz>
1813
1814 PR gcov-profile/77378
1815 PR gcov-profile/77466
1816 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1817 conditionaly enable/disable *_atomic functions.
1818
ac34f4bd 18192016-08-26 Joseph Myers <joseph@codesourcery.com>
1820
1821 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1822 where not already enabled.
1823
9cd45037 18242016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1825
1826 * config/mips/linux-unwind.h: Use sys/syscall.h.
1827
de41fc22 18282016-08-16 Joseph Myers <joseph@codesourcery.com>
1829
1830 PR libgcc/77265
1831 * soft-fp/adddf3.c: Update from glibc.
1832 * soft-fp/addsf3.c: Likewise.
1833 * soft-fp/addtf3.c: Likewise.
1834 * soft-fp/divdf3.c: Likewise.
1835 * soft-fp/divsf3.c: Likewise.
1836 * soft-fp/divtf3.c: Likewise.
1837 * soft-fp/double.h: Likewise.
1838 * soft-fp/eqdf2.c: Likewise.
1839 * soft-fp/eqsf2.c: Likewise.
1840 * soft-fp/eqtf2.c: Likewise.
1841 * soft-fp/extenddftf2.c: Likewise.
1842 * soft-fp/extended.h: Likewise.
1843 * soft-fp/extendsfdf2.c: Likewise.
1844 * soft-fp/extendsftf2.c: Likewise.
1845 * soft-fp/extendxftf2.c: Likewise.
1846 * soft-fp/fixdfdi.c: Likewise.
1847 * soft-fp/fixdfsi.c: Likewise.
1848 * soft-fp/fixdfti.c: Likewise.
1849 * soft-fp/fixsfdi.c: Likewise.
1850 * soft-fp/fixsfsi.c: Likewise.
1851 * soft-fp/fixsfti.c: Likewise.
1852 * soft-fp/fixtfdi.c: Likewise.
1853 * soft-fp/fixtfsi.c: Likewise.
1854 * soft-fp/fixtfti.c: Likewise.
1855 * soft-fp/fixunsdfdi.c: Likewise.
1856 * soft-fp/fixunsdfsi.c: Likewise.
1857 * soft-fp/fixunsdfti.c: Likewise.
1858 * soft-fp/fixunssfdi.c: Likewise.
1859 * soft-fp/fixunssfsi.c: Likewise.
1860 * soft-fp/fixunssfti.c: Likewise.
1861 * soft-fp/fixunstfdi.c: Likewise.
1862 * soft-fp/fixunstfsi.c: Likewise.
1863 * soft-fp/fixunstfti.c: Likewise.
1864 * soft-fp/floatdidf.c: Likewise.
1865 * soft-fp/floatdisf.c: Likewise.
1866 * soft-fp/floatditf.c: Likewise.
1867 * soft-fp/floatsidf.c: Likewise.
1868 * soft-fp/floatsisf.c: Likewise.
1869 * soft-fp/floatsitf.c: Likewise.
1870 * soft-fp/floattidf.c: Likewise.
1871 * soft-fp/floattisf.c: Likewise.
1872 * soft-fp/floattitf.c: Likewise.
1873 * soft-fp/floatundidf.c: Likewise.
1874 * soft-fp/floatundisf.c: Likewise.
1875 * soft-fp/floatunditf.c: Likewise.
1876 * soft-fp/floatunsidf.c: Likewise.
1877 * soft-fp/floatunsisf.c: Likewise.
1878 * soft-fp/floatunsitf.c: Likewise.
1879 * soft-fp/floatuntidf.c: Likewise.
1880 * soft-fp/floatuntisf.c: Likewise.
1881 * soft-fp/floatuntitf.c: Likewise.
1882 * soft-fp/gedf2.c: Likewise.
1883 * soft-fp/gesf2.c: Likewise.
1884 * soft-fp/getf2.c: Likewise.
1885 * soft-fp/ledf2.c: Likewise.
1886 * soft-fp/lesf2.c: Likewise.
1887 * soft-fp/letf2.c: Likewise.
1888 * soft-fp/muldf3.c: Likewise.
1889 * soft-fp/mulsf3.c: Likewise.
1890 * soft-fp/multf3.c: Likewise.
1891 * soft-fp/negdf2.c: Likewise.
1892 * soft-fp/negsf2.c: Likewise.
1893 * soft-fp/negtf2.c: Likewise.
1894 * soft-fp/op-1.h: Likewise.
1895 * soft-fp/op-2.h: Likewise.
1896 * soft-fp/op-4.h: Likewise.
1897 * soft-fp/op-8.h: Likewise.
1898 * soft-fp/op-common.h: Likewise.
1899 * soft-fp/quad.h: Likewise.
1900 * soft-fp/single.h: Likewise.
1901 * soft-fp/soft-fp.h: Likewise.
1902 * soft-fp/subdf3.c: Likewise.
1903 * soft-fp/subsf3.c: Likewise.
1904 * soft-fp/subtf3.c: Likewise.
1905 * soft-fp/truncdfsf2.c: Likewise.
1906 * soft-fp/trunctfdf2.c: Likewise.
1907 * soft-fp/trunctfsf2.c: Likewise.
1908 * soft-fp/trunctfxf2.c: Likewise.
1909 * soft-fp/unorddf2.c: Likewise.
1910 * soft-fp/unordsf2.c: Likewise.
1911 * soft-fp/unordtf2.c: Likewise.
1912
196b8968 19132016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1914
1915 PR gcov-profile/67097
1916 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1917
2d2b4107 19182016-08-10 Martin Liska <mliska@suse.cz>
1919
1920 PR gcov-profile/58306
1921 * Makefile.in: New functions (modules) are added.
1922 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1923 function.
1924 (__gcov_pow2_profiler_atomic): New function.
1925 (__gcov_one_value_profiler_body): New argument is instroduced.
1926 (__gcov_one_value_profiler): Call with the new argument.
1927 (__gcov_one_value_profiler_atomic): Likewise.
1928 (__gcov_indirect_call_profiler_v2): Likewise.
1929 (__gcov_time_profiler_atomic): New function.
1930 (__gcov_average_profiler_atomic): Likewise.
1931 (__gcov_ior_profiler_atomic): Likewise.
1932 * libgcov.h: Declare the aforementioned functions.
1933
ba662a81 19342016-08-09 Martin Liska <mliska@suse.cz>
1935
1936 * libgcov-util.c: Fix typo and GNU coding style.
1937
2d917abb 19382016-08-09 Martin Liska <mliska@suse.cz>
1939
1940 * Makefile.in: Remove __gcov_indirect_call_profiler.
1941 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1942 function.
1943 * libgcov.h: And the declaration of the function.
1944
defa7026 19452016-08-09 Martin Liska <mliska@suse.cz>
1946
1947 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1948 power of two.
1949
cc308618 19502016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1951
1952 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1953 * config/rs6000/_mulkc3.c: Likewise.
1954
33d428f0 19552016-07-29 Georg-Johann Lay <avr@gjlay.de>
1956
1957 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1958 zero_reg as previous call to __umulhisi3 already cleared it.
1959
04aca775 19602016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1961
1962 PR target/59833
1963 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1964
78c81e30 19652016-07-19 Nick Clifton <nickc@redhat.com>
1966
1967 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1968 Add crtinit.o and crtfini.o to extra_parts.
1969
244f142f 19702016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1971
1972 * config/rs6000/_divkc3.c: New.
1973 * config/rs6000/_mulkc3.c: New.
1974 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1975 and _divkc3.
1976 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1977 fp128_ppc_funcs.
1978
4623d929 19792016-07-11 Hale Wang <hale.wang@arm.com>
1980 Andre Vieira <andre.simoesdiasvieira@arm.com>
1981
1982 * config/arm/lib1funcs.S: Add new wrapper.
1983
2d079cbf 19842016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1985
1986 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1987
baea7c0c 19882016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1989
1990 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1991 and ARMv5t* rather than for a fixed list of architectures.
1992
9e6f4af4 19932016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1994
1995 * config/arm/bpabi-v6m.S: Clarify what architectures is the
1996 implementation suitable for.
1997 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1998 for all Thumb-1 only targets.
1999 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2000 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2001 __ARM_ARCH_6M__.
2002 (EQUIV): Likewise.
2003 (ARM_FUNC_ALIAS): Likewise.
2004 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2005 version.
2006 (modsi3): Likewise.
2007 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2008 (clzdi2): Likewise.
2009 (ctzsi2): Likewise.
2010 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2011 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2012 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2013 __ARM_ARCH_6M__ and add comment to indicate the connection between
2014 this condition and the one in gcc/config/arm/elf.h.
2015 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2016 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2017 * config/arm/t-softfp: Likewise.
2018
286a203d 20192016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2020
2021 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2022 CTOR_LISTS_DEFINED_EXTERNALLY.
2023
dabe3026 20242016-06-28 Walter Lee <walt@tilera.com>
2025
2026 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2027 asm/unistd.h.
2028 (SPR_CMPEXCH_VALUE): Define for tilegx.
2029 (__NR_FAST_cmpxchg): Define for tilepro.
2030 (__NR_FAST_atomic_update): Define for tilepro.
2031 (__NR_FAST_cmpxchg64): Define for tilepro.
2032
21ecea39 20332016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2034
2743281b 2035 * config.host: Add suport for arm*-*-phoenix* targets.
21ecea39 2036
03fee1f8 20372016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2038
2039 * config.host: Remove support for mep-*.
2040 * config/mep/lib1funcs.S: Remove.
2041 * config/mep/lib2funcs.c: Remove.
2042 * config/mep/t-mep: Remove.
2043 * config/mep/tramp.c: Remove.
2044
0f7d9ee5 20452016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2046
2047 * config.host: Remove support for avr-rtems.
2048 * config/avr/t-rtems: Remove.
2049
13c64cbf 20502016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2051
2052 * config.host: Remove m32r-rtems support.
2053
dac5da06 20542016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2055
2056 * config.host: Remove h8300-rtems support.
2057
79573034 20582016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2059
2060 * config.host: Remove support for knetbsd.
2061
b79c0f5e 20622016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2063
2064 * config.host: Remove support for openbsd 2 and 3.
2065
6905db52 20662016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2067
2068 * config.host: Remove interix support.
2069 * config/i386/t-interix: Remove.
2070
433e4812 20712016-06-18 John David Anglin <danglin@gcc.gnu.org>
2072
2073 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2074 least-significant bit in function pointer for fixup.
2075
5d4123dc 20762016-06-05 Aaron Conole <aconole@redhat.com>
2077 Nathan Sidwell <nathan@acm.org>
2078
2079 PR libgcc/71400
2080 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2081 (get_gcov_error_file): Check __gcov_error_file before trying to
2082 initialize it.
2083 (gcov_error): Always use get_gcov_error_file.
2084
3237fc56 20852016-06-02 Aaron Conole <aconole@redhat.com>
2086
2087 * libgcov-driver-system.c (__gcov_error_file): New.
2088 (get_gcov_error_file): New.
2089 (gcov_error): Use and set __gcov_error_file.
2090 (gcov_error_exit): New.
2091 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2092
16dbe651 20932016-05-26 Nathan Sidwell <nathan@acm.org>
2094
2095 * config/nvptx/free.asm: Delete.
2096 * config/nvptx/malloc.asm: Delete.
2097 * config/nvptx/realloc.c: Delete.
2098 * t-nvptx: Update.
2099
f6871bbd 21002016-05-25 Nathan Sidwell <nathan@acm.org>
2101
2102 * config/nvptx/crt0.s: Delete.
2103 * config/nvptx/crt0.c: New.
2104 * t-nvptx: Update.
2105
51d42eb1 21062016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2107
61958e92 2108 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
51d42eb1 2109 dw2/seh configuration.
2110 [x86_64-*-mingw*]: Likewise.
2111
ffdf58db 21122016-05-10 Joel Sherrill <joel@rtems.org>
2113
2114 PR libgcc/70720
2115 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2116 targets so the same extra_parts are built. Also have tmake_file add
2117 on to its value rather than override.
2118
9a9b5abf 21192016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2120
2121 * config.host: Remove SH5 support.
2122 * configure: Likewise.
2123
f6fac0a1 21242016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2125
2126 * config/sh/crt1.S: Remove SH5 support.
2127 * config/sh/crti.S: Likewise.
2128 * config/sh/crtn.S: Likewise.
2129 * config/sh/lib1funcs-4-300.S: Likewise.
2130 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2131 * config/sh/lib1funcs.S: Likewise.
2132 * config/sh/linux-unwind.h: Likewise.
2133 * config/sh/t-sh64: Delete.
2134
7238c72c 21352016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2136
2137 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2138
5caa55b9 21392016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2140 Joern Rennecke <joern.rennecke@embecosm.com>
2141
2142 * config/arc/crttls.S: New file.
2143 * config/arc/t-arc: New rule.
2144 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2145
10dd6506 21462016-04-25 Nick Clifton <nickc@redhat.com>
2147
2148 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2149 (__mspabi_cmpd): Likewise.
2150 * config/msp430/floathidf.c (__floathidf): Likewise.
2151 * config/msp430/floathisf.c (__floathisf): Likewise
2152 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2153 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2154 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2155 second parameter.
2156 (__ashrsi3): Likewise.
2157
1701058d 21582016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2159
2160 * config/m68k/linux-atomic.c: Do not include unistd.h
2161
9703b760 21622016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2163
2164 * config/arm/ieee754-df.S: Fix typos in comments.
2165
62735984 21662016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2167
2168 PR target/70381
2169 * configure.ac (powerpc*-*-linux*): Rework tests to build
2170 __float128 emulation routines to not depend on using #pragma GCC
2171 target to enable -mfloat128.
2172 * configure: Regnerate.
2173
1c934c58 21742016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2175
2176 PR target/67172
2177 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2178 __MINGW32__ is defined.
2179
28a5f334 21802016-03-28 James Bowman <james.bowman@ftdichip.com>
2181
61958e92 2182 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
28a5f334 2183
88a2143c 21842016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2185
2186 PR libgcc/70363
2187 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2188 built with an assembler that does not support ISA 3.0
2189 instructions, rename __extendkftf2_sw to __extendkftf2.
2190
ed3d624c 21912016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2192
2193 PR target/38239
2194 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2195 call-clobbered registers.
2196 (internal_mcount): Remove __i386__ handling.
2197
1e085786 21982016-02-26 Joel Sherrill <joel@rtems.org>
2199
2200 * config.host: Add x86_64-*-rtems*.
2201
05ea12a2 22022016-02-26 Joel Sherrill <joel@rtems.org>
2203
2204 * libgcc/config.host: Add aarch64-*-rtems*.
2205
9b71efb9 22062016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2207 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2208
2209 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2210 union of u64 and double.
2211 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2212 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2213 value.
2214 (FP_ROUNDMODE): Update the usage of _fpscr.
2215
e59c8b12 22162016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2217
2218 PR driver/68463
2219 * Makefile.in (crtoffloadtable$(objext)): New rule.
2220 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2221 enable_offload_targets is not empty.
2222 * configure: Regenerate.
2223 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2224 crtoffloadtable.
2225
1fa780ac 22262016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2227
2228 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2229 .literal_position before the function.
2230 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2231 Likewise.
2232
c6d481f7 22332016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2234
2235 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2236 * config/s390/morestack.S: New file.
2237 * config/s390/t-stack-s390: New file.
2238 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2239
d58f7073 22402016-02-12 Walter Lee <walt@tilera.com>
2241
2242 * config.host (tilegx*-*-linux*): remove ti from
2243 softfp_int_modes for 32-bit configs.
2244
43cfc88a 22452016-02-10 Ian Lance Taylor <iant@google.com>
2246
2247 PR go/68562
2248 * config/i386/morestack.S (__stack_split_initialize): Align
2249 stack.
2250
ad2fe514 22512016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2252
2253 PR bootstrap/69611
2254 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2255 __FLOAT128__ to compile only for __float128 capable targets.
2256
92e91d03 22572016-01-25 Jakub Jelinek <jakub@redhat.com>
2258
2259 PR target/69444
2260 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2261 instead of ___NO_FPRS__.
2262
d99eec2c 22632016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
92e91d03 2264 Steven Munroe <munroesj@linux.vnet.ibm.com>
2265 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
d99eec2c 2266
2267 * config/rs6000/float128-sed: New files to convert TF names to KF
2268 names for PowerPC IEEE 128-bit floating point support.
2269 * config/rs6000/float128-sed-hw: Likewise.
2270
2271 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2272 floating point hardware support.
2273
2274 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2275 128-bit floating point software emulation or use ISA 3.0 hardware
2276 support if it is available.
2277
2278 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2279 floating point.
2280
2281 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2282 floating point to IBM extended double.
2283
2284 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2285 double to IEEE 128-bit floating point.
2286
2287 * config/rs6000/t-float128: New Makefile fragments to enable
2288 building __float128 emulation support.
2289 * config/rs6000/t-float128-hw: Likewise.
2290
2291 * config/rs6000/sfp-exceptions.c: New file to provide exception
2292 support for IEEE 128-bit floating point.
2293
2294 * config/rs6000/floattikf.c: New files for converting between IEEE
2295 128-bit floating point and signed/unsigned 128-bit integers.
2296 * config/rs6000/fixunskfti.c: Likewise.
2297 * config/rs6000/fixkfti.c: Likewise.
2298 * config/rs6000/floatuntikf.c: Likewise.
2299
2300 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2301 when building on 64-bit systems, or when VSX is enabled.
2302 (_FP_W_TYPE): Likewise.
2303 (_FP_WS_TYPE): Likewise.
2304 (_FP_I_TYPE): Likewise.
2305 (TItype): Define on 64-bit systems.
2306 (UTItype): Likewise.
2307 (TI_BITS): Likewise.
2308 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2309 (_FP_MUL_MEAT_Q): Likewise.
2310 (_FP_DIV_MEAT_D): Likewise.
2311 (_FP_DIV_MEAT_Q): Likewise.
2312 (_FP_NANFRAC_D): Likewise.
2313 (_FP_NANFRAC_Q): Likewise.
2314 (ISA_BIT): Add exception support if we are being compiled on a
2315 machine with hardware floating point support to build the IEEE
2316 128-bit emulation functions.
2317 (FP_EX_INVALID): Likewise.
2318 (FP_EX_OVERFLOW): Likewise.
2319 (FP_EX_UNDERFLOW): Likewise.
2320 (FP_EX_DIVZERO): Likewise.
2321 (FP_EX_INEXACT): Likewise.
2322 (FP_EX_ALL): Likewise.
2323 (__sfp_handle_exceptions): Likewise.
2324 (FP_HANDLE_EXCEPTIONS): Likewise.
2325 (FP_RND_NEAREST): Likewise.
2326 (FP_RND_ZERO): Likewise.
2327 (FP_RND_PINF): Likewise.
2328 (FP_RND_MINF): Likewise.
2329 (FP_RND_MASK): Likewise.
2330 (_FP_DECL_EX): Likewise.
2331 (FP_INIT_ROUNDMODE): Likewise.
2332 (FP_ROUNDMODE): Likewise.
2333
2334 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2335 VSX code, enable IEEE 128-bit floating point. If the compiler can
2336 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2337 floating point hardware instructions and it supports declaring
2338 functions with the ifunc attribute, enable ifunc functions to
2339 switch between software and hardware support.
2340 * configure.ac (powerpc*-*-linux*): Likewise.
2341 * configure: Regenerate.
2342
f557f14d 23432016-01-15 Nick Clifton <nickc@redhat.com>
2344
2345 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2346 dependency as the source file to be compiled.
2347 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2348 (lib2hw_mul_f5.o): Likewise.
2349
0e0d3ecb 23502016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2351
2352 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2353 * libgcc/config/rs6000/fixkfti.c: Likewise.
2354 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2355 * libgcc/config/rs6000/float128-hw.c: Likewise.
2356 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2357 * libgcc/config/rs6000/float128-sed: Likewise.
2358 * libgcc/config/rs6000/floattikf.c: Likewise.
2359 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2360 * libgcc/config/rs6000/quad-float128.h: Likewise.
2361 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2362 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2363 * libgcc/config/rs6000/t-float128: Likewise.
2364 * libgcc/config/rs6000/t-float128-hw: Likewise.
2365 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2366 * libgcc/config.host: Likewise.
2367 * libgcc/configure: Likewise.
2368 * libgcc/configure.ac: Likewise.
2369
398368d8 23702016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
92e91d03 2371 Steven Munroe <munroesj@linux.vnet.ibm.com>
2372 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
398368d8 2373
2374 * config/rs6000/sfp-exceptions.c: New file to provide exception
2375 support for IEEE 128-bit floating point.
2376
2377 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2378 floating point hardware support.
2379
2380 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2381 point conversions.
2382 * config/rs6000/fixunskfti.c: Likewise.
2383 * config/rs6000/fixkfti.c: Likewise.
2384 * config/rs6000/floatuntikf.c: Likewise.
2385 * config/rs6000/extendkftf2-sw.c: Likewise.
2386 * config/rs6000/trunctfkf2-sw.c: Likewise.
2387
2388 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2389 128-bit floating point software emulation or use ISA 3.0 hardware
2390 support if it is available.
2391
2392 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2393 floating point.
2394
2395 * config/rs6000/t-float128: New Makefile fragments to enable
2396 building __float128 emulation support.
2397 * config/rs6000/t-float128-hw: Likewise.
2398
2399 * config/rs6000/float128-sed: New file to convert TF names to KF
2400 names for PowerPC IEEE 128-bit floating point support.
2401
2402 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2403 when building on 64-bit systems, or when VSX is enabled.
2404 (_FP_W_TYPE): Likewise.
2405 (_FP_WS_TYPE): Likewise.
2406 (_FP_I_TYPE): Likewise.
2407 (TItype): Define on 64-bit systems.
2408 (UTItype): Likewise.
2409 (TI_BITS): Likewise.
2410 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2411 (_FP_MUL_MEAT_Q): Likewise.
2412 (_FP_DIV_MEAT_D): Likewise.
2413 (_FP_DIV_MEAT_Q): Likewise.
2414 (_FP_NANFRAC_D): Likewise.
2415 (_FP_NANFRAC_Q): Likewise.
2416 (ISA_BIT): Add exception support if we are being compiled on a
2417 machine with hardware floating point support to build the IEEE
2418 128-bit emulation functions.
2419 (FP_EX_INVALID): Likewise.
2420 (FP_EX_OVERFLOW): Likewise.
2421 (FP_EX_UNDERFLOW): Likewise.
2422 (FP_EX_DIVZERO): Likewise.
2423 (FP_EX_INEXACT): Likewise.
2424 (FP_EX_ALL): Likewise.
2425 (__sfp_handle_exceptions): Likewise.
2426 (FP_HANDLE_EXCEPTIONS): Likewise.
2427 (FP_RND_NEAREST): Likewise.
2428 (FP_RND_ZERO): Likewise.
2429 (FP_RND_PINF): Likewise.
2430 (FP_RND_MINF): Likewise.
2431 (FP_RND_MASK): Likewise.
2432 (_FP_DECL_EX): Likewise.
2433 (FP_INIT_ROUNDMODE): Likewise.
2434 (FP_ROUNDMODE): Likewise.
2435
2436 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2437 compiler can do __float128.
2438 * configure: Regenerate.
2439
2440 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2441 VSX code, enable IEEE 128-bit floating point.
2442
25cbccba 24432016-01-05 Olivier Hainque <hainque@adacore.com>
2444
2445 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
398368d8 2446 specificities.
25cbccba 2447
f1717362 24482016-01-04 Jakub Jelinek <jakub@redhat.com>
2449
2450 Update copyright years.
2451
444b6906 24522015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2453
2454 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
398368d8 2455 soft-fp targets.
444b6906 2456
9ff93578 24572015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2458
2459 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2460 instead of abort to avoid dependency on stdlib.h.
2461
a59e6fa6 24622015-12-09 John David Anglin <danglin@gcc.gnu.org>
2463
2464 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2465 to initialize call to __dl_fixup once.
2466
7ed86ba5 24672015-12-04 Nick Clifton <nickc@redhat.com>
2468
2469 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2470 Allow for the second argument being negative.
2471 * config.host (extra_parts): Define for MSP430. Create separate
2472 libraries for each of the hardware multiply formats.
2473 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2474 that are needed.
2475 * config/msp430/lib2mul.c: Likewise.
2476 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2477 Add rules to build hardware multiply libraries.
2478 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2479 __mspabi_divul function.
2480 (__mspabi_divllu): New stub function.
2481
2ec62878 24822015-12-01 John David Anglin <danglin@gcc.gnu.org>
2483
2484 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2485 fixup values if saved GOT address doesn't match runtime address.
2486 (fixup_branch_offset): Reorder list.
2487
08de21a4 24882015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2489
2490 * Makefile.in (VTV_CFLAGS): New variable.
2491 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2492 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2493 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2494 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2495 to extra_parts if $enable_vtable_verify = yes.
2496
7824e89a 24972015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2498
2499 PR target/68059
2500 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2501 (write): ...this and fix the return type.
2502
c0b6819e 25032015-11-19 DJ Delorie <dj@redhat.com>
2504
2505 * config/msp430/lib2hw_mul.S: Fix alignment.
2506
1927fff5 25072015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2508
2509 * config/nvptx/reduction.c: New.
2510 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2511
5bbad880 25122015-11-15 David Edelsohn <dje.gcc@gmail.com>
2513
2514 * config/rs6000/on_exit.c: New file.
2515 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2516 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2517
0c4d7986 25182015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2519
2520 * config/arc/dp-hack.h: Add support for ARCHS.
2521 * config/arc/ieee-754/divdf3.S: Likewise.
2522 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2523 * config/arc/ieee-754/muldf3.S: Likewise.
2524 * config/arc/ieee-754/mulsf3.S: Likewise
2525 * config/arc/lib1funcs.S: Likewise
2526 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2527 for ARCv2 cores.
2528 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2529 for ARCv2 cores.
2530 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2531 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2532 cores.
2533
4fa8daf5 25342015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2535
2536 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2537 value.
2538 * config/ia64/crtend.S: Likewise.
2539
d2dc729f 25402015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2541
2542 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2543 __CHAR_BIT__ instead of BITS_PER_UNIT.
2544 * fixed-bit.h: Likewise.
2545 * fp-bit.h: Likewise.
2546 * libgcc2.c (__popcountSI2): Likewise.
2547 (__popcountDI2): Likewise.
2548 * libgcc2.h: Likewise.
2549 * libgcov.h: Likewise.
2550
69de5ea9 25512015-11-07 David Edelsohn <dje.gcc@gmail.com>
2552
2553 * config/rs6000/atexit.c: New file.
2554 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2555 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2556 * config/rs6000/cxa_finalize.c
2557 (catomic_compare_and_exchange_bool_acq): Negate return value.
2558
47ce082f 25592015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2560
2561 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2562 (processor_subtypes): Add znver1.
2563 (get_amd_cpu): Detect znver1.
2564
18e98669 25652015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2566
2567 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2568 Include crtfastmath.o.
2569
9003096f 25702015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2571
2572 PR libgcc/66883
2573 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
18e98669 2574
2ee6cfdb 25752015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2576
2577 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2578 * config/rl78/divmodsi.S: Update return register to r8.
2579 * config/rl78/divmodhi.S: Update return register to r8,r9.
2580 Branch to main_loop_done_himode to pop registers before return.
2581
92e91d03 25822015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5814084e 2583
2584 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2585 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2586
6c1b774a 25872015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2588
2589 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2590
e3c15dbe 25912015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2592
2593 * config.host (xtensa*-*-uclinux*): New configuration.
2594
767110dd 25952015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2596
61958e92 2597 * config/i386/cpuinfo.c (processor_features): Add
767110dd 2598 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2599
b576f5d8 26002015-09-28 Joseph Myers <joseph@codesourcery.com>
2601
2602 * soft-fp/adddf3.c: Update from glibc.
2603 * soft-fp/addsf3.c: Likewise.
2604 * soft-fp/addtf3.c: Likewise.
2605 * soft-fp/divdf3.c: Likewise.
2606 * soft-fp/divsf3.c: Likewise.
2607 * soft-fp/divtf3.c: Likewise.
2608 * soft-fp/double.h: Likewise.
2609 * soft-fp/eqdf2.c: Likewise.
2610 * soft-fp/eqsf2.c: Likewise.
2611 * soft-fp/eqtf2.c: Likewise.
2612 * soft-fp/extenddftf2.c: Likewise.
2613 * soft-fp/extended.h: Likewise.
2614 * soft-fp/extendsfdf2.c: Likewise.
2615 * soft-fp/extendsftf2.c: Likewise.
2616 * soft-fp/extendxftf2.c: Likewise.
2617 * soft-fp/fixdfdi.c: Likewise.
2618 * soft-fp/fixdfsi.c: Likewise.
2619 * soft-fp/fixdfti.c: Likewise.
2620 * soft-fp/fixsfdi.c: Likewise.
2621 * soft-fp/fixsfsi.c: Likewise.
2622 * soft-fp/fixsfti.c: Likewise.
2623 * soft-fp/fixtfdi.c: Likewise.
2624 * soft-fp/fixtfsi.c: Likewise.
2625 * soft-fp/fixtfti.c: Likewise.
2626 * soft-fp/fixunsdfdi.c: Likewise.
2627 * soft-fp/fixunsdfsi.c: Likewise.
2628 * soft-fp/fixunsdfti.c: Likewise.
2629 * soft-fp/fixunssfdi.c: Likewise.
2630 * soft-fp/fixunssfsi.c: Likewise.
2631 * soft-fp/fixunssfti.c: Likewise.
2632 * soft-fp/fixunstfdi.c: Likewise.
2633 * soft-fp/fixunstfsi.c: Likewise.
2634 * soft-fp/fixunstfti.c: Likewise.
2635 * soft-fp/floatdidf.c: Likewise.
2636 * soft-fp/floatdisf.c: Likewise.
2637 * soft-fp/floatditf.c: Likewise.
2638 * soft-fp/floatsidf.c: Likewise.
2639 * soft-fp/floatsisf.c: Likewise.
2640 * soft-fp/floatsitf.c: Likewise.
2641 * soft-fp/floattidf.c: Likewise.
2642 * soft-fp/floattisf.c: Likewise.
2643 * soft-fp/floattitf.c: Likewise.
2644 * soft-fp/floatundidf.c: Likewise.
2645 * soft-fp/floatundisf.c: Likewise.
2646 * soft-fp/floatunditf.c: Likewise.
2647 * soft-fp/floatunsidf.c: Likewise.
2648 * soft-fp/floatunsisf.c: Likewise.
2649 * soft-fp/floatunsitf.c: Likewise.
2650 * soft-fp/floatuntidf.c: Likewise.
2651 * soft-fp/floatuntisf.c: Likewise.
2652 * soft-fp/floatuntitf.c: Likewise.
2653 * soft-fp/gedf2.c: Likewise.
2654 * soft-fp/gesf2.c: Likewise.
2655 * soft-fp/getf2.c: Likewise.
2656 * soft-fp/ledf2.c: Likewise.
2657 * soft-fp/lesf2.c: Likewise.
2658 * soft-fp/letf2.c: Likewise.
2659 * soft-fp/muldf3.c: Likewise.
2660 * soft-fp/mulsf3.c: Likewise.
2661 * soft-fp/multf3.c: Likewise.
2662 * soft-fp/negdf2.c: Likewise.
2663 * soft-fp/negsf2.c: Likewise.
2664 * soft-fp/negtf2.c: Likewise.
2665 * soft-fp/op-1.h: Likewise.
2666 * soft-fp/op-2.h: Likewise.
2667 * soft-fp/op-4.h: Likewise.
2668 * soft-fp/op-8.h: Likewise.
2669 * soft-fp/op-common.h: Likewise.
2670 * soft-fp/quad.h: Likewise.
2671 * soft-fp/single.h: Likewise.
2672 * soft-fp/soft-fp.h: Likewise.
2673 * soft-fp/subdf3.c: Likewise.
2674 * soft-fp/subsf3.c: Likewise.
2675 * soft-fp/subtf3.c: Likewise.
2676 * soft-fp/truncdfsf2.c: Likewise.
2677 * soft-fp/trunctfdf2.c: Likewise.
2678 * soft-fp/trunctfsf2.c: Likewise.
2679 * soft-fp/trunctfxf2.c: Likewise.
2680 * soft-fp/unorddf2.c: Likewise.
2681 * soft-fp/unordsf2.c: Likewise.
2682 * soft-fp/unordtf2.c: Likewise.
2683
0ed0ef69 26842015-09-24 Richard Earnshaw <rearnsha@arm.com>
2685
2686 PR libgcc/67624
2687 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2688
80fc7cb7 26892015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2690
2691 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2692 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2693 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2694 messages.
2695 (internal_mcount): Likewise.
2696 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2697 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2698
ba24ad38 26992015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2700
2701 * configure.ac (libgcc_cv_solaris_crts): New test.
2702 * configure: Regenerate.
2703 * config.in: Regenerate.
2704 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2705 * config/gmon-sol2.c: Rename to ...
2706 * config/sol2/gmon.c: ... this.
2707 Include auto-target.h.
2708 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2709 * config/t-sol2: Rename to ...
2710 * config/sol2/t-sol2: ... this.
2711 (gmon.o): Reflect renaming.
2712 (crtp.o, crtpg.o): New rules.
2713 * config.host (*-*-solaris2*): Reflect renaming.
2714 Use system CRTs if present.
2715 Remove default CRT case.
2716
c2ab7513 27172015-09-23 John David Anglin <danglin@gcc.gnu.org>
2718
2719 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2720 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2721 __kernel_cmpxchg2.
2722 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2723 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2724 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2725 (__sync_lock_test_and_set_##WIDTH): Likewise.
2726 (__sync_lock_release_##WIDTH): Likewise.
2727 (__sync_fetch_and_##OP##_4): Change result to match type of
2728 __kernel_cmpxchg.
2729 (__sync_##OP##_and_fetch_4): Likewise.
2730 (__sync_val_compare_and_swap_4): Likewise.
2731 (__sync_bool_compare_and_swap_4): likewise.
2732 (__sync_lock_test_and_set_4): Likewise.
2733 (__sync_lock_release_4): Likewise.
2734 (FETCH_AND_OP_2): Add long long variants.
2735 (OP_AND_FETCH_2): Likewise.
2736 (COMPARE_AND_SWAP_2 ): Likewise.
2737 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2738 (SYNC_LOCK_RELEASE_2): Likewise.
2739 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2740
92e91d03 27412015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
f96d88a8 2742
2743 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2744 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2745 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2746 (get_available_features): Habdle new features.
2747
672cc719 27482015-09-21 James Bowman <james.bowman@ftdichip.com>
2749
2750 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2751 memory layout. Deal correctly with BSS region larger than 32K.
2752 Handle a watchdog reset like a power-on reset. Clean up unused
2753 code.
2754
552a60d3 27552015-09-18 Andrew Dixie <andrewd@gentrack.com>
2756 David Edelsohn <dje.gcc@gmail.com>
2757
2758 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2759 * config/rs6000/crtdbase.S: New file.
2760 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2761
f12cf9f4 27622015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2763
2764 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2765 Add support for call0 ABI.
2766
9d8ce924 27672015-09-13 John David Anglin <danglin@gcc.gnu.org>
2768
2769 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2770
196c8383 27712015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2772
2773 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2774 (__GTHREAD_HAS_COND): Likewise.
2775 (__gthread_t): Likewise.
2776 (__gthread_cond_t): Likewise.
2777 (__gthread_time_t): Likewise.
2778 (__GTHREAD_MUTEX_INIT): Likewise.
2779 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2780 (__GTHREAD_COND_INIT): Likewise.
2781 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2782 (__GTHREAD_TIME_INIT): Likewise.
2783 (__gthread_create): Likewise.
2784 (__gthread_join): Likewise.
2785 (__gthread_detach): Likewise.
2786 (__gthread_equal): Likewise.
2787 (__gthread_self): Likewise.
2788 (__gthread_yield): Likewise.
2789 (__gthread_cond_broadcast): Likewise.
2790 (__gthread_cond_signal): Likewise.
2791 (__gthread_cond_wait): Likewise.
2792 (__gthread_cond_timedwait): Likewise.
2793 (__gthread_cond_wait_recursive): Likewise.
2794 (__gthread_cond_destroy): Likewise.
2795 (rtems_gxx_once): Delete.
2796 (rtems_gxx_key_create): Likewise.
2797 (rtems_gxx_key_delete): Likewise.
2798 (rtems_gxx_getspecific): Likewise.
2799 (rtems_gxx_setspecific): Likewise.
2800 (rtems_gxx_mutex_init): Likewise.
2801 (rtems_gxx_mutex_destroy): Likewise.
2802 (rtems_gxx_mutex_lock): Likewise.
2803 (rtems_gxx_mutex_trylock): Likewise.
2804 (rtems_gxx_mutex_unlock): Likewise.
2805 (rtems_gxx_recursive_mutex_init): Likewise.
2806 (rtems_gxx_recursive_mutex_lock): Likewise.
2807 (rtems_gxx_recursive_mutex_trylock): Likewise.
2808 (rtems_gxx_recursive_mutex_unlock): Likewise.
2809 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2810 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2811 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2812 (__gthread_once): Likewise.
2813 (__gthread_key_create): Likewise.
2814 (__gthread_key_delete): Likewise.
2815 (__gthread_getspecific): Likewise.
2816 (__gthread_setspecific): Likewise.
2817 (__gthread_key_t): Use <pthread.h> type.
2818 (__gthread_once_t): Likewise
2819 (__gthread_mutex_t): Use <sys/lock.h> type.
2820 (__gthread_recursive_mutex_t): Likewise
2821 (__gthread_mutex_lock): Use <sys/lock.h> function.
2822 (__gthread_mutex_trylock): Likewise.
2823 (__gthread_mutex_timedlock): Likewise.
2824 (__gthread_mutex_unlock): Likewise.
2825 (__gthread_mutex_destroy): Likewise.
2826 (__gthread_recursive_mutex_lock): Likewise.
2827 (__gthread_recursive_mutex_trylock): Likewise.
2828 (__gthread_recursive_mutex_timedlock): Likewise.
2829 (__gthread_recursive_mutex_unlock): Likewise.
2830 (__gthread_recursive_mutex_destroy): Likewise.
2831
15b21d23 28322015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2833
2834 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2835 context->sp instead of context->cfa.
2836
8a596a77 28372015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2838
2839 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2840 with unwind-dw2-fde-dip.
2841
863356ea 28422015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2843
2844 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2845 CALL12 followed by series of ENTRY to spill windowed registers.
2846 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2847 instead of making linux spill syscall.
2848
58bb1dbe 28492015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2850
2851 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2852 (get_intel_cpu): Likewise.
2853
cba3f034 28542015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2855
2856 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2857 (get_intel_cpu): Add Knights Landing support.
2858
aca0ff16 28592015-08-11 Uros Bizjak <ubizjak@gmail.com>
2860
2861 PR target/66954
2862 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2863 (get_available_features): Handle FEATURE_PCLMUL.
2864
71b19c56 28652015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2866
2867 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2868 Broadwell.
2869
ff285c74 28702015-07-22 Uros Bizjak <ubizjak@gmail.com>
2871
2872 PR target/66954
2873 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2874 (get_available_features): Handle FEATURE_AES.
2875
a46441d0 28762015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2877
2878 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2879 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2880
4e985e0f 28812015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2882
2883 * offloadstuff.c: Constify host data.
2884
c780eb05 28852015-07-17 Jan Beulich <jbeulich@suse.com>
2886
2887 * config/t-softfp: Split up "else ifneq".
2888
70425b26 28892015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2890 Cesar Philippidis <cesar@codesourcery.com>
2891 Chung-Lin Tang <cltang@codesourcery.com>
2892
2893 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2894 for __nios2_arch__ level.
2895
6c8a3242 28962015-07-13 John Marino <gnugcc@marino.st>
2897
2898 * config/i386/t-dragonfly: New.
2899
d277282f 29002015-07-01 John David Anglin <danglin@gcc.gnu.org>
2901
2902 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2903 better match light-weight syscall argument order.
2904 (__kernel_cmpxchg2): Likewise.
2905 Adjust callers.
2906
146896ec 29072015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2908
2909 * config.host: Support i[34567]86-*-elfiamcu target.
2910 * config/t-softfp-sfdftf: New file.
2911 * config/i386/32/t-iamcu: Likewise.
2912 * configure: Regenerated.
2913
58ddcdad 29142015-06-23 James Lemke <jwlemke@codesourcery.com>
2915
2916 libgcc/config/arm/
2917 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2918
e9abca4f 29192015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2920
2921 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2922
92e91d03 29232015-05-27 John Marino <gnugcc@marino.st>
328976ed 2924
2925 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2926 md_unwind_header
2927 * config/i386/freebsd-unwind.h: New.
2928
2a8549e0 29292015-05-22 Uros Bizjak <ubizjak@gmail.com>
2930
2931 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2932 i386/t-crtfm to tmake_file.
2933 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2934 (set_fast_math): Use set_fast_math_sse for SSE targets.
2935 * config/i386/t-crtfm: Remove.
2936
b5d18737 29372015-05-21 Alan Modra <amodra@gmail.com>
2938
2939 PR libgcc/66225
2940 * config/rs6000/morestack.S: Remove ".abiversion 1".
2941
ec3f28c9 29422015-05-20 Alan Modra <amodra@gmail.com>
2943
2944 * config/rs6000/morestack.S: New.
2945 * config/rs6000/t-stack-rs6000: New.
2946 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2947 to tmake_file.
2948 * generic-morestack.c: Don't build for powerpc 32-bit.
2949
11087c28 29502015-05-19 Eric Botcazou <ebotcazou@adacore.com>
2951
2952 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2953 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2954
f29929b5 29552015-05-16 James Bowman <james.bowman@ftdichip.com>
2956
2957 * config.host: FT32 target added.
2958 * config/ft32/*: New files for FT32 target.
2959
ce86a36a 29602015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2961
61958e92 2962 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2963 New macros.
2964 * config/arm/ieee754-df.S: Add CFI directives.
2965 * config/arm/ieee754-sf.S: Add CFI directives.
ce86a36a 2966
177cc56c 29672015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2968
2969 * configure.ac: Include config/sjlj.m4.
2970 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2971 * config.in: Regenerate.
2972 * configure: Likewise.
2973 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2974
a8a5046c 29752015-05-12 Uros Bizjak <ubizjak@gmail.com>
2976
2977 * libgcov-util.c: Add space between string literal and macro name.
2978
1ddaa252 29792015-05-06 Sandra Loosemore <sandra@codesourcery.com>
2980 Chris Jones <chrisj@nvidia.com>
2981 Joshua Conner <jconner@nvidia.com>
2982
2983 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2984 (arm*-*-uclinux*): Likewise.
2985 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2986 * config/arm/crtfastmath.c: New file.
2987
162f9d1e 29882014-04-29 Bernd Schmidt <bernds@codesourcery.com>
2989
2990 * Makefile.in (real_host_noncanonical): New variable.
2991 (libsubdir): Use it.
2992 * configure.ac (real_host_noncanonical): Compute. Remove special
2993 case for intelmicemul.
2994 * configure: Regenerate.
2995
005a5ef5 29962015-04-28 Uros Bizjak <ubizjak@gmail.com>
2997
2998 * config/frv/elf-lib.h: New file.
2999 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3000 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3001 to tm_file.
3002
30032015-04-28 Uros Bizjak <ubizjak@gmail.com>
3004
3005 * config/frv/frvbengin.c: Do not include defaults.h
3006 * config/frv/frvend.c: Ditto.
3007
acff2768 30082015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3009
3010 * config.host: Add h8300-*-linux
3011 * config/h8300/t-linux: New file.
3012 * config/h8300/lib1funs.s: Change symbol prefix.
3013 * config/h8300/sfp-machine.h: 64bit double support.
3014
a2e31d06 30152015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3016 Szabolcs Nagy <szabolcs.nagy@arm.com>
3017
3018 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3019 Linux if target provides dl_iterate_phdr.
3020
4b5fb32a 30212015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3022
3023 PR target/65612
3024 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3025 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3026 (__cpu_indicator_init@GCC_4.8.0): New.
3027 (__cpu_model@GCC_4.8.0): Likewise.
3028 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3029 -DUSE_ELF_SYMVER.
3030
e98e1692 30312015-04-16 Nick Clifton <nickc@redhat.com>
3032
3033 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3034 and __modhi3 functions.
3035 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3036 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3037
a0093a4f 30382015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3039
3040 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3041 do-while loop as macro body to avoid warnings.
3042
fb5ccd6d 30432015-04-10 Jakub Jelinek <jakub@redhat.com>
3044 Iain Sandoe <iain@codesourcery.com>
3045
3046 PR target/65351
3047 * configure: Regenerate.
3048
b1b085e0 30492015-04-07 Jakub Jelinek <jakub@redhat.com>
3050 Iain Sandoe <iain@codesourcery.com>
3051
3052 PR target/65351
3053 * configure: Regenerate.
3054
7ca58a65 30552015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3056
3057 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3058
b89c671b 30592015-03-03 Max Filippov <jcmvbkbc@gmail.com>
7ca58a65 3060
b89c671b 3061 Implement call0 ABI for xtensa
3062 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3063 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3064 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3065 use ret in call0 ABI.
3066 * config/xtensa/t-windowed: New file.
3067 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3068 * libgcc/configure: Regenerated.
3069 * libgcc/configure.ac: Check if xtensa target is configured for
3070 windowed ABI and thus needs to use custom unwind code.
3071
69831bb2 30722015-02-12 Jonathan Wakely <jwakely@redhat.com>
3073
3074 PR libgcc/64885
3075 * gthr-single.h: Use __unused__ attribute instead of unused.
3076 * config/gthr-vxworks.h: Likewise.
3077 * config/i386/gthr-win32.h: Likewise.
3078
c905381f 30792015-02-27 Kai Tietz <ktietz@redhat.com>
3080
3081 PR target/65038
3082 * config.in: Regenerated.
3083 * configure: Likewise.
3084 * configure.ac (AC_HEADER_STDC): Added explicit.
3085 (AC_CHECK_HEADERS): Check for default headers plus
3086 for ftw.h header.
3087 * libgcov-util.c (gcov_read_profile_dir): Disable use
3088 of ftw-function, if header is not found.
3089 (ftw_read_file): Likewise.
3090
0853f8db 30912015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3092
3093 PR target/65181
3094 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3095 -Dinhibit_libc.
3096
1c55a862 30972015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3098
3099 * config/arm/bpabi.S (test_div_by_zero): Make label names
3100 consistent between thumb2 and arm mode cases. Separate the
3101 signed comparison on the high word of the numerator from the
3102 unsigned comparison on the low word.
3103 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3104 signed comparison.
3105
6014aff2 31062015-02-17 Joseph Myers <joseph@codesourcery.com>
3107
3108 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3109 and <string.h>.
3110 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3111
a698bcaa 31122015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3113
3114 PR gcov-profile/61889
3083dd2f 3115 * libgcov-driver-system.c: undefine clashing macro for mkdir.
a698bcaa 3116
889a65e7 31172015-02-02 Nick Clifton <nickc@redhat.com>
3118
3119 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3120 rounding up the fraction.
3121
f3b68f27 31222015-01-31 John David Anglin <danglin@gcc.gnu.org>
3123
3124 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3125 oldval and newval to const void *. Fix typo.
3126 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3127 (FETCH_AND_OP_WORD): Likewise.
3128 (OP_AND_FETCH_WORD): Likewise.
3129 (COMPARE_AND_SWAP_2): Likewise.
3130 (__sync_val_compare_and_swap_4): Likewise.
3131 (__sync_lock_test_and_set_4): Likewise.
3132 (SYNC_LOCK_RELEASE_2): Likewise.
3133 Remove support for long long atomic operations.
3134
5be42fa9 31352015-01-27 Caroline Tice <cmtice@google.com>
3136
3137 Committing VTV Cywin/Ming patch for Patrick Wollgast
3138 * Makefile.in: Move rules to build vtv_*.o out of the check
3139 for CUSTOM_CRTSTUFF.
3140 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3141 i[34567]86-*-mingw*)
3142 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3143 enable_vtable_verify.
3144
45e05b5a 31452015-01-27 Nick Clifton <nickc@redhat.com>
3146
3147 * config/rl78/cmpsi2.S: Use function start and end macros.
3148 (__gcc_bcmp): New function.
3149 * config/rl78/lshrsi3.S: Use function start and end macros.
3150 * config/rl78/mulsi3.S: Add support for G10.
3151 (__mulqi3): New function for G10.
3152 * config/rl78/signbit.S: Use function start and end macros.
3153 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3154 fpmath-sf.S.
3155 (LIB2FUNCS_EXCLUDE): Define.
3156 (LIB2FUNCS_ST): Define.
3157 * config/rl78/trampoline.S: Use function start and end macros.
3158 * config/rl78/vregs.h (START_FUNC): New macro.
3159 (START_ANOTHER_FUNC): New macro.
3160 (END_FUNC): New macro.
3161 (END_ANOTHER_FUNC): New macro.
3162 * config/rl78/bit-count.S: New file. Contains assembler
3163 implementations of the bit counting functions: ___clzhi2,
3164 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3165 __paritysi2, __popcounthi2 and __popcountsi2.
3166 * config/rl78/fpbit-sf.S: New file. Contains assembler
3167 implementationas of the math functions: __negsf2, __cmpsf2,
3168 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3169 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3170 * config/rl78/fpmath-sf.S: New file. Contains assembler
3171 implementations of the math functions: __subsf3, __addsf3,
3172 __mulsf3 and __divsf3
3173
43cbcd84 31742015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3175
3176 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3177 Add i386/elf-lib.h to tm_file.
3178 * config/i386/elf-lib.h: Fix comment.
3179 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3180 && __sun__ && __svr4__]: Remove workaround.
3181
f8956357 31822015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3183
3184 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3185 FEATURE_BMI2.
3186 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3187
1b738d4d 31882015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3189
3190 * config/i386/cpuinfo.c (processor_subtypes): Add
3191 INTEL_COREI7_BROADWELL.
3192 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3193 model numbers.
3194
58ca7445 31952015-01-23 Uros Bizjak <ubizjak@gmail.com>
3196
3197 * config/i386/elf-lib.h: New file.
3198 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3199 Wrap definition in #ifdef __i386__.
3200 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3201 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3202 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3203 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3204 to tm_file.
3205
d4c9c88d 32062015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3207
3208 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3209 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3210
c46389f0 32112015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3212
3213 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3214 Update rt_sigframe format and address for current Nios II
3215 Linux conventions.
3216
275d0a7c 32172015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3218
3219 * config.host (arm*-*-freebsd*): Add new configuration for
3220 arm*-*-freebsd*.
3221 * config/arm/freebsd-atomic.c: New file.
3222 * config/arm/t-freebsd: Likewise.
3223 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3224 'PC-relative indirect' OS's.
3225
8992df51 32262015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3227
3228 * config.host: Add Visium support.
3229 * config/visium: New directory.
3230
d353bf18 32312015-01-05 Jakub Jelinek <jakub@redhat.com>
3232
3233 Update copyright years.
3234
78645e70 32352014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3236
3237 * config.host: Support mipsisa32r6 and mipsisa64r6.
3238 * config/mips/mips16.S: Do not build for R6.
3239
14cc370b 32402014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3241
3242 * config/sh/crt.h: New.
3243 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3244 symbols.
3245 * config/sh/crt1.S: Likewise.
3246
06f29f53 32472014-12-15 Uros Bizjak <ubizjak@gmail.com>
3248
3249 PR libgcc/63832
3250 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3251 func_ptr *dtor_list temporary variable to avoid "array subscript
3252 is above array bounds" warnings.
3253
92e91d03 32542014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
4c87b50c 3255
3256 * Makefile.in (with_aix_soname): Define.
3257 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3258 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3259 * configure: Recreate.
3260
c0235a33 32612014-12-05 Olivier Hainque <hainque@adacore.com>
3262
3263 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3264 now provided by defaults.h.
3265
273fffd6 32662014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3267
84cf4824 3268 PR target/55351
273fffd6 3269 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3270 whether it's defined.
3271
ffbfc7c5 32722014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3273
3274 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3275 * config/i386/cpuinfo.c (get_available_features): Detect it.
3276
ae22ef60 32772014-11-27 Tony Wang <tony.wang@arm.com>
3278
3279 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3280 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3281 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3282
a532bc30 32832014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3284
3285 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3286
e88ebd91 32872014-11-24 John David Anglin <danglin@gcc.gnu.org>
3288
3289 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3290 instead.
3291
422aeca3 32922014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3293 John David Anglin <danglin@gcc.gnu.org>
3294
3295 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3296 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3297 (OP_AND_FETCH_2): Likewise.
3298 (COMPARE_AND_SWAP_2): Likewise.
3299 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3300 (SYNC_LOCK_RELEASE_2): Likewise.
3301 (SUBWORD_SYNC_OP): Remove.
3302 (SUBWORD_VAL_CAS): Likewise.
3303 (SUBWORD_BOOL_CAS): Likewise.
3304 (FETCH_AND_OP_WORD): Update.
3305 Consistently use signed types.
005a5ef5 3306
a3d93be3 33072014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3308 Thomas Schwinge <thomas@codesourcery.com>
3309 Ilya Verbin <ilya.verbin@intel.com>
3310 Andrey Turetskiy <andrey.turetskiy@intel.com>
3311
3312 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3313 (crtoffloadend$(objext)): Likewise.
3314 * configure: Regenerate.
3315 * configure.ac (accel_dir_suffix): Compute new variable.
3316 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3317 if enable_offload_targets is not empty.
3318 * offloadstuff.c: New file.
3319
97a36a5b 33202014-11-13 Nick Clifton <nickc@redhat.com>
3321
3322 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3323 Use START_FUNC and END_FUNC macros to enable linker garbage
3324 collection.
3325 * config/rl78/divmodqi.S: Likewise.
3326 * config/rl78/divmodsi.S: Likewise.
3327 * config/rl78/mulsi3.S: Likewise.
3328 * config/rl78/lib2div.c: Remove G10 functions.
3329 * config/rl78/lib2muls.c: Likewise.
3330 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3331 * config/rl78/vregs.h (START_FUNC): New macro.
3332 (END_FUNC): New macro.
3333
f2b55aea 33342014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3335
3336 * config/mips/mips16.S: Set .module when supported. Update O32
3337 FP64 calling convention and use for FPXX when possible. Add FPXX
3338 calling convention fallback case.
3339
8ce80784 33402014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3341
3342 * config.host: Handle nvptx-*-*.
3343 * shared-object.mk (as-flags-$o): Define.
3344 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3345 -xassembler-with-cpp.
3346 * static-object.mk: Identical changes.
3347 * config/nvptx/t-nvptx: New file.
3348 * config/nvptx/crt0.s: New file.
3349 * config/nvptx/free.asm: New file.
3350 * config/nvptx/malloc.asm: New file.
3351 * config/nvptx/realloc.c: New file.
3352
0e36a0d7 33532014-10-30 Joseph Myers <joseph@codesourcery.com>
3354
3355 * Makefile.in (libgcc.map.in): New target.
3356 (libgcc.map): Use libgcc.map.in.
3357 * config/t-softfp (softfp_compat): New variable to be set by
3358 users.
3359 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3360 variables.
3361 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3362 directory.
3363 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3364 that use compat symbols and disable all code unless [SHARED].
3365 * config/t-softfp-compat: New file.
3366 * find-symver.awk: New file.
3367 * configure.ac (--with-glibc-version): New configure option.
3368 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3369 * configure: Regenerate.
3370 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3371 soft-float and e500.
3372
d9b5cf5c 33732014-10-29 Joseph Myers <joseph@codesourcery.com>
3374
3375 * config/t-hardfp (hardfp_exclusions): Document new variable for
3376 user to define.
3377 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3378 * config/t-softfp (softfp_extras): Document new variable for user
3379 to define.
3380 (softfp_func_list): Add functions from $(softfp_extras).
3381 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3382 * config.host (powerpc*-*-linux*): For e500v1, use
3383 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3384 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3385 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3386
2de51200 33872014-10-26 John David Anglin <danglin@gcc.gnu.org>
3388
3389 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3390 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3391 memory read accesses are ok.
3392
fd1eaa27 33932014-10-25 Joseph Myers <joseph@codesourcery.com>
3394
3395 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3396 * configure: Regenerate.
3397 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3398 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3399 of soft-fp for 32-bit classic hard float. Do not use
3400 t-softfp-excl for soft float.
3401
e707b8cc 34022014-10-22 Joseph Myers <joseph@codesourcery.com>
3403
3404 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3405 configurations.
3406 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3407 Remove variables.
3408
6ce12a35 34092014-10-22 Georg-Johann Lay <avr@gjlay.de>
3410
3411 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3412 introduced with 2014-10-21 trunk r216525.
3413
b4e6d2e2 34142014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
92e91d03 3415 Vidya Praveen <vidya.praveen@atmel.com>
3416 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3417 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3418 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
b4e6d2e2 3419
3420 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3421 order.
3422
3423 Updated library functions for AVRTINY arch.
3424 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3425 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3426 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3427 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3428 wsubi/wadi macors.
3429 (__mulsi3_helper): Update stack, preserve callee saved regs and
3430 argument from stack. Restore callee save registers.
3431 (__mulpsi3): Likewise.
3432 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3433 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6ce12a35 3434 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
b4e6d2e2 3435 AVRTINY.
3436 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3437 (__do_copy_data): Added new definition for AVRTINY.
3438 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3439 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3440 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3441 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3442 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3443 macors.
6ce12a35 3444 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
b4e6d2e2 3445 AVRTINY.
3446
6ce12a35 3447 Fix broken long multiplication on tiny arch.
b4e6d2e2 3448
d9bbc5ef 34492014-10-09 Joseph Myers <joseph@codesourcery.com>
3450
3451 * soft-fp/double.h: Update from glibc.
3452 * soft-fp/eqdf2.c: Likewise.
3453 * soft-fp/eqsf2.c: Likewise.
3454 * soft-fp/eqtf2.c: Likewise.
3455 * soft-fp/extenddftf2.c: Likewise.
3456 * soft-fp/extended.h: Likewise.
3457 * soft-fp/extendsfdf2.c: Likewise.
3458 * soft-fp/extendsftf2.c: Likewise.
3459 * soft-fp/extendxftf2.c: Likewise.
3460 * soft-fp/gedf2.c: Likewise.
3461 * soft-fp/gesf2.c: Likewise.
3462 * soft-fp/getf2.c: Likewise.
3463 * soft-fp/ledf2.c: Likewise.
3464 * soft-fp/lesf2.c: Likewise.
3465 * soft-fp/letf2.c: Likewise.
3466 * soft-fp/op-1.h: Likewise.
3467 * soft-fp/op-2.h: Likewise.
3468 * soft-fp/op-4.h: Likewise.
3469 * soft-fp/op-8.h: Likewise.
3470 * soft-fp/op-common.h: Likewise.
3471 * soft-fp/quad.h: Likewise.
3472 * soft-fp/single.h: Likewise.
3473 * soft-fp/soft-fp.h: Likewise.
3474 * soft-fp/unorddf2.c: Likewise.
3475 * soft-fp/unordsf2.c: Likewise.
3476 * soft-fp/unordtf2.c: Likewise.
3477 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3478 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3479 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3480 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3481 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3482 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3483 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3484 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3485 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3486 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3487
26054e0b 34882014-10-08 Rong Xu <xur@google.com>
3489
3490 * libgcov-util.c (read_gcda_file): Fix format.
3491 (find_match_gcov_info): Ditto.
3492 (calculate_2_entries): New.
3493 (compute_one_gcov): Ditto.
3494 (gcov_info_count_all_cold): Ditto.
3495 (gcov_info_count_all_zero): Ditto.
3496 (extract_file_basename): Ditto.
3497 (get_file_basename): Ditto.
3498 (set_flag): Ditto.
3499 (matched_gcov_info): Ditto.
3500 (calculate_overlap): Ditto.
3501 (gcov_profile_overlap): Ditto.
3502 * libgcov-driver.c (compute_summary): Make
3503 it avavilable for external calls.
3504
8a8f3988 35052014-10-06 Rong Xu <xur@google.com>
3506
3507 * Makefile.in: Ditto.
3508 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3509 (gcov_sort_icall_topn_counter): Ditto.
3510 (gcov_sort_topn_counter_arrays): Ditto.
3511 (dump_one_gcov): Sort indirect_call topn counters.
3512 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3513 function.
3514 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3515 utility function.
3516 (__gcov_indirect_call_topn_profiler): New profiler function.
3517 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3518 * libgcov.h: New decls.
3519
f230ef81 35202014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3521
3522 * config.host: Remove support for score-*.
3523
0cb69d12 35242014-09-22 Joseph Myers <joseph@codesourcery.com>
3525
3526 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3527 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3528 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3529 __LIBGCC_XF_MANT_DIG__.
3530 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3531 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3532 __LIBGCC_TF_MANT_DIG__.
3533 * libgcc2.c (NOTRUNC): Define in terms of
3534 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3535 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3536
acbb28e9 35372014-09-22 Joseph Myers <joseph@codesourcery.com>
3538
3539 PR target/63312
3540 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3541 New macros.
3542
d0eb4a95 35432014-09-22 Hans-Peter Nilsson <hp@axis.com>
3544
3545 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3546 override USE_PT_GNU_EH_FRAME.
3547 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3548 check USE_EH_FRAME_REGISTRY_ALWAYS against
3549 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3550 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3551 variable for substituted force_explicit_eh_registry.
3552 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3553 * configure.ac (explicit-exception-frame-registration):
3554 New AC_ARG_ENABLE.
3555 * configure: Regenerate.
3556
6c352a95 35572014-09-19 Olivier Hainque <hainque@adacore.com>
3558
3559 * config.host (powerpc-wrs-vxworksmils): New configuration,
3560 same as vxworksae.
3561
168dfbf0 35622014-09-18 Joseph Myers <joseph@codesourcery.com>
3563
3564 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3565
ca6c7c2e 35662014-09-18 Joseph Myers <joseph@codesourcery.com>
3567
3568 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3569 bits not set bits as indicating trapping exceptions.
3570
bc587267 35712014-09-17 Nathan sidwell <nathan@acm.org>
3572
3573 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3574 (LIBGCOV_DRIVER): ... here.
3575 * libgcov-driver.c (gcov_master): New.
3576 (gcov_exit): Remove from master chain.
3577 (__gcov_init): Add to master chain if version compatible. Don't
3578 clear the version.
3579 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3580 (gcov_reset_int): Clear master chain, if compatible.
3581 (gcov_dump_int): New internal interface. Dump master chain, if
3582 compatible.
3583 (gcov_dump): Alias for gcov_dump_int.
3584 * libgcov.h (struct gcov_root): Add next and prev fields.
3585 (struct gcov_master): New struct.
3586 (__gcov_master): New.
3587 (gcov_dump_int): Declare.
3588
0624d0c7 35892014-09-17 Olivier Hainque <hainque@adacore.com>
3590
3591 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3592 and crtbegin.o + crtend.o to extra_parts.
3593
d5957f0d 35942014-09-12 Joseph Myers <joseph@codesourcery.com>
3595
3596 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3597 __LIBGCC_HAS_SF_MODE__.
3598 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3599 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3600 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3601 * config/libbid/bid_gcc_intrinsics.h
3602 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3603 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3604 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3605 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3606 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3607 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3608
986b9a67 36092014-09-11 Georg-Johann Lay <avr@gjlay.de>
3610
3611 PR target/63223
3612 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3613 and R24 as needed. Make work for all devices and .text locations.
3614 (__do_global_ctors, __do_global_dtors): Use word addresses.
3615 (__tablejump__, __tablejump_elpm__): Remove functions.
3616 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3617 Add _tablejump2.
3618 (XICALL, XIJMP): New macros.
3619
8f908dc5 36202014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3621 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3622
3623 * config.host (aarch64*): Include crtfastmath.o and
3624 t-crtfm.
3625 * config/aarch64/crtfastmath.c: New file.
3626
f67c2dde 36272014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3628
3629 * config.host: Remove picochip support.
3630 * config/picochip/adddi3.S: Remove.
3631 * config/picochip/ashlsi3.S: Remove.
3632 * config/picochip/ashlsi3.c: Remove.
3633 * config/picochip/ashrsi3.S: Remove.
3634 * config/picochip/ashrsi3.c: Remove.
3635 * config/picochip/clzsi2.S: Remove.
3636 * config/picochip/cmpsi2.S: Remove.
3637 * config/picochip/divmod15.S: Remove.
3638 * config/picochip/divmodhi4.S: Remove.
3639 * config/picochip/divmodsi4.S: Remove.
3640 * config/picochip/lib1funcs.S: Remove.
3641 * config/picochip/longjmp.S: Remove.
3642 * config/picochip/lshrsi3.S: Remove.
3643 * config/picochip/lshrsi3.c: Remove.
3644 * config/picochip/parityhi2.S: Remove.
3645 * config/picochip/popcounthi2.S: Remove.
3646 * config/picochip/setjmp.S: Remove.
3647 * config/picochip/subdi3.S: Remove.
3648 * config/picochip/t-picochip: Remove.
3649 * config/picochip/ucmpsi2.S: Remove.
3650 * config/picochip/udivmodhi4.S: Remove.
3651 * config/picochip/udivmodsi4.S: Remove.
3652
b660d3c6 36532014-09-08 Joseph Myers <joseph@codesourcery.com>
3654
3655 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3656 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3657 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3658 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3659 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3660 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3661 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3662 defined and LIBGCC2_HAS_DF_MODE is defined.
3663 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3664 defined and LIBGCC2_HAS_XF_MODE is defined.
3665 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3666 defined and LIBGCC2_HAS_TF_MODE is defined.
3667
2aeea855 36682014-09-08 Joseph Myers <joseph@codesourcery.com>
3669
3670 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3671 and ROUND_TOWARDS_ZERO conditionals.
3672
a91625a6 36732014-09-07 Nathan sidwell <nathan@acm.org>
3674
3675 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3676 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3677
325b8c3c 36782014-09-05 Joseph Myers <joseph@codesourcery.com>
3679
3680 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3681 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3682 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3683 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3684 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3685 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3686 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3687 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3688 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3689 (DWARF_FRAME_REGISTERS): Change all uses to
3690 __LIBGCC_DWARF_FRAME_REGISTERS__.
3691 (EH_RETURN_STACKADJ_RTX): Change all uses to
3692 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3693 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3694 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3695 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3696 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3697 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3698 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3699 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3700 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3701 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3702 __LIBGCC_STACK_POINTER_REGNUM__.
3703 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3704 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3705 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3706 to __LIBGCC_STACK_POINTER_REGNUM__.
3707 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3708 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3709 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3710 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3711 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3712 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3713 (STACK_POINTER_REGNUM): Change all uses to
3714 __LIBGCC_STACK_POINTER_REGNUM__.
3715 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3716 use to __LIBGCC_STACK_POINTER_REGNUM__.
3717 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3718 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3719 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3720 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3721 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3722 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3723 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3724 to __LIBGCC_STACK_POINTER_REGNUM__.
3725 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3726 Remove conditional definition.
3727 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3728 __LIBGCC_TEXT_SECTION_ASM_OP__.
3729 (EH_FRAME_SECTION_NAME): Change all uses to
3730 __LIBGCC_EH_FRAME_SECTION_NAME__.
3731 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3732 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3733 (CTORS_SECTION_ASM_OP): Change all uses to
3734 __LIBGCC_CTORS_SECTION_ASM_OP__.
3735 (DTORS_SECTION_ASM_OP): Change all uses to
3736 __LIBGCC_DTORS_SECTION_ASM_OP__.
3737 (JCR_SECTION_NAME): Change all uses to
3738 __LIBGCC_JCR_SECTION_NAME__.
3739 (INIT_SECTION_ASM_OP): Change all uses to
3740 __LIBGCC_INIT_SECTION_ASM_OP__.
3741 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3742 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3743 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3744 __LIBGCC_STACK_GROWS_DOWNWARD__.
3745 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3746 __LIBGCC_INIT_SECTION_ASM_OP__.
3747 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3748 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3749 (EH_FRAME_SECTION_NAME): Change all uses to
3750 __LIBGCC_EH_FRAME_SECTION_NAME__.
3751 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3752 definitions. Change all uses to
3753 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3754 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3755 __LIBGCC_STACK_GROWS_DOWNWARD__.
3756 (DWARF_FRAME_REGISTERS): Change all uses to
3757 __LIBGCC_DWARF_FRAME_REGISTERS__.
3758 (EH_RETURN_STACKADJ_RTX): Change all uses to
3759 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3760 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3761 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3762 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3763 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3764 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3765
b12d2330 37662014-09-02 Nathan sidwell <nathan@acm.org>
3767
3768 * libgcov-interface.c (STRONG_ALIAS): New.
3769 (__gcov_flush): Call __gcov_reset_int.
3770 (__gcov_reset): Strong alias for ...
3771 (__gcov_reset_ing): ... this renamed hidden version.
3772 * libgcov.h (__gcov_reset_int): New declaration.
3773
827d5daf 37742014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3775
1db4f54b 3776 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3777 call from here...
3778 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3779 (__dso_handle): Define on Cygwin.
3780 * config/i386/t-cygming (crtbeginS.o): New rule.
3781 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3782
827d5daf 3783 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3784 declaration syntax.
3785
e3108d46 37862014-08-13 Steve Ellcey <sellcey@mips.com>
3787
3788 * crtstuff.c: Undef caddr_t.
3789
0898fffa 37902014-08-12 Steve Ellcey <sellcey@mips.com>
3791
3792 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3793
859fa1a9 37942014-08-07 Nathan Sidwell <nathan@acm.org>
3795
3796 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3797 (LIBGCOV_DRIVER): ... to here.
3798 * libgcov.h (gcov_do_dump): New #define.
3799 (struct gcov_root): New.
3800 (__gcov_root): New declaration.
3801 (__gcov_dump_one): Declare.
3802 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3803 run_accounted): Delete.
3804 (gcov_compute_histogram): Add LIST argument, adjust.
3805 (compute_summary): Adjust gcov_compute_histogram call.
3806 (gcov_do_dump): Not hidden, static in libgcov.
3807 (gcov_clear): Move to interface.c.
3808 (__gcov_dump_one): New, broken out of ...
3809 (gcov_exit): ... here. Make static.
3810 (__gcov_root): New.
3811 (__gcov_init): Adjust.
3812 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3813 declarations.
3814 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3815 (gcov_clear): Moved from driver.c. Add LIST argument.
3816 (__gcov_reset): Adjust for changed interfaces.
3817 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3818
3fa2798a 38192014-08-04 Rohit <rohitarulraj@freescale.com>
3820
3821 PR target/60102
3822 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
6d88799a 3823 based on change in SPE high register numbers and 3 HTM registers.
3fa2798a 3824
cb3ea3de 38252014-08-01 Nathan Sidwell <nathan@acm.org>
3826
3827 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3828 LIBGCOV_INTERFACE): Reformat.
3829 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3830 IN_GCOV_TOOL.
3831 * libgcov-interface.c: Reformat some comments.
3832 (__gcov_flush_mx): Add declaration. Tidy up definition.
3833
bfd88f52 38342014-07-31 Alan Modra <amodra@gmail.com>
3835 Peter Bergner <bergner@vnet.ibm.com>
3836
3837 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3838 (pack_ldouble): New function.
3839 (__gcc_qadd): Use it.
3840 (__gcc_qmul): Likewise.
3841 (__gcc_qdiv): Likewise.
3842 (__gcc_qneg): Likewise.
3843 (__gcc_stoq): Likewise.
3844 (__gcc_dtoq): Likewise.
3845
bcd3133e 38462014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3847
3848 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3849 (__tpf_eh_return): Add original return address as second parameter.
3850 Handle cases where unwinder routines were called directly, instead
3851 of from within the C++ library.
3852
1186f97a 38532014-07-29 Nathan Sidwell <nathan@acm.org>
3854
3855 * libgcov.h: Move renaming of entry points to lib gcov specific
3856 portion.
3857 (gcov_do_dump): New rename.
3858 (gcov_rewrite): Remove inline, make HIDDEN.
3859 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3860 (gcov_exit_compute_summary): Rename to ...
3861 (compute_summary): ... here. Add LIST argument.
3862 (gcov_exit_merge_gcda): Rename to ...
3863 (merge_one_data): ... here.
3864 (gcov_exit_write_gcda): Rename to ...
3865 (write_one_data): ... here.
3866 (gcov_exit_merge_summary): Rename to ...
3867 (merge_summary): Add RUN_COUNTED argument.
3868 (gcov_exit_dump_gcov): Rename to ...
3869 (dump_one_gcov): Add RUN_COUNTED argument.
3870 (gcov_do_dump): New function, broken out of ...
3871 (gcov_exit): ... here. Call it.
3872
ab0c4d2e 38732014-07-27 Anthony Green <green@moxielogic.com>
3874
3875 * config.host: Add moxiebox configuration suppport.
3876
6401b74d 38772014-07-27 Nathan Sidwell <nathan@acm.org>
3878
3879 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3880 (struct gcov_filename): ... here. Include buffer and max length
3881 fields.
3882 (gcov_max_filename): Remove.
3883 (gi_filename): Remove.
3884 (gcov_exit_compute_summary): Compute max filename here.
3885 (gcov_exit_merge_gcda): Add filename parm, adjust.
3886 (gcov_exit_merge_summary): Likewise.
3887 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3888 (gcov_exit): Likewise.
3889 (__gcov_init): Don't calculate max length here.
3890 * libgcov_util.c (max_filename_len): Remove.
3891 (read_gcda_file): Don't calculate max length here.
3892 (gcov_read_profile_dir): Don't propagate here.
3893 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3894 struct gcov_filename changes.
3895 (gcov_exit_open_gcda_file): Likewise.
3896
0f768e5f 38972014-07-25 Nathan Sidwell <nathan@acm.org>
3898
3899 * libgcov-driver.c (set_gcov_dump_complete,
3900 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3901 functions polluting user's namespace.
3902 (gcov_exit): Set variable directly.
3903 (gcov_clear): Reset variable directly.
3904 * libgcov-interface.c (get_gcov_dymp_complete,
3905 reset_gov_dump_complete): Remove declarations.
3906 (__gcov_reset, __gcov_dump): Don't call them.
3907
2b333d82 39082014-07-24 DJ Delorie <dj@redhat.com>
3909
3910 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
0f768e5f 3911 (__gcc_deregister_frame): Move logic to detect deregister function
3912 to ...
3913 (__gcc_register_frame): here, so it's consistent with the register
3914 logic.
2b333d82 3915
145d88ea 39162014-07-23 Nathan Sidwell <nathan@acm.org>
3917
3918 * libgcov-driver.c (set_gcov_list): Remove.
3919 (gcov_list): Make non-static in GCOV_TOOL.
3920 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3921
307c2567 39222014-07-17 John David Anglin <danglin@gcc.gnu.org>
3923
3924 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3925 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3926 Don't use SYNC_LOCK_RELEASE for int type.
3927
3dc22a01 39282014-07-14 Richard Biener <rguenther@suse.de>
3929
3930 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3931
a60d8a99 39322014-07-11 Rong Xu <xur@google.com>
3933
3934 * libgcov-util.c (gcov_max_filename): Fix declartion.
3935
e76f6040 39362014-07-10 Rong Xu <xur@google.com>
3937
3938 Add gcov-tool: an offline gcda profile processing tool
3939 Support.
3940 * libgcov-driver.c (gcov_max_filename): Make available
3941 to gcov-tool.
3942 * libgcov-merge.c (__gcov_merge_add): Replace
3943 gcov_read_counter() with a Macro.
3944 (__gcov_merge_ior): Ditto.
3945 (__gcov_merge_time_profile): Ditto.
3946 (__gcov_merge_single): Ditto.
3947 (__gcov_merge_delta): Ditto.
3948 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3949 in the utility functions.
3950 (set_fn_ctrs): Utility function for reading gcda files to in-memory
3951 gcov_list object link lists.
3952 (tag_function): Ditto.
3953 (tag_blocks): Ditto.
3954 (tag_arcs): Ditto.
3955 (tag_lines): Ditto.
3956 (tag_counters): Ditto.
3957 (tag_summary): Ditto.
3958 (read_gcda_finalize): Ditto.
3959 (read_gcda_file): Ditto.
3960 (ftw_read_file): Ditto.
3961 (read_profile_dir_init): Ditto.
3962 (gcov_read_profile_dir): Ditto.
3963 (gcov_read_counter_mem): Ditto.
3964 (gcov_get_merge_weight): Ditto.
3965 (merge_wrapper): A wrapper function that calls merging handler.
3966 (gcov_merge): Merge two gcov_info objects with weights.
3967 (find_match_gcov_info): Find the matched gcov_info in the list.
3968 (gcov_profile_merge): Merge two gcov_info object lists.
3969 (__gcov_add_counter_op): Process edge profile counter values.
3970 (__gcov_ior_counter_op): Process IOR profile counter values.
3971 (__gcov_delta_counter_op): Process delta profile counter values.
3972 (__gcov_single_counter_op): Process single profile counter values.
3973 (fp_scale): Callback function for float-point scaling.
005a5ef5 3974 (int_scale): Callback function for integer fraction scaling.
e76f6040 3975 (gcov_profile_scale): Scaling profile counters.
3976 (gcov_profile_normalize): Normalize profile counters.
3977 * libgcov.h: Add headers and functions for gcov-tool use.
3978 (gcov_get_counter): New.
3979 (gcov_get_counter_target): Ditto.
3980 (struct gcov_info): Make the functions field mutable in gcov-tool
3981 compilation.
3982
761d3cae 39832014-06-23 Kai Tietz <ktietz@redhat.com>
3984
3985 PR libgcc/61585
3986 * unwind-seh.c (_Unwind_GetGR): Check for proper
3987 index range.
3988 (_Unwind_SetGR): Likewise.
3989
b4187486 39902014-05-22 Nick Clifton <nickc@redhat.com>
3991
3992 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3993 -mhwmult=none.
3994
f1919901 39952014-05-22 Teresa Johnson <tejohnson@google.com>
3996
3997 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3998 include.
3999
463553db 40002014-05-20 John Marino <gnugcc@marino.st>
4001
4002 * config.host (*-*-dragonfly*): New target.
4003 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4004 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4005 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4006 * config/i386/dragonfly-unwind.h: New.
4007
17611fd9 40082014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4009
4010 PR libgcc/60166
4011 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4012 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4013
b061dab2 40142014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4015
4016 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4017 implementation.
4018
b81ef88d 40192014-05-12 Georg-Johann Lay <avr@gjlay.de>
4020
4021 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4022
d71975a6 40232014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4024
4025 PR libgcc/61097
4026 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4027 if --enable-shared.
4028
d3c4b980 40292014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4030
4031 Work around for current cygwin32 build problems.
4032 * config/i386/cygming-crtbegin.c (__register_frame_info,
4033 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4034 functions only for 64-bit systems.
4035
1f912f03 40362014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4037
4038 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4039 (sigill_caught, sigill_hdlr): Remove.
4040
3efb5d22 40412014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4042
4043 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4044 check.
4045 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4046 Solaris 9 single-threaded support.
4047 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4048 Solaris 9 single-threaded support. Add call_user_handler code
4049 sequences.
4050 (sparc_is_sighandler): Likewise.
4051
368b5b2c 40522014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4053
4054 * config.host: Append t-floattodi to tmake_file depending on
4055 host_address.
4056
0cdefccf 40572014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4058
c7285b71 4059 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
0cdefccf 4060
e5d692d7 40612014-03-10 Uros Bizjak <ubizjak@gmail.com>
4062
4063 PR libgcc/60472
4064 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
06f29f53 4065 variable to avoid "array subscript is above array bounds" warnings.
e5d692d7 4066 Use __builtin_expect when checking *jcr_list for NULL.
4067
ec5f5503 40682014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4069
4070 PR libgcc/59339
4071 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4072 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4073 vtv_*.o to extra_parts if enable_vtable_verify.
4074
6dd4126d 40752014-03-06 Nick Clifton <nickc@redhat.com>
4076
4077 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4078 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4079
c63fabc4 40802014-02-28 Joey Ye <joey.ye@arm.com>
4081
4082 PR libgcc/60166
4083 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4084 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4085 Set to zero.
4086
2da35515 40872014-02-24 Walter Lee <walt@tilera.com>
4088
4089 * config.host: Support "tilegx*" and "tilepro*" triplets.
4090 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4091 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4092
73e15dfc 40932014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4094 Chung-Lin Tang <cltang@codesourcery.com>
4095
4096 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4097 * config/nios2/crti.S: Remove .file directive.
4098 * config/nios2/crtn.S: Likewise.
4099
db5ce3d9 41002014-02-18 Kai Tietz <ktietz@redhat.com>
4101 Jonathan Schleifer <js@webkeks.org>
4102
4103 PR objc/56870
4104 * unwind-seh.c (_GCC_specific_handler): Pass proper
4105 value to unwind-handler.
4106
8f687340 41072014-02-12 Joseph Myers <joseph@codesourcery.com>
4108
4109 * soft-fp/adddf3.c: Update from glibc.
4110 * soft-fp/addsf3.c: Likewise.
4111 * soft-fp/addtf3.c: Likewise.
4112 * soft-fp/divdf3.c: Likewise.
4113 * soft-fp/divsf3.c: Likewise.
4114 * soft-fp/divtf3.c: Likewise.
4115 * soft-fp/double.h: Likewise.
4116 * soft-fp/eqdf2.c: Likewise.
4117 * soft-fp/eqsf2.c: Likewise.
4118 * soft-fp/eqtf2.c: Likewise.
4119 * soft-fp/extenddftf2.c: Likewise.
4120 * soft-fp/extended.h: Likewise.
4121 * soft-fp/extendsfdf2.c: Likewise.
4122 * soft-fp/extendsftf2.c: Likewise.
4123 * soft-fp/extendxftf2.c: Likewise.
4124 * soft-fp/fixdfdi.c: Likewise.
4125 * soft-fp/fixdfsi.c: Likewise.
4126 * soft-fp/fixdfti.c: Likewise.
4127 * soft-fp/fixsfdi.c: Likewise.
4128 * soft-fp/fixsfsi.c: Likewise.
4129 * soft-fp/fixsfti.c: Likewise.
4130 * soft-fp/fixtfdi.c: Likewise.
4131 * soft-fp/fixtfsi.c: Likewise.
4132 * soft-fp/fixtfti.c: Likewise.
4133 * soft-fp/fixunsdfdi.c: Likewise.
4134 * soft-fp/fixunsdfsi.c: Likewise.
4135 * soft-fp/fixunsdfti.c: Likewise.
4136 * soft-fp/fixunssfdi.c: Likewise.
4137 * soft-fp/fixunssfsi.c: Likewise.
4138 * soft-fp/fixunssfti.c: Likewise.
4139 * soft-fp/fixunstfdi.c: Likewise.
4140 * soft-fp/fixunstfsi.c: Likewise.
4141 * soft-fp/fixunstfti.c: Likewise.
4142 * soft-fp/floatdidf.c: Likewise.
4143 * soft-fp/floatdisf.c: Likewise.
4144 * soft-fp/floatditf.c: Likewise.
4145 * soft-fp/floatsidf.c: Likewise.
4146 * soft-fp/floatsisf.c: Likewise.
4147 * soft-fp/floatsitf.c: Likewise.
4148 * soft-fp/floattidf.c: Likewise.
4149 * soft-fp/floattisf.c: Likewise.
4150 * soft-fp/floattitf.c: Likewise.
4151 * soft-fp/floatundidf.c: Likewise.
4152 * soft-fp/floatundisf.c: Likewise.
4153 * soft-fp/floatunditf.c: Likewise.
4154 * soft-fp/floatunsidf.c: Likewise.
4155 * soft-fp/floatunsisf.c: Likewise.
4156 * soft-fp/floatunsitf.c: Likewise.
4157 * soft-fp/floatuntidf.c: Likewise.
4158 * soft-fp/floatuntisf.c: Likewise.
4159 * soft-fp/floatuntitf.c: Likewise.
4160 * soft-fp/gedf2.c: Likewise.
4161 * soft-fp/gesf2.c: Likewise.
4162 * soft-fp/getf2.c: Likewise.
4163 * soft-fp/ledf2.c: Likewise.
4164 * soft-fp/lesf2.c: Likewise.
4165 * soft-fp/letf2.c: Likewise.
4166 * soft-fp/muldf3.c: Likewise.
4167 * soft-fp/mulsf3.c: Likewise.
4168 * soft-fp/multf3.c: Likewise.
4169 * soft-fp/negdf2.c: Likewise.
4170 * soft-fp/negsf2.c: Likewise.
4171 * soft-fp/negtf2.c: Likewise.
4172 * soft-fp/op-1.h: Likewise.
4173 * soft-fp/op-2.h: Likewise.
4174 * soft-fp/op-4.h: Likewise.
4175 * soft-fp/op-8.h: Likewise.
4176 * soft-fp/op-common.h: Likewise.
4177 * soft-fp/quad.h: Likewise.
4178 * soft-fp/single.h: Likewise.
4179 * soft-fp/soft-fp.h: Likewise.
4180 * soft-fp/subdf3.c: Likewise.
4181 * soft-fp/subsf3.c: Likewise.
4182 * soft-fp/subtf3.c: Likewise.
4183 * soft-fp/truncdfsf2.c: Likewise.
4184 * soft-fp/trunctfdf2.c: Likewise.
4185 * soft-fp/trunctfsf2.c: Likewise.
4186 * soft-fp/trunctfxf2.c: Likewise.
4187 * soft-fp/unorddf2.c: Likewise.
4188 * soft-fp/unordsf2.c: Likewise.
4189 * soft-fp/unordtf2.c: Likewise.
4190 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4191 macro.
4192 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4193 Likewise.
4194 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4195 Likewise.
4196 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4197 Likewise.
4198 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4199 Likewise.
4200 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4201 Likewise.
4202 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4203 Likewise.
4204 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4205 Likewise.
4206 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4207 Likewise.
4208 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4209 Likewise.
4210 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4211 Likewise.
4212 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4213 Likewise.
4214 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4215 Likewise.
4216 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4217 Likewise.
4218 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4219 Likewise.
4220 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4221 Likewise.
4222
fc1cd012 42232014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4224
4225 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4226 cannot be represented.
4227 * config/s390/32/_fixsfdi.c: Likewise.
4228 * config/s390/32/_fixtfdi.c: Likewise.
4229 * config/s390/32/_fixunsdfdi.c: Likewise.
4230 * config/s390/32/_fixunssfdi.c: Likewise.
4231 * config/s390/32/_fixunstfdi.c: Likewise.
4232
4b366ca9 42332014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4234
4235 * configure.ac (libgcc_cv_mips_hard_float): New.
4236 * configure: Regenerate.
4237 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4238 t-softfp-sfdf for hard-float targets.
4239 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4240 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4241 (softfp_truncations, softfp_exclude_libgcc2): New.
4242 * config/t-hardfp: New file.
4243 * config/t-hardfp-sfdf: Likewise.
4244 * config/hardfp.c: Likewise.
4245
896dc54c 42462014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4247
4248 * config.host: Include t-floattodi also for s390x.
4249 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4250 * config/s390/32/_fixsfdi.c: Likewise.
4251 * config/s390/32/_fixtfdi.c: Likewise.
4252 * config/s390/32/_fixunsdfdi.c: Likewise.
4253 * config/s390/32/_fixunssfdi.c: Likewise.
4254 * config/s390/32/_fixunstfdi.c: Likewise.
4255
48118d02 42562014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4257
4258 PR target/59788
4259 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4260 (install-libgcc-unwind-map-forbuild): New target.
4261 (all): Depend on install-libgcc-unwind-map-forbuild.
4262 (install-libgcc-unwind-map): New target.
4263 (install): Depend on install-libgcc-unwind-map.
4264
1fa97c89 42652014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4266
4267 * config/nios2/crti.S (_init): Initialize GOT pointer from
4268 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4269
9bcbf352 42702014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4271
4272 * configure.ac: Check __mips64 when setting host_address.
4273 * configure: Regenerate.
4274 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4275 mips/t-mips64 and t-softfp.
4276 (mips*-*-linux*): Don't add mips/t-tpbit.
4277 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4278 (DPBIT, DPBIT_CFLAGS): Delete.
4279 * config/mips/sfp-machine.h: New file.
4280 * config/mips/t-mips64: Likewise.
4281 * config/mips/t-softfp-tf: Likewise.
4282 * config/mips/t-tpbit: Delete.
4283
81b83e46 42842014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4285
4286 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4287 as long long.
4288
41766a5f 42892014-01-25 Walter Lee <walt@tilera.com>
4290
4291 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4292 config.h or system.h.
4293 (bool) Define.
4294
c8d04645 42952014-01-25 Walter Lee <walt@tilera.com>
4296
4297 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4298 (post_atomic_barrier): Ditto.
4299 (__fetch_and_do): New macro.
4300 (__atomic_fetch_and_do): Use __fetch_and_do.
4301 (__sync_fetch_and_do): New macro.
4302 (__sync_fetch_and_add_4): New function.
4303 (__sync_fetch_and_sub_4): New function.
4304 (__sync_fetch_and_or_4): New function.
4305 (__sync_fetch_and_and_4): New function.
4306 (__sync_fetch_and_xor_4): New function.
4307 (__sync_fetch_and_nand_4): New function.
4308 (__sync_fetch_and_add_8): New function.
4309 (__sync_fetch_and_sub_8): New function.
4310 (__sync_fetch_and_or_8): New function.
4311 (__sync_fetch_and_and_8): New function.
4312 (__sync_fetch_and_xor_8): New function.
4313 (__sync_fetch_and_nand_8): New function.
4314 (__do_and_fetch): New macro.
4315 (__atomic_do_and_fetch): Use __do_and_fetch.
4316 (__sync_do_and_fetch): New macro.
4317 (__sync_add_and_fetch_4): New function.
4318 (__sync_sub_and_fetch_4): New function.
4319 (__sync_or_and_fetch_4): New function.
4320 (__sync_and_and_fetch_4): New function.
4321 (__sync_xor_and_fetch_4): New function.
4322 (__sync_nand_and_fetch_4): New function.
4323 (__sync_add_and_fetch_8): New function.
4324 (__sync_sub_and_fetch_8): New function.
4325 (__sync_or_and_fetch_8): New function.
4326 (__sync_and_and_fetch_8): New function.
4327 (__sync_xor_and_fetch_8): New function.
4328 (__sync_nand_and_fetch_8): New function.
4329 (__sync_exchange_methods): New macro.
4330 (__sync_val_compare_and_swap_4): New function.
4331 (__sync_bool_compare_and_swap_4): New function.
4332 (__sync_lock_test_and_test_4): New function.
4333 (__sync_val_compare_and_swap_8): New function.
4334 (__sync_bool_compare_and_swap_8): New function.
4335 (__sync_lock_test_and_test_8): New function.
4336 (__subword_cmpxchg_body): New macro.
4337 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4338 (__atomic_compare_exchange_2): Ditto.
4339 (__sync_subword_cmpxchg): New macro.
4340 (__sync_val_compare_and_swap_1): New function.
4341 (__sync_bool_compare_and_swap_1): New function.
4342 (__sync_val_compare_and_swap_2): New function.
4343 (__sync_bool_compare_and_swap_2): New function.
4344 (__atomic_subword): Rename to ...
4345 (__subword): ... New name.
4346 (__atomic_subword_fetch): Use __subword.
4347 (__sync_subword_fetch): New macro.
4348 (__sync_fetch_and_add_1): New function.
4349 (__sync_fetch_and_sub_1): New function.
4350 (__sync_fetch_and_or_1): New function.
4351 (__sync_fetch_and_and_1): New function.
4352 (__sync_fetch_and_xor_1): New function.
4353 (__sync_fetch_and_nand_1): New function.
4354 (__sync_fetch_and_add_2): New function.
4355 (__sync_fetch_and_sub_2): New function.
4356 (__sync_fetch_and_or_2): New function.
4357 (__sync_fetch_and_and_2): New function.
4358 (__sync_fetch_and_xor_2): New function.
4359 (__sync_fetch_and_nand_2): New function.
4360 (__sync_add_and_fetch_1): New function.
4361 (__sync_sub_and_fetch_1): New function.
4362 (__sync_or_and_fetch_1): New function.
4363 (__sync_and_and_fetch_1): New function.
4364 (__sync_xor_and_fetch_1): New function.
4365 (__sync_nand_and_fetch_1): New function.
4366 (__sync_add_and_fetch_2): New function.
4367 (__sync_sub_and_fetch_2): New function.
4368 (__sync_or_and_fetch_2): New function.
4369 (__sync_and_and_fetch_2): New function.
4370 (__sync_xor_and_fetch_2): New function.
4371 (__sync_nand_and_fetch_2): New function.
4372 (__atomic_subword_lock): Use __subword.
4373 (__sync_subword_lock): New macro.
4374 (__sync_lock_test_and_set_1): New function.
4375 (__sync_lock_test_and_set_2): New function.
4376
47bfa8ec 43772014-01-25 Walter Lee <walt@tilera.com>
4378
4379 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4380 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4381 (__atomic_subword): Ditto.
4382
fcb4fe71 43832014-01-25 Walter Lee <walt@tilera.com>
4384
4385 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4386 a prefix op argument.
4387 (__atomic_nand_fetch_4): Add prefix op.
4388 (__atomic_nand_fetch_8): Ditto.
4389
92e91d03 43902014-01-21 Baruch Siach <barch@tkos.co.il>
382e1a72 4391
4392 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4393
9c50d275 43942014-01-09 Rong Xu <xur@google.com>
4395
4396 * libgcov-driver.c (this_prg): make it local to save
4397 bss space.
4398 (gcov_exit_compute_summary): Ditto.
4399 (gcov_exit_merge_gcda): Ditto.
4400 (gcov_exit_merge_summary): Ditto.
4401 (gcov_exit_dump_gcov): Ditto.
4402
005a5ef5 44032014-01-08 Rong Xu <xur@google.com>
67745126 4404
4405 * libgcov-driver.c: Use libgcov.h.
4406 (buffer_fn_data): Use xmalloc instead of malloc.
4407 (gcov_exit_merge_gcda): Ditto.
4408 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4409 * libgcov.h: New common header files for libgcov-*.h.
4410 * libgcov-interface.c: Use libgcov.h
4411 * libgcov-merge.c: Ditto.
4412 * libgcov-profiler.c: Ditto.
4413 * Makefile.in: Add dependence to libgcov.h
4414
acf40e7e 44152014-01-02 Joseph Myers <joseph@codesourcery.com>
4416
4417 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4418 case of small numerator and finite nonzero result.
4419
f9fb6ba0 44202014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4421
4422 Update copyright years
4423
e4f22041 44242014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4425
4426 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4427 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4428 config/arc/dp-hack.h, config/arc/fp-hack.h,
4429 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4430 config/arc/ieee-754/arc600-dsp/divdf3.S,
4431 config/arc/ieee-754/arc600-dsp/divsf3.S,
4432 config/arc/ieee-754/arc600-dsp/muldf3.S,
4433 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4434 config/arc/ieee-754/arc600-mul64/divdf3.S,
4435 config/arc/ieee-754/arc600-mul64/divsf3.S,
4436 config/arc/ieee-754/arc600-mul64/muldf3.S,
4437 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4438 config/arc/ieee-754/arc600/divsf3.S,
4439 config/arc/ieee-754/arc600/mulsf3.S,
4440 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4441 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4442 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4443 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4444 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4445 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4446 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4447 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4448 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4449 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4450 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4451 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4452 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4453 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4454 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4455 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4456 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4457 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4458 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4459 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4460 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4461 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4462 vtv_start_preinit.c: Use the standard form for the copyright notice.
4463
de65406d 44642013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4465 Chung-Lin Tang <cltang@codesourcery.com>
4466 Based on patches from Altera Corporation
4467
4468 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4469 * config/nios2/lib2-nios2.h: New file.
4470 * config/nios2/lib2-divmod-hi.c: New file.
4471 * config/nios2/linux-unwind.h: New file.
4472 * config/nios2/lib2-divmod.c: New file.
4473 * config/nios2/linux-atomic.c: New file.
4474 * config/nios2/t-nios2: New file.
4475 * config/nios2/crti.asm: New file.
4476 * config/nios2/t-linux: New file.
4477 * config/nios2/lib2-divtable.c: New file.
4478 * config/nios2/lib2-mul.c: New file.
4479 * config/nios2/tramp.c: New file.
4480 * config/nios2/crtn.asm: New file.
4481
a0f1278f 44822013-12-26 Uros Bizjak <ubizjak@gmail.com>
4483
4484 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4485 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4486 from cpuid.h to check vendor signatures.
4487
0337c8ef 44882013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4489
e5d692d7 4490 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
0337c8ef 4491 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4492 (get_amd_cpu): Likewise.
4493
03797e66 44942013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4495
4496 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4497 Haswell.
4498
8a5280dc 44992013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4500 H.J. Lu <hongjiu.lu@intel.com>
4501
ed1bc9a4 4502 PR target/59422
4503 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
8a5280dc 4504 and AMD_JAGUAR.
4505 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4506 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4507 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4508 FEATURE_XOP and FEATURE_FMA.
4509 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4510 AMDFAM15H_BDVER3.
4511 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
ed1bc9a4 4512 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
8a5280dc 4513 FEATURE_FMA4 and FEATURE_XOP.
4514
ccc305ff 45152013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4516
4517 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4518 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4519 (get_intel_cpu): Updated.
4520
4ef5912a 45212013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4522
4523 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4524
62f068c6 45252013-12-09 Uros Bizjak <ubizjak@gmail.com>
4526
4527 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
2cc02024 4528 instructions when __SSE_MATH__ is defined.
62f068c6 4529
d742e92d 45302013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4531
4532 * config.host (microblaze-*-rtems*): New.
4533
706d62f5 45342013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4535
4536 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4537 architectures that do not have hardware divide instruction.
4538 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4539
81927967 45402013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4541
4542 * longlong.h: Delete (moved to include/).
4543
085d03cc 45442013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4545
4546 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4547 of normal number and qNaN to not raise an inexact exception.
4548
1f88bc79 45492013-11-28 Uros Bizjak <ubizjak@gmail.com>
4550
4551 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4552
45532013-11-28 Matthew Leach <matthew.leach@arm.com>
de12de96 4554
4555 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4556 for correct opcodes on BE.
4557
ea9697c4 45582013-11-27 Uros Bizjak <ubizjak@gmail.com>
4559
4560 * soft-fp/op-4.h: Update from glibc.
4561
b214253d 45622013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4563
4564 * libgcc2.c (__udivmoddi4): Define new implementation when
4565 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4566 divide instructions.
4567
334819e8 45682013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4569
4570 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4571
2b8d95bc 45722013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4573
4574 * config/t-softfp (soft-fp-objects-base): New variable.
4575 (soft-fp-objects): Use it.
4576
39da7440 45772013-11-23 David Edelson <dje.gcc@gmail.com>
4578 Andrew Dixie <andrewd@gentrack.com>
4579
4580 PR target/33704
4581 * config/rs6000/aixinitfini.c: New file.
4582 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4583 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4584 symbols.
4585
b848ffcd 45862013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4587
ea9697c4 4588 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
b848ffcd 4589
f75db2a8 45902013-11-18 Jan Hubicka <jh@suse.cz>
4591
5dbddbd9 4592 * libgcov-driver.c (run_accounted): Make global level static.
4593 (gcov_exit_merge_summary): Silence warning; do not clear
4594 run_accounted here.
4595 (gcov_exit): Clear it here.
4596
7a45fd9b 4597 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4598 run_accounted.
4599
f75db2a8 4600 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4601 (all_prg, crc32): Remove static vars.
4602 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4603 all_prg.
4604 (gcov_exit_merge_gcda): Add crc32 parameter.
4605 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4606 do not account run if it was already accounted.
4607 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4608 (gcov_exit): Initialize all_prg; update.
4609
822f2c1b 46102013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4611
4612 * configure: Regenerate.
4613
238f342d 46142013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4615 Alan Modra <amodra@gmail.com>
4616
4617 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4618 (frob_update_context): Use it.
4619
46202013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4621 Alan Modra <amodra@gmail.com>
4622
4623 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4624 (trampoline_initial): Provide ELFv2 variant.
4625 (__trampoline_setup): Likewise.
4626
4627 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4628 check for AIX indirect function call sequence if _CALL_ELF == 2.
4629
46302013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4631 Alan Modra <amodra@gmail.com>
4632
4633 * config/rs6000/linux-unwind.h (get_regs): Do not support
4634 old kernel versions if _CALL_ELF == 2.
4635 (frob_update_context): Do not support PLT stub variants only
4636 generated by old linkers if _CALL_ELF == 2.
4637
771a5362 46382013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4639 Alan Modra <amodra@gmail.com>
4640
4641 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4642 location of CR save area for 64-bit little-endian systems.
4643
f4f176bd 46442013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4645
4646 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4647 in tmake_file.
4648 * config/arm/t-vxworks: Delete.
4649
024d645a 46502013-11-10 Kai Tietz <ktietz@redhat.com>
4651
4652 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4653 Increment load-count on use of LIBGCC_SONAME DLL.
4654 (hmod_libgcc): New static variable to hold handle of
4655 LIBGCC_SONAME DLL.
4656 (__gcc_deregister_frame): Decrement load-count of
4657 LIBGCC_SONAME DLL.
4658
96ddb284 46592013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4660
4661 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4662 availability.
4663 * configure: Regenerate
4664
b4ad80db 46652013-11-07 Uros Bizjak <ubizjak@gmail.com>
4666
4667 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4668 FP_EX_DENORM. Store result to volatile location after SSE division
4669 to close interrupt window. Remove unneeded fwait after x87
4670 division since interrupt window will be closed by emitted fstp.
dc1dacdf 4671 Rewrite FP_EX_INEXACT handling.
b4ad80db 4672
589468a6 46732013-11-06 Joseph Myers <joseph@codesourcery.com>
4674
4675 * soft-fp/README: Update.
4676 * soft-fp/adddf3.c: Update from glibc.
4677 * soft-fp/addsf3.c: Likewise.
4678 * soft-fp/addtf3.c: Likewise.
4679 * soft-fp/divdf3.c: Likewise.
4680 * soft-fp/divsf3.c: Likewise.
4681 * soft-fp/divtf3.c: Likewise.
4682 * soft-fp/double.h: Likewise.
4683 * soft-fp/eqdf2.c: Likewise.
4684 * soft-fp/eqsf2.c: Likewise.
4685 * soft-fp/eqtf2.c: Likewise.
4686 * soft-fp/extenddftf2.c: Likewise.
4687 * soft-fp/extended.h: Likewise.
4688 * soft-fp/extendsfdf2.c: Likewise.
4689 * soft-fp/extendsftf2.c: Likewise.
4690 * soft-fp/extendxftf2.c: Likewise.
4691 * soft-fp/fixdfdi.c: Likewise.
4692 * soft-fp/fixdfsi.c: Likewise.
4693 * soft-fp/fixdfti.c: Likewise.
4694 * soft-fp/fixsfdi.c: Likewise.
4695 * soft-fp/fixsfsi.c: Likewise.
4696 * soft-fp/fixsfti.c: Likewise.
4697 * soft-fp/fixtfdi.c: Likewise.
4698 * soft-fp/fixtfsi.c: Likewise.
4699 * soft-fp/fixtfti.c: Likewise.
4700 * soft-fp/fixunsdfdi.c: Likewise.
4701 * soft-fp/fixunsdfsi.c: Likewise.
4702 * soft-fp/fixunsdfti.c: Likewise.
4703 * soft-fp/fixunssfdi.c: Likewise.
4704 * soft-fp/fixunssfsi.c: Likewise.
4705 * soft-fp/fixunssfti.c: Likewise.
4706 * soft-fp/fixunstfdi.c: Likewise.
4707 * soft-fp/fixunstfsi.c: Likewise.
4708 * soft-fp/fixunstfti.c: Likewise.
4709 * soft-fp/floatdidf.c: Likewise.
4710 * soft-fp/floatdisf.c: Likewise.
4711 * soft-fp/floatditf.c: Likewise.
4712 * soft-fp/floatsidf.c: Likewise.
4713 * soft-fp/floatsisf.c: Likewise.
4714 * soft-fp/floatsitf.c: Likewise.
4715 * soft-fp/floattidf.c: Likewise.
4716 * soft-fp/floattisf.c: Likewise.
4717 * soft-fp/floattitf.c: Likewise.
4718 * soft-fp/floatundidf.c: Likewise.
4719 * soft-fp/floatundisf.c: Likewise.
4720 * soft-fp/floatunditf.c: Likewise.
4721 * soft-fp/floatunsidf.c: Likewise.
4722 * soft-fp/floatunsisf.c: Likewise.
4723 * soft-fp/floatunsitf.c: Likewise.
4724 * soft-fp/floatuntidf.c: Likewise.
4725 * soft-fp/floatuntisf.c: Likewise.
4726 * soft-fp/floatuntitf.c: Likewise.
4727 * soft-fp/gedf2.c: Likewise.
4728 * soft-fp/gesf2.c: Likewise.
4729 * soft-fp/getf2.c: Likewise.
4730 * soft-fp/ledf2.c: Likewise.
4731 * soft-fp/lesf2.c: Likewise.
4732 * soft-fp/letf2.c: Likewise.
4733 * soft-fp/muldf3.c: Likewise.
4734 * soft-fp/mulsf3.c: Likewise.
4735 * soft-fp/multf3.c: Likewise.
4736 * soft-fp/negdf2.c: Likewise.
4737 * soft-fp/negsf2.c: Likewise.
4738 * soft-fp/negtf2.c: Likewise.
4739 * soft-fp/op-1.h: Likewise.
4740 * soft-fp/op-2.h: Likewise.
4741 * soft-fp/op-4.h: Likewise.
4742 * soft-fp/op-8.h: Likewise.
4743 * soft-fp/op-common.h: Likewise.
4744 * soft-fp/quad.h: Likewise.
4745 * soft-fp/single.h: Likewise.
4746 * soft-fp/soft-fp.h: Likewise.
4747 * soft-fp/subdf3.c: Likewise.
4748 * soft-fp/subsf3.c: Likewise.
4749 * soft-fp/subtf3.c: Likewise.
4750 * soft-fp/truncdfsf2.c: Likewise.
4751 * soft-fp/trunctfdf2.c: Likewise.
4752 * soft-fp/trunctfsf2.c: Likewise.
4753 * soft-fp/trunctfxf2.c: Likewise.
4754 * soft-fp/unorddf2.c: Likewise.
4755 * soft-fp/unordsf2.c: Likewise.
4756 * soft-fp/unordtf2.c: Likewise.
4757
8a3edb33 47582013-11-05 Uros Bizjak <ubizjak@gmail.com>
4759
4760 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4761 (_FP_MUL_MEAT_D): Ditto.
4762 (_FP_DIV_MEAT_S): Ditto.
4763 (_FP_DIV_MEAT_D): Ditto.
4764 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4765 t-softfp-sfdf and t-softfp to tmake_file.
4766
ea151fae 47672013-11-03 Uros Bizjak <ubizjak@gmail.com>
4768
4769 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4770 * config/i386/crtprec.c: Ditto.
4771
eae21ed1 47722013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4773 Shiva Chen <shiva0217@gmail.com>
4774
4775 * config.host (nds32*-elf*): Add nds32 target.
4776 * config/nds32 : New directory and files.
4777
b4294f67 47782013-10-16 Hans-Peter Nilsson <hp@axis.com>
4779
4780 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4781 * config.host (cpu_type) <Setting default>: Add entry for
4782 crisv32-*-*.
4783 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4784 <crisv32-*-linux*>: Adjust.
4785 * longlong.h: Wrap the whole CRIS section in a single
4786 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4787 and sub_ddmmss.
4788 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4789 defined.
4790 [__CRIS__] (__umulsidi3): Define.
4791 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4792 * config/cris/sfp-machine.h: New file.
4793 * config/cris/umulsidi3.S: New file.
4794 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4795 * config/cris/arit.c (SIGNMULT): New macro.
4796 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4797 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4798 saving 3 out of originally 33 cycles from the fastest
4799 path, 3 out of 54 from the medium path and one from the longest
4800 path. Improve comments.
4801
89432048 48022013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4803
4804 * sync.c: Remove static aliases and define each function directly
4805 under its real name.
4806
a99f9d91 48072013-10-02 John David Anglin <danglin@gcc.gnu.org>
4808
4809 * config.host (hppa*64*-*-linux*): Define extra_parts.
4810 (hppa*-*-linux*): Likewise.
4811
c6e92c43 48122013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4813
4814 * config/arc/crtgend.S: Add 2013 to Copyright years.
4815 * config/arc/gmon/atomic.h: Likewise.
4816 * config/arc/gmon/auxreg.h: Likewise.
4817 * config/arc/gmon/sys/gmon_out.h: Likewise.
4818 * config/arc/gmon/sys/gmon.h: Likewise.
4819 * config/arc/gmon/prof-freq.c: Likewise.
4820 * config/arc/gmon/mcount.c: Likewise.
4821 * config/arc/gmon/prof-freq-stub.S: Likewise.
4822 * config/arc/gmon/gmon.c: Likewise.
4823 * config/arc/gmon/machine-gmon.h: Likewise.
4824 * config/arc/gmon/profil.S: Likewise.
4825 * config/arc/gmon/dcache_linesz.S: Likewise.
4826 * config/arc/crtg.S: Likewise.
4827 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4828 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4829 * config/arc/ieee-754/adddf3.S: Likewise.
4830 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4831 * config/arc/ieee-754/fixsfsi.S: Likewise.
4832 * config/arc/ieee-754/gtsf2.S: Likewise.
4833 * config/arc/ieee-754/floatsisf.S: Likewise.
4834 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4835 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4836 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4837 * config/arc/ieee-754/fixdfsi.S: Likewise.
4838 * config/arc/ieee-754/addsf3.S: Likewise.
4839 * config/arc/ieee-754/gesf2.S: Likewise.
4840 * config/arc/ieee-754/floatsidf.S: Likewise.
4841 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4842 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4843 * config/arc/ieee-754/gtdf2.S: Likewise.
4844 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4845 * config/arc/ieee-754/uneqdf2.S: Likewise.
4846 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4847 * config/arc/ieee-754/uneqsf2.S: Likewise.
4848 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4849 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4850 * config/arc/ieee-754/eqdf2.S: Likewise.
4851 * config/arc/ieee-754/ordsf2.S: Likewise.
4852 * config/arc/ieee-754/divsf3.S: Likewise.
4853 * config/arc/ieee-754/divdf3.S: Likewise.
4854 * config/arc/ieee-754/floatunsidf.S: Likewise.
4855 * config/arc/ieee-754/orddf2.S: Likewise.
4856 * config/arc/ieee-754/eqsf2.S: Likewise.
4857 * config/arc/ieee-754/gedf2.S: Likewise.
4858 * config/arc/crtn.S: Likewise.
4859 * config/arc/crti.S: Likewise.
4860 * config/arc/t-arc700-uClibc: Likewise.
4861 * config/arc/asm.h: Likewise.
4862 * config/arc/libgcc-excl.ver: Likewise.
4863 * config/arc/t-arc-newlib: Likewise.
4864 * config/arc/divtab-arc700.c: Likewise.
4865 * config/arc/initfini.c: Likewise.
4866 * config/arc/fp-hack.h: Likewise.
4867
8abf21c0 48682013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4869 Diego Novillo <dnovillo@google.com>
4870
4871 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
29941397 4872 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4873 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4874 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8abf21c0 4875
8eaaaea3 48762013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4877 Brendan Kehoe <brendan@zen.org>
4878 Simon Cook <simon.cook@embecosm.com>
4879
4880 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4881 * config/arc: New directory.
4882 * longlong.h [__arc__] (umul_ppmm): Remove.
4883 [__arc__] (__umulsidi3): Define.
4884 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4885 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4886
5d7073ff 48872013-09-17 Jacek Caban <jacek@codeweavers.com>
4888
4889 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4890 CreateSemaphoreA.
4891 * config/i386/gthr-win32.h: Likewise.
4892
c5a0ae5e 48932013-09-16 DJ Delorie <dj@redhat.com>
4894
3feee9ae 4895 * config/rl78/vregs.h: Add G10 register definitions.
c5a0ae5e 4896 * config/rl78/lib2mul.c: Enable for RL78/G10.
4897 * config/rl78/lib2div.c: Likewise.
4898 * config/rl78/lshrsi3.S: Use vregs.h.
4899 * config/rl78/cmpsi2.S: Likewise.
4900 * config/rl78/trampoline.S: Likewise.
4901 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4902
03223f89 49032013-09-14 DJ Delorie <dj@redhat.com>
4904 Nick Clifton <nickc@redhat.com>
4905
4906 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4907 * config/rl78/vregs.h: New.
4908 * config/rl78/signbit.S: New file. Implements signbit function.
4909 * config/rl78/divmodsi.S: New.
4910 * config/rl78/divmodhi.S: New.
4911 * config/rl78/divmodqi.S: New.
4912 * config/rl78/t-rl78: Build them here...
4913 * config/rl78/lib2div.c: ...but not here.
4914
e4a25868 49152013-09-12 DJ Delorie <dj@redhat.com>
4916
4917 * config.host (msp*-*-elf): New.
4918 * config/msp430/: New port.
4919
f5f1a747 49202013-08-18 Iain Sandoe <iain@codesourcery.com>
4921
4922 PR gcov-profile/58127
4923 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4924 __thread var for emulated TLS.
4925 (__gcov_indirect_call_counters): Likewise.
4926
272552a3 49272013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
ea151fae 4928 Catherine Moore <clm@codesourcery.com>
92e91d03 4929 Richard Sandiford <rdsandiford@googlemail.com>
272552a3 4930
4931 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4932 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4933 (CALL_STUB_NO_RET): Likewise.
4934 (CALL_STUB_RET): Likewise.
4935 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4936 __mips16_ret call/return stub symbols.
4937 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4938 to tmake_file.
4939
26865d30 49402013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4941
4942 * config.host <mips*-*-linux*>: Remove a stray comment.
4943
4771c0ac 49442013-08-10 Jan Hubicka <jh@suse.cz>
4945
4946 Work around binutils PR14342
4947 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4948 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4949 (L_gcov_indirect_call_profiler_v2): New.
4950
fe37be54 49512013-08-06 Jan Hubicka <jh@suse.cz>
4952
4953 * libgcov.c (__gcov_indirect_call_callee,
4954 __gcov_indirect_call_counters): New global vars.
4955 (__gcov_indirect_call_profiler): replace by ...
4956 (__gcov_indirect_call_profiler_v2) ... this one.
4957
b710ec85 49582013-08-06 Caroline Tice <cmtice@google.com>
4959
62257207 4960 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
b710ec85 4961 vtv_start_preinit.o and vtv_end_preinit.o.
62257207 4962 * configure.ac: Add code to check/set enable_vtable_verify.
4963 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
b710ec85 4964 true.
62257207 4965 * vtv_start_preinit.c: New file.
4966 * vtv_end_preinit.c: New file.
4967 * vtv_start.c: New file.
4968 * vtv_end.c: New file.
4969 * configure: Regenerated.
b710ec85 4970
98997678 49712013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
4972
4973 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4974 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4975 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4976 GPL-3.0-with-GCC-exception.
4977
b26b6f0d 49782013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
4979
4980 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4981 ISA and up.
4982
e6270f6f 49832013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4984
4985 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4986 mapping for FPRs when creating the fallback framestate.
4987
fdbf5b19 49882013-07-19 Georg-Johann Lay <avr@gjlay.de>
4989
4990 PR target/57516
4991 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4992 (__round_s2_const, __round_u2_const)
4993 (__round_s4_const, __round_u4_const, __round_x8):
4994 Saturate result if addition result cannot be represented.
4995
6dcb849c 49962013-07-15 Matthias Klose <doko@ubuntu.com>
4997
4998 * libgcc2.c: Don't include <limits.h>.
4999
16348e18 50002013-07-09 Janis Johnson <janisjo@codesourcery.com>
5001
5002 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5003
64b5be08 50042013-07-06 Jakub Jelinek <jakub@redhat.com>
5005
5006 PR target/29776
5007 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5008
68a09193 50092013-06-28 Jakub Jelinek <jakub@redhat.com>
5010
5011 PR middle-end/36041
5012 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5013 Define.
5014 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5015 instead of table lookups.
5016 (__popcountDI2): Likewise.
5017
5fe358df 50182013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5019
5020 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5021 correctly.
5022
2511e9f1 50232013-06-21 Joseph Myers <joseph@codesourcery.com>
5024
5025 PR other/53317
5026 * soft-fp/adddf3.c: Update from glibc.
5027 * soft-fp/addsf3.c: Likewise.
5028 * soft-fp/addtf3.c: Likewise.
5029 * soft-fp/divdf3.c: Likewise.
5030 * soft-fp/divsf3.c: Likewise.
5031 * soft-fp/divtf3.c: Likewise.
5032 * soft-fp/double.h: Likewise.
5033 * soft-fp/eqdf2.c: Likewise.
5034 * soft-fp/eqsf2.c: Likewise.
5035 * soft-fp/eqtf2.c: Likewise.
5036 * soft-fp/extenddftf2.c: Likewise.
5037 * soft-fp/extended.h: Likewise.
5038 * soft-fp/extendsfdf2.c: Likewise.
5039 * soft-fp/extendsftf2.c: Likewise.
5040 * soft-fp/fixdfdi.c: Likewise.
5041 * soft-fp/fixdfsi.c: Likewise.
5042 * soft-fp/fixsfdi.c: Likewise.
5043 * soft-fp/fixsfsi.c: Likewise.
5044 * soft-fp/fixtfdi.c: Likewise.
5045 * soft-fp/fixtfsi.c: Likewise.
5046 * soft-fp/fixunsdfdi.c: Likewise.
5047 * soft-fp/fixunsdfsi.c: Likewise.
5048 * soft-fp/fixunssfdi.c: Likewise.
5049 * soft-fp/fixunssfsi.c: Likewise.
5050 * soft-fp/fixunstfdi.c: Likewise.
5051 * soft-fp/fixunstfsi.c: Likewise.
5052 * soft-fp/floatdidf.c: Likewise.
5053 * soft-fp/floatdisf.c: Likewise.
5054 * soft-fp/floatditf.c: Likewise.
5055 * soft-fp/floatsidf.c: Likewise.
5056 * soft-fp/floatsisf.c: Likewise.
5057 * soft-fp/floatsitf.c: Likewise.
5058 * soft-fp/floatundidf.c: Likewise.
5059 * soft-fp/floatundisf.c: Likewise.
5060 * soft-fp/floatunditf.c: Likewise.
5061 * soft-fp/floatunsidf.c: Likewise.
5062 * soft-fp/floatunsisf.c: Likewise.
5063 * soft-fp/floatunsitf.c: Likewise.
5064 * soft-fp/gedf2.c: Likewise.
5065 * soft-fp/gesf2.c: Likewise.
5066 * soft-fp/getf2.c: Likewise.
5067 * soft-fp/ledf2.c: Likewise.
5068 * soft-fp/lesf2.c: Likewise.
5069 * soft-fp/letf2.c: Likewise.
5070 * soft-fp/muldf3.c: Likewise.
5071 * soft-fp/mulsf3.c: Likewise.
5072 * soft-fp/multf3.c: Likewise.
5073 * soft-fp/negdf2.c: Likewise.
5074 * soft-fp/negsf2.c: Likewise.
5075 * soft-fp/negtf2.c: Likewise.
5076 * soft-fp/op-1.h: Likewise.
5077 * soft-fp/op-2.h: Likewise.
5078 * soft-fp/op-4.h: Likewise.
5079 * soft-fp/op-8.h: Likewise.
5080 * soft-fp/op-common.h: Likewise.
5081 * soft-fp/quad.h: Likewise.
5082 * soft-fp/single.h: Likewise.
5083 * soft-fp/soft-fp.h: Likewise.
5084 * soft-fp/subdf3.c: Likewise.
5085 * soft-fp/subsf3.c: Likewise.
5086 * soft-fp/subtf3.c: Likewise.
5087 * soft-fp/truncdfsf2.c: Likewise.
5088 * soft-fp/trunctfdf2.c: Likewise.
5089 * soft-fp/trunctfsf2.c: Likewise.
5090 * soft-fp/unorddf2.c: Likewise.
5091 * soft-fp/unordsf2.c: Likewise.
5092 * soft-fp/unordtf2.c: Likewise.
5093 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5094 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5095 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5096 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5097 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5098 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5099 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5100 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5101 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5102 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5103 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5104 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5105
0b4e9fcd 51062013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5107
5108 * config/mips/lib2funcs.c: New file.
5109 * config/mips/t-mips (LIB2ADD_ST): Add it.
5110
fe9c9e23 51112013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5112
5113 PR target/6526
5114 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5115 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5116
1c229e23 51172013-06-08 Walter Lee <walt@tilera.com>
5118
5119 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5120 Replace int64_t with long long. Add __extension__ where
5121 appropriate.
5122 * config/tilepro/atomic.c: Include config.h.
5123
1a7dfb13 51242013-06-06 Douglas B Rupp <rupp@adacore.com>
5125
5126 * config.host (arm-wrs-vxworks): Configure with other soft float.
5127
60b34f30 51282013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5129
5130 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5131 (mips64r5900el-*-elf*): New configurations.
5132
ebe9cbdb 51332013-06-04 Alan Modra <amodra@gmail.com>
5134
5135 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5136
fbcee6d1 51372013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5138
5139 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5140
aad33226 51412013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5142
5143 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5144 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5145 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5146
47ab8c10 51472013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5148
5149 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5150 (powerpc-wrs-vxworks): Likewise.
5151
34a60aa2 51522013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5153
5154 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5155 signal frames as well.
5156 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5157 STACK_BIAS to the CFA offset.
5158
be82f7a8 51592013-05-17 Richard Henderson <rth@redhat.com>
5160
5161 PR target/49146
5162 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5163 (execute_cfa_program): Use it when storing to fs->regs.
5164
bd89d2b6 51652013-05-08 Kai Tietz <ktietz@redhat.com>
5166
5167 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5168 (__deregister_frame_info): Likewise.
5169
9e849aff 51702013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5171
dfa9a36a 5172 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5173 NaN's payload.
5174
9e849aff 5175 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5176
d80dc920 51772013-04-25 Alan Modra <amodra@gmail.com>
5178
5179 * config.host: Match little-endian powerpc-linux.
5180
d359df0c 51812013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5182
5183 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5184 as 'unsigned long long' instead of 'unsigned long'.
5185 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5186 'signed long'.
5187
912507e5 51882013-04-10 Julian Brown <julian@codesourcery.com>
5189
5190 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5191 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5192 unsigned char/unsigned short.
5193 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5194
9dafcef4 51952013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5196
5197 PR other/55274
5198 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5199
11bec6e6 52002013-04-04 Meador Inge <meadori@codesourcery.com>
5201
5202 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5203 computing the location of the link register.
5204 (aeabi_uldivmod): Ditto.
5205
45d13ef4 52062013-03-27 Kai Tietz <ktietz@redhat.com>
5207
5208 * config.host: Add support for cygwin x64 target.
5209 * configure: Regenerated.
5210
cad8262b 52112013-03-26 Walter Lee <walt@tilera.com>
5212
5213 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5214 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5215
d2adc174 52162013-03-25 Kai Tietz <ktietz@redhat.com>
5217
5218 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5219
a5487e41 52202013-03-20 Robert Mason <rbmj@verizon.net>
5221
5222 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5223 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5224 (__gthread_leave_tsd_dtor_context): Add prototypes.
5225 (tls_delete_hook): Update.
5226
ff9c1bc1 52272013-03-20 Catherine Moore <clm@codesourcery.com>
5228 Joseph Myers <joseph@codesourcery.com>
5229 Chao-ying Fu <fu@mips.com>
5230
5231 * config/mips/mips16.S: Don't build for microMIPS.
5232 * config/mips/linux-unwind.h: Handle microMIPS frame.
5233 * config/mips/crtn.S (fini, init): New labels.
5234
228bf2b8 52352013-03-14 Jakub Jelinek <jakub@redhat.com>
5236
5237 PR tree-optimization/53265
5238 * unwind-dw2.c (execute_cfa_program): Avoid
5239 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5240 on targets with DWARF_FRAME_REGISTERS < 32.
5241
bb057878 52422013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5243
5244 PR target/49880
5245 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5246 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5247
a1b2a524 52482013-03-07 Sriraman Tallam <tmsriram@google.com>
5249
5250 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5251 sandybridge processors.
5252
9fe603c3 52532013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5254
5255 PR target/56529
5256 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5257 inclusion list.
5258
21ebaa24 52592013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
02f4bd0d 5260
5261 * config/microblaze/crti.S: Setup stack protection at entry
5262
958069e9 52632013-03-04 Georg-Johann Lay <avr@gjlay.de>
5264
5265 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5266 (__rotldi3): Shift bytewise if applicable.
5267
49be16da 52682013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5269
5270 * config/aarch64/sync-cache.c
5271 (__aarch64_sync_cache_range): Silence warnings.
5272
ca7a473f 52732013-02-25 Catherine Moore <clm@codesourcery.com>
5274
5275 Revert:
5276 2013-02-24 Catherine Moore <clm@codesourcery.com>
5277 Joseph Myers <joseph@codesourcery.com>
5278 Chao-ying Fu <fu@mips.com>
5279
5280 * config/mips/mips16.S: Don't build for microMIPS.
5281 * config/mips/linux-unwind.h: Handle microMIPS frame.
5282 * config/mips/crtn.S (fini, init): New labels.
5283
7fd93f9c 52842013-02-24 Catherine Moore <clm@codesourcery.com>
5285 Joseph Myers <joseph@codesourcery.com>
5286 Chao-ying Fu <fu@mips.com>
5287
5288 * config/mips/mips16.S: Don't build for microMIPS.
5289 * config/mips/linux-unwind.h: Handle microMIPS frame.
5290 * config/mips/crtn.S (fini, init): New labels.
5291
1859244f 52922012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
005a5ef5 5293 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
1859244f 5294 as dividend.
5295
2a0bfd56 52962013-02-16 Alan Modra <amodra@gmail.com>
5297
5298 PR target/55431
5299 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5300 (ppc_fallback_frame_state): Always set up save locations for fp
5301 and altivec. Don't bother with non-callee-saved regs, r0-r13
5302 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5303
cfbcb7d5 53042013-02-12 Georg-Johann Lay <avr@gjlay.de>
5305
5306 PR target/54222
5307 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5308 _ssmulHA, _ssmulSA.
5309 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5310 _ssmulha3, _usmulusa3, _ssmulsa3.
5311 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5312 (__muldi3): XCALL __muldi3_6 instead of rcall.
5313 (__umulsidi3, __mulsidi3): New functions.
5314 (do_prologue_saves, do_epilogue_restores): New .macros.
5315 (__divdi3_moddi3): Use them.
5316 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5317 (__usmulusa3, __ssmulsa3): New functions.
5318
48b8e70a 53192013-02-11 Iain Sandoe <iain@codesourcery.com>
5320 Jack Howarth <howarth@bromo.med.uc.edu>
5321 Patrick Marlier <patrick.marlier@gmail.com>
5322
5323 PR libitm/55693
5324 * config/darwin-crt-tm.c: Remove dummy functions hack.
5325
eafea251 53262013-02-08 Georg-Johann Lay <avr@gjlay.de>
5327
5328 PR target/54222
5329 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5330 * config/avr/lib2-object.mk: New iterator to build objects from it.
5331 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5332 lib2funcs.c.
5333 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5334 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5335 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5336 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5337 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5338 * config/avr/lib1funcs-fixed.S: Implement them.
5339
64b7b462 53402013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5341
5342 Update copyright years.
5343
a8af2dd5 53442013-02-01 David Edelsohn <dje.gcc@gmail.com>
5345
5346 PR target/54601
5347 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5348 Add crtcxa to extra_parts.
5349 * config/rs6000/exit.h: New file.
5350 * config/rs6000/cxa_atexit.c: New file.
5351 * config/rs6000/cxa_finalize.c: New file.
5352 * config/rs6000/crtcxa.c: New file.
5353 * config/rs6000/t-aix-cxa: New file.
5354 * config/rs6000/libgcc-aix-cxa.ver: New file.
5355
9a5788ea 53562013-01-31 Nick Clifton <nickc@redhat.com>
5357
5358 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5359 variant.
5360
63c85bd5 53612013-01-29 Georg-Johann Lay <avr@gjlay.de>
5362
5363 PR target/54222
5364 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5365 _mulQQ, _mulHQ, _mulHA, _mulSA,
5366 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5367 _divQQ, _divHQ, _divHA, _divSA,
5368 _divUQQ, _divUHQ, _divUHA, _divUSA.
5369
21ebaa24 53702013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
c48df545 5371
9a5788ea 5372 * config.host(microblaze*-linux*): tmake_file: Remove
c48df545 5373 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5374 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5375 to exclude functions from being built with libgcc.c and use
5376 the microblaze assembly.
5377
21ebaa24 53782013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
98f2ac05 5379
5380 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5381 extra_parts.
5382
ee4d7d9e 53832013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5384
5385 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5386 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5387 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5388 alignment operation.
5389
7deea711 53902013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5391
5392 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5393 loop start address for cache clearing.
5394
0dff9558 53952013-01-14 Georg-Johann Lay <avr@gjlay.de>
5396
5397 * config/avr/lib1funcs.S: Remove trailing blanks.
5398 * config/avr/lib1funcs-fixed.S: Ditto.
5399
d8ff1e9a 54002013-01-14 Georg-Johann Lay <avr@gjlay.de>
5401
5402 * config/avr/avr-lib.h: Add GPL copyright notice.
5403
dd509879 54042013-01-14 Georg-Johann Lay <avr@gjlay.de>
5405
5406 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5407 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5408 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5409 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5410
6e029611 54112013-01-07 Mark Kettenis <kettenis@openbsd.org>
5412
5413 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5414 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
51918e06 5415
409ad634 54162013-01-04 Nick Clifton <nickc@redhat.com>
5417
5418 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5419 the CALLT instruction is supported.
5420
1d384e02 54212012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5422
5423 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5424 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5425
cc4b03ac 54262012-12-13 John Tytgat <John@bass-software.com>
5427
5428 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5429 is 25.
5430
990457e2 54312012-12-12 Jakub Jelinek <jakub@redhat.com>
5432
5433 PR libgcc/55451
5434 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5435 undefined signed overflows.
5436
db6a9a70 54372012-12-09 Uros Bizjak <ubizjak@gmail.com>
5438
5439 PR target/55344
5440 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5441
038a6cd9 54422012-12-06 Uros Bizjak <ubizjak@gmail.com>
5443
5444 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5445 (FP_TRAPPING_EXCEPTIONS): Define.
5446 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5447 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5448
ef5f15fb 54492012-12-04 Richard Henderson <rth@redhat.com>
5450
5451 PR bootstrap/55571
5452 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5453
92e91d03 54542012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
09ef8b8d 5455
038a6cd9 5456 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
09ef8b8d 5457 (FP_EX_SHIFT): Define.
5458 (FP_TRAPPING_EXCEPTIONS): Define.
5459
92e91d03 54602012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
1caca546 5461
5462 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5463 (FP_ROUNDMODE): Use FP_RND_MASK.
5464 * config/aarch64/sfp-exceptions.c: New.
5465 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5466 Use __sfp_handle_exceptions.
5467
6a11e52b 54682012-12-04 Richard Earnshaw <rearnsha@arm.com>
5469
5470 * config.host: (arm*-*-freebsd*): Remove.
5471 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5472 (arm*-*-elf*): Remove.
5473 (arm*-*-wince-pe*): Remove.
5474 * arm/unwind-arm.c (struct fpa_reg): Delete.
5475 (struct fpa_regs): Delete.
5476 (phase1_vrs): Remove fpa element.
5477 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5478 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5479 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5480 * ieee754-sf.S (floatundisf): Remove FPA support.
5481 (floatdisf): Likewise.
5482 * ieee75f-df.S (floatundidf): Likewise.
5483 (floatdidf): Likewise.
5484
a92cf445 54852012-11-29 Kai Tietz <ktietz@redhat.com>
5486
5487 PR target/55445
5488 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5489 * unwind-generic.h: Likewise.
5490 * unwind-seh.c: Likewise.
5491
f0b6dfa6 54922012-11-28 Richard Henderson <rth@redhat.com>
5493
5494 PR libgcc/48076
5495 * emutls.c (__emutls_get_address): Avoid race condition between
5496 obj->loc.offset read and emutls_key initialization.
038a6cd9 5497
c8ec4eb6 54982012-11-22 Georg-Johann Lay <avr@gjlay.de>
5499
5500 Adjust decimal point of signed accum mode to GCC default.
5501
5502 PR target/54222
5503 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5504 _divqq_helper.
5505 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5506 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5507 (__mulha3, __mulsa3)
5508 (__divqq3, __divha3, __divsa3): Adjust to new position of
038a6cd9 5509 decimal point of signed accum types.
5510
c8ec4eb6 5511 (__mulusa3_round): New function.
5512 (__mulusa3): Use it.
5513 (__divqq_helper): New function.
5514 (__udivuqq3): Use it.
5515
ca8c4cb9 55162012-11-20 Jakub Jelinek <jakub@redhat.com>
5517
5518 PR bootstrap/55370
5519 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5520
5d2fca09 55212012-11-18 Teresa Johnson <tejohnson@google.com>
5522
5523 PR bootstrap/55051
5524 * libgcov.c (gcov_exit): Remove merged program summary
5525 comparison unless !GCOV_LOCKED.
5526
92e91d03 55272012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
bfc20a3e 5528
5529 * soft-fp: Updated from glibc upstream.
5530
20f6e7a3 55312012-11-06 Ian Lance Taylor <iant@google.com>
5532
5533 * generic-morestack.c (__generic_morestack): Align the returned
5534 stack pointer to a 32 byte boundary.
5535 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5536 increment the return address until we have decided that we don't
5537 have a varargs function.
5538 (__morestack) [32-bit]: Align stack correctly when calling C
5539 functions.
5540 (__morestack) [64-bit]: Likewise.
5541
97bd2465 55422012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5543
5544 * configure: Regenerate.
5545
d152ae90 55462012-11-02 Uros Bizjak <ubizjak@gmail.com>
5547
5548 PR target/55175
5549 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5550 * config/i386/sfp-machine.h: Guard exception handling
5551 code with _SOFT_FLOAT.
5552 * config/i386/32/sfp-machine.h: Guard rounding handling
5553 code with _SOFT_FLOAT.
5554 * config/i386/64/sfp-machine.h: Ditto.
5555
0cd8c088 55562012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5557
5558 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5559 as extra_parts.
5560
113702f6 55612012-10-26 Uros Bizjak <ubizjak@gmail.com>
5562
5563 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5564 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5565 when appropriate. Correct structure element types.
5566 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5567 -minline-all-stringops from compile flags.
5568
92e91d03 55692012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
00b706f9 5570
5571 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5572
92e91d03 55732012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
57380e33 5574
113702f6 5575 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
57380e33 5576
a2397d15 55772012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5578
5579 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5580 tmake_file.
5581
1b3d2097 55822012-10-23 Ian Bolton <ian.bolton@arm.com>
5583 Jim MacArthur <jim.macarthur@arm.com>
5584 Marcus Shawcroft <marcus.shawcroft@arm.com>
5585 Nigel Stephens <nigel.stephens@arm.com>
5586 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5587 Richard Earnshaw <rearnsha@arm.com>
5588 Sofiane Naci <sofiane.naci@arm.com>
5589 Stephen Thomas <stephen.thomas@arm.com>
5590 Tejas Belagod <tejas.belagod@arm.com>
5591 Yufeng Zhang <yufeng.zhang@arm.com>
5592
5593 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5594 * config/aarch64/crti.S: New file.
5595 * config/aarch64/crtn.S: New file.
5596 * config/aarch64/linux-unwind.h: New file.
5597 * config/aarch64/sfp-machine.h: New file.
5598 * config/aarch64/sync-cache.c: New file.
5599 * config/aarch64/t-aarch64: New file.
5600 * config/aarch64/t-softfp: New file.
5601
cfdcf688 56022012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5603
5604 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5605 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5606 no-longer-needed LDBU insns.
5607
92e91d03 56082012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
598ebe3d 5609
5610 * config.host
5611 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5612 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5613
530c2b2e 56142012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5615
5616 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5617
f49eb158 56182012-10-15 Matthias Klose <doko@ubuntu.com>
5619
5620 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5621
017f22df 56222012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5623
5624 * configure: Regenerate.
5625 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5626
da8b7497 56272012-10-10 Uros Bizjak <ubizjak@gmail.com>
5628
5629 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5630 instructions for 64bit targets only.
5631
19a23012 56322012-10-10 Uros Bizjak <ubizjak@gmail.com>
5633
5634 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5635 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5636 * config/i386/32/sfp-machine.h: ... here.
5637 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5638 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5639 New defines.
5640
a32dc74a 56412012-10-07 Matthias Klose <doko@ubuntu.com>
5642
5643 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5644 as unused.
5645 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5646
81ae3d37 56472012-10-06 Mark Kettenis <kettenis@openbsd.org>
5648
5649 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5650 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5651 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5652 (ElfW): Likewise.
5653
4e6a7cfc 56542012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5655
5656 PR other/53889
5657 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5658 Fix parameter names.
5659
7cc401e3 56602012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5661
5662 PR target/33135
5663 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5664 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5665 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5666
cfaba078 56672012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5668
5669 PR target/50457
5670 * config/sh/linux-atomic.S: Delete.
5671 * config/sh/linux-atomic.c: New.
5672 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5673 linux-atomic.c. Add cflags to disable warnings.
5674
4854adab 56752012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5676
5677 PR other/53889
5678 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5679 function.
5680 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5681 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5682 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5683 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
4e6a7cfc 5684 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5685 Likewise.
4854adab 5686 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5687 Likewise.
5688 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5689 Likewise.
5690 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5691 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5692
07cf7615 56932012-09-19 Mark Kettenis <kettenis@openbsd.org>
5694
cfaba078 5695 * config.host (hppa-*-openbsd*): New target.
5696 * config/pa/t-openbsd: New file.
07cf7615 5697
b4ebb666 56982012-09-15 Georg-Johann Lay <avr@gjlay.de>
5699
5700 PR target/54222
5701 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5702 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5703 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5704 (__divsa3): Use __negsi2 to negate r_quoL.
5705 * config/avr/lib1funcs.S (FALIAS): New macro.
5706 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5707 (__negsi2): ...this new function.
5708 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5709 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5710 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5711 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5712 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5713 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5714
6e7c6395 57152012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5716
5717 PR target/54089
5718 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5719 (lshrsi3): Reimplement as lshrsi3_r0.
5720
5e847ded 57212012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5722
5723 PR target/46191
5724 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5725 of libgcc.a.
5726
7995ce5f 57272012-09-07 Teresa Johnson <tejohnson@google.com>
5728
cfaba078 5729 PR gcov-profile/54487
7995ce5f 5730 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
cfaba078 5731 differences.
7995ce5f 5732
fd28e216 57332012-09-05 Georg-Johann Lay <avr@gjlay.de>
5734
5735 PR target/54461
5736 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5737 not configured --with-avrlibc=no.
5738 * config/avr/t-avrlibc: New file.
5739 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5740 (DPBIT_FUNCS): Ditto.
5741 (TPBIT_FUNCS): Ditto.
5742
2688cb90 57432012-09-04 Teresa Johnson <tejohnson@google.com>
5744
5745 * libgcov.c (struct gcov_summary_buffer): New structure.
5746 (gcov_histogram_insert): New function.
5747 (gcov_compute_histogram): Ditto.
5748 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5749 histograms during summary merging.
5750
51796b3a 57512012-09-01 Mark Kettenis <kettenis@openbsd.org>
5752
5753 * config.host (x86_64-*-openbsd*): New target.
d152ae90 5754
d36db932 57552012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5756
5757 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5758 attribute.
5759
d87654c8 57602012-08-24 Georg-Johann Lay <avr@gjlay.de>
5761
5762 PR target/54222
5763 * config/avr/t-avr (conv_X): Rename to func_X.
5764
017c5b98 57652012-08-24 Georg-Johann Lay <avr@gjlay.de>
5766
5767 PR target/54222
5768 * config/avr/lib1funcs-fixed.S: New file.
5769 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5770 after they are used.
5771 (neg2, neg4): New macros.
5772 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5773 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5774 (__umulhisi3): Speed up MUL variant if there is enough flash.
5775 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5776 avr-modes.def.
5777 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5778 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5779 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5780 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5781 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5782 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5783 (LIB2FUNCS_EXCLUDE): Add supported functions.
5784
65bcd545 57852012-08-22 Georg-Johann Lay <avr@gjlay.de>
5786
5787 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5788 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5789 libgcc-s-objects.
5790 * fixed-obj.mk: Only expand dependency if $o is not in
5791 LIB2FUNCS_EXCLUDE.
5792
39166195 57932012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5794
5795 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5796
b78f422e 57972012-08-22 Joseph Myers <joseph@codesourcery.com>
5798
5799 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5800 depend on --enable-shared.
5801 ($(lib1asmfuncs-o)): Use %.vis files independent of
5802 --enable-shared.
5803 * static-object.mk ($(base)$(objext), $(base).vis)
5804 ($(base)_s$(objext)): Use same rules for visibility handling as in
5805 shared-object.mk.
5806
66ef0f44 58072012-08-21 Ian Lance Taylor <iant@google.com>
5808
5809 * config/i386/morestack.S (__morestack_non_split): Increase amount
5810 of space allocated for non-split code stack.
5811
93547515 58122012-08-19 Joseph Myers <joseph@codesourcery.com>
5813
5814 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5815 even if inhibit_libc.
5816
98d22b3c 58172012-08-17 Julian Brown <julian@codesourcery.com>
5818
5819 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5820 -fexceptions -fnon-call-exceptions if not defined.
5821 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5822 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5823
2076ec4b 58242012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5825
5826 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5827 type.
5828
c1420b84 58292012-08-16 David Edelsohn <dje.gcc@gmail.com>
5830
5831 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5832 rs6000/t-slibgcc-aix.
5833
ae5b70d0 58342012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5835
5836 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5837
4ff70f1c 58382012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5839
5840 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5841
464810a0 58422012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5843
5844 PR driver/54171
5845 * Makefile.in (version): Replace top_srcdir with srcdir.
5846
d2c6da38 58472012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5848
5849 * Makefile.in (version): set to BASE-VER file from gcc directory.
5850
a575acb2 58512012-08-01 Nick Clifton <nickc@redhat.com>
5852
5853 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5854 Implements __clrsb for an HImode argument.
5855
3a44f5e6 58562012-07-31 Nick Clifton <nickc@redhat.com>
5857
5858 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5859 Implements __clrsb for an HImode argument.
5860 * config/stormy16/clrsbhi2.c: New file:
5861 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5862
56b17dd7 58632012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5864
5865 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5866
8ad0b530 58672012-07-19 Tristan Gingold <gingold@adacore.com>
5868 Richard Henderson <rth@redhat.com>
5869
5870 * unwind-seh.c: New file.
5871 * unwind-generic.h: Include windows.h for SEH.
5872 (_Unwind_Exception): Use 6 private fields for SEH.
5873 (_GCC_specific_handler): Declare.
5874 * unwind-c.c (__gcc_personality_seh0): New function.
5875 Adjust for SEH.
5876 * config/i386/libgcc-cygming.ver: New file.
5877 * config/i386/t-seh-eh: New file.
5878 * config.host (x86_64-*-mingw*): Default to seh.
5879
017bf976 58802012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5881
5882 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5883
6f24586e 58842012-06-17 Uros Bizjak <ubizjak@gmail.com>
5885
5886 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5887 __builtin_expect when checking for exceptions.
5888 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5889
1927db1f 58902012-06-13 Uros Bizjak <ubizjak@gmail.com>
5891
7b9088d5 5892 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5893 function declaration.
5894 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5895 (FP_RND_MASK): New.
5896 * config/ia64/sfp-exceptions.c: New.
5897 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
1927db1f 5898
c3576308 58992012-06-13 Uros Bizjak <ubizjak@gmail.com>
5900
5901 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5902 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5903 * config/i386/64/sfp-machine: ... (delete here) ...
5904 * config/i386/sfp-machine.h: ... to here.
5905 (FP_EX_MASK): Remove.
5906 (FP_RND_MASK): New.
5907 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5908
725b956c 59092012-06-11 Sriraman Tallam <tmsriram@google.com>
5910
5911 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5912 * config/i386/libgcc-sol2.ver: Ditto.
5913 * config/i386/libgcc-glibc.ver: Ditto.
5914
026e608e 59152012-06-11 Roland McGrath <mcgrathr@google.com>
5916
5917 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5918 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5919 pthread_cancel.
5920
2c223cf2 59212012-06-09 Uros Bizjak <ubizjak@gmail.com>
5922
5923 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5924 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5925 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5926 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5927 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5928 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5929 * config/i386/64/sfp-machine: ... (delete here) ...
5930 * config/i386/sfp-machine.h: ... to here.
5931 (FP_EX_MASK): New.
5932 (__sfp_handle_exceptions): New function declaration.
5933 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5934 * config/i386/sfp-exceptions.c: New.
5935 * config/i386/t-softfp: New.
5936 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5937 i386/t-softfp to tmake_file.
5938
620803f2 59392012-06-03 David S. Miller <davem@davemloft.net>
5940
5941 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5942 change.
5943
38ef0978 59442012-05-31 David S. Miller <davem@davemloft.net>
5945
5946 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5947 multiply and divide instructions on 32-bit when V9.
5948 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5949
e1c346e5 59502012-05-29 Joseph Myers <joseph@codesourcery.com>
5951
5952 * config/arm/ieee754-df.S: Fix typos.
5953 * config/arm/ieee754-sf.S: Fix typos.
5954 * config/c6x/libunwind.S: Fix typos.
5955 * config/epiphany/udivsi3-float.c: Fix typos.
5956 * config/microblaze/muldi3_hard.S: Fix typos.
5957 * config/picochip/adddi3.S: Fix typos.
5958 * config/picochip/ashlsi3.S: Fix typos.
5959 * config/picochip/ashrsi3.S: Fix typos.
5960 * config/picochip/clzsi2.S: Fix typos.
5961 * config/picochip/cmpsi2.S: Fix typos.
5962 * config/picochip/divmod15.S: Fix typos.
5963 * config/picochip/divmodhi4.S: Fix typos.
5964 * config/picochip/divmodsi4.S: Fix typos.
5965 * config/picochip/longjmp.S: Fix typos.
5966 * config/picochip/lshrsi3.S: Fix typos.
5967 * config/picochip/parityhi2.S: Fix typos.
5968 * config/picochip/popcounthi2.S: Fix typos.
5969 * config/picochip/setjmp.S: Fix typos.
5970 * config/picochip/subdi3.S: Fix typos.
5971 * config/picochip/ucmpsi2.S: Fix typos.
5972 * config/picochip/udivmodhi4.S: Fix typos.
5973 * config/picochip/udivmodsi4.S: Fix typos.
5974 * config/spu/divv2df3.c: Fix typos.
5975 * config/spu/mfc_multi_tag_release.c: Fix typos.
5976 * config/spu/mfc_tag_release.c: Fix typos.
5977 * configure.ac: Fix typos.
5978 * configure: Regenerate.
5979
4bb0c596 59802012-05-25 Ian Lance Taylor <iant@google.com>
5981
5982 * config/i386/morestack.S (__morestack_non_split): Check whether
5983 caller is varargs and needs %bp to hold the stack frame on return.
5984
05b6028a 59852012-05-25 Olivier Hainque <hainque@adacore.com>
5986
5987 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5988 sequence in the non pic case on VxWorks.
5989
de055a8b 59902012-05-24 Olivier Hainque <hainque@adacore.com>
5991
05c265fe 5992 * Makefile.in: Move dependency on install-unwind_h from
de055a8b 5993 "install-leaf" to "install".
5994
511797dd 59952012-05-24 Olivier Hainque <hainque@adacore.com>
5996
5997 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5998 Use a separate command for stamp removals.
5999
c05436a7 60002012-05-21 Andrew Pinski <apinski@cavium.com>
6001
6002 PR bootstrap/53183
6003 * configure.ac: Define the default includes to being none.
6004 * configure: Regenerate.
6005
0e0bcebd 60062012-05-16 Olivier Hainque <hainque@adacore.com>
6007
6008 * Makefile.in (install-unwind_h): Rename into ...
6009 (install-unwind_h-forbuild): New target.
6010 (all): Use it instead of the former install-unwind_h.
6011 (install-unwind_h): Reinstate, copy to user install destination
6012 for include files, not to the internal gcc object directory one.
6013 (install-leaf): Depend on it.
6014
4ea72f7b 60152012-05-15 Olivier Hainque <hainque@adacore.com>
6016
6017 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6018 register numbers. LR_REGNO replaces R_LR.
6019 (ucontext_for): New, helper for ...
6020 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6021 and 5.3 of ...
6022 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6023
98c9b52b 60242012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6025
6026 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6027 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6028 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6029 i386/t-cpuinfo ...
6030 (i[34567]86-*-*, x86_64-*-*): ... here.
6031
6032 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6033 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6034
6035 * config/i386/i386-cpuinfo.c: Rename to ...
6036 * config/i386/cpuinfo.c: ... this.
6037 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6038
6039 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6040 (libgcc_cv_init_priority): New test.
6041 * configure: Regenerate.
6042 * config.in: New file.
6043 * Makefile.in (clean): Rename config.h to auto-target.h.
6044 (config.h): Likewise.
6045 (stamp-h): Likewise.
6046
6047 * config/i386/cpuinfo.c (auto-target.h): Include.
6048 (CONSTRUCTOR_PRIORITY): Define.
6049 (__cpu_indicator_init): Use it.
6050
a7534247 60512012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6052
6053 * longlong.h: Use a URL instead of an FSF postal address.
6054 Replace spaces with tab.
6055
7b9088d5 60562012-05-08 Teresa Johnson <tejohnson@google.com>
4ef7becb 6057
6058 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6059 (__gcov_dump): Ditto.
6060 (gcov_dump_complete): New global variable.
6061 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6062 (__gcov_flush): Outline functionality now in gcov_clear.
6063 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6064
416e60e6 60652012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6066
4bb0c596 6067 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6068 (mips*-*-linux*): Include mips/t-tpbit when long double is
6069 16 bytes long.
416e60e6 6070
d79cfc15 60712012-04-25 Sriraman Tallam <tmsriram@google.com>
6072
6073 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6074 (get_available_features): New argument. Check for AVX2.
6075 (__cpu_indicator_init): Modify call to get_available_features.
6076
cef20746 60772012-04-25 Alan Modra <amodra@gmail.com>
6078
6079 * config/rs6000/crtsavevr.S: New file.
6080 * config/rs6000/crtrestvr.S: New file.
6081 * config/rs6000/t-savresfgpr: Build the above.
6082 * config/rs6000/t-netbsd: Likewise.
6083
0a166714 60842012-04-24 Sriraman Tallam <tmsriram@google.com>
6085
6086 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6087
f0fd108f 60882012-04-24 Sriraman Tallam <tmsriram@google.com>
6089
6090 * libgcc/config/i386/i386-cpuinfo.c: New file.
6091 * libgcc/config/i386/t-cpuinfo: New file.
6092 * libgcc/config.host: Include t-cpuinfo.
6093 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6094
394bef3f 60952012-04-24 Chao-ying Fu <fu@mips.com>
6096
6097 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6098
5617a3db 60992012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6100
6101 struct siginfo vs. siginfo_t
6102
6103 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6104 siginfo_t instead of struct siginfo.
6105 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6106 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6107 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6108 (ia64_handle_unwabi): Likewise.
6109 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6110 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6111 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6112 (sh_fallback_frame_state): Likewise.
6113 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6114 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6115
49a280b5 61162012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6117
6118 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6119 system call number.
6120
6c760a69 61212012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6122
6123 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6124 if it hasn't been previously saved.
6125
59e4072c 61262012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6127
6128 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6129 only for glibc.
6130
d32d7e3a 61312012-03-28 Georg-Johann Lay <avr@gjlay.de>
6132
6133 PR target/52737
6134 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6135 instead of __AVR_HAVE_8BIT_SP__.
6136
6aadb6e2 61372012-03-26 Tristan Gingold <gingold@adacore.com>
6138
6139 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6140 (unw_table_entry): Use unw_word instead of unsigned long.
6141 (_Unwind_FindTableEntry): Likewise.
6142 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6143 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6144 (_Unwind_FindTableEntry): Likewise.
6145 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6146 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6147 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6148 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6149 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6150 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6151 (uw_init_context_1, uw_install_context): Likewise.
6152 (unw_word): Move to unwind-ia64.h
6153
784576c7 61542012-03-26 Tristan Gingold <gingold@adacore.com>
6155
6156 * config/vms/vms-ucrt0.c: Update copyright years.
6157 Add a sanity check.
6158 (___gcc_main_flags): Declare.
6159 (__main): Check flags to remap argv and exit code.
6160 * config.host (*-*-*vms*): Adjust extra_parts.
6161 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6162 (crt0.o): Add.
6163
483ac460 61642012-03-22 Richard Earnshaw <rearnsha@arm.com>
6165
6166 * arm/lib1funcs.asm (ctzsi2): New function.
6167 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6168 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6169 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6170 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6171 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6172 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6173
bdd1ee48 61742012-03-21 Andreas Tobler <andreast@fgznet.ch>
6175
6176 * config.host: Add bits to support powerpc64-*-freebsd*.
6177 * config/rs6000/freebsd-unwind.h: New file.
6178 * config/rs6000/t-freebsd64: New file.
6179
df85f61c 61802012-03-20 Richard Guenther <rguenther@suse.de>
6181
6182 PR gcov-profile/52627
6183 * libgcov.c (init_mx): Fix mutex name.
6184
46da3ce5 61852012-03-16 Tristan Gingold <gingold@adacore.com>
6186
6187 * config/ia64/vms-unwind.h: Remove ulong (and replace
6188 it by unw_reg where used). Define unw_reg with __int64.
6189
264a5d11 61902012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6191
6192 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6193 Solaris 8 handling.
6194 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6195 Solaris 8 handling.
6196 (sparc_is_sighandler): Likewise.
6197
42b3e3d6 61982012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6199
6200 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6201 <= saved reg size.
6202
c2c4377d 62032012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6204
6205 * config/arm/crtn.S: Fix typo.
6206
3f2da048 62072012-03-13 Richard Guenther <rguenther@suse.de>
6208
6209 * libgcov.c: Remove stdio.h include and NULL un-define.
6210
b4e1521f 62112012-03-13 Richard Guenther <rguenther@suse.de>
6212
6213 PR target/52569
6214 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6215
1d110375 62162012-03-13 Richard Guenther <rguenther@suse.de>
6217
6218 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6219
0e6ad699 62202012-03-13 Richard Guenther <rguenther@suse.de>
6221
6222 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6223 and __gthread_mutex_init_function definitions.
6224
1f7e141e 62252012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6226
6227 * config.host (mips*-*-openbsd*): Remove.
6228
126b6848 62292012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6230
6231 * config.host: Remove alpha*-dec-osf5.1* handling.
6232 * config/alpha/gthr-posix.c: Remove.
6233 * config/alpha/libgcc-osf5.ver: Remove.
6234 * config/alpha/osf5-unwind.h: Remove.
6235 * config/alpha/t-osf-pthread: Remove.
6236 * config/alpha/t-slibgcc-osf: Remove.
6237 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6238 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6239 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6240 * mkmap-flat.awk: Remove osf_export handling.
6241
2e7d9be1 62422012-03-12 Richard Guenther <rguenther@suse.de>
6243
6244 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6245 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6246 (__gthread_mutex_init_function): New function.
6247 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6248
6249 PR gcov/49484
6250 * libgcov.c: Include gthr.h.
6251 (__gcov_flush_mx): New global variable.
6252 (init_mx, init_mx_once): New functions.
6253 (__gcov_flush): Protect self with a mutex.
6254 (__gcov_fork): Re-initialize mutex after forking.
6255 * unwind-dw2-fde.c: Change condition under which to use
6256 __GTHREAD_MUTEX_INIT_FUNCTION.
6257
8f852c44 62582012-03-12 Tristan Gingold <gingold@adacore.com>
6259
6260 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6261 * config/ia64/t-vms: Likewise.
6262
04d5d0ad 62632012-03-11 Michael Hope <michael.hope@linaro.org>
6264
7b9088d5 6265 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6266 for Thumb-2.
04d5d0ad 6267
3d14844b 62682012-03-07 Walter Lee <walt@tilera.com>
6269
6270 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6271 "arch_atomic_".
6272 (atomic_xor): Rename and move definition to
6273 config/tilepro/atomic.h.
6274 (atomic_nand): Ditto.
6275 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6276 "arch_atomic_".
6277 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6278 (arch_atomic_nand): Ditto.
6279
3abce231 62802012-03-07 Georg-Johann Lay <avr@gjlay.de>
6281
6282 PR target/52507
6283 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6284
ee3ce577 62852012-03-07 Georg-Johann Lay <avr@gjlay.de>
6286
6287 PR target/52505
6288 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6289 from RAM.
6290
be20cbdd 62912012-03-07 Georg-Johann Lay <avr@gjlay.de>
6292
6293 PR target/52461
6294 PR target/52508
6295 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6296 if RAMPZ affects reading from RAM.
6297 (__tablejump_elpm__): Ditto.
6298 (.xload): Ditto.
6299 (__movmemx_hi): Ditto.
6300 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6301 (__do_global_dtors): Ditto.
6302 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6303 (__movmemx_hi): Ditto.
6304
e9b46b49 63052012-03-05 Richard Henderson <rth@redhat.com>
6306
6307 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6308 [ARM] (count_trailing_zeros): Use the builtin.
6309
2da7d23a 63102012-03-01 Kai Tietz <ktietz@redhat.com>
6311
6312 * soft-fp: Imported from glibc upstream.
6313
ed67de04 63142012-02-28 Kai Tietz <ktietz@redhat.com>
6315
6316 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6317 for mingw-targets as attribute gcc_struct.
6318
154b49cd 63192012-02-28 Ian Lance Taylor <iant@google.com>
6320
6321 * generic-morestack.c (__splitstack_releasecontext): Correct call
6322 to __morestack_release_segments.
6323
8d2259c8 63242012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6325
6326 PR target/52390
6327 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6328 for __linux__ when removing signals from __morestack_fullmask.
6329
97e18ae2 63302012-02-23 Georg-Johann Lay <avr@gjlay.de>
6331
6332 PR target/52261
6333 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6334
c3dd2023 63352012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6336
6337 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6338 instead of HAVE_INITFINI_ARRAY.
6339 * config/ia64/crtend.S: Likewise.
6340
7ed6dbef 63412012-02-20 Kai Tietz <ktietz@redhat.com>
6342
52cec843 6343 PR libstdc++/52300
6344 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6345
7ed6dbef 6346 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6347 to w32-unwind.h header.
6348
6a8f7b8b 63492012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6350
6351 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6352 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6353 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6354 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6355
7db87803 63562012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6357
6358 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6359
d114e642 63602012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6361
6362 PR libitm/52220
6363 * config/darwin-crt-tm.c: Correct typo.
154b49cd 6364
b8f45854 63652012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6366 Patrick Marlier <patrick.marlier@gmail.com>
6367
6368 PR libitm/52220
6369 * config/darwin-crt-tm.c: Generate dummy functions.
6370
621d0dd2 63712012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6372 Patrick Marlier <patrick.marlier@gmail.com>
6373
6374 PR libitm/52042
6375 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6376 (__doTMRegistrations): Call it.
154b49cd 6377 (__doTMdeRegistrations): Likewise.
621d0dd2 6378
0b6cf66f 63792012-01-15 Georg-Johann Lay <avr@gjlay.de>
92e91d03 6380 Anatoly Sokolov <aesok@post.ru>
6381 Eric Weddington <eric.weddington@atmel.com>
0b6cf66f 6382
6383 PR target/52261
6384 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6385 (__epilogue_restores__): Ditto.
6386
99e0a0ad 63872012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6388
6389 PR target/51921
6390 PR target/52205
6391 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6392 Solaris 11 and slightly reformat.
6393 (sparc_is_sighandler): Likewise.
6394
7ce78e23 63952012-02-14 Walter Lee <walt@tilera.com>
6396
6397 * config.host: Handle tilegx and tilepro.
6398 * config/tilegx/sfp-machine.h: New file.
6399 * config/tilegx/sfp-machine32.h: New file.
6400 * config/tilegx/sfp-machine64.h: New file.
6401 * config/tilegx/t-crtstuff: New file.
6402 * config/tilegx/t-softfp: New file.
6403 * config/tilegx/t-tilegx: New file.
6404 * config/tilepro/atomic.c: New file.
6405 * config/tilepro/atomic.h: New file.
6406 * config/tilepro/linux-unwind.h: New file.
6407 * config/tilepro/sfp-machine.h: New file.
6408 * config/tilepro/softdivide.c: New file.
6409 * config/tilepro/softmpy.S: New file.
6410 * config/tilepro/t-crtstuff: New file.
6411 * config/tilepro/t-tilepro: New file.
6412
f47763a6 64132012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6414
6415 PR libstdc++/51296
6416 PR libstdc++/51906
6417 * gthr-posix.h: Allow static initializer macros to be disabled.
6418 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6419
674cb359 64202012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6421
6422 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6423 Add t-slibgcc-libgcc to tmake_file.
6424 * config/mips/libgcc-mips16.ver: Revert previous patch.
6425 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6426
92e91d03 64272012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6428 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b9fdd12b 6429
6430 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6431 * config/cr16/crti.S: New file.
6432 * config/cr16/crtlibid.S: New file.
6433 * config/cr16/crtn.S: New file.
6434 * config/cr16/lib1funcs.S: New file.
6435 * config/cr16/t-cr16: New file.
6436 * config/cr16/t-crtlibid: New file.
6437 * config/cr16/unwind-dw2.h: New file.
6438 * config/cr16/unwind-cr16.c: New file.
6439 * config/cr16/divmodhi3.c: New file.
6440
01cdc5b2 64412012-01-25 Alan Modra <amodra@gmail.com>
6442
6443 * config/rs6000/t-linux64: Delete. Move..
6444 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6445 * config/rs6000/t-linux: ..and libgcc flags to here.
6446
af8e12d0 64472012-01-22 Douglas B Rupp <rupp@gnat.com>
6448
6449 * config.host (i[34567]86-*-interix3*):
01cdc5b2 6450 Change triplet to i[34567]86-*-interix[3-9]*.
af8e12d0 6451 * configure: Regenerate.
6452
a657080a 64532012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6454 Richard Sandiford <rdsandiford@googlemail.com>
6455
6456 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6457 * config/mips/mips16.S (__mips16_rdhwr): New function.
6458 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6459
72e76fa0 64602012-01-11 Nathan Sidwell <nathan@acm.org>
6461
6462 * libgcov.c (__gcov_init): Ignore objects with no functions.
6463
ed2541ea 64642012-01-10 Georg-Johann Lay <avr@gjlay.de>
6465
6466 PR target/49868
6467 Extend __pgmx semantics to linearize memory.
6468 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6469 * config/avr/lib1funcs.S (__xload_1): New function.
6470 (__movmemx_qi, __movmemx_hi): New functions.
6471 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6472 semantics.
ddf97006 6473
6e647e51 64742012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6475
6476 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6477 purported sigacthandler address isn't null before dereferencing it.
6478 (sparc_is_sighandler): Likewise.
6479
af185b18 64802012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6481
6482 PR ada/41929
6483 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6484 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6485 (sparc_is_sighandler): Likewise.
6486 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6487
2ff958e6 64882012-01-06 Tristan Gingold <gingold@adacore.com>
6489
6490 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6491 compatibility thunks...
6492 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6493 (crtbeginS.o, crtendS.o): ... and these to ...
6494 * config/ia64/t-ia64-elf: ... this new file.
6495 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6496 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6497
ce94380e 64982012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6499
6500 * configure: Regenerate.
6501 * config/s390/t-crtstuff: Remove -fPIC.
6502
ca4c7704 65032012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6504
6505 PR bootstrap/51006
6506 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6507 for NetBSD.
6508
b32bc361 65092012-01-02 Georg-Johann Lay <avr@gjlay.de>
6510
6511 PR target/51345
6512 * config/avr/lib1funcs.S: Remove FIXME comments.
6513 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6514
83921eda 65152012-01-02 Georg-Johann Lay <avr@gjlay.de>
6516
6517 Implement light-weight DImode support.
6518 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6519 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6520 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6521 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6522
6071b85b 65232011-12-30 Nathan Sidwell <nathan@acm.org>
6524
6525 * libgcov.c (gcov_crc32): Remove global var.
6526 (free_fn_data): New function.
6527 (buffer_fn_data): Pass in filename, more robust error recovery.
6528 (crc32_unsigned): New function.
6529 (gcov_exit): More robust detection of new program. More robust
6530 error recovery.
6531 (__gcov_init): Do not update program's crc here.
6532
611b540a 65332011-12-21 Tristan Gingold <gingold@adacore.com>
6534
6535 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6536
ddf97006 65372011-12-21 Ian Lance Taylor <iant@google.com>
6538
6539 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6540
0d84f164 65412011-12-20 Ian Lance Taylor <iant@google.com>
6542
6543 * config/i386/morestack.S (__morestack_non_split): If there is
6544 enough stack space already, don't split. Ask for more stack space
6545 than we required.
6546
d77ac56d 65472011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6548
6549 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6550 `sys/sdt.h'.
6551 (_Unwind_DebugHook): New function.
6552 (uw_restore_core_regs): New define.
6553 (unwind_phase2): Use uw_restore_core_regs instead of
6554 restore_core_regs.
6555 (unwind_phase2_forced): Likewise.
6556 (__gnu_Unwind_Resume): Likewise.
6557
80898d14 65582011-12-20 Uros Bizjak <ubizjak@gmail.com>
6559
6560 * config/alpha/linux-unwind.h: Update copyright years.
6561 (MD_FROB_UPDATE_CONTEXT): New define.
6562 (alpha_frob_update_context): New function.
6563
20dbbfaf 65642011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6565
6566 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6567 tmake_file rather replacing it.
6568
d42ef213 65692011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6570
6571 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
80898d14 6572 function is not used for PPC64.
d42ef213 6573 (save_world): Amend comments. Update the VRsave mask to reflect the
6574 saved regs.
6575 (rest_world): Update comments, do not clobber r10, do not use r8.
6576 (eh_rest_world_r10): Amend comments, do not use r8.
6577 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6578 no longer used, move restore of CR and target address to the end of
6579 the routine.
6580
3efc00f6 65812011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6582
6583 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6584 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6585
fa0431fa 65862011-12-14 Georg-Johann Lay <avr@gjlay.de>
6587
6588 PR target/49313
6589 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6590 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6591
18e6a060 65922011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6593
6594 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6595
0dcd7d21 65962011-12-09 Georg-Johann Lay <avr@gjlay.de>
6597
6598 PR target/49313
6599 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6600 * config/avr/lib1funcs.S (__muldi3): New function.
6601
a41e0f2d 66022011-12-06 Andrew Pinski <apinski@cavium.com>
6603
6604 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6605 size of func_ptr.
6606 (__frame_dummy_init_array_entry): Likewise.
6607
8c8193e1 66082011-12-06 Georg-Johann Lay <avr@gjlay.de>
6609
6610 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6611
6612 PR target/51345
6613 PR target/51002
6614 * config/avr/lib1funcs.S (__prologue_saves__,
6615 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6616 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6617
e2306166 66182011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6619
6620 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6621
61437698 66222011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6623
6624 PR other/51272
6625 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6626 (_ITM_deregisterTMCloneTable): Likewise.
6627 (__register_frame_info): Fix unused warning.
6628 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6629 pthread_default_stacksize_np): Likewise.
6630 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
80898d14 6631
78e515f7 66322011-11-29 DJ Delorie <dj@redhat.com>
6633
6634 * config.host (rl78-*-elf): New case.
6635 * config/rl78: New directory for the Renesas RL78.
6636
adce431d 66372011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6638
6639 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6640 formatting.
6641
738c50b8 66422011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6643
6644 PR other/51022
6645 * config/rs6000/t-savresfgpr: New file.
6646 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6647 $(srcdir)/config/rs6000/eabi.S.
6648 * config/rs6000/t-ppccomm-ldbl: Remove.
6649 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6650 tmake_file.
6651 (powerpc-*-eabispe*): Likewise.
6652 (powerpc-*-eabi*): Likewise.
6653 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6654 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6655 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6656 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6657 tmake_file.
6658 (powerpc-*-eabisim*): Likewise.
6659 (powerpc-*-elf*): Likewise.
6660 (powerpc-*-eabialtivec*): Likewise.
6661 (powerpc-xilinx-eabi*): Likewise.
6662 (powerpc-*-rtems*): Likewise.
6663 (powerpcle-*-elf*): Likewise.
6664 (powerpcle-*-eabisim*): Likewise.
6665 (powerpcle-*-eabi*): Likewise.
6666
bda4944f 66672011-11-27 Ian Lance Taylor <iant@google.com>
6668
6669 * generic-morestack.c (__splitstack_find): Check for NULL old
6670 stack value.
6671 (__splitstack_resetcontext): New function.
6672 (__splitstack_releasecontext): New function.
6673 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6674
00b708da 66752011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6676
6677 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6678
7c66781a 66792011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6680
6681 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6682
5bb27b7c 66832011-11-26 Richard Henderson <rth@redhat.com>
6684
6685 * config/m68k/linux-atomic.c: New file.
6686 * config/m68k/t-linux: New file.
6687 * config.host (m68k-uclinux, m68k-linux): Use it.
6688
d9ca835b 66892011-11-26 Richard Henderson <rth@redhat.com>
6690
6691 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6692 (__TMC_END__): Only declare if hidden is available; in the definition,
6693 if hidden is unavailable add a null record.
6694 (deregister_tm_clones, register_tm_clones): New.
6695 (__do_global_dtors_aux, frame_dummy): Use them.
6696 (__do_global_dtors, __do_global_ctors_1): Likewise.
6697
8f8ba4fc 66982011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6699
6700 * config/darwin-crt-tm.c: New file.
6701 * config.host (darwin): Build crttms.o crttme.o to provide
6702 startup and shutdown for tm clones.
6703 * config/t-darwin (crttms.o): New build rule.
6704 (crttme.o): Likewise.
6705
e426aa2b 67062011-11-21 Hans-Peter Nilsson <hp@axis.com>
6707
6708 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6709 et al.
6710
2d171408 67112011-11-21 Richard Henderson <rth@redhat.com>
6712
6713 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6714 (__TMC_LIST__, __TMC_END__): New.
6715 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6716 (__do_global_dtors): Likewise.
6717 (frame_dummy): Call _ITM_registerTMCloneTable.
6718 (__do_global_ctors_1): Likewise.
6719
08417926 67202011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6721
6722 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6723 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6724 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6725 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6726 * config/i386/t-darwin64: Remove.
6727 * config/sh/t-netbsd (LIB2ADD): Remove.
6728
cde39152 67292011-11-21 Georg-Johann Lay <avr@gjlay.de>
6730
6731 PR target/49313
6732 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6733 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6734 * config/avr/lib1funcs.S (wmov): New assembler macro.
6735 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6736 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6737 (__udivmod64): New function.
6738 (__negdi2): New function.
6739
30957bde 67402011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6741
6742 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6743 *-*-freebsd*aout*): Remove.
6744
a504f092 67452011-11-20 Hans-Peter Nilsson <hp@axis.com>
6746
6747 * static-object.mk (c_flags-$o): Save c_flags.
6748 ($(base)$(objext)): Use it.
6749
31da0b3d 67502011-11-18 Steve Ellcey <sje@cup.hp.com>
6751
6752 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6753
5bd39e93 67542011-11-18 Georg-Johann Lay <avr@gjlay.de>
6755
6756 PR target/49868
6757 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6758 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6759 New functions.
6760
a3bfd5b2 67612011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6762
6763 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6764 functions.
80898d14 6765 (aeabi_uidivmod): Likewise.
a3bfd5b2 6766 (umodsi3): Likewise.
6767 (divsi3): Likewise.
6768 (aeabi_idivmod): Likewise.
6769 (modsi3): Likewise.
6770
3512ee5b 67712011-11-16 Tristan Gingold <gingold@adacore.com>
6772
6773 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6774
4202ef11 67752011-11-15 Georg-Johann Lay <avr@gjlay.de>
6776
6777 PR target/49868
6778 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6779 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6780
ab4fdb3d 67812011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6782
6783 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6784 tmake_file list.
6785 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6786 * config/pa/t-stublib64: Delete.
6787
eee57ca7 67882011-11-12 Richard Henderson <rth@redhat.com>
6789
6790 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6791 cast the pointer argument to _Unwind_SetGRPtr.
6792
0c74e0e8 67932011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6794
6795 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6796
23371076 67972011-11-09 Ian Lance Taylor <iant@google.com>
6798
6799 * generic-morestack.c: Include <string.h>.
6800 (uintptr_type): Define.
6801 (struct initial_sp): Add dont_block_signals field. Reduce size of
6802 extra array by 1.
6803 (allocate_segment): Set prev field to NULL. Don't set
6804 __morestack_current_segment or __morestack_segments.
6805 (__generic_morestack): Update current->prev and *pp after calling
6806 allocate_segment.
6807 (__morestack_block_signals): Don't do anything if
6808 dont_block_signals is set.
6809 (__morestack_unblock_signals): Likewise.
6810 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6811 uintptr_type.
6812 (__splitstack_block_signals): New function.
6813 (enum __splitstack_content_offsets): Define.
6814 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6815 (__splitstack_makecontext): New function.
6816 (__splitstack_block_signals_context): New function.
6817 (__splitstack_find_context): New function.
6818 * config/i386/morestack.S (__morestack_get_guard): New function.
6819 (__morestack_set_guard, __morestack_make_guard): New functions.
6820 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6821
2d00fffd 68222011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6823
6824 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6825 (i[34567]86-*-mingw*): ... here.
6826 (x86_64-*-mingw*): ... here.
6827
6886ca41 68282011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6829
6830 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6831
5014df5d 68322011-11-07 Nathan Sidwell <nathan@acm.org>
6833
6834 * libgcov.c (struct gcov_fn_buffer): New struct.
6835 (buffer_fn_data): New helper.
6836 (gcov_exit): Rework for new gcov data structures.
6837
702a5eec 68382011-11-07 Georg-Johann Lay <avr@gjlay.de>
6839
6840 PR target/49313
6841 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6842
2219274c 68432011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6844
6845 * config.host (tmake_file): Correct comment.
6846 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6847 t-libgcc-pic.
6848 (bfin*-uclinux*): Likewise.
6849 (bfin*-linux-uclibc*): Likewise.
6850 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6851
6852 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6853 assigning.
6854 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6855 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6856 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6857 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6858 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6859 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6860 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6861 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6862 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6863 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6864 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6865 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6866 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6867
6868 * config/bfin/t-elf: Remove.
6869 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6870
fbb6f195 68712011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6872
6873 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6874 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6875 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6876 (lm32-*-elf*): ... this.
6877 (lm32-*-rtems*): ... and this.
6878 Add to tmake_file.
6879 (m32r-*-rtems*): Add to tmake_file.
6880 (moxie-*-rtems*): Likewise.
6881 (sparc-*-rtems*): Likewise.
6882 Remove t-rtems from tmake_file.
6883 (sparc64-*-rtems*): Likewise.
6884 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6885 instead.
6886
7336fab9 68872011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6888
6889 PR bootstrap/50982
6890 * config/gthr-posix.h: Move ...
6891 * gthr-posix.h: ... here.
6892 * config/gthr-lynx.h: Reflect this.
6893 * config/gthr-vxworks.h: Likewise.
6894 * config/rs6000/gthr-aix.h: Likewise.
6895 * configure.ac (target_thread_file): Likewise.
6896 * configure: Regenerate.
6897
6c10eb68 68982011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6899
6900 * config.host (arm*-*-rtemseabi*): New target.
6901
3fe1f35b 69022011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6903
6904 PR other/50991
6905 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6906 extra-parts.
6907
d19f5793 69082011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6909
6910 * config.host (epiphany-*-elf*): New configuration.
6911 * config/epiphany: New Directory.
6912
02c5dcd9 69132011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6914
6915 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6916 * config/avr/t-rtems: New.
6917 Filter out _exit from LIB1ASMFUNCS.
6918
f3223c0b 69192011-11-04 David S. Miller <davem@davemloft.net>
6920
6921 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6922 * configure: Rebuild.
6923
994652ec 69242011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6925
6926 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6927 variable.
6928
02d9a2c3 69292011-11-04 Georg-Johann Lay <avr@gjlay.de>
6930
6931 PR target/50931
6932 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6933 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6934
81b973fe 69352011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6936
6937 PR target/50989
6938 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6939
ae1b140e 69402011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6941
6942 * config/c6x/t-elf (LIB2ADDEH): Set.
6943 * config/c6x/t-c6x-elf: Remove.
6944
0a76a5ff 69452011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6946
6947 * config/i386/sol2-ci.S: Rename to ...
6948 * config/i386/crti.S: ... this.
6949 * config/i386/sol2-cn.S: Rename to ...
6950 * config/i386/crtn.S: ... this.
6951 * config/sparc/sol2-ci.S: Rename to ...
6952 * config/sparc/crti.S: ... this.
6953 * config/sparc/sol2-cn.S: Rename to ...
6954 * config/sparc/crtn.S: ... this.
6955 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6956 (crti.o, crtn.o): Remove.
6957
26f2feff 69582011-11-04 Tristan Gingold <gingold@adacore.com>
6959
6960 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6961
131667b5 69622011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6963
6964 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6965
af64ed6f 69662011-11-03 Hans-Peter Nilsson <hp@axis.com>
6967
6968 * config.host (crisv32-*-none, cris-*-none): Remove.
6969 (crisv32-*-elf): Append to tmake_file, don't just set it.
6970 (cris-*-elf): Add missing t-fdpbit to tmake_file.
6971
4dad46bd 69722011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6973
6974 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6975 (ecrtn$(objext)): Likewise.
6976 (ncrti$(objext)): Likewise.
6977 (ncrtn$(objext)): Likewise.
6978
37626bf8 69792011-11-03 Andreas Schwab <schwab@redhat.com>
6980
6981 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6982
95de80bc 69832011-11-02 David S. Miller <davem@davemloft.net>
6984
6985 * configure.ac: Set host_address on sparc too.
6986 * configure: Regenerate.
6987 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6988 based upon host_address.
6989 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6990
b5347955 69912011-11-02 Jason Merrill <jason@redhat.com>
6992
6993 * config/rs6000/t-ppccomm: Add missing \.
6994
630d52ca 69952011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6996
6997 * gthr-single.h, gthr.h: New files.
6998 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6999 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7000 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7001 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7002 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7003 * configure.ac (thread_header): New variable.
7004 Set it depending on target_thread_file.
7005 (gthr-default.h): Link from $thread_header.
7006 * configure: Regenerate.
7007 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7008
022a2799 70092011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7010
7011 * configure.ac (tm_file_): New variable.
7012 Determine from tm_file.
7013 (tm_file, tm_defines): Substitute.
7014 * configure: Regenerate.
7015 * mkheader.sh: New file.
7016 * Makefile.in (clean): Remove libgcc_tm.h.
7017 ($(objects)): Depend on libgcc_tm.h.
7018 (libgcc_tm_defines, libgcc_tm_file): New variables.
7019 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7020 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7021 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7022 ($(extra-parts)): Depend on libgcc_tm.h.
7023 * config.host (tm_defines, tm_file): New variable.
7024 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7025 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7026 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7027 (avr-*-rtems*): Likewise.
7028 (avr-*-*): Likewise.
7029 (frv-*-elf): Likewise.
7030 (frv-*-*linux*): Likewise.
7031 (h8300-*-rtems*): Likewise.
7032 (h8300-*-elf*): Likewise.
7033 (i[34567]86-*-darwin*): Likewise.
7034 (x86_64-*-darwin*): Likewise.
7035 (rx-*-elf): Likewise.
7036 (tic6x-*-uclinux): Likewise.
7037 (tic6x-*-elf): Likewise.
7038 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7039 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7040 * config/i386/cygming-crtbegin.c: Likewise.
7041 * config/i386/cygming-crtend.c: Likewise.
7042 * config/ia64/fde-vms.c: Likewise.
7043 * config/ia64/unwind-ia64.c: Likewise.
7044 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7045 * config/rs6000/darwin-fallback.c: Likewise.
7046 * config/stormy16/lib2funcs.c: Likewise.
7047 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7048 * crtstuff.c: Likewise.
7049 * dfp-bit.h: Likewise.
7050 * emutls.c: Likewise.
7051 * fixed-bit.c: Likewise.
7052 * fp-bit.c: Likewise.
7053 * generic-morestack-thread.c: Likewise.
7054 * generic-morestack.c: Likewise.
7055 * libgcc2.c: Likewise.
7056 * libgcov.c: Likewise.
7057 * unwind-dw2-fde-dip.c: Likewise.
7058 * unwind-dw2-fde.c: Likewise.
7059 * unwind-dw2.c: Likewise.
7060 * unwind-sjlj.c: Likewise.
7061
4dc4ff49 70622011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7063
7064 * configure.ac: Include ../config/picflag.m4.
7065 (GCC_PICFLAG): Call it.
7066 Substitute.
7067 * configure: Regenerate.
7068 * Makefile.in (gcc_srcdir): Remove.
7069 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7070 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7071 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7072 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7073 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7074 Use $<.
7075 Remove comment.
7076 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7077 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7078 to refer to libgcc2.c.
7079 Use $<.
7080 * config/darwin-64.c: New file.
7081 * config/darwin-crt3.c: Remove comment.
7082 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7083 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7084 config/udivmodsi4.c: New files.
7085 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7086 config/memset.c: New files.
7087 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7088 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7089 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7090 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7091 * config/t-openbsd-thread: New file.
7092 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7093 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7094 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7095 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7096 qrnnd.S.
7097 Adapt filename.
7098 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7099 to refer to gthr-posix.c.
7100 * config/alpha/t-vms (LIB2ADD): Set.
7101 * config/alpha/vms-gcc_shell_handler.c: New file.
7102 * config/arm/bpabi.c, config/arm/fp16.c,
7103 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7104 config/arm/unaligned-funcs.c: New files.
7105 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7106 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7107 * config/arm/t-linux: Likewise.
7108 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7109 * config/arm/t-netbsd: New file.
7110 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7111 * config/arm/t-symbian (LIB2ADD_ST): Set.
7112 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7113 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7114 * config/bfin/t-elf: New file.
7115 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7116 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7117 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7118 config/c6x/ltf.c: New files.
7119 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7120 (HOST_LIBGCC2_CFLAGS): Set.
7121 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7122 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7123 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7124 New files.
7125 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7126 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7127 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7128 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7129 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7130 files.
7131 * config/frv/t-frv (LIB2ADD): Set.
7132 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7133 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7134 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7135 config/h8300/popcounthi2.c: New files.
7136 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7137 * config/i386/gthr-win32.c: New file.
7138 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7139 * config/i386/t-cygwin: Likewise.
7140 * config/i386/t-darwin, config/i386/t-darwin64,
7141 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7142 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7143 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7144 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7145 * config/ia64/quadlib.c: New file.
7146 * config/ia64/t-hpux (LIB2ADD): Set.
7147 * config/ia64/t-ia64: Add comment.
7148 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7149 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7150 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7151 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7152 * config/m32c/t-m32c (LIB2ADD): Set.
7153 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7154 * config/m32r/t-m32r: Likewise.
7155 * config/m68k/fpgnulib.c: New file.
7156 * config/m68k/t-floatlib (LIB2ADD): Set.
7157 (xfgnulib.c): New target.
7158 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7159 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7160 * config/mep/t-mep (LIB2ADD): Set.
7161 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7162 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7163 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7164 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7165 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7166 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7167 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7168 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7169 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7170 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7171 New files.
7172 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7173 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7174 * config/pa/fptr.c, config/pa/lib2funcs.S,
7175 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7176 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7177 (LIB2ADD, LIB2ADD_ST): Set.
7178 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7179 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7180 Set.
7181 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7182 * config/pdp11/t-pdp11: New file.
7183 * config/picochip/libgccExtras/adddi3.S,
7184 config/picochip/libgccExtras/ashlsi3.S,
7185 config/picochip/libgccExtras/ashrsi3.S,
7186 config/picochip/libgccExtras/clzsi2.S,
7187 config/picochip/libgccExtras/cmpsi2.S,
7188 config/picochip/libgccExtras/divmod15.S,
7189 config/picochip/libgccExtras/divmodhi4.S,
7190 config/picochip/libgccExtras/divmodsi4.S,
7191 config/picochip/libgccExtras/lshrsi3.S,
7192 config/picochip/libgccExtras/parityhi2.S,
7193 config/picochip/libgccExtras/popcounthi2.S,
7194 config/picochip/libgccExtras/subdi3.S,
7195 config/picochip/libgccExtras/ucmpsi2.S,
7196 config/picochip/libgccExtras/udivmodhi4.S,
7197 config/picochip/libgccExtras/udivmodsi4.S: New files.
7198 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7199 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7200 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7201 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7202 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7203 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7204 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7205 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7206 files.
7207 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7208 (HOST_LIBGCC2_CFLAGS): Set.
7209 * config/rs6000/t-darwin64: New file.
7210 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7211 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7212 * config/rs6000/t-ppccomm (LIB2ADD): Add
7213 $(srcdir)/config/rs6000/tramp.S.
7214 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7215 Add $(srcdir)/config/rs6000/eabi.S.
7216 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7217 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7218 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7219 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7220 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7221 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7222 * config/rs6000/tramp.S: New file.
7223 * config/s390/t-tpf: Remove.
7224 * config/sh/linux-atomic.S: New file.
7225 * config/sh/t-linux (LIB2ADD): Set.
7226 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7227 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7228 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7229 to unwind-dw2.c.
7230 (HOST_LIBGCC2_CFLAGS): Set.
7231 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7232 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7233 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7234 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7235 config/spu/mfc_multi_tag_release.c,
7236 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7237 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7238 config/spu/multi3.c: New files.
7239 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7240 (HOST_LIBGCC2_CFLAGS): Set.
7241 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7242 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7243 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7244 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7245 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7246 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7247 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7248 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7249 config/stormy16/umodsi3.c: New files.
7250 * config/xtensa/lib2funcs.S: New file.
7251 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7252 * config/xtensa/t-xtensa (LIB2ADD): Set.
7253 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7254 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7255 Add t-freebsd-thread to tmake_file for posix threads.
7256 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7257 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7258 (*-*-lynxos*): Likewise.
7259 (*-*-netbsd*): Likewise.
7260 (*-*-openbsd*): Likewise.
7261 Add t-openbsd-thread to tmake_file for posix threads.
7262 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7263 (*-*-vxworks*): Set tmake_file.
7264 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7265 (alpha*-*-freebsd*): Likewise.
7266 (alpha*-*-netbsd*): Likewise.
7267 (alpha*-*-openbsd*): Likewise.
7268 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7269 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7270 (alpha*-dec-*vms*): Likewise.
7271 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7272 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7273 (bfin*-uclinux*): Likewise.
7274 (bfin*-linux-uclibc*): Likewise.
7275 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7276 (crisv32-*-none): Likewise.
7277 (cris-*-elf): Likewise.
7278 (cris-*-none): Likewise.
7279 (cris-*-linux*, crisv32-*-linux*): Likewise.
7280 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7281 tmake_file.
7282 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7283 tmake_file.
7284 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7285 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7286 (x86_64-*-elf*): Likewise.
7287 (i[34567]86-*-nto-qnx*): Likewise.
7288 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7289 win32 threads.
7290 (x86_64-*-mingw*): Likewise.
7291 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7292 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7293 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7294 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7295 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7296 tmake_file.
7297 (mipsisa64sr71k-*-elf*): Likewise.
7298 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7299 (mips-*-elf*, mipsel-*-elf*): Likewise.
7300 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7301 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7302 (mips*-*-rtems*): Likewise.
7303 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7304 to tmake_file.
7305 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7306 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7307 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7308 (spu-*-elf*): Likewise.
7309 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7310
9213d2eb 73112011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7312
7313 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7314 $(srcdir) to refer to $(LIB1ASMSRC).
7315 Use $<.
7316 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7317 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7318 config/arm/lib1funcs.S: New files.
7319 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7320 * config/arm/t-arm: New file.
7321 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7322 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7323 config/arm/t-strongarm-elf: New files.
7324 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7325 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7326 * config/avr/lib1funcs.S: New file.
7327 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7328 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7329 * config/c6x/lib1funcs.S: New file.
7330 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7331 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7332 * config/frv/lib1funcs.S: New file.
7333 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7334 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7335 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7336 * config/ia64/__divxf3.asm: Rename to ...
7337 * config/ia64/__divxf3.S: ... this.
7338 Adapt lib1funcs.asm filename.
7339 * config/ia64/_fixtfdi.asm: Rename to ...
7340 * config/ia64/_fixtfdi.S: ... this.
7341 Adapt lib1funcs.asm filename.
7342 * config/ia64/_fixunstfdi.asm: Rename to ...
7343 * config/ia64/_fixunstfdi.S: ... this.
7344 Adapt lib1funcs.asm filename.
7345 * config/ia64/_floatditf.asm: Rename to ...
7346 * config/ia64/_floatditf.S: ... this.
7347 Adapt lib1funcs.asm filename.
7348 * config/ia64/lib1funcs.S: New file.
7349 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7350 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7351 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7352 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7353 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7354 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7355 * config/mep/lib1funcs.S: New file.
7356 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7357 * config/mips/mips16.S: New file.
7358 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7359 * config/pa/milli64.S: New file.
7360 * config/pa/t-linux, config/pa/t-linux64: New files.
7361 * config/picochip/lib1funcs.S: New file.
7362 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7363 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7364 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7365 * config/sh/t-netbsd: New file.
7366 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7367 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7368 * config/sh/t-sh64: New file.
7369 * config/sparc/lb1spc.S: New file.
7370 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7371 filename.
7372 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7373 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7374 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7375 config/xtensa/lib1funcs.S: New files.
7376 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7377 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7378 tmake_file.
7379 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7380 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7381 (arm*-*-linux*): Likewise.
7382 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7383 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7384 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7385 (arm*-*-ecos-elf): Likewise.
7386 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7387 (arm*-*-rtems*): Likewise.
7388 (arm*-*-elf): Likewise.
7389 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7390 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7391 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7392 (bfin*-uclinux*): Likewise.
7393 (bfin*-linux-uclibc*): Likewise.
7394 (bfin*-rtems*): Likewise.
7395 (bfin*-*): Likewise.
7396 (fido-*-elf): Merge into m68k-*-elf*.
7397 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7398 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7399 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7400 (h8300-*-elf*): Likewise.
7401 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7402 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7403 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7404 (i[34567]86-*-mingw*): Likewise.
7405 (x86_64-*-mingw*): Likewise.
7406 (i[34567]86-*-interix3*): Likewise.
7407 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7408 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7409 (m68k-*-elf*): Also handle fido-*-elf.
7410 Add m68k/t-floatlib to tmake_file.
7411 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7412 (m68k-*-linux*): Likewise.
7413 (m68k-*-rtems*): Likewise.
7414 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7415 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7416 sh64*-*-*.
7417 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7418 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7419 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7420 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7421 sh/t-netbsd to tmake_file.
7422 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7423 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7424 (sh-wrs-vxworks): Likewise.
7425 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7426 *-leon[3-9]*.
7427 (v850*-*-*): Add v850/t-v850 to tmake_file.
7428 (vax-*-linux*): Add vax/t-linux to tmake_file.
7429 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7430
237490bf 74312011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7432
7433 * crtstuff.c: New file.
7434 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7435 (CRTSTUFF_T_CFLAGS): Define.
7436 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7437 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7438 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7439 crtstuff.c.
7440 Use $<.
7441 (crtbeginT.o): Use $(objext).
7442 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7443 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7444 (gcc-extra-parts): Remove.
7445 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7446 Set extra_parts.
7447 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7448 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7449 Add t-crtstuff-pic to tmake_file.
7450 (*-*-lynxos*): New case.
7451 Set tmake_file, extra_parts.
7452 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7453 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7454 *-*-netbsdelf[2-9]*.
7455 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7456 (*-*-rtems*): Set extra_parts.
7457 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7458 (*-*-uclinux*): New case.
7459 Set extra_parts.
7460 (*-*-vms*): New case.
7461 Set tmake_file, extra_parts.
7462 (*-*-elf): Set extra_parts.
7463 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7464 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7465 vms/t-vms64.
7466 Set extra_parts.
7467 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7468 Set extra_parts.
7469 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7470 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7471 (arm-wrs-vxworks): Append to tmake_file.
7472 Set extra_parts.
7473 (arm*-*-uclinux*): Set extra_parts.
7474 (arm*-*-ecos-elf): Likewise.
7475 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7476 arm*-*-eabi*.
7477 (arm*-*-rtems*): Set extra_parts.
7478 (arm*-*-elf): Likewise.
7479 (avr-*-rtems*): Clear extra_parts.
7480 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7481 Set extra_parts.
7482 (bfin*-uclinux*): Likewise.
7483 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7484 (bfin*-rtems*): Append to tmake_file.
7485 Set extra_parts.
7486 (bfin*-*): Likewise.
7487 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7488 (crisv32-*-elf): ... this.
7489 (crisv32-*-none): ... this.
7490 (cris-*-elf, cris-*-none): New cases.
7491 Add cris/t-elfmulti to tmake_file.
7492 (fr30-*-elf): Append to tmake_file.
7493 Set extra_parts.
7494 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7495 Set extra_parts.
7496 (h8300-*-rtems*): Append to tmake_file.
7497 Set extra_parts.
7498 (h8300-*-elf*): Likewise.
7499 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7500 Set extra_parts.
7501 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7502 Set extra_parts.
7503 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7504 (x86_64-*-elf*): Likewise.
7505 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7506 (x86_64-*-freebsd*): Likewise.
7507 (x86_64-*-netbsd*): Likewise.
7508 (i[34567]86-*-linux*): Likewise.
7509 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7510 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7511 (x86_64-*-linux*): Likewise.
7512 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7513 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7514 tmake_file.
7515 Set extra_parts.
7516 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7517 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7518 Append to extra_parts, remove crtbegin.o, crtend.o.
7519 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7520 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7521 crtend.o, crtbeginS.o, crtendS.o.
7522 (ia64*-*-linux*): Comment extra_parts.
7523 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7524 Set extra_parts.
7525 (iq2000*-*-elf*): Clear extra_parts.
7526 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7527 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7528 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7529 (m32r-*-rtems*): ... this.
7530 Add m32r/t-m32r to tmake_file.
7531 (m68k-*-elf*): Add t-crtin to tmake_file.
7532 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7533 (mcore-*-elf): Likewise.
7534 (microblaze*-*-*): Set extra_parts.
7535 (mips*-sde-elf*): New case.
7536 Set tmake_file, extra_parts.
7537 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7538 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7539 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7540 tmake_file.
7541 Set extra_parts.
7542 (mipsisa64sr71k-*-elf*): Likewise.
7543 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7544 (mips-*-elf*, mipsel-*-elf*): Likewise.
7545 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7546 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7547 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7548 (mips*-*-rtems*): Likewise.
7549 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7550 (moxie-*-*): Split into ...
7551 (moxie-*-elf, moxie-*-uclinux*): ... this.
7552 Add to extra_parts, remove crtbegin.o, crtend.o.
7553 (moxie-*-rtems*): New case.
7554 Set tmake_file.
7555 Clear extra_parts.
7556 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7557 Set extra_parts.
7558 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7559 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7560 tmake_file.
7561 Set extra_parts.
7562 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7563 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7564 Set extra_parts.
7565 (powerpc-*-eabisim*): Likewise.
7566 (powerpc-*-elf*): Likewise.
7567 (powerpc-*-eabialtivec*): Likewise.
7568 (powerpc-xilinx-eabi*): Likewise.
7569 (powerpc-*-eabi*): Likewise.
7570 (powerpc-*-rtems*): Likewise.
7571 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7572 tmake_file.
7573 Set extra_parts.
7574 (powerpc-*-lynxos*): Add to tmake_file.
7575 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7576 rs6000/t-crtstuff, t-crtstuff-pic.
7577 Set extra_parts.
7578 (powerpcle-*-eabisim*): Likewise.
7579 (powerpcle-*-eabi*): Likewise.
7580 (rx-*-elf): Remove extra_parts.
7581 (s390x-ibm-tpf*): Set extra_parts.
7582 (score-*-elf): Set extra_parts.
7583 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7584 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7585 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7586 (sh64l*-*-netbsd*): Split into ...
7587 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7588 Add t-crtstuff-pic to tmake_file.
7589 Set extra_parts.
7590 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7591 Set extra_parts.
7592 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7593 (sparc-*-elf*): Remove t-crtin from tmake_file.
7594 Add to extra_parts, remove crtbegin.o, crtend.o.
7595 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7596 (sparc64-*-linux*): Likewise.
7597 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7598 Add to extra_parts, remove crtbegin.o, crtend.o.
7599 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7600 Add to extra_parts, remove crtbegin.o, crtend.o.
7601 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7602 Add to extra_parts, remove crtbegin.o, crtend.o.
7603 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7604 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7605 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7606 Set extra_parts.
7607 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7608 Set extra_parts.
7609 (tic6x-*-*): Change to ...
7610 (tic6x-*-elf): ... this.
7611 Set extra_parts.
7612 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7613 Set extra_parts.
7614 (am33_2.0-*-linux*): Add comment.
7615 (mep*-*-*): Add mep/t-mep to tmake_file.
7616 Set extra_parts.
7617 * config/alpha/t-vms: New file.
7618 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7619 * config/arm/crti.S, config/arm/crtn.S: New files.
7620 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7621 * config/bfin/crtlibid.S: New file.
7622 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7623 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7624 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7625 (crti.o, crtin.o): New rules.
7626 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7627 * config/c6x/t-uclinux: New file.
7628 * config/cris/t-elfmulti: New file.
7629 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7630 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7631 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7632 * config/frv/t-frv: New file.
7633 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7634 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7635 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7636 New files.
7637 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7638 refer to cygming-crtbegin.c, cygming-crtend.c.
7639 Use $<.
7640 * config/i386/t-nto: New file.
7641 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7642 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7643 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7644 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7645 Use .S extension.
7646 Use $<.
7647 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7648 (crtinitS.o): New rule.
7649 * config/ia64/vms-crtinit.S: New file.
7650 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7651 * config/m32r/initfini.c: New file.
7652 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7653 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7654 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7655 * config/mep/t-mep: New file.
7656 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7657 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7658 * config/mips/crti.S, config/mips/crtn.S: New files.
7659 * config/mips/t-crtstuff: New file.
7660 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7661 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7662 (CUSTOM_CRTIN): Set.
7663 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7664 dependencies.
7665 Use $(srcdir) to refer to crti.S, crtn.S.
7666 Use .S extension, $<.
7667 * config/moxie/crti.asm: Rename to ...
7668 * config/moxie/crti.S: ... this.
7669 * config/moxie/crtn.asm: Rename to ...
7670 * config/moxie/crtn.S: ... this.
7671 * config/moxie/t-moxie: Remove.
7672 * config/pa/stublib.c: New file.
7673 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7674 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7675 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7676 * config/rs6000/t-crtstuff: New file.
7677 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7678 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7679 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7680 Make output file explicit.
7681 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7682 Make output file explicit.
7683 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7684 Make output file explicit.
7685 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7686 Make output file explicit.
7687 * config/score/crti.S, config/score/crtn.S: New files.
7688 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7689 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7690 files.
7691 * config/sh/t-sh, config/sh/t-superh: New files.
7692 * config/sparc/t-linux64: New file.
7693 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7694 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7695 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7696 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7697 * config/t-crtin: Remove.
7698 * config/t-crtstuff-pic: New file.
7699 * config/t-sol2 (CUSTOM_CRTIN): Set.
7700 (crti.o, crtn.o): New rules.
7701 * config/vms/t-vms: New file.
7702 * config/vms/vms-ucrt0.c: New file.
7703 * config/xtensa/t-elf: New file.
7704
a997b0d8 77052011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7706
7707 * Makefile.in (SHLIB_NM_FLAGS): Set.
7708 * mkmap-flat.awk, mkmap-symver.awk: New files.
7709 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7710 exceptions.
7711 * configure: Regenerate.
7712 * config/libgcc-glibc.ver: New file.
7713 * config/libgcc-libsystem.ver: New file.
7714 * config/t-libunwind (SHLIB_LC): Set.
7715 * config/t-linux: New file.
7716 * config/t-slibgcc (INSTALL_SHLIB): New.
7717 (SHLIB_INSTALL): Use it.
7718 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7719 to mkmap-symver.awk.
7720 (SHLIB_MAPFILES): Don't append, adapt pathname.
7721 (SHLIB_VERPFX): Set.
7722 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7723 to mkmap-symver.awk.
7724 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7725 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7726 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7727 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7728 to mkmap-flat.awk.
7729 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7730 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7731 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7732 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7733 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7734 * config/i386/libgcc-darwin.10.4.ver,
7735 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7736 New files.
7737 * config/i386/t-darwin: Remove.
7738 * config/i386/t-darwin64: Likewise.
7739 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7740 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7741 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7742 * config/i386/t-linux: New file.
7743 * config/i386/t-mingw32: New file.
7744 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7745 * config/ia64/t-glibc: Rename to ...
7746 * config/ia64/t-linux: ... this.
7747 (SHLIB_MAPFILES): Set.
7748 * config/ia64/t-glibc-libunwind: Rename to ...
7749 * config/ia64/t-linux-libunwind: ... this.
7750 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7751 * config/ia64/t-slibgcc-hpux: New file.
7752 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7753 * config/m68k/t-slibgcc-elf-ver: New file.
7754 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7755 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7756 to mkmap-flat.awk.
7757 * config/pa/t-slibgcc-hpux: New file.
7758 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7759 files.
7760 * config/rs6000/libgcc-darwin.10.4.ver,
7761 config/rs6000/libgcc-darwin.10.5.ver: New files.
7762 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7763 config/rs6000/libgcc-glibc.ver.
7764 * config/rs6000/libgcc-ppc64.ver: Rename to
7765 config/rs6000/libgcc-ibm-ldouble.ver.
7766 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7767 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7768 * config/rs6000/t-ldbl128: Rename to ...
7769 * config/rs6000/t-linux: ... this.
7770 (SHLIB_MAPFILES): Adapt filename.
7771 * config/rs6000/t-slibgcc-aix: New file.
7772 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7773 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7774 libgcc-excl.ver, libgcc-glibc.ver.
7775 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7776 * config/sparc/libgcc-glibc.ver: New file.
7777 * config/sparc/t-linux: New file.
7778 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7779 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7780 t-slibgcc-elf-ver to tmake_file.
7781 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7782 *-*-freebsd[34].
7783 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7784 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7785 t-slibgcc-elf-ver, t-linux to tmake_file.
7786 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7787 tmake_file.
7788 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7789 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7790 (alpha*-dec-*vms*): Likewise.
7791 (arm*-*-freebsd*): Append to tmake_file.
7792 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7793 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7794 arm*-*-linux-*eabi.
7795 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7796 tmake_file for arm*-*-symbianelf*.
7797 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7798 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7799 cris/t-linux.
7800 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7801 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7802 pa/t-slibgcc-dwarf-ver to tmake_file.
7803 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7804 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7805 (hppa*64*-*-hpux11*): Likewise.
7806 (hppa[12]*-*-hpux11*): Likewise.
7807 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7808 i386/t-crtpc, i386/t-crtfm.
7809 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7810 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7811 to tmake_file.
7812 Add i386/t-cygwin to tmake_file.
7813 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7814 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7815 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7816 to tmake_file.
7817 Add i386/t-mingw32 to tmake_file.
7818 (x86_64-*-mingw*): Likewise.
7819 (ia64*-*-freebsd*): Append to tmake_file.
7820 (ia64*-*-linux*): Append to tmake_file.
7821 Replace ia64/t-glibc by ia64/t-linux.
7822 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7823 system libunwind.
7824 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7825 t-slibgcc-hpux to tmake_file.
7826 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7827 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7828 (m32rle-*-linux*): Likewise.
7829 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7830 sjlj exceptions.
7831 (microblaze*-linux*): New case.
7832 Append to tmake_file, add t-slibgcc-nolc-override.
7833 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7834 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7835 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7836 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7837 rs6000/t-slibgcc-aix to tmake_file.
7838 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7839 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7840 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7841 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7842 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7843 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7844 sh*-*-linux*.
7845 (sparc-*-linux*): Append to tmake_file for *-leon*.
7846 Add sparc/t-linux to tmake_file for non-Leon targets.
7847 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7848 (tic6x-*-uclinux): New case.
7849 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7850 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7851 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7852 (am33_2.0-*-linux*): Append to tmake_file.
7853 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7854 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7855 x86_64-*-kfreebsd*-gnu.
7856 Add i386/t-linux to tmake_file.
7857
638a95a0 78582011-10-28 Ian Lance Taylor <iant@google.com>
7859
7860 * config/i386/morestack.S: Correct CFI information to do proper
7861 returns throughout function. In 32-bit mode, save %ebx so that it
7862 is restored on unwind.
7863
ef785e44 78642011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7865
7866 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7867 case where B3 isn't the return register.
7868
19b85223 7869 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7870 logic for doubleword pops.
7871
70f50eb0 78722011-10-25 Andreas Tobler <andreast@fgznet.ch>
7873
7874 * config/rs6000/t-freebsd: Add wildcard.
7875
ec2b386c 78762011-10-21 Paul Brook <paul@codesourcery.com>
7877
7878 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7879
b09a3f46 78802011-10-16 Uros Bizjak <ubizjak@gmail.com>
7881 Eric Botcazou <ebotcazou@adacore.com>
7882
7883 PR target/50737
7884 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7885 fs->signal_frame to 1.
7886
8acdf7c6 78872011-10-07 Ian Lance Taylor <iant@google.com>
7888
7889 * generic-morestack-thread.c: #include <errno.h>.
7890
1780e36e 78912011-10-07 Ian Lance Taylor <iant@google.com>
7892
7893 PR target/46093
7894 * generic-morestack.c (__generic_morestack): Make sure the segment
7895 is large enough for both the stack frame and the copied
7896 parameters.
7897
f57fac72 78982011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7899
7900 PR bootstrap/49804
7901 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7902 extra_parts.
7903
6ef008f9 79042011-09-28 Nick Clifton <nickc@redhat.com>
7905
7906 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7907 64-bit doubles are not enabled.
7908 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7909 and floatunsisf functions.
7910
7e5fc0c4 79112011-09-13 Paul Brook <paul@codesourcery.com>
6ef008f9 7912
7e5fc0c4 7913 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7914 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7915 * unwind-arm-common.inc: New file.
7916 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7917 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7918 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7919 * config/c6x/libunwind.S: New file.
7920 * config/c6x/pr-support.c: New file.
7921 * config/c6x/unwind-c6x.c: New file.
7922 * config/c6x/unwind-c6x.h: New file.
7923 * config/c6x/t-c6x-elf: New file.
7924
047a5c56 79252011-08-23 Uros Bizjak <ubizjak@gmail.com>
7926
7927 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7928 (ASM_DIVZERO): Ditto.
7929 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7930
985e908e 79312011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7932
7933 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7934
c1c81358 79352011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
7936
7937 PR target/50090
7938 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7939 instead of an assembly one.
7940
7642fc98 79412011-08-12 Paolo Bonzini <bonzini@gnu.org>
7942
7943 PR bootstrap/50047
7944 * Makefile.in (install-unwind_h): Create
7945 $(gcc_objdir)/include/unwind.h atomically.
7946
392bda6f 79472011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7948
7949 * Makefile.in (install-unwind_h): Remove destination file first.
7950
21889c08 79512011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7952
7953 * sync.c: New file.
7954 * config/mips/t-mips16: New file.
7955 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7956 (mips*-*-linux*): Likewise.
7957 (mips*-sde-elf*): Likewise.
7958 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7959 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7960 Add mips/t-mips16 to tmake_file.
7961 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7962 (mips-*-elf*): Likewise.
7963 (mips64-*-elf*): Likewise.
7964 (mips64orion-*-elf*): Likewise.
7965 (mips*-*-rtems*): Likewise.
7966 (mipstx39-*-elf*): Likewise.
7967 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7968 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7969 LIBGCC_SYNC_CFLAGS.
7970 Use $(srcdir) to refer to sync.c.
7971 Use $<.
7972 ($(libgcc-sync-funcs-o)): Likewise.
7973 ($(libgcc-sync-size-funcs-s-o)): Likewise.
7974 ($(libgcc-sync-funcs-s-o)): Likewise.
7975
3569d462 79762011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7977
7978 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7979 t-libunwind.
7980
e451a093 79812011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7982
7983 PR other/48007
7984 * config/i386/value-unwind.h: New.
7985
ab3bed33 79862011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
7987
7988 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7989 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7990 Add to tmake_file rather than overriding it.
7991
84600db5 79922011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7993
7994 * config/t-softfp: Remove.
7995 * soft-fp: Moved from ../gcc/config.
7996 * soft-fp/README: Remove t-softfp reference.
7997 * soft-fp/t-softfp: Move to config/t-softfp.
7998 (softfp_machine_header): Remove.
7999 (softfp_file_list): Remove config subdir.
8000 (soft-fp-objects): New variable.
8001 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8002 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8003 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8004 * config/t-softfp-excl: New file.
8005 * config/t-softfp-sfdf: New file.
8006 * config/t-softfp-tf: New file.
8007 * config/no-sfp-machine.h: New file.
8008 * config/arm/sfp-machine.h: New file.
8009 * config/arm/t-softfp: New file.
8010 * config/c6x/sfp-machine.h: New file.
8011 * config/i386/32/t-fprules-softfp: Rename to ...
8012 * config/i386/32/t-softfp: ... this.
8013 (tifunctions, LIB2ADD): Remove.
8014 (softfp_int_modes): Override.
8015 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8016 subdir.
8017 * config/i386/64/eqtf2.c: Likewise.
8018 * config/i386/64/getf2.c: Likewise.
8019 * config/i386/64/letf2.c: Likewise.
8020 * config/ia64/sft-machine.h: New file.
8021 * config/ia64/t-fprules-softfp: Rename to ...
8022 * config/ia64/t-softfp: ... this.
8023 * config/lm32/sfp-machine.h: New file.
8024 * config/moxie/t-moxie-softfp: Remove.
8025 * config/rs6000/ibm-ldouble-format: New file.
8026 * config/rs6000/ibm-ldouble.c: New file.
8027 * config/rs6000/libgcc-ppc-glibc.ver: New file
8028 * config/rs6000/libgcc-ppc64.ver: New file
8029 * config/rs6000/sfp-machine.h: New file.
8030 * config/rs6000/t-freebsd: New file.
8031 * config/rs6000/t-ibm-ldouble: New file.
8032 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8033 libgcc-ppc-glibc.ver.
8034 * config/rs6000/t-linux64: New file.
8035 * config/rs6000/t-ppccomm (LIB2ADD): Add
8036 $(srcdir)/config/rs6000/ibm-ldouble.c.
8037 * config/rs6000/t-ppccomm-ldbl: New file.
8038 * config/score/sfp-machine.h: New file.
8039 * config.host (sfp_machine_header): Explain.
8040 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8041 t-softfp to tmake_file.
8042 (arm*-*-uclinux*): Likewise.
8043 (arm*-*-ecos-elf): Likewise.
8044 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8045 (arm*-*-rtems*): Likewise.
8046 (arm*-*-elf): Likewise.
8047 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8048 in tmake_file.
8049 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8050 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8051 (lm32-*-uclinux*): Likewise.
8052 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8053 t-softfp-excl, t-softfp.
8054 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8055 (powerpc64-*-darwin*): Likewise.
8056 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8057 to tmake_file.
8058 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8059 tmake_file.
8060 (powerpc-*-eabisim*): Likewise.
8061 (powerpc-*-elf*): Likewise.
8062 (powerpc-*-eabialtivec*): Likewise.
8063 (powerpc-xilinx-eabi*): Likewise.
8064 (powerpc-*-rtems*): Likewise.
8065 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8066 t-softfp-excl, t-softfp to tmake_file.
8067 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8068 rs6000/t-ppccomm-ldbl to tmake_file.
8069 (powerpcle-*-elf*): Likewise.
8070 (powerpcle-*-eabisim*): Likewise.
8071 (powerpcle-*-eabi*): Likewise.
8072 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8073 rs6000/t-ibm-ldouble to tmake_file.
8074 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8075 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8076 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8077 (tic6x-*-*): Likewise.
8078 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8079 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8080 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8081 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8082 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8083 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8084 t-softfp to tmake_file.
8085 * configure.ac (sfp_machine_header): Provide default if unset.
8086 Substitute.
8087 Link sfp-machine.h to config/$sfp_machine_header.
8088 * configure: Regenerate.
8089
a23b9c51 80902011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8091
8092 * Makefile.in (double_type_size, long_double_type_size): Set.
8093 Remove $(fpbit-in-libgcc) support.
8094 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8095 (fpbit-src): New variable.
8096 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8097 Compile with -DFLOAT $(FPBIT_CFLAGS).
8098 Use $<.
8099 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8100 Compile with $(FPBIT_CFLAGS).
8101 Use $<.
8102 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8103 Compile with -DFLOAT $(TPBIT_CFLAGS).
8104 Use $<.
8105 * configure.ac (double_type_size, long_double_type_size):
8106 Determine and substitute.
8107 * configure: Regenerate.
8108 * fp-bit.c, fp-bit.h: New files.
8109 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8110 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8111 * config/mips/t-mips: New file.
8112 * config/mips/t-sdemtk: New file.
8113 * config/rs6000/ppc64-fp.c: New file.
8114 * config/rs6000/t-darwin (LIB2ADD): Add
8115 $(srcdir)/config/rs6000/ppc64-fp.c.
8116 * config/rs6000/t-ppc64-fp: New file.
8117 * config/rx/rx-lib.h: New file.
8118 * config/rx/t-rx (FPBIT): Set to true.
8119 ($(gcc_objdir)/fp-bit.c): Remove.
8120 (DPBIT): Set to true only with -m64bit-doubles.
8121 ($(gcc_objdir)/dp-bit.c): Remove.
8122 * config/sparc/t-softfp: Remove.
8123 * config/spu/t-elf: New file.
8124 * config/t-fdpbit, config/t-fpbit: New files.
8125 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8126 (mips*-*-*): Likewise.
8127 (arm-wrs-vxworks): Likewise.
8128 (arm*-*-freebsd*): Likewise.
8129 (avr-*-rtems*): Add t-fpbit to tmake_file.
8130 (avr-*-*): Likewise.
8131 (bfin*-elf*): Add t-fdpbit to tmake_file.
8132 (bfin*-uclinux*): Likewise.
8133 (bfin*-linux-uclibc*): Likewise.
8134 (bfin*-rtems*): New case.
8135 Add t-fdpbit to tmake_file.
8136 (bfin*-*): Add t-fdpbit to tmake_file.
8137 (crisv32-*-elf): Likewise.
8138 (cris-*-linux*): Likewise.
8139 (fr30-*-elf): Likewise.
8140 (frv-*-elf, frv-*-*linux*): Likewise.
8141 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8142 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8143 (m32r-*-elf*): Likewise.
8144 (m32rle-*-elf*): Likewise.
8145 (m32r-*-linux*): Likewise.
8146 (m32rle-*-linux*): Likewise.
8147 (mcore-*-elf): Add t-fdpbit to tmake_file.
8148 (microblaze*-*-*): Likewise.
8149 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8150 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8151 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8152 Fix typo.
8153 Add mips/t-tpbit to tmake-file.
8154 (mips*-*-linux*): Fix typo.
8155 (mips*-sde-elf*): New case
8156 Add mips/t-sdemtk unless using newlib.
8157 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8158 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8159 (mn10300-*-*): Likewise.
8160 (pdp11-*-*): Likewise.
8161 (picochip-*-*): Add t-fpbit to tmake_file.
8162 (powerpc-*-eabisimaltivec*): Likewise.
8163 (powerpc-*-eabisim*): Likewise.
8164 (powerpc-*-elf*): Likewise.
8165 (powerpc-*-eabialtivec*): Likewise.
8166 (powerpc-xilinx-eabi*): New case.
8167 Add t-fdpbit to tmake_file.
8168 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8169 (powerpc-*-rtems*): Likewise.
8170 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8171 tmake_file.
8172 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8173 tmake_file.
8174 (powerpc-*-lynxos*): Likewise.
8175 (powerpcle-*-elf*): Likewise.
8176 (powerpcle-*-eabisim*): Likewise.
8177 (powerpcle-*-eabi*): Likewise.
8178 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8179 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8180 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8181 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8182 (rx-*-elf): Add t-fdpbit to tmake_file.
8183 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8184 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8185 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8186 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8187 sh*-*-netbsd*.
8188 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8189 (sh-wrs-vxworks): Likewise.
8190 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8191 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8192 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8193 (sparc64-*-rtems*): ... new case.
8194 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8195 (spu-*-elf*): Likewise.
8196 Add spu/t-elf to tmake_file.
8197 (v850*-*-*): Add t-fdpbit to tmake_file.
8198 (xstormy16-*-elf): Likewise.
8199 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8200 (mep*-*-*): Likewise.
8201
e59be7e3 82022011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8203
8204 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8205 variables.
8206 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8207 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8208 (install-unwind_h): New target.
8209 (all): Depend on it.
8210 * config.host (unwind_header): New variable.
8211 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8212 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8213 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8214 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8215 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8216 Set unwind_header.
8217 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8218 Set unwind_header.
8219 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8220 arm*-*-eabi*.
8221 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8222 Set unwind_header.
8223 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8224 (ia64*-*-freebsd*): Likewise.
8225 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8226 tmake_file.
8227 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8228 $with_system_libunwind.
8229 (ia64*-*-hpux*): Set tmake_file.
8230 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8231 (picochip-*-*): Set tmake_file.
8232 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8233 md_unwind_header.
8234 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8235 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8236 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8237 (xtensa*-*-elf*): Set tmake_file.
8238 (xtensa*-*-linux*): Likewise.
8239 * configure.ac: Include ../config/unwind_ipinfo.m4.
8240 Call GCC_CHECK_UNWIND_GETIPINFO.
8241 Link unwind.h to $unwind_header.
8242 * configure: Regenerate.
8243 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8244 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8245 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8246 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8247 * config/unwind-dw2-fde-darwin.c: New file.
8248 * config/arm/libunwind.S, config/arm/pr-support.c,
8249 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8250 config/arm/unwind-arm.h,: New files.
8251 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8252 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8253 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8254 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8255 config/ia64/unwind-ia64.h: New files.
8256 * config/picochip/t-picochip: New file.
8257 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8258 files.
8259 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8260 * config/s390/t-tpf (LIB2ADDEH): Remove.
8261 * config/t-darwin (LIB2ADDEH): Set.
8262 * config/t-eh-dw2-dip: New file.
8263 * config/t-libunwind, config/t-libunwind-elf: New files.
8264 * config/t-sol2 (LIB2ADDEH): Remove.
8265 * config/xtensa/t-xtensa: New file.
8266
b57de711 82672011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8268
8269 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8270 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8271 long long to check rt_sigreturn syscall.
8272
9a4af446 82732011-08-02 Alan Modra <amodra@gmail.com>
8274
8275 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8276 Restore for indirect call bcrtl from correct stack slot, and only
8277 if cfa+40 isn't valid.
8278
bbbe4599 82792011-08-01 Julian Brown <julian@codesourcery.com>
8280
8281 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8282 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8283 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8284
ac34b7db 82852011-08-01 Julian Brown <julian@codesourcery.com>
8286
8287 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8288 (libgcc-std.ver.in): Use above.
8289 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8290 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8291 throughout file.
8292 * config/t-fixedpoint-gnu-prefix: New file.
8293 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8294 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8295 instead of __PFX__.
8296
2a7dfa04 82972011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8298
8299 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8300 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8301 for x86-64. Properly check __x86_64__ and __LP64__.
8302
a232cb08 83032010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8304
8305 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8306 version.
8307 (_FP_WS_TYPE): Likewise.
8308 (_FP_I_TYPE): Likewise.
8309
c54e2746 83102011-07-28 Alan Modra <amodra@gmail.com>
8311
8312 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8313 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8314 in a plt call stub. Do restore r2 if stopped on bctrl.
8315
4d72c922 83162011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8317
8318 * config.host (i[3456x]86-*-netware*): Remove.
8319 * config/i386/netware-crt0.c, config/i386/t-nwld,
8320 config/i386/t-slibgcc-nwld: Remove.
8321
5aa04b01 83222011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8323
8324 * config.host: Handle tic6x-*-*.
8325 * config/c6x/c6x-abi.h: New file.
8326
ba079bc9 83272011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8328
8329 * config/i386/crtprec.c: New file.
8330 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8331 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8332 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8333 (x86_64-*-darwin*): Likewise.
8334 (i[34567]86-*-solaris2*: Likewise.
8335
1125ba83 83362011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8337
8338 * config/alpha/crtfastmath.c: New file.
8339 * config/i386/crtfastmath.c: New file.
8340 * config/ia64/crtfastmath.c: New file.
8341 * config/mips/crtfastmath.c: New file.
8342 * config/sparc/crtfastmath.c: New file.
8343
8344 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8345 crtfastmath.c.
8346 Add -frandom-seed=gcc-crtfastmath.
8347 * config/alpha/t-crtfm: Remove.
8348 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8349 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8350
8351 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8352 (alpha*-dec-osf5.1*): Likewise.
8353 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8354 Add crtfastmath.o to extra_parts.
8355 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8356 Add crtfastmath.o to extra_parts.
8357 (x86_64-*-darwin*): Likewise.
8358 (x86_64-*-mingw*): Likewise.
8359 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8360 (ia64*-*-freebsd*): Likewise.
8361 (ia64*-*-linux*): Likewise.
8362 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8363 Add crtfastmath.o to extra_parts.
8364
1a4a11f3 83652011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8366
8367 * config/darwin-crt3.o: New file.
8368 * config/rs6000/darwin-crt2.c: New file.
8369 * config/t-darwin: New file.
8370 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8371 (crt2.o): New rule.
8372 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8373 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8374 (powerpc64-*-darwin*): Likewise.
8375
ef3ab47f 83762011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8377
8378 * config/i386/netware-crt0.c: New file.
8379 * config/i386/t-nwld: Rename to ...
8380 * config/i386/t-slibgcc-nwld: ... this.
8381 * config/i386/t-nwld: New file.
8382 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8383 tmake_file.
8384 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8385 extra_parts.
8386
367b55f3 83872011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8388
8389 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8390 i386/t-crtstuff.
8391 * configure: Regenerate.
8392
17aa03f5 83932011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8394
8395 * dfp-bit.c, dfp-bit.h: New files.
8396 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8397 variables.
8398 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8399 ($(d64pbit-o)): Likewise.
8400 ($(d128pbit-o)): Likewise.
8401 * config/t-dfprules: New file.
8402 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8403 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8404 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8405 (x86_64-*-linux*): Likewise.
8406 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8407 (i[34567]86-*-cygwin*): Likewise.
8408 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8409 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8410
2bc72a9f 84112011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8412
8413 * Makfile.in (LIBGCOV): New variable.
8414 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8415 * libgcov.c: New file.
8416
36a5227d 84172011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8418
8419 * fixed-bit.c, fixed-bit.h: New files.
8420 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8421 refer to fixed-bit.c.
8422
689a8077 84232011-07-07 Joseph Myers <joseph@codesourcery.com>
8424
8425 * config.host (*local*): Remove.
8426
14f27bc6 84272011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8428
8429 PR target/39150
8430 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8431 like i?86-*-solaris2.1[0-9]*.
8432 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8433 * configure.ac (i?86-*-solaris2*): Likewise.
8434 * configure: Regenerate.
8435
fe27820f 84362011-07-06 Thomas Schwinge <thomas@schwinge.name>
8437
8438 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8439 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8440 md_unwind_header by splitting out of...
8441 (i[34567]86-*-linux*): ... this.
8442 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8443 Remove md_unwind_header by splitting out of...
8444 (x86_64-*-linux*): ... this.
8445
934ca5fd 84462011-07-04 Georg-Johann Lay <avr@gjlay.de>
8447
8448 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8449
707238af 84502011-06-28 Nick Clifton <nickc@redhat.com>
8451
8452 * config.host: Recognize all V850 variants.
8453
5125dcef 84542011-06-22 Uros Bizjak <ubizjak@gmail.com>
8455
8456 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8457
f92b36a5 84582011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8459
8460 * shared-object.mk (c_flags-$o): Save c_flags.
8461 ($(base)$(objext)): Use it.
8462 ($(base)_s$(objext)): Likewise.
8463
d8492bd3 84642011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8465
8466 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8467 * libgcc-std.ver.in (GCC_4.7.0): New section.
8468
fa72efb7 84692011-06-16 Georg-Johann Lay <avr@gjlay.de>
5125dcef 8470
fa72efb7 8471 PR target/49313
8472 PR target/29524
8473 * config/avr/t-avr: Fix line endings.
8474 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8475 _parityXX2.
8476
adf7c0a1 84772011-06-14 Olivier Hainque <hainque@adacore.com>
8478 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8479
8480 * config/mips/irix6-unwind.h: New file.
8481 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8482
47529489 84832011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8484
8485 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8486 (sparc64_fallback_frame_state): Use it.
8487 (sparc64_frob_update_context): Further adjust context.
8488 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8489 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8490 * config/sparc/sol2-cn.S: Likewise.
8491
a6f06169 84922011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8493
8494 * enable-execute-stack-empty.c: New file.
8495 * enable-execute-stack-mprotect.c: New file.
8496 * config/i386/enable-execute-stack-mingw32.c: New file.
8497 * config.host (enable_execute_stack): New variable.
8498 Select appropriate variants.
8499 * configure.ac: Link enable-execute-stack.c to
8500 $enable_execute_stack.
8501 * configure: Regenerate.
8502 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8503 (lib2funcs): Remove _enable_execute_stack.
8504
f9cccfac 85052011-06-09 David S. Miller <davem@davemloft.net>
8506 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8507
8508 * config.host (sparc-*-linux*): Correct md_unwind_header
8509 filename.
8510 (s390x-ibm-tpf*): Fix typo.
8511
ee884cfb 85122011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8513
8514 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8515 Add crtfastmath.o to extra_parts.
8516 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8517 mips/t-crtfm.
8518 * config/mips/t-crtfm: Remove.
8519
01cb8ad1 85202011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8521
8522 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8523
73956a0d 85242011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8525
8526 * config.host (sh*-*-linux*): Fix typo.
8527
1e53920f 85282011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8529
8530 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8531 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8532 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8533 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8534 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8535 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8536 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8537 Wrap in !__MINGW64__.
8538 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8539 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8540 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8541 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8542 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8543 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8544 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8545 Wrap in !__LP64__.
8546 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8547 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8548 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8549 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8550 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8551 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8552 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8553 * config/no-unwind.h: New file.
8554 * config.host (md_unwind_header): Document.
8555 Define.
8556 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8557 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8558 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8559 hppa[12]*-*-hpux11*): Set md_unwind_header.
8560 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8561 Set md_unwind_header.
8562 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8563 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8564 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8565 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8566 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8567 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8568 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8569 md_unwind_header.
8570 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8571 * configure: Regenerate.
8572
8087ae75 85732011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8574
8575 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8576 Set tmake_file, extra_parts.
8577 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8578 Remove O32 support.
8579 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8580 Remove O32 support.
8581 * config/mips/t-irix6: New file.
8582 * config/mips/t-slibgcc-irix: New file.
8583
506cfbc8 85842011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8585
8586 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8587 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8588
541346b9 85892011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8590
8591 * configure.ac (target_thread_file): Determine thread model.
8592 * configure: Regenerate.
8593 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8594 * config/alpha/t-alpha: New file.
8595 * config/alpha/t-crtfm: Use $<.
8596 * config/alpha/t-ieee: New file.
8597 * config/alpha/t-osf-pthread: New file.
8598 * config/alpha/t-slibgcc-osf: New file.
8599 * config/alpha/libgcc-osf5.ver: New file.
8600
43ae7603 86012011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8602
8603 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8604 tmake_file.
8605 Add crtfastmath.o to extra_parts.
8606
f0d9a626 86072011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8608
8609 * config/gmon-sol2.c: Reindent.
8610 Cleanup comments.
8611 Remove, correct casts.
8612 Use STDERR_FILENO, NULL.
8613 (BASEADDRESS): Remove.
8614 (minbrk): Remove.
8615 (errno, sbrk): Remove declarations.
8616 (monstartup) [hp300]: Remove.
8617 (mcount): Remove.
8618
63abf89e 86192011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8620
8621 * Makefile.in (cpu_type): Define.
8622 * config.host (i[34567]86-*-rtems*): Handle it.
8623 (i[34567]86-*-solaris2*): Move body ...
8624 (*-*-solaris2*): ... here.
8625 New case, generalize.
8626 (sparc-*-elf*): Handle it.
8627 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8628 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8629 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8630 Fold into ...
8631 (sparc*-*-solaris2*): ... this.
8632 New case.
8633 (sparc64-*-elf*): Handle it.
8634 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8635 Merge ../gcc/config/i386/gmon-sol2.c.
8636 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8637 Use C comments.
8638 Merge ../gcc/config/i386/sol2-gc1.asm.
8639 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8640 Use C comments.
8641 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8642 Use C comments.
8643 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8644 * config/i386/t-crtstuff: New file.
8645 * config/i386/t-softfp: New file.
8646 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8647 $(T)crti.o, $(T)crtn.o): Remove.
8648 (gcrt1.o): New rule.
8649 (TARGET_LIBGCC2_CFLAGS): Remove.
8650 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8651 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8652 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8653 * config/sparc/t-sol2: New file.
8654 * config/sparc/t-crtfm: Move to ...
8655 * config/t-crtfm: ... this.
8656 Use $(cpu_type), $<.
8657 * config/t-crtin: New file.
8658 * config/sparc/t-softfp: New file.
8659 * config/sparc/t-softmul: New file.
8660 * config/t-rtems: New file.
8661 * config/t-slibgcc: New file.
8662 * config/t-slibgcc-elf-ver: New file.
8663 * config/t-slibgcc-gld: New file.
8664 * config/t-slibgcc-sld: New file.
8665 * config/t-sol2: New file.
8666 * configure.ac: Include ../config/lib-ld.m4.
8667 Call AC_LIB_PROG_LD_GNU.
8668 Substitute cpu_type.
8669 * configure: Regenerate.
8670
b1da9d72 86712011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8672
8673 PR bootstrap/49173
8674 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8675 libgcc-std.ver in the build directory.
8676 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8677 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8678
f308a9b2 86792011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8680
8681 * libgcc-std.ver.in: New file.
8682 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8683 variables.
8684 (libgcc-std.ver): New rule.
8685 * config/t-gnu-prefix: New file.
8686
c177b341 86872011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8688
8689 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8690
8633828c 86912011-05-10 Joseph Myers <joseph@codesourcery.com>
8692
8693 * config/i386/darwin-lib.h: New file.
8694
3be74046 86952011-05-10 Joseph Myers <joseph@codesourcery.com>
8696
8697 * config/arm/symbian-lib.h: New.
8698
5e1a494e 86992011-05-04 Chris Demetriou <cgd@google.com>
8700
8701 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8702 (__x86.get_pc_thunk.bx): ...this.
8703 (__morestack): Adjust for rename, remove undef of __i686.
8704
0bb50d04 87052011-05-03 Chris Demetriou <cgd@google.com>
8706
8707 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8708
17b3d2a8 87092011-03-22 Joseph Myers <joseph@codesourcery.com>
8710
8711 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8712 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8713 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8714 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8715 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8716 Remove cases.
8717
95525c17 87182011-03-14 Andreas Tobler <andreast@fgznet.ch>
8719
8720 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8721 Adjust copyright year.
8722
82c96609 87232011-03-07 Ian Lance Taylor <iant@google.com>
8724
8725 * generic-morestack.c (__splitstack_find): Adjust returned stack
8726 pointer to include all registers pushed by __morestack.
8727
abfe0c5b 87282011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8729
8730 PR target/40125
8731 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8732 (toolexecdir): Calculate and AC_SUBST.
8733 (toolexeclibdir): Likewise.
8734 * Makefile.in (target_noncanonical): Import.
8735 (toolexecdir): Likewise.
8736 (toolexeclibdir): Likewise.
8737 * configure: Regenerate.
8738
48f93ee5 87392010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8740
8741 PR target/46040
8742 * config/arm/bpabi.h: Rename to...
8743 * config/arm/bpabi-lib.h: ...this.
8744
76aa642f 87452010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8746
8747 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8748 appropriate.
8749 * configure: Regenerate.
8750
e8b06528 87512010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8752
8753 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8754 __FLOAT_WORD_ORDER__.
8755 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8756 Delete.
8757
2b7a4d59 87582010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8759
8760 PR other/46202
8761 * Makefile.in (install-strip): New phony target.
8762
457123d6 87632010-11-07 Ian Lance Taylor <iant@google.com>
8764
8765 PR target/46089
8766 * config/i386/morestack.S (__morestack_large_model): New
8767 function.
8768
f6e5e456 87692010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8770
8771 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8772 Delete.
8773 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8774
faf175ae 87752010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8776
8777 * config/arm/bpabi.h: New file.
8778 * config/frv/frv-abi.h: New file.
8779
9266176d 87802010-10-01 Ian Lance Taylor <iant@google.com>
8781
8782 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8783 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8784
13ba4217 87852010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8786
8787 PR target/45858
8788 * config.host: Add the missing `$'.
8789
d34b0d1e 87902010-09-30 Michael Eager <eager@eagercon.com>
8791
8792 * config.host: Add microblaze*-*-*.
8793 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8794 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8795 udivsi3.asm,umodsi3.asm}: New.
8796
78ca2689 87972010-09-28 Ian Lance Taylor <iant@google.com>
8798
8799 * configure.ac: Adjust CFI test to test assembler directly rather
8800 than checking gcc preprocessor macro.
8801 * configure: Rebuild.
8802
c9b3ebc5 88032010-09-27 Ian Lance Taylor <iant@google.com>
8804
8805 * configure.ac: Test whether assembler supports CFI directives.
8806 * config.host: Only add t-stack and i386/t-stack-i386 to
8807 tmake_file if libgcc_cv_cfi is "yes".
8808 * configure: Rebuild.
8809
48b14f50 88102010-09-27 Ian Lance Taylor <iant@google.com>
8811
8812 * generic-morestack.h: New file.
8813 * generic-morestack.c: New file.
8814 * generic-morestack-thread.c: New file.
8815 * config/i386/morestack.S: New file.
8816 * config/t-stack: New file.
8817 * config/i386/t-stack-i386: New file.
8818 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8819 i386/t-stack-i386 to tmake_file.
8820
fd80c7a1 88212010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8822
8823 * Makefile.in (libgcc-extra-parts): Check for static archives and
8824 invoke ranlib after installing them.
8825 (gcc-extra-parts): Likewise.
8826 (install-leaf): Likewise.
8827
70fbcd6d 88282010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8829
8830 * configure: Regenerated.
8831
19aace05 88322010-09-10 Kai Tietz <kai.tietz@onevision.com>
8833
70fbcd6d 8834 * configure: Regenerated.
19aace05 8835
279dadf5 88362010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8837 Andrew Pinski <pinskia@gmail.com>
8838
5125dcef 8839 PR target/40959
279dadf5 8840 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8841
a87eb011 88422010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8843
8844 PR target/45524
8845 * configure: Regenerated.
8846
e6425baf 88472010-09-06 Andreas Schwab <schwab@redhat.com>
8848
8849 * configure: Regenerate.
8850
e88f4c66 88512010-09-03 Uros Bizjak <ubizjak@gmail.com>
8852
8853 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8854 64bit targets.
8855 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8856 for 64bit targets.
8857
1d8139cc 88582010-09-03 Uros Bizjak <ubizjak@gmail.com>
8859 Iain Sandoe <iains@gcc.gnu.org>
8860
8861 PR target/45476
8862 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8863 LIB2FUNCS_EXCLUDE functions.
8864
23340821 88652010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8866
8867 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8868 Include dfp.m4.
8869 * configure: Regenerate.
8870
278afeb5 88712010-09-01 Uros Bizjak <ubizjak@gmail.com>
8872
8873 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8874 i386/t-freebsd to tmake_file.
8875 * config/i386/t-freebsd: New file.
8876 * config/i386/libgcc-bsd.ver: New file.
8877
952bf8bb 88782010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8879
8880 * config.host (powerpc*-eabispe*): Set tmake_file.
8881 (powerpc*-eabi*): Likewise.
8882 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8883 crtbeginS, crtendS, crtbeginT.
8884
283681bb 88852010-06-12 Kazu Hirata <kazu@codesourcery.com>
8886
8887 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8888 to tmake_file. Add crtfastmath.o to extra_parts.
8889 * config/mips/t-crtfm: New.
8890
92e91d03 88912010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a6180b96 8892
8893 * config.host (sparc64-*-rtems*): New target.
8894
05157f42 88952010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8896
8897 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8898 assembler syntax.
8899
8a84c748 89002010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8901
8902 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8903
ed3e1bbc 89042010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8905
8906 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8907 alpha-dec-osf5.0* support.
8908
92e91d03 89092010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
432dd419 8910
8911 * config.host: Add lm32-*-rtems*.
8912
20be3c56 89132010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
92e91d03 8914 Uros Bizjak <ubizjak@gmail.com>
20be3c56 8915
8916 PR target/39048
8917 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8918 like other remaining 32-bit x86 OSes.
8919 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8920 assembler syntax.
8921 * config/i386/libgcc-sol2.ver: New file.
8922 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8923
92e91d03 89242010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
8f0f72c0 8925
8926 PR c/43553
8927 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8928 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8929 is used and substitute set_use_emutls.
8930 * configure: Regenerated.
8931
cf842d6a 89322010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8933
8934 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8935
4dcd7ab3 89362010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8937
8938 PR target/38085
8939 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8940 MULTILIB_CFLAGS.
8941 ($(T)gcrt1.o): Likewise.
8942 ($(T)crt1.o): Likewise.
8943 ($(T)crti.o): Likewise.
8944 ($(T)crtn.o): Likewise.
8945
a426f025 89462010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8947
8948 PR other/42980
8949 * Makefile.in (install): Use $(MAKE) string in rule, for
8950 parallel make.
8951
8525326e 89522010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8953
8954 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8955 * config/mmix/t-mmix: New file.
8956 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8957
14a10763 89582010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8959
8960 PR java/41991
8961 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8962 SHLIB_MAPFILES.
8963
00301a1a 89642010-01-04 Anthony Green <green@moxielogic.com>
8965
8966 * config/moxie/crti.asm, config/moxie/crtn.asm,
8967 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8968 config/moxie/t-moxie: New files.
8969 * config.host: Add t-moxie-softfp reference.
8970
92e91d03 89712009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
d2b1aa3d 8972
8973 PR other/39888
8974 * config/t-slibgcc-darwin: Fix embedded rpaths for
8975 --enable-version-specific-runtime-libs, build extension stub
8976 libs exposing features available from current libgcc_s.
8977
92e91d03 89782009-11-11 Jon Beniston <jon@beniston.com>
f6fe91e8 8979
278afeb5 8980 * config.host: Add lm32 targets.
8981 * config/lm32: New directory.
8982 * config/lm32/libgcc_lm32.h: New file.
8983 * config/lm32/_mulsi3.c: New file.
8984 * config/lm32/_udivmodsi4.c: New file.
8985 * config/lm32/_divsi3.c: New file.
8986 * config/lm32/_modsi3.c: New file.
8987 * config/lm32/_udivsi3.c: New file.
8988 * config/lm32/_umodsi3.c: New file.
8989 * config/lm32/_lshrsi3.S: New file.
8990 * config/lm32/_ashrsi3.S: New file.
8991 * config/lm32/_ashlsi3.S: New file.
8992 * config/lm32/crti.S: New file.
8993 * config/lm32/crtn.S: New file.
8994 * config/lm32/t-lm32: New file.
8995 * config/lm32/t-elf: New file.
8996 * config/lm32/t-uclinux: New file.
f6fe91e8 8997
24833e1a 89982009-10-26 Nick Clifton <nickc@redhat.com>
8999
9000 * config.host: Add support for RX target.
9001 * config/rx: New directory.
9002 * config/rx/rx-abi-functions.c: New file. Supplementary
9003 functions for libgcc to support the RX ABI.
9004 * config/rx/rx-abi.h: New file. Supplementary header file for
9005 libgcc RX ABI functions.
9006 * config/rx/t-rx: New file: Makefile fragment for building
9007 libgcc for the RX.
9008
1d7e299f 90092009-10-09 Uros Bizjak <ubizjak@gmail.com>
9010
9011 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9012 constraint of y0 to "g".
9013
e38fe738 90142009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9015
9016 * config.host: Include the s390 makefile fragments.
9017 * config/s390/32/_fixdfdi.c: New file.
9018 * config/s390/32/_fixsfdi.c: New file.
9019 * config/s390/32/_fixtfdi.c: New file.
9020 * config/s390/32/_fixunsdfdi.c: New file.
9021 * config/s390/32/_fixunssfdi.c: New file.
9022 * config/s390/32/_fixunstfdi.c: New file.
9023 * config/s390/32/t-floattodi: New file.
9024 * config/s390/libgcc-glibc.ver: New file.
9025 * config/s390/t-crtstuff: New file.
9026 * config/s390/t-linux: New file.
9027 * config/s390/t-tpf: New file.
9028
81a71e2b 90292009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9030
9031 * configure.ac (AC_PREREQ): Bump to 2.64.
9032
a1ef431d 90332009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9034
9035 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9036
cd9a469c 90372009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9038
9039 * configure: Regenerate.
9040
9b9a2528 90412009-08-09 Douglas B Rupp <rupp@gnat.com>
9042
9043 * config.host (ia64-hp-*vms*): New target.
9044 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9045 with ia64-hp-*vms*.
9046
a2655af1 90472009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9048
9049 * configure.ac: Add snippet for maintainer-mode.
9050 * configure: Regenerate.
9051 * Makefile.in (AUTOCONF, configure_deps): New variables.
9052 ($(srcdir)/configure)): New rule, active only with maintainer
9053 mode turned on.
9054
46222c18 90552009-06-23 DJ Delorie <dj@redhat.com>
9056
9057 Add MeP port.
9058 * config.host: Add mep support.
9059
13dc7657 90602009-06-22 Kai Tietz <kai.tietz@onevision.com>
9061
82a3cc73 9062 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 9063 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
82a3cc73 9064
9065 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9066 for mingw targets.
13dc7657 9067 * config/i386/64/_multc3.c: Likewise.
9068 * config/i386/64/_powitf2.c: Likewise.
9069 * config/i386/64/eqtf2.c: Likewise.
9070 * config/i386/64/getf2.c: Likewise.
9071 * config/i386/64/letf2.c: Likewise.
9072 * config/i386/64/letf2.c: Likewise.
82a3cc73 9073 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9074 unsigned long long for x64 mingw targets.
9075 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9076 (_FP_I_TYPE): Define as long long for x64 mingw target.
13dc7657 9077
63bfd172 90782009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9079
9080 * config.host (vax-*-linux*): New.
9081
be52b6d8 90822009-05-31 Anthony Green <green@moxielogic.com>
9083
9084 * config.host: Add moxie support.
9085 * config/moxie/t-moxie: New file.
9086
92e91d03 90872009-05-29 David Billinghurst <billingd@gcc.gnu.org>
6471e33b 9088
9089 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 9090 t-softfp to tmake_file for i[34567]86-*-cygwin*.
6471e33b 9091
09ec66c8 90922009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9093
9094 * config.host: Add i386/${host_address}/t-fprules-softfp to
9095 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9096
6bc9506f 90972009-04-09 Nick Clifton <nickc@redhat.com>
9098
9099 * config/ia64/tf-signs.c: Change copyright header to refer to
9100 version 3 of the GNU General Public License with version 3.1
9101 of the GCC Runtime Library Exception and to point readers at
9102 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9103 web page.
9104 * config/i386/32/tf-signs.c: Likewise.
9105 * config/libbid/_addsub_dd.c: Likewise.
9106 * config/libbid/_addsub_sd.c: Likewise.
9107 * config/libbid/_addsub_td.c: Likewise.
9108 * config/libbid/_dd_to_df.c: Likewise.
9109 * config/libbid/_dd_to_di.c: Likewise.
9110 * config/libbid/_dd_to_sd.c: Likewise.
9111 * config/libbid/_dd_to_sf.c: Likewise.
9112 * config/libbid/_dd_to_si.c: Likewise.
9113 * config/libbid/_dd_to_td.c: Likewise.
9114 * config/libbid/_dd_to_tf.c: Likewise.
9115 * config/libbid/_dd_to_udi.c: Likewise.
9116 * config/libbid/_dd_to_usi.c: Likewise.
9117 * config/libbid/_dd_to_xf.c: Likewise.
9118 * config/libbid/_df_to_dd.c: Likewise.
9119 * config/libbid/_df_to_sd.c: Likewise.
9120 * config/libbid/_df_to_td.c: Likewise.
9121 * config/libbid/_di_to_dd.c: Likewise.
9122 * config/libbid/_di_to_sd.c: Likewise.
9123 * config/libbid/_di_to_td.c: Likewise.
9124 * config/libbid/_div_dd.c: Likewise.
9125 * config/libbid/_div_sd.c: Likewise.
9126 * config/libbid/_div_td.c: Likewise.
9127 * config/libbid/_eq_dd.c: Likewise.
9128 * config/libbid/_eq_sd.c: Likewise.
9129 * config/libbid/_eq_td.c: Likewise.
9130 * config/libbid/_ge_dd.c: Likewise.
9131 * config/libbid/_ge_sd.c: Likewise.
9132 * config/libbid/_ge_td.c: Likewise.
9133 * config/libbid/_gt_dd.c: Likewise.
9134 * config/libbid/_gt_sd.c: Likewise.
9135 * config/libbid/_gt_td.c: Likewise.
9136 * config/libbid/_isinfd128.c: Likewise.
9137 * config/libbid/_isinfd32.c: Likewise.
9138 * config/libbid/_isinfd64.c: Likewise.
9139 * config/libbid/_le_dd.c: Likewise.
9140 * config/libbid/_le_sd.c: Likewise.
9141 * config/libbid/_le_td.c: Likewise.
9142 * config/libbid/_lt_dd.c: Likewise.
9143 * config/libbid/_lt_sd.c: Likewise.
9144 * config/libbid/_lt_td.c: Likewise.
9145 * config/libbid/_mul_dd.c: Likewise.
9146 * config/libbid/_mul_sd.c: Likewise.
9147 * config/libbid/_mul_td.c: Likewise.
9148 * config/libbid/_ne_dd.c: Likewise.
9149 * config/libbid/_ne_sd.c: Likewise.
9150 * config/libbid/_ne_td.c: Likewise.
9151 * config/libbid/_sd_to_dd.c: Likewise.
9152 * config/libbid/_sd_to_df.c: Likewise.
9153 * config/libbid/_sd_to_di.c: Likewise.
9154 * config/libbid/_sd_to_sf.c: Likewise.
9155 * config/libbid/_sd_to_si.c: Likewise.
9156 * config/libbid/_sd_to_td.c: Likewise.
9157 * config/libbid/_sd_to_tf.c: Likewise.
9158 * config/libbid/_sd_to_udi.c: Likewise.
9159 * config/libbid/_sd_to_usi.c: Likewise.
9160 * config/libbid/_sd_to_xf.c: Likewise.
9161 * config/libbid/_sf_to_dd.c: Likewise.
9162 * config/libbid/_sf_to_sd.c: Likewise.
9163 * config/libbid/_sf_to_td.c: Likewise.
9164 * config/libbid/_si_to_dd.c: Likewise.
9165 * config/libbid/_si_to_sd.c: Likewise.
9166 * config/libbid/_si_to_td.c: Likewise.
9167 * config/libbid/_td_to_dd.c: Likewise.
9168 * config/libbid/_td_to_df.c: Likewise.
9169 * config/libbid/_td_to_di.c: Likewise.
9170 * config/libbid/_td_to_sd.c: Likewise.
9171 * config/libbid/_td_to_sf.c: Likewise.
9172 * config/libbid/_td_to_si.c: Likewise.
9173 * config/libbid/_td_to_tf.c: Likewise.
9174 * config/libbid/_td_to_udi.c: Likewise.
9175 * config/libbid/_td_to_usi.c: Likewise.
9176 * config/libbid/_td_to_xf.c: Likewise.
9177 * config/libbid/_tf_to_dd.c: Likewise.
9178 * config/libbid/_tf_to_sd.c: Likewise.
9179 * config/libbid/_tf_to_td.c: Likewise.
9180 * config/libbid/_udi_to_dd.c: Likewise.
9181 * config/libbid/_udi_to_sd.c: Likewise.
9182 * config/libbid/_udi_to_td.c: Likewise.
9183 * config/libbid/_unord_dd.c: Likewise.
9184 * config/libbid/_unord_sd.c: Likewise.
9185 * config/libbid/_unord_td.c: Likewise.
9186 * config/libbid/_usi_to_dd.c: Likewise.
9187 * config/libbid/_usi_to_sd.c: Likewise.
9188 * config/libbid/_usi_to_td.c: Likewise.
9189 * config/libbid/_xf_to_dd.c: Likewise.
9190 * config/libbid/_xf_to_sd.c: Likewise.
9191 * config/libbid/_xf_to_td.c: Likewise.
9192 * config/libbid/bid128.c: Likewise.
9193 * config/libbid/bid128_2_str.h: Likewise.
9194 * config/libbid/bid128_2_str_macros.h: Likewise.
9195 * config/libbid/bid128_2_str_tables.c: Likewise.
9196 * config/libbid/bid128_add.c: Likewise.
9197 * config/libbid/bid128_compare.c: Likewise.
9198 * config/libbid/bid128_div.c: Likewise.
9199 * config/libbid/bid128_fma.c: Likewise.
9200 * config/libbid/bid128_logb.c: Likewise.
9201 * config/libbid/bid128_minmax.c: Likewise.
9202 * config/libbid/bid128_mul.c: Likewise.
9203 * config/libbid/bid128_next.c: Likewise.
9204 * config/libbid/bid128_noncomp.c: Likewise.
9205 * config/libbid/bid128_quantize.c: Likewise.
9206 * config/libbid/bid128_rem.c: Likewise.
9207 * config/libbid/bid128_round_integral.c: Likewise.
9208 * config/libbid/bid128_scalb.c: Likewise.
9209 * config/libbid/bid128_sqrt.c: Likewise.
9210 * config/libbid/bid128_string.c: Likewise.
9211 * config/libbid/bid128_to_int16.c: Likewise.
9212 * config/libbid/bid128_to_int32.c: Likewise.
9213 * config/libbid/bid128_to_int64.c: Likewise.
9214 * config/libbid/bid128_to_int8.c: Likewise.
9215 * config/libbid/bid128_to_uint16.c: Likewise.
9216 * config/libbid/bid128_to_uint32.c: Likewise.
9217 * config/libbid/bid128_to_uint64.c: Likewise.
9218 * config/libbid/bid128_to_uint8.c: Likewise.
9219 * config/libbid/bid32_to_bid128.c: Likewise.
9220 * config/libbid/bid32_to_bid64.c: Likewise.
9221 * config/libbid/bid64_add.c: Likewise.
9222 * config/libbid/bid64_compare.c: Likewise.
9223 * config/libbid/bid64_div.c: Likewise.
9224 * config/libbid/bid64_fma.c: Likewise.
9225 * config/libbid/bid64_logb.c: Likewise.
9226 * config/libbid/bid64_minmax.c: Likewise.
9227 * config/libbid/bid64_mul.c: Likewise.
9228 * config/libbid/bid64_next.c: Likewise.
9229 * config/libbid/bid64_noncomp.c: Likewise.
9230 * config/libbid/bid64_quantize.c: Likewise.
9231 * config/libbid/bid64_rem.c: Likewise.
9232 * config/libbid/bid64_round_integral.c: Likewise.
9233 * config/libbid/bid64_scalb.c: Likewise.
9234 * config/libbid/bid64_sqrt.c: Likewise.
9235 * config/libbid/bid64_string.c: Likewise.
9236 * config/libbid/bid64_to_bid128.c: Likewise.
9237 * config/libbid/bid64_to_int16.c: Likewise.
9238 * config/libbid/bid64_to_int32.c: Likewise.
9239 * config/libbid/bid64_to_int64.c: Likewise.
9240 * config/libbid/bid64_to_int8.c: Likewise.
9241 * config/libbid/bid64_to_uint16.c: Likewise.
9242 * config/libbid/bid64_to_uint32.c: Likewise.
9243 * config/libbid/bid64_to_uint64.c: Likewise.
9244 * config/libbid/bid64_to_uint8.c: Likewise.
9245 * config/libbid/bid_b2d.h: Likewise.
9246 * config/libbid/bid_binarydecimal.c: Likewise.
9247 * config/libbid/bid_conf.h: Likewise.
9248 * config/libbid/bid_convert_data.c: Likewise.
9249 * config/libbid/bid_decimal_data.c: Likewise.
9250 * config/libbid/bid_decimal_globals.c: Likewise.
9251 * config/libbid/bid_div_macros.h: Likewise.
9252 * config/libbid/bid_dpd.c: Likewise.
9253 * config/libbid/bid_flag_operations.c: Likewise.
9254 * config/libbid/bid_from_int.c: Likewise.
9255 * config/libbid/bid_functions.h: Likewise.
9256 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9257 * config/libbid/bid_inline_add.h: Likewise.
9258 * config/libbid/bid_internal.h: Likewise.
9259 * config/libbid/bid_round.c: Likewise.
9260 * config/libbid/bid_sqrt_macros.h: Likewise.
9261
92622009-04-09 Jakub Jelinek <jakub@redhat.com>
9263
9264 * Makefile.in: Change copyright header to refer to version
9265 3 of the GNU General Public License and to point readers at the
9266 COPYING3 file and the FSF's license web page.
9267 * config.host: Likewise.
9268
4e5e2802 92692009-04-07 Alan Modra <amodra@bigpond.net.au>
9270
9271 * config.host: Reorder and merge to match config.gcc change.
9272
8d40ea45 92732009-04-03 Alan Modra <amodra@bigpond.net.au>
9274
9275 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9276
f2397fc4 92772009-03-28 Joseph Myers <joseph@codesourcery.com>
9278
9279 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9280 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9281 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9282 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9283
24200b28 92842009-02-12 Uros Bizjak <ubizjak@gmail.com>
9285
9286 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9287 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9288
8b21beb2 92892009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9290
24200b28 9291 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9292 ia64/t-softfp-compat to tmake_file.
8b21beb2 9293
9294 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9295
9296 * config/ia64/__divxf3.asm: New.
9297 * config/ia64/_fixtfdi.asm: Likewise.
9298 * config/ia64/_fixunstfdi.asm: Likewise.
9299 * config/ia64/_floatditf.asm: Likewise.
9300 * config/ia64/t-fprules-softfp: Likewise.
9301 * config/ia64/t-softfp-compat: Likewise.
9302 * config/ia64/tf-signs.c: Likewise.
9303
9df8be69 93042009-01-18 Ben Elliston <bje@au.ibm.com>
9305
9306 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9307
f2b540ae 93082009-01-16 Ben Elliston <bje@au.ibm.com>
9309
9310 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9311 to tmake_file.
9312
5790f80a 93132009-01-13 Ben Elliston <bje@au.ibm.com>
9314
9315 * config/t-softfp: New file.
9316 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9317 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9318
92e91d03 93192009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
b8138586 9320
9321 * config.host: Add m32r*-*-rtems*.
9322
92e91d03 93232008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
7eac0a4e 9324
9325 * config.host: Add m32c*-*-rtems*.
9326
03150a33 93272008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9328
9329 PR bootstrap/33100
9330 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9331 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9332 * configure: Regenerate.
9333 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9334 tmake_file here from gcc/config.gcc.
9335 Move extra_parts here from gcc/config.gcc.
9336 * config/i386/t-sol2: Move here from gcc/config/i386.
9337 Use gcc_srcdir instead of srcdir.
9338
77a32a8e 93392008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9340
9341 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9342 case.
9343
1eab96a6 93442008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9345
9346 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9347
74cd9df8 93482008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9349
9350 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9351
8372e9ea 93522008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9353
9354 Add picoChip port.
9355 * config.host: Add picochip-*-*.
9356
75c7ffbc 93572008-08-06 Bob Wilson <bob.wilson@acm.org>
9358
9359 * config.host: Match more processor names for Xtensa.
9360
fb4830c6 93612008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9362
9363 * config/i386/64/t-softfp-compat: Update comments.
9364
7c92db45 93652008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9366
9367 * config/i386/64/_divtc3-compat.c: Moved to ...
9368 * config/i386/64/_divtc3.c: Here.
9369
9370 * config/i386/64/_multc3-compat.c: Moved to ...
9371 * config/i386/64/_multc3.c: Here.
9372
9373 * config/i386/64/_powitf2-compat.c: Moved to ...
9374 * config/i386/64/_powitf2.c: Here.
9375
9376 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9377 .c suffix instead of -compat.c.
9378
ec2e6a4e 93792008-07-05 Uros Bizjak <ubizjak@gmail.com>
9380
9381 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9382 (_FP_MUL_MEAT_D): Ditto.
9383 (_FP_DIV_MEAT_S): Ditto.
9384 (_FP_DIV_MEAT_D): Ditto.
9385
fdbb505a 93862008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9387
9388 * Makefile.in: Add support for __sync_* libgcc functions.
9389
310c48f2 93902008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9391
9392 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9393
144633f4 93942008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9395
9396 PR boostrap/36702
9397 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9398 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9399
9400 * config/i386/64/t-fprules-softfp: Moved to ...
9401 * config/i386/64/t-softfp-compat: This. New.
9402
e25ffafe 94032008-07-02 Uros Bizjak <ubizjak@gmail.com>
9404
9405 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9406 Initialize f with 0.0.
9407
b3fd46a0 94082008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9409
9410 PR target/36669
9411 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9412
9413 * config/i386/64/_divtc3-compat.c: New.
9414 * config/i386/64/_multc3-compat.c: Likewise.
9415 * config/i386/64/_powitf2-compat.c: Likewise.
9416 * config/i386/64/eqtf2.c: Likewise.
9417 * config/i386/64/getf2.c: Likewise.
9418 * config/i386/64/letf2.c: Likewise.
9419 * config/i386/64/t-fprules-softfp: Likewise.
9420
94212008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9422
9423 * config.host: Add i386/${host_address}/t-fprules-softfp to
9424 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
1d7e299f 9425 i[34567]86-*-linux*, x86_64-*-linux*.
b3fd46a0 9426
9427 * configure.ac: Set host_address to 64 or 32 for x86.
9428 * configure: Regenerated.
9429
9430 * Makefile.in (config.status): Also depend on
9431 $(srcdir)/config.host.
9432
9433 * config/i386/32/t-fprules-softfp: New.
9434 * config/i386/32/tf-signs.c: Likewise.
9435
9436 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9437
94382008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9439 Uros Bizjak <ubizjak@gmail.com>
9440
9441 * config/i386/32/sfp-machine.h: New.
9442
eaef9489 94432008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9444
9445 * config/rs6000/t-ppccomm: Remove rules that conflict with
9446 auto-generated rules.
9447
5b2c7553 94482008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9449
9450 * configure.ac: sinclude override.m4.
9451 * configure: Regenerate.
9452
dde02e56 94532008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9454
9455 * configure: Regenerate.
9456
4d6f3aad 94572008-06-10 Joseph Myers <joseph@codesourcery.com>
9458
9459 * Makefile.in (DECNUMINC): Remove
9460 -I$(MULTIBUILDTOP)../../libdecnumber.
9461 * gstdint.h: New.
9462
6af9f7ea 94632008-06-07 Joseph Myers <joseph@codesourcery.com>
9464
9465 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9466 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9467 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9468 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9469 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9470 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9471 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9472 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9473 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9474 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9475 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9476 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9477 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9478 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9479
ccf1c0f1 94802008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9481
9482 * config.host (sh2[lbe]*-*-linux*): Allow target.
9483
19872d0b 94842008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9485
9486 * config/rs6000/t-ppccomm: Add build rules for new files.
9487 (LIB2ADD_ST): New variable.
9488
38dd5584 94892008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9490
9491 PR target/34210
9492 PR target/35508
9493 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9494 * config/t-avr: New file. Build 16bit libgcc functions.
9495
8e5da69c 94962008-03-02 Jakub Jelinek <jakub@redhat.com>
9497
9498 PR target/35401
9499 * config/t-slibgcc-darwin: Make install-leaf dependent on
9500 install-darwin-libgcc-stubs instead of install.
9501
99c77e32 95022008-01-25 Joseph Myers <joseph@codesourcery.com>
9503
9504 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9505 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9506 sh-*-rtemscoff*): Remove cases.
9507
8237872e 95082007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9509
9510 * Makefile.in (all): Use install-leaf rather than install.
9511 (install): Split most of the rule into...
9512 (install-leaf): ...this new one.
9513
00a05b87 95142007-12-19 Etsushi Kato <ek.kato@gmail.com>
9515 Paolo Bonzini <bonzini@gnu.org>
9516
9517 PR target/30572
e25ffafe 9518 * Makefile.in: Use @shlib_slibdir@ substitution to get
9519 correct install name on darwin.
00a05b87 9520 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
1d7e299f 9521
877d7f12 95222007-12-15 Hans-Peter Nilsson <hp@axis.com>
9523
9524 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9525 cris-*-elf and cris-*-none.
9526 (crisv32-*-linux*): Similar, as cris-*-linux*.
9527
75612461 95282007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9529
9530 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9531
f11b4169 95322007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9533
9534 PR regression/33926
9535 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9536 * configure: Regenerated.
9537
84d1fc49 95382007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9539
9540 * Makefile.in (dfp-filenames): Replace decimal_globals,
9541 decimal_data, binarydecimal and convert_data with
9542 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9543 and bid_convert_data, respectively.
9544
3ac0842f 95452007-09-17 Chao-ying Fu <fu@mips.com>
9546 Nigel Stephens <nigel@mips.com>
9547
9548 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9549 * Makefile.in (fixed_point): Define.
9550 Check if fixed_point is yes to build support functions.
9551 * configure.ac: Check for fixed_point support.
9552 * configure: Regenerated.
9553 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9554 funcs, modes, from, to.
9555
8c72b2f9 95562007-09-11 Janis Johnson <janis187@us.ibm.com
9557
9558 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9559
c8ac5d9a 95602007-09-10 Janis Johnson <janis187@us.ibm.com>
9561
9562 * Makefile.in (dfp-filenames): Remove decUtility, add
9563 decDouble, decPacked, decQuad, decSingle.
9564
cc8ebe39 95652007-08-27 Hans Kester <hans.kester@ellips.nl>
9566
9567 * config.host : Add x86_64-elf target.
9568
db1c99de 95692007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9570
9571 * configure.ac (set_have_cc_tls): Add a missing =.
9572 * configure: Regenerated.
9573
e4cbe54f 95742007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9575
9576 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9577 and x86_64-*-linux*.
9578
9579 * config/t-tls: New file.
9580
1d7e299f 9581 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
e4cbe54f 9582
9583 * configure.ac: Include ../config/enable.m4 and
9584 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9585 supports TLS and substitute set_have_cc_tls.
9586 * configure: Regenerated.
9587
9b6b0236 95882007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9589
9590 * Makefile.in: Use libbid for DFP when BID is enabled.
9591
9e51385b 95922007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9593
9594 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
1d7e299f 9595 extra_parts. Add config/i386/t-cygming to tmake_file.
9e51385b 9596 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9597
8f433c51 95982007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9b6b0236 9599 Danny Smith <dannysmith@users.sourceforge.net>
8f433c51 9600
9601 PR target/29498
9602 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9603 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9604 * config/i386/t-crtfm: Compile crtfastmath.o with
9605 -minline-all-stringops.
9606
723e1902 96072007-05-10 Richard Sandiford <richard@codesourcery.com>
9608
9609 * config.host (sparc-wrs-vxworks): New target.
9610
278e2fd1 96112007-04-14 Kazu Hirata <kazu@codesourcery.com>
9612
9613 * config.host: Recognize fido.
9614
2968d68c 96152007-04-04 Janis Johnson <janis187@us.ibm.com>
9616
9617 * configure: Check host, not target, for decimal float support.
9618
6d057ce8 96192007-04-03 Uros Bizjak <ubizjak@gmail.com>
9620
9621 * config/i386/t-crtpc: New file.
9622 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
e25ffafe 9623 (x86_64-*-linux*): Ditto.
6d057ce8 9624
0bbe9142 96252007-02-30 Kai Tietz <kai.tietz@onevision.com>
9626
9627 * config.host (x86_64-*-mingw*): New target.
9628
10de71e1 96292007-03-23 Michael Meissner <michael.meissner@amd.com>
9630 H.J. Lu <hongjiu.lu@intel.com>
9631
9632 * Makefile.in (enable_decimal_float): New.
9633 (DECNUMINC): Add
9634 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9635 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9636 (decbits-filenames): This.
9637 (decbits-objects): New.
9638 (libgcc-objects): Add $(decbits-objects).
9639
9640 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9641 Substitute enable_decimal_float.
9642 * configure: Regenerated.
9643
7a9b9c95 96442007-03-19 Hans-Peter Nilsson <hp@axis.com>
9645
9646 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9647
37decb40 96482007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9649
9650 * Makefile.in (install-info): New dummy target.
9651
bce94ab5 96522007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9653
9654 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9655
1403bdd1 96562007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9657
9658 * Makefile.in: Add install-html and install-pdf dummy
9659 targets.
9660
fce64ed4 96612007-02-05 Roger Sayle <roger@eyesopen.com>
9662 Daniel Jacobowitz <dan@codesourcery.com>
9663
9664 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9665 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9666 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9667
4d863ca5 96682007-01-29 Janis Johnson <janis187@us.ibm.com>
9669
9670 * Makefile.in (dec-filenames): Add decExcept.
9671
f0356913 96722007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9673
9674 PR bootstrap/30469
9675 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9676 -fprofile-use.
9677
bbdcab13 96782007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9679
9680 * configure.ac: Add --enable-version-specific-runtime-libs.
9681 Correct $slibdir default.
9682 * configure: Regenerated.
9683
3da0fdbc 96842007-01-23 Joseph Myers <joseph@codesourcery.com>
9685
9686 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9687
cdca0ab7 96882007-01-21 Andrew Pinski <pinskia@gmail.com>
9689
9690 PR target/30519
9691 * config.host (alpha*-*-linux*): Set extra_parts.
9692
97f1a704 96932007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9694
9695 * config/sh/t-linux: New.
9696 * config.host (sh*-*-linux*): Set tmake_file.
9697
52617116 96982007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9699
9700 * Makefile.in (install): Handle multilibs.
9701
c0e5c948 97022007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9703
9704 * Makefile.in: Added .PHONY entry for documentation targets.
9705
d62e2f2f 97062007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9707
9708 * Makefile.in: Add empty info, html, dvi, pdf targets.
9709
68cf2994 97102007-01-04 Mike Stump <mrs@apple.com>
9711
9712 * Makefile.in (MAKEINFO): Remove.
9713 (PERL): Likewise.
9714
f534b3b3 97152007-01-04 Paolo Bonzini <bonzini@gnu.org>
9716
9717 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9718 * configure: Regenerate.
9719 * Makefile.in (host_subdir): Substitute it.
1d7e299f 9720 (gcc_objdir): Use it.
f534b3b3 9721
c11c6ae3 97222007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9723
9724 * config.host (ia64*-*-linux*): Set tmake_file.
9725
d272bed8 97262007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9727
9728 * Makefile.in (version): Define.
9729
894a47b4 97302007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9731 Paolo Bonzini <bonzini@gnu.org>
9732
9733 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9734 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9735 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9736 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9737 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9738 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9739 * configure: Generated.
f1717362 9740\f
fbd26352 9741Copyright (C) 2007-2019 Free Software Foundation, Inc.
f1717362 9742
9743Copying and distribution of this file, with or without modification,
9744are permitted in any medium without royalty provided the copyright
9745notice and this notice are preserved.