1 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
3 * config.host (v850*-*-*): Add to tmake_file instead of resetting
4 it. This was removing the v850*-*-rtems* settings.
6 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
9 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
10 variable to avoid array subscript is above array bounds warnings.
11 Use __builtin_expect when checking *jcr_list for NULL.
13 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
16 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
17 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
18 vtv_*.o to extra_parts if enable_vtable_verify.
20 2014-03-06 Nick Clifton <nickc@redhat.com>
22 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
23 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
25 2014-02-28 Joey Ye <joey.ye@arm.com>
28 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
29 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
32 2014-02-24 Walter Lee <walt@tilera.com>
34 * config.host: Support "tilegx*" and "tilepro*" triplets.
35 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
36 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
38 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
39 Chung-Lin Tang <cltang@codesourcery.com>
41 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
42 * config/nios2/crti.S: Remove .file directive.
43 * config/nios2/crtn.S: Likewise.
45 2014-02-18 Kai Tietz <ktietz@redhat.com>
46 Jonathan Schleifer <js@webkeks.org>
49 * unwind-seh.c (_GCC_specific_handler): Pass proper
50 value to unwind-handler.
52 2014-02-12 Joseph Myers <joseph@codesourcery.com>
54 * soft-fp/adddf3.c: Update from glibc.
55 * soft-fp/addsf3.c: Likewise.
56 * soft-fp/addtf3.c: Likewise.
57 * soft-fp/divdf3.c: Likewise.
58 * soft-fp/divsf3.c: Likewise.
59 * soft-fp/divtf3.c: Likewise.
60 * soft-fp/double.h: Likewise.
61 * soft-fp/eqdf2.c: Likewise.
62 * soft-fp/eqsf2.c: Likewise.
63 * soft-fp/eqtf2.c: Likewise.
64 * soft-fp/extenddftf2.c: Likewise.
65 * soft-fp/extended.h: Likewise.
66 * soft-fp/extendsfdf2.c: Likewise.
67 * soft-fp/extendsftf2.c: Likewise.
68 * soft-fp/extendxftf2.c: Likewise.
69 * soft-fp/fixdfdi.c: Likewise.
70 * soft-fp/fixdfsi.c: Likewise.
71 * soft-fp/fixdfti.c: Likewise.
72 * soft-fp/fixsfdi.c: Likewise.
73 * soft-fp/fixsfsi.c: Likewise.
74 * soft-fp/fixsfti.c: Likewise.
75 * soft-fp/fixtfdi.c: Likewise.
76 * soft-fp/fixtfsi.c: Likewise.
77 * soft-fp/fixtfti.c: Likewise.
78 * soft-fp/fixunsdfdi.c: Likewise.
79 * soft-fp/fixunsdfsi.c: Likewise.
80 * soft-fp/fixunsdfti.c: Likewise.
81 * soft-fp/fixunssfdi.c: Likewise.
82 * soft-fp/fixunssfsi.c: Likewise.
83 * soft-fp/fixunssfti.c: Likewise.
84 * soft-fp/fixunstfdi.c: Likewise.
85 * soft-fp/fixunstfsi.c: Likewise.
86 * soft-fp/fixunstfti.c: Likewise.
87 * soft-fp/floatdidf.c: Likewise.
88 * soft-fp/floatdisf.c: Likewise.
89 * soft-fp/floatditf.c: Likewise.
90 * soft-fp/floatsidf.c: Likewise.
91 * soft-fp/floatsisf.c: Likewise.
92 * soft-fp/floatsitf.c: Likewise.
93 * soft-fp/floattidf.c: Likewise.
94 * soft-fp/floattisf.c: Likewise.
95 * soft-fp/floattitf.c: Likewise.
96 * soft-fp/floatundidf.c: Likewise.
97 * soft-fp/floatundisf.c: Likewise.
98 * soft-fp/floatunditf.c: Likewise.
99 * soft-fp/floatunsidf.c: Likewise.
100 * soft-fp/floatunsisf.c: Likewise.
101 * soft-fp/floatunsitf.c: Likewise.
102 * soft-fp/floatuntidf.c: Likewise.
103 * soft-fp/floatuntisf.c: Likewise.
104 * soft-fp/floatuntitf.c: Likewise.
105 * soft-fp/gedf2.c: Likewise.
106 * soft-fp/gesf2.c: Likewise.
107 * soft-fp/getf2.c: Likewise.
108 * soft-fp/ledf2.c: Likewise.
109 * soft-fp/lesf2.c: Likewise.
110 * soft-fp/letf2.c: Likewise.
111 * soft-fp/muldf3.c: Likewise.
112 * soft-fp/mulsf3.c: Likewise.
113 * soft-fp/multf3.c: Likewise.
114 * soft-fp/negdf2.c: Likewise.
115 * soft-fp/negsf2.c: Likewise.
116 * soft-fp/negtf2.c: Likewise.
117 * soft-fp/op-1.h: Likewise.
118 * soft-fp/op-2.h: Likewise.
119 * soft-fp/op-4.h: Likewise.
120 * soft-fp/op-8.h: Likewise.
121 * soft-fp/op-common.h: Likewise.
122 * soft-fp/quad.h: Likewise.
123 * soft-fp/single.h: Likewise.
124 * soft-fp/soft-fp.h: Likewise.
125 * soft-fp/subdf3.c: Likewise.
126 * soft-fp/subsf3.c: Likewise.
127 * soft-fp/subtf3.c: Likewise.
128 * soft-fp/truncdfsf2.c: Likewise.
129 * soft-fp/trunctfdf2.c: Likewise.
130 * soft-fp/trunctfsf2.c: Likewise.
131 * soft-fp/trunctfxf2.c: Likewise.
132 * soft-fp/unorddf2.c: Likewise.
133 * soft-fp/unordsf2.c: Likewise.
134 * soft-fp/unordtf2.c: Likewise.
135 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
137 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
139 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
141 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
143 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
145 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
147 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
149 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
151 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
153 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
155 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
157 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
159 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
161 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
163 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
165 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
168 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
170 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
171 cannot be represented.
172 * config/s390/32/_fixsfdi.c: Likewise.
173 * config/s390/32/_fixtfdi.c: Likewise.
174 * config/s390/32/_fixunsdfdi.c: Likewise.
175 * config/s390/32/_fixunssfdi.c: Likewise.
176 * config/s390/32/_fixunstfdi.c: Likewise.
178 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
180 * configure.ac (libgcc_cv_mips_hard_float): New.
181 * configure: Regenerate.
182 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
183 t-softfp-sfdf for hard-float targets.
184 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
185 (softfp_float_modes, softfp_int_modes, softfp_extensions)
186 (softfp_truncations, softfp_exclude_libgcc2): New.
187 * config/t-hardfp: New file.
188 * config/t-hardfp-sfdf: Likewise.
189 * config/hardfp.c: Likewise.
191 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
193 * config.host: Include t-floattodi also for s390x.
194 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
195 * config/s390/32/_fixsfdi.c: Likewise.
196 * config/s390/32/_fixtfdi.c: Likewise.
197 * config/s390/32/_fixunsdfdi.c: Likewise.
198 * config/s390/32/_fixunssfdi.c: Likewise.
199 * config/s390/32/_fixunstfdi.c: Likewise.
201 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
204 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
205 (install-libgcc-unwind-map-forbuild): New target.
206 (all): Depend on install-libgcc-unwind-map-forbuild.
207 (install-libgcc-unwind-map): New target.
208 (install): Depend on install-libgcc-unwind-map.
210 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
212 * config/nios2/crti.S (_init): Initialize GOT pointer from
213 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
215 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
217 * configure.ac: Check __mips64 when setting host_address.
218 * configure: Regenerate.
219 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
220 mips/t-mips64 and t-softfp.
221 (mips*-*-linux*): Don't add mips/t-tpbit.
222 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
223 (DPBIT, DPBIT_CFLAGS): Delete.
224 * config/mips/sfp-machine.h: New file.
225 * config/mips/t-mips64: Likewise.
226 * config/mips/t-softfp-tf: Likewise.
227 * config/mips/t-tpbit: Delete.
229 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
231 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
234 2014-01-25 Walter Lee <walt@tilera.com>
236 * config/tilepro/atomic.c: Include tconfig.h. Don't include
237 config.h or system.h.
240 2014-01-25 Walter Lee <walt@tilera.com>
242 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
243 (post_atomic_barrier): Ditto.
244 (__fetch_and_do): New macro.
245 (__atomic_fetch_and_do): Use __fetch_and_do.
246 (__sync_fetch_and_do): New macro.
247 (__sync_fetch_and_add_4): New function.
248 (__sync_fetch_and_sub_4): New function.
249 (__sync_fetch_and_or_4): New function.
250 (__sync_fetch_and_and_4): New function.
251 (__sync_fetch_and_xor_4): New function.
252 (__sync_fetch_and_nand_4): New function.
253 (__sync_fetch_and_add_8): New function.
254 (__sync_fetch_and_sub_8): New function.
255 (__sync_fetch_and_or_8): New function.
256 (__sync_fetch_and_and_8): New function.
257 (__sync_fetch_and_xor_8): New function.
258 (__sync_fetch_and_nand_8): New function.
259 (__do_and_fetch): New macro.
260 (__atomic_do_and_fetch): Use __do_and_fetch.
261 (__sync_do_and_fetch): New macro.
262 (__sync_add_and_fetch_4): New function.
263 (__sync_sub_and_fetch_4): New function.
264 (__sync_or_and_fetch_4): New function.
265 (__sync_and_and_fetch_4): New function.
266 (__sync_xor_and_fetch_4): New function.
267 (__sync_nand_and_fetch_4): New function.
268 (__sync_add_and_fetch_8): New function.
269 (__sync_sub_and_fetch_8): New function.
270 (__sync_or_and_fetch_8): New function.
271 (__sync_and_and_fetch_8): New function.
272 (__sync_xor_and_fetch_8): New function.
273 (__sync_nand_and_fetch_8): New function.
274 (__sync_exchange_methods): New macro.
275 (__sync_val_compare_and_swap_4): New function.
276 (__sync_bool_compare_and_swap_4): New function.
277 (__sync_lock_test_and_test_4): New function.
278 (__sync_val_compare_and_swap_8): New function.
279 (__sync_bool_compare_and_swap_8): New function.
280 (__sync_lock_test_and_test_8): New function.
281 (__subword_cmpxchg_body): New macro.
282 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
283 (__atomic_compare_exchange_2): Ditto.
284 (__sync_subword_cmpxchg): New macro.
285 (__sync_val_compare_and_swap_1): New function.
286 (__sync_bool_compare_and_swap_1): New function.
287 (__sync_val_compare_and_swap_2): New function.
288 (__sync_bool_compare_and_swap_2): New function.
289 (__atomic_subword): Rename to ...
290 (__subword): ... New name.
291 (__atomic_subword_fetch): Use __subword.
292 (__sync_subword_fetch): New macro.
293 (__sync_fetch_and_add_1): New function.
294 (__sync_fetch_and_sub_1): New function.
295 (__sync_fetch_and_or_1): New function.
296 (__sync_fetch_and_and_1): New function.
297 (__sync_fetch_and_xor_1): New function.
298 (__sync_fetch_and_nand_1): New function.
299 (__sync_fetch_and_add_2): New function.
300 (__sync_fetch_and_sub_2): New function.
301 (__sync_fetch_and_or_2): New function.
302 (__sync_fetch_and_and_2): New function.
303 (__sync_fetch_and_xor_2): New function.
304 (__sync_fetch_and_nand_2): New function.
305 (__sync_add_and_fetch_1): New function.
306 (__sync_sub_and_fetch_1): New function.
307 (__sync_or_and_fetch_1): New function.
308 (__sync_and_and_fetch_1): New function.
309 (__sync_xor_and_fetch_1): New function.
310 (__sync_nand_and_fetch_1): New function.
311 (__sync_add_and_fetch_2): New function.
312 (__sync_sub_and_fetch_2): New function.
313 (__sync_or_and_fetch_2): New function.
314 (__sync_and_and_fetch_2): New function.
315 (__sync_xor_and_fetch_2): New function.
316 (__sync_nand_and_fetch_2): New function.
317 (__atomic_subword_lock): Use __subword.
318 (__sync_subword_lock): New macro.
319 (__sync_lock_test_and_set_1): New function.
320 (__sync_lock_test_and_set_2): New function.
322 2014-01-25 Walter Lee <walt@tilera.com>
324 * config/tilepro/atomic.c (BIT_OFFSET): Define.
325 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
326 (__atomic_subword): Ditto.
328 2014-01-25 Walter Lee <walt@tilera.com>
330 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
331 a prefix op argument.
332 (__atomic_nand_fetch_4): Add prefix op.
333 (__atomic_nand_fetch_8): Ditto.
335 2014-01-21 Baruch Siach <barch@tkos.co.il>
337 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
339 2014-01-09 Rong Xu <xur@google.com>
341 * libgcov-driver.c (this_prg): make it local to save
343 (gcov_exit_compute_summary): Ditto.
344 (gcov_exit_merge_gcda): Ditto.
345 (gcov_exit_merge_summary): Ditto.
346 (gcov_exit_dump_gcov): Ditto.
348 2014-01-08 Rong Xu <xur@google.com>
350 * libgcov-driver.c: Use libgcov.h.
351 (buffer_fn_data): Use xmalloc instead of malloc.
352 (gcov_exit_merge_gcda): Ditto.
353 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
354 * libgcov.h: New common header files for libgcov-*.h.
355 * libgcov-interface.c: Use libgcov.h
356 * libgcov-merge.c: Ditto.
357 * libgcov-profiler.c: Ditto.
358 * Makefile.in: Add dependence to libgcov.h
360 2014-01-02 Joseph Myers <joseph@codesourcery.com>
362 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
363 case of small numerator and finite nonzero result.
365 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
367 Update copyright years
369 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
371 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
372 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
373 config/arc/dp-hack.h, config/arc/fp-hack.h,
374 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
375 config/arc/ieee-754/arc600-dsp/divdf3.S,
376 config/arc/ieee-754/arc600-dsp/divsf3.S,
377 config/arc/ieee-754/arc600-dsp/muldf3.S,
378 config/arc/ieee-754/arc600-dsp/mulsf3.S,
379 config/arc/ieee-754/arc600-mul64/divdf3.S,
380 config/arc/ieee-754/arc600-mul64/divsf3.S,
381 config/arc/ieee-754/arc600-mul64/muldf3.S,
382 config/arc/ieee-754/arc600-mul64/mulsf3.S,
383 config/arc/ieee-754/arc600/divsf3.S,
384 config/arc/ieee-754/arc600/mulsf3.S,
385 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
386 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
387 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
388 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
389 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
390 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
391 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
392 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
393 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
394 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
395 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
396 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
397 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
398 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
399 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
400 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
401 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
402 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
403 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
404 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
405 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
406 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
407 vtv_start_preinit.c: Use the standard form for the copyright notice.
409 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
410 Chung-Lin Tang <cltang@codesourcery.com>
411 Based on patches from Altera Corporation
413 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
414 * config/nios2/lib2-nios2.h: New file.
415 * config/nios2/lib2-divmod-hi.c: New file.
416 * config/nios2/linux-unwind.h: New file.
417 * config/nios2/lib2-divmod.c: New file.
418 * config/nios2/linux-atomic.c: New file.
419 * config/nios2/t-nios2: New file.
420 * config/nios2/crti.asm: New file.
421 * config/nios2/t-linux: New file.
422 * config/nios2/lib2-divtable.c: New file.
423 * config/nios2/lib2-mul.c: New file.
424 * config/nios2/tramp.c: New file.
425 * config/nios2/crtn.asm: New file.
427 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
429 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
430 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
431 from cpuid.h to check vendor signatures.
433 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
435 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
436 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
437 (get_amd_cpu): Likewise.
439 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
441 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
444 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
445 H.J. Lu <hongjiu.lu@intel.com>
448 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
450 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
451 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
452 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
453 FEATURE_XOP and FEATURE_FMA.
454 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
456 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
457 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
458 FEATURE_FMA4 and FEATURE_XOP.
460 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
462 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
463 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
464 (get_intel_cpu): Updated.
466 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
468 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
470 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
472 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
473 instructions when __SSE_MATH__ is defined.
475 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
477 * config.host (microblaze-*-rtems*): New.
479 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
481 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
482 architectures that do not have hardware divide instruction.
483 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
485 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
487 * longlong.h: Delete (moved to include/).
489 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
491 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
492 of normal number and qNaN to not raise an inexact exception.
494 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
496 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
498 2013-11-28 Matthew Leach <matthew.leach@arm.com>
500 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
501 for correct opcodes on BE.
503 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
505 * soft-fp/op-4.h: Update from glibc.
507 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
509 * libgcc2.c (__udivmoddi4): Define new implementation when
510 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
513 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
515 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
517 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
519 * config/t-softfp (soft-fp-objects-base): New variable.
520 (soft-fp-objects): Use it.
522 2013-11-23 David Edelson <dje.gcc@gmail.com>
523 Andrew Dixie <andrewd@gentrack.com>
526 * config/rs6000/aixinitfini.c: New file.
527 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
528 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
531 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
533 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
535 2013-11-18 Jan Hubicka <jh@suse.cz>
537 * libgcov-driver.c (run_accounted): Make global level static.
538 (gcov_exit_merge_summary): Silence warning; do not clear
540 (gcov_exit): Clear it here.
542 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
545 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
546 (all_prg, crc32): Remove static vars.
547 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
549 (gcov_exit_merge_gcda): Add crc32 parameter.
550 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
551 do not account run if it was already accounted.
552 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
553 (gcov_exit): Initialize all_prg; update.
555 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
557 * configure: Regenerate.
559 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
560 Alan Modra <amodra@gmail.com>
562 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
563 (frob_update_context): Use it.
565 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
566 Alan Modra <amodra@gmail.com>
568 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
569 (trampoline_initial): Provide ELFv2 variant.
570 (__trampoline_setup): Likewise.
572 * config/rs6000/linux-unwind.h (frob_update_context): Do not
573 check for AIX indirect function call sequence if _CALL_ELF == 2.
575 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
576 Alan Modra <amodra@gmail.com>
578 * config/rs6000/linux-unwind.h (get_regs): Do not support
579 old kernel versions if _CALL_ELF == 2.
580 (frob_update_context): Do not support PLT stub variants only
581 generated by old linkers if _CALL_ELF == 2.
583 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
584 Alan Modra <amodra@gmail.com>
586 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
587 location of CR save area for 64-bit little-endian systems.
589 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
591 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
593 * config/arm/t-vxworks: Delete.
595 2013-11-10 Kai Tietz <ktietz@redhat.com>
597 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
598 Increment load-count on use of LIBGCC_SONAME DLL.
599 (hmod_libgcc): New static variable to hold handle of
601 (__gcc_deregister_frame): Decrement load-count of
604 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
606 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
608 * configure: Regenerate
610 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
612 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
613 FP_EX_DENORM. Store result to volatile location after SSE division
614 to close interrupt window. Remove unneeded fwait after x87
615 division since interrupt window will be closed by emitted fstp.
616 Rewrite FP_EX_INEXACT handling.
618 2013-11-06 Joseph Myers <joseph@codesourcery.com>
620 * soft-fp/README: Update.
621 * soft-fp/adddf3.c: Update from glibc.
622 * soft-fp/addsf3.c: Likewise.
623 * soft-fp/addtf3.c: Likewise.
624 * soft-fp/divdf3.c: Likewise.
625 * soft-fp/divsf3.c: Likewise.
626 * soft-fp/divtf3.c: Likewise.
627 * soft-fp/double.h: Likewise.
628 * soft-fp/eqdf2.c: Likewise.
629 * soft-fp/eqsf2.c: Likewise.
630 * soft-fp/eqtf2.c: Likewise.
631 * soft-fp/extenddftf2.c: Likewise.
632 * soft-fp/extended.h: Likewise.
633 * soft-fp/extendsfdf2.c: Likewise.
634 * soft-fp/extendsftf2.c: Likewise.
635 * soft-fp/extendxftf2.c: Likewise.
636 * soft-fp/fixdfdi.c: Likewise.
637 * soft-fp/fixdfsi.c: Likewise.
638 * soft-fp/fixdfti.c: Likewise.
639 * soft-fp/fixsfdi.c: Likewise.
640 * soft-fp/fixsfsi.c: Likewise.
641 * soft-fp/fixsfti.c: Likewise.
642 * soft-fp/fixtfdi.c: Likewise.
643 * soft-fp/fixtfsi.c: Likewise.
644 * soft-fp/fixtfti.c: Likewise.
645 * soft-fp/fixunsdfdi.c: Likewise.
646 * soft-fp/fixunsdfsi.c: Likewise.
647 * soft-fp/fixunsdfti.c: Likewise.
648 * soft-fp/fixunssfdi.c: Likewise.
649 * soft-fp/fixunssfsi.c: Likewise.
650 * soft-fp/fixunssfti.c: Likewise.
651 * soft-fp/fixunstfdi.c: Likewise.
652 * soft-fp/fixunstfsi.c: Likewise.
653 * soft-fp/fixunstfti.c: Likewise.
654 * soft-fp/floatdidf.c: Likewise.
655 * soft-fp/floatdisf.c: Likewise.
656 * soft-fp/floatditf.c: Likewise.
657 * soft-fp/floatsidf.c: Likewise.
658 * soft-fp/floatsisf.c: Likewise.
659 * soft-fp/floatsitf.c: Likewise.
660 * soft-fp/floattidf.c: Likewise.
661 * soft-fp/floattisf.c: Likewise.
662 * soft-fp/floattitf.c: Likewise.
663 * soft-fp/floatundidf.c: Likewise.
664 * soft-fp/floatundisf.c: Likewise.
665 * soft-fp/floatunditf.c: Likewise.
666 * soft-fp/floatunsidf.c: Likewise.
667 * soft-fp/floatunsisf.c: Likewise.
668 * soft-fp/floatunsitf.c: Likewise.
669 * soft-fp/floatuntidf.c: Likewise.
670 * soft-fp/floatuntisf.c: Likewise.
671 * soft-fp/floatuntitf.c: Likewise.
672 * soft-fp/gedf2.c: Likewise.
673 * soft-fp/gesf2.c: Likewise.
674 * soft-fp/getf2.c: Likewise.
675 * soft-fp/ledf2.c: Likewise.
676 * soft-fp/lesf2.c: Likewise.
677 * soft-fp/letf2.c: Likewise.
678 * soft-fp/muldf3.c: Likewise.
679 * soft-fp/mulsf3.c: Likewise.
680 * soft-fp/multf3.c: Likewise.
681 * soft-fp/negdf2.c: Likewise.
682 * soft-fp/negsf2.c: Likewise.
683 * soft-fp/negtf2.c: Likewise.
684 * soft-fp/op-1.h: Likewise.
685 * soft-fp/op-2.h: Likewise.
686 * soft-fp/op-4.h: Likewise.
687 * soft-fp/op-8.h: Likewise.
688 * soft-fp/op-common.h: Likewise.
689 * soft-fp/quad.h: Likewise.
690 * soft-fp/single.h: Likewise.
691 * soft-fp/soft-fp.h: Likewise.
692 * soft-fp/subdf3.c: Likewise.
693 * soft-fp/subsf3.c: Likewise.
694 * soft-fp/subtf3.c: Likewise.
695 * soft-fp/truncdfsf2.c: Likewise.
696 * soft-fp/trunctfdf2.c: Likewise.
697 * soft-fp/trunctfsf2.c: Likewise.
698 * soft-fp/trunctfxf2.c: Likewise.
699 * soft-fp/unorddf2.c: Likewise.
700 * soft-fp/unordsf2.c: Likewise.
701 * soft-fp/unordtf2.c: Likewise.
703 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
705 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
706 (_FP_MUL_MEAT_D): Ditto.
707 (_FP_DIV_MEAT_S): Ditto.
708 (_FP_DIV_MEAT_D): Ditto.
709 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
710 t-softfp-sfdf and t-softfp to tmake_file.
712 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
714 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
715 * config/i386/crtprec.c: Ditto.
717 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
718 Shiva Chen <shiva0217@gmail.com>
720 * config.host (nds32*-elf*): Add nds32 target.
721 * config/nds32 : New directory and files.
723 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
725 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
726 * config.host (cpu_type) <Setting default>: Add entry for
728 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
729 <crisv32-*-linux*>: Adjust.
730 * longlong.h: Wrap the whole CRIS section in a single
731 defined(__CRIS__) conditional. Add comment about add_ssaaaa
733 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
735 [__CRIS__] (__umulsidi3): Define.
736 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
737 * config/cris/sfp-machine.h: New file.
738 * config/cris/umulsidi3.S: New file.
739 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
740 * config/cris/arit.c (SIGNMULT): New macro.
741 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
742 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
743 saving 3 out of originally 33 cycles from the fastest
744 path, 3 out of 54 from the medium path and one from the longest
745 path. Improve comments.
747 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
749 * sync.c: Remove static aliases and define each function directly
752 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
754 * config.host (hppa*64*-*-linux*): Define extra_parts.
755 (hppa*-*-linux*): Likewise.
757 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
759 * config/arc/crtgend.S: Add 2013 to Copyright years.
760 * config/arc/gmon/atomic.h: Likewise.
761 * config/arc/gmon/auxreg.h: Likewise.
762 * config/arc/gmon/sys/gmon_out.h: Likewise.
763 * config/arc/gmon/sys/gmon.h: Likewise.
764 * config/arc/gmon/prof-freq.c: Likewise.
765 * config/arc/gmon/mcount.c: Likewise.
766 * config/arc/gmon/prof-freq-stub.S: Likewise.
767 * config/arc/gmon/gmon.c: Likewise.
768 * config/arc/gmon/machine-gmon.h: Likewise.
769 * config/arc/gmon/profil.S: Likewise.
770 * config/arc/gmon/dcache_linesz.S: Likewise.
771 * config/arc/crtg.S: Likewise.
772 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
773 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
774 * config/arc/ieee-754/adddf3.S: Likewise.
775 * config/arc/ieee-754/truncdfsf2.S: Likewise.
776 * config/arc/ieee-754/fixsfsi.S: Likewise.
777 * config/arc/ieee-754/gtsf2.S: Likewise.
778 * config/arc/ieee-754/floatsisf.S: Likewise.
779 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
780 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
781 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
782 * config/arc/ieee-754/fixdfsi.S: Likewise.
783 * config/arc/ieee-754/addsf3.S: Likewise.
784 * config/arc/ieee-754/gesf2.S: Likewise.
785 * config/arc/ieee-754/floatsidf.S: Likewise.
786 * config/arc/ieee-754/extendsfdf2.S: Likewise.
787 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
788 * config/arc/ieee-754/gtdf2.S: Likewise.
789 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
790 * config/arc/ieee-754/uneqdf2.S: Likewise.
791 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
792 * config/arc/ieee-754/uneqsf2.S: Likewise.
793 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
794 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
795 * config/arc/ieee-754/eqdf2.S: Likewise.
796 * config/arc/ieee-754/ordsf2.S: Likewise.
797 * config/arc/ieee-754/divsf3.S: Likewise.
798 * config/arc/ieee-754/divdf3.S: Likewise.
799 * config/arc/ieee-754/floatunsidf.S: Likewise.
800 * config/arc/ieee-754/orddf2.S: Likewise.
801 * config/arc/ieee-754/eqsf2.S: Likewise.
802 * config/arc/ieee-754/gedf2.S: Likewise.
803 * config/arc/crtn.S: Likewise.
804 * config/arc/crti.S: Likewise.
805 * config/arc/t-arc700-uClibc: Likewise.
806 * config/arc/asm.h: Likewise.
807 * config/arc/libgcc-excl.ver: Likewise.
808 * config/arc/t-arc-newlib: Likewise.
809 * config/arc/divtab-arc700.c: Likewise.
810 * config/arc/initfini.c: Likewise.
811 * config/arc/fp-hack.h: Likewise.
813 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
814 Diego Novillo <dnovillo@google.com>
816 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
817 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
818 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
819 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
821 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
822 Brendan Kehoe <brendan@zen.org>
823 Simon Cook <simon.cook@embecosm.com>
825 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
826 * config/arc: New directory.
827 * longlong.h [__arc__] (umul_ppmm): Remove.
828 [__arc__] (__umulsidi3): Define.
829 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
830 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
832 2013-09-17 Jacek Caban <jacek@codeweavers.com>
834 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
836 * config/i386/gthr-win32.h: Likewise.
838 2013-09-16 DJ Delorie <dj@redhat.com>
840 * config/rl78/vregs.h: Add G10 register definitions.
841 * config/rl78/lib2mul.c: Enable for RL78/G10.
842 * config/rl78/lib2div.c: Likewise.
843 * config/rl78/lshrsi3.S: Use vregs.h.
844 * config/rl78/cmpsi2.S: Likewise.
845 * config/rl78/trampoline.S: Likewise.
846 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
848 2013-09-14 DJ Delorie <dj@redhat.com>
849 Nick Clifton <nickc@redhat.com>
851 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
852 * config/rl78/vregs.h: New.
853 * config/rl78/signbit.S: New file. Implements signbit function.
854 * config/rl78/divmodsi.S: New.
855 * config/rl78/divmodhi.S: New.
856 * config/rl78/divmodqi.S: New.
857 * config/rl78/t-rl78: Build them here...
858 * config/rl78/lib2div.c: ...but not here.
860 2013-09-12 DJ Delorie <dj@redhat.com>
862 * config.host (msp*-*-elf): New.
863 * config/msp430/: New port.
865 2013-08-18 Iain Sandoe <iain@codesourcery.com>
867 PR gcov-profile/58127
868 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
869 __thread var for emulated TLS.
870 (__gcov_indirect_call_counters): Likewise.
872 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
873 Catherine Moore <clm@codesourcery.com>
874 Richard Sandiford <rdsandiford@googlemail.com>
876 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
877 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
878 (CALL_STUB_NO_RET): Likewise.
879 (CALL_STUB_RET): Likewise.
880 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
881 __mips16_ret call/return stub symbols.
882 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
885 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
887 * config.host <mips*-*-linux*>: Remove a stray comment.
889 2013-08-10 Jan Hubicka <jh@suse.cz>
891 Work around binutils PR14342
892 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
893 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
894 (L_gcov_indirect_call_profiler_v2): New.
896 2013-08-06 Jan Hubicka <jh@suse.cz>
898 * libgcov.c (__gcov_indirect_call_callee,
899 __gcov_indirect_call_counters): New global vars.
900 (__gcov_indirect_call_profiler): replace by ...
901 (__gcov_indirect_call_profiler_v2) ... this one.
903 2013-08-06 Caroline Tice <cmtice@google.com>
905 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
906 vtv_start_preinit.o and vtv_end_preinit.o.
907 * configure.ac: Add code to check/set enable_vtable_verify.
908 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
910 * vtv_start_preinit.c: New file.
911 * vtv_end_preinit.c: New file.
912 * vtv_start.c: New file.
913 * vtv_end.c: New file.
914 * configure: Regenerated.
916 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
918 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
919 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
920 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
921 GPL-3.0-with-GCC-exception.
923 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
925 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
928 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
930 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
931 mapping for FPRs when creating the fallback framestate.
933 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
936 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
937 (__round_s2_const, __round_u2_const)
938 (__round_s4_const, __round_u4_const, __round_x8):
939 Saturate result if addition result cannot be represented.
941 2013-07-15 Matthias Klose <doko@ubuntu.com>
943 * libgcc2.c: Don't include <limits.h>.
945 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
947 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
949 2013-07-06 Jakub Jelinek <jakub@redhat.com>
952 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
954 2013-06-28 Jakub Jelinek <jakub@redhat.com>
957 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
959 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
960 instead of table lookups.
961 (__popcountDI2): Likewise.
963 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
965 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
968 2013-06-21 Joseph Myers <joseph@codesourcery.com>
971 * soft-fp/adddf3.c: Update from glibc.
972 * soft-fp/addsf3.c: Likewise.
973 * soft-fp/addtf3.c: Likewise.
974 * soft-fp/divdf3.c: Likewise.
975 * soft-fp/divsf3.c: Likewise.
976 * soft-fp/divtf3.c: Likewise.
977 * soft-fp/double.h: Likewise.
978 * soft-fp/eqdf2.c: Likewise.
979 * soft-fp/eqsf2.c: Likewise.
980 * soft-fp/eqtf2.c: Likewise.
981 * soft-fp/extenddftf2.c: Likewise.
982 * soft-fp/extended.h: Likewise.
983 * soft-fp/extendsfdf2.c: Likewise.
984 * soft-fp/extendsftf2.c: Likewise.
985 * soft-fp/fixdfdi.c: Likewise.
986 * soft-fp/fixdfsi.c: Likewise.
987 * soft-fp/fixsfdi.c: Likewise.
988 * soft-fp/fixsfsi.c: Likewise.
989 * soft-fp/fixtfdi.c: Likewise.
990 * soft-fp/fixtfsi.c: Likewise.
991 * soft-fp/fixunsdfdi.c: Likewise.
992 * soft-fp/fixunsdfsi.c: Likewise.
993 * soft-fp/fixunssfdi.c: Likewise.
994 * soft-fp/fixunssfsi.c: Likewise.
995 * soft-fp/fixunstfdi.c: Likewise.
996 * soft-fp/fixunstfsi.c: Likewise.
997 * soft-fp/floatdidf.c: Likewise.
998 * soft-fp/floatdisf.c: Likewise.
999 * soft-fp/floatditf.c: Likewise.
1000 * soft-fp/floatsidf.c: Likewise.
1001 * soft-fp/floatsisf.c: Likewise.
1002 * soft-fp/floatsitf.c: Likewise.
1003 * soft-fp/floatundidf.c: Likewise.
1004 * soft-fp/floatundisf.c: Likewise.
1005 * soft-fp/floatunditf.c: Likewise.
1006 * soft-fp/floatunsidf.c: Likewise.
1007 * soft-fp/floatunsisf.c: Likewise.
1008 * soft-fp/floatunsitf.c: Likewise.
1009 * soft-fp/gedf2.c: Likewise.
1010 * soft-fp/gesf2.c: Likewise.
1011 * soft-fp/getf2.c: Likewise.
1012 * soft-fp/ledf2.c: Likewise.
1013 * soft-fp/lesf2.c: Likewise.
1014 * soft-fp/letf2.c: Likewise.
1015 * soft-fp/muldf3.c: Likewise.
1016 * soft-fp/mulsf3.c: Likewise.
1017 * soft-fp/multf3.c: Likewise.
1018 * soft-fp/negdf2.c: Likewise.
1019 * soft-fp/negsf2.c: Likewise.
1020 * soft-fp/negtf2.c: Likewise.
1021 * soft-fp/op-1.h: Likewise.
1022 * soft-fp/op-2.h: Likewise.
1023 * soft-fp/op-4.h: Likewise.
1024 * soft-fp/op-8.h: Likewise.
1025 * soft-fp/op-common.h: Likewise.
1026 * soft-fp/quad.h: Likewise.
1027 * soft-fp/single.h: Likewise.
1028 * soft-fp/soft-fp.h: Likewise.
1029 * soft-fp/subdf3.c: Likewise.
1030 * soft-fp/subsf3.c: Likewise.
1031 * soft-fp/subtf3.c: Likewise.
1032 * soft-fp/truncdfsf2.c: Likewise.
1033 * soft-fp/trunctfdf2.c: Likewise.
1034 * soft-fp/trunctfsf2.c: Likewise.
1035 * soft-fp/unorddf2.c: Likewise.
1036 * soft-fp/unordsf2.c: Likewise.
1037 * soft-fp/unordtf2.c: Likewise.
1038 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
1039 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1040 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1041 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1042 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1043 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1044 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1045 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1046 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1047 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
1048 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
1049 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1051 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
1053 * config/mips/lib2funcs.c: New file.
1054 * config/mips/t-mips (LIB2ADD_ST): Add it.
1056 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
1059 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
1060 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
1062 2013-06-08 Walter Lee <walt@tilera.com>
1064 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
1065 Replace int64_t with long long. Add __extension__ where
1067 * config/tilepro/atomic.c: Include config.h.
1069 2013-06-06 Douglas B Rupp <rupp@adacore.com>
1071 * config.host (arm-wrs-vxworks): Configure with other soft float.
1073 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
1075 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
1076 (mips64r5900el-*-elf*): New configurations.
1078 2013-06-04 Alan Modra <amodra@gmail.com>
1080 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
1082 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
1084 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
1086 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
1088 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
1089 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
1090 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
1092 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
1094 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
1095 (powerpc-wrs-vxworks): Likewise.
1097 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
1099 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
1100 signal frames as well.
1101 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
1102 STACK_BIAS to the CFA offset.
1104 2013-05-17 Richard Henderson <rth@redhat.com>
1107 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
1108 (execute_cfa_program): Use it when storing to fs->regs.
1110 2013-05-08 Kai Tietz <ktietz@redhat.com>
1112 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
1113 (__deregister_frame_info): Likewise.
1115 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
1117 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
1120 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
1122 2013-04-25 Alan Modra <amodra@gmail.com>
1124 * config.host: Match little-endian powerpc-linux.
1126 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
1128 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
1129 as 'unsigned long long' instead of 'unsigned long'.
1130 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
1133 2013-04-10 Julian Brown <julian@codesourcery.com>
1135 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
1136 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
1137 unsigned char/unsigned short.
1138 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
1140 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1143 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
1145 2013-04-04 Meador Inge <meadori@codesourcery.com>
1147 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
1148 computing the location of the link register.
1149 (aeabi_uldivmod): Ditto.
1151 2013-03-27 Kai Tietz <ktietz@redhat.com>
1153 * config.host: Add support for cygwin x64 target.
1154 * configure: Regenerated.
1156 2013-03-26 Walter Lee <walt@tilera.com>
1158 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
1159 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
1161 2013-03-25 Kai Tietz <ktietz@redhat.com>
1163 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
1165 2013-03-20 Robert Mason <rbmj@verizon.net>
1167 * config/vxlib-tls.c (__gthread_get_tsd_data,)
1168 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
1169 (__gthread_leave_tsd_dtor_context): Add prototypes.
1170 (tls_delete_hook): Update.
1172 2013-03-20 Catherine Moore <clm@codesourcery.com>
1173 Joseph Myers <joseph@codesourcery.com>
1174 Chao-ying Fu <fu@mips.com>
1176 * config/mips/mips16.S: Don't build for microMIPS.
1177 * config/mips/linux-unwind.h: Handle microMIPS frame.
1178 * config/mips/crtn.S (fini, init): New labels.
1180 2013-03-14 Jakub Jelinek <jakub@redhat.com>
1182 PR tree-optimization/53265
1183 * unwind-dw2.c (execute_cfa_program): Avoid
1184 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
1185 on targets with DWARF_FRAME_REGISTERS < 32.
1187 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
1190 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
1191 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
1193 2013-03-07 Sriraman Tallam <tmsriram@google.com>
1195 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
1196 sandybridge processors.
1198 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
1201 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
1204 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
1206 * config/microblaze/crti.S: Setup stack protection at entry
1208 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
1210 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
1211 (__rotldi3): Shift bytewise if applicable.
1213 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
1215 * config/aarch64/sync-cache.c
1216 (__aarch64_sync_cache_range): Silence warnings.
1218 2013-02-25 Catherine Moore <clm@codesourcery.com>
1221 2013-02-24 Catherine Moore <clm@codesourcery.com>
1222 Joseph Myers <joseph@codesourcery.com>
1223 Chao-ying Fu <fu@mips.com>
1225 * config/mips/mips16.S: Don't build for microMIPS.
1226 * config/mips/linux-unwind.h: Handle microMIPS frame.
1227 * config/mips/crtn.S (fini, init): New labels.
1229 2013-02-24 Catherine Moore <clm@codesourcery.com>
1230 Joseph Myers <joseph@codesourcery.com>
1231 Chao-ying Fu <fu@mips.com>
1233 * config/mips/mips16.S: Don't build for microMIPS.
1234 * config/mips/linux-unwind.h: Handle microMIPS frame.
1235 * config/mips/crtn.S (fini, init): New labels.
1237 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
1238 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
1241 2013-02-16 Alan Modra <amodra@gmail.com>
1244 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
1245 (ppc_fallback_frame_state): Always set up save locations for fp
1246 and altivec. Don't bother with non-callee-saved regs, r0-r13
1247 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
1249 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
1252 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
1254 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
1255 _ssmulha3, _usmulusa3, _ssmulsa3.
1256 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
1257 (__muldi3): XCALL __muldi3_6 instead of rcall.
1258 (__umulsidi3, __mulsidi3): New functions.
1259 (do_prologue_saves, do_epilogue_restores): New .macros.
1260 (__divdi3_moddi3): Use them.
1261 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
1262 (__usmulusa3, __ssmulsa3): New functions.
1264 2013-02-11 Iain Sandoe <iain@codesourcery.com>
1265 Jack Howarth <howarth@bromo.med.uc.edu>
1266 Patrick Marlier <patrick.marlier@gmail.com>
1269 * config/darwin-crt-tm.c: Remove dummy functions hack.
1271 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
1274 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
1275 * config/avr/lib2-object.mk: New iterator to build objects from it.
1276 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
1278 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
1279 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
1280 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
1281 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
1282 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
1283 * config/avr/lib1funcs-fixed.S: Implement them.
1285 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
1287 Update copyright years.
1289 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
1292 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
1293 Add crtcxa to extra_parts.
1294 * config/rs6000/exit.h: New file.
1295 * config/rs6000/cxa_atexit.c: New file.
1296 * config/rs6000/cxa_finalize.c: New file.
1297 * config/rs6000/crtcxa.c: New file.
1298 * config/rs6000/t-aix-cxa: New file.
1299 * config/rs6000/libgcc-aix-cxa.ver: New file.
1301 2013-01-31 Nick Clifton <nickc@redhat.com>
1303 * config/v850/lib1funcs.S: Add support for e3v5 architecture
1306 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
1309 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
1310 _mulQQ, _mulHQ, _mulHA, _mulSA,
1311 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
1312 _divQQ, _divHQ, _divHA, _divSA,
1313 _divUQQ, _divUHQ, _divUHA, _divUSA.
1315 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
1317 * config.host(microblaze*-linux*): tmake_file: Remove
1318 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
1319 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
1320 to exclude functions from being built with libgcc.c and use
1321 the microblaze assembly.
1323 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
1325 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
1328 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
1330 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
1331 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
1332 __UINTPTR_TYPE__; also cast 'base' to the same type before the
1333 alignment operation.
1335 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
1337 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
1338 loop start address for cache clearing.
1340 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
1342 * config/avr/lib1funcs.S: Remove trailing blanks.
1343 * config/avr/lib1funcs-fixed.S: Ditto.
1345 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
1347 * config/avr/avr-lib.h: Add GPL copyright notice.
1349 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
1351 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
1352 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
1353 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
1354 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
1356 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
1358 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
1359 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
1361 2013-01-04 Nick Clifton <nickc@redhat.com>
1363 * config/v850/lib1funcs.S: Only provide CALLT support functions if
1364 the CALLT instruction is supported.
1366 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
1368 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
1369 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
1371 2012-12-13 John Tytgat <John@bass-software.com>
1373 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
1376 2012-12-12 Jakub Jelinek <jakub@redhat.com>
1379 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
1380 undefined signed overflows.
1382 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
1385 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
1387 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
1389 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
1390 (FP_TRAPPING_EXCEPTIONS): Define.
1391 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
1392 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
1394 2012-12-04 Richard Henderson <rth@redhat.com>
1397 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
1399 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
1401 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
1402 (FP_EX_SHIFT): Define.
1403 (FP_TRAPPING_EXCEPTIONS): Define.
1405 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
1407 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
1408 (FP_ROUNDMODE): Use FP_RND_MASK.
1409 * config/aarch64/sfp-exceptions.c: New.
1410 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1411 Use __sfp_handle_exceptions.
1413 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
1415 * config.host: (arm*-*-freebsd*): Remove.
1416 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
1417 (arm*-*-elf*): Remove.
1418 (arm*-*-wince-pe*): Remove.
1419 * arm/unwind-arm.c (struct fpa_reg): Delete.
1420 (struct fpa_regs): Delete.
1421 (phase1_vrs): Remove fpa element.
1422 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
1423 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
1424 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
1425 * ieee754-sf.S (floatundisf): Remove FPA support.
1426 (floatdisf): Likewise.
1427 * ieee75f-df.S (floatundidf): Likewise.
1428 (floatdidf): Likewise.
1430 2012-11-29 Kai Tietz <ktietz@redhat.com>
1433 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
1434 * unwind-generic.h: Likewise.
1435 * unwind-seh.c: Likewise.
1437 2012-11-28 Richard Henderson <rth@redhat.com>
1440 * emutls.c (__emutls_get_address): Avoid race condition between
1441 obj->loc.offset read and emutls_key initialization.
1443 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
1445 Adjust decimal point of signed accum mode to GCC default.
1448 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
1450 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
1451 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
1452 (__mulha3, __mulsa3)
1453 (__divqq3, __divha3, __divsa3): Adjust to new position of
1454 decimal point of signed accum types.
1456 (__mulusa3_round): New function.
1457 (__mulusa3): Use it.
1458 (__divqq_helper): New function.
1459 (__udivuqq3): Use it.
1461 2012-11-20 Jakub Jelinek <jakub@redhat.com>
1464 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
1466 2012-11-18 Teresa Johnson <tejohnson@google.com>
1469 * libgcov.c (gcov_exit): Remove merged program summary
1470 comparison unless !GCOV_LOCKED.
1472 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
1474 * soft-fp: Updated from glibc upstream.
1476 2012-11-06 Ian Lance Taylor <iant@google.com>
1478 * generic-morestack.c (__generic_morestack): Align the returned
1479 stack pointer to a 32 byte boundary.
1480 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
1481 increment the return address until we have decided that we don't
1482 have a varargs function.
1483 (__morestack) [32-bit]: Align stack correctly when calling C
1485 (__morestack) [64-bit]: Likewise.
1487 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1489 * configure: Regenerate.
1491 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
1494 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
1495 * config/i386/sfp-machine.h: Guard exception handling
1496 code with _SOFT_FLOAT.
1497 * config/i386/32/sfp-machine.h: Guard rounding handling
1498 code with _SOFT_FLOAT.
1499 * config/i386/64/sfp-machine.h: Ditto.
1501 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
1503 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
1506 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
1508 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
1509 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
1510 when appropriate. Correct structure element types.
1511 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
1512 -minline-all-stringops from compile flags.
1514 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
1516 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
1518 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
1520 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
1522 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1524 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
1527 2012-10-23 Ian Bolton <ian.bolton@arm.com>
1528 Jim MacArthur <jim.macarthur@arm.com>
1529 Marcus Shawcroft <marcus.shawcroft@arm.com>
1530 Nigel Stephens <nigel.stephens@arm.com>
1531 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1532 Richard Earnshaw <rearnsha@arm.com>
1533 Sofiane Naci <sofiane.naci@arm.com>
1534 Stephen Thomas <stephen.thomas@arm.com>
1535 Tejas Belagod <tejas.belagod@arm.com>
1536 Yufeng Zhang <yufeng.zhang@arm.com>
1538 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
1539 * config/aarch64/crti.S: New file.
1540 * config/aarch64/crtn.S: New file.
1541 * config/aarch64/linux-unwind.h: New file.
1542 * config/aarch64/sfp-machine.h: New file.
1543 * config/aarch64/sync-cache.c: New file.
1544 * config/aarch64/t-aarch64: New file.
1545 * config/aarch64/t-softfp: New file.
1547 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
1549 * config/mmix/crti.S: Mark program and data addresses using PRELD.
1550 Remove typo'd and unnecessary alignment-LOC for .data. Remove
1551 no-longer-needed LDBU insns.
1553 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
1556 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
1557 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
1559 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1561 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
1563 2012-10-15 Matthias Klose <doko@ubuntu.com>
1565 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
1567 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
1569 * configure: Regenerate.
1570 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
1572 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
1574 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1575 instructions for 64bit targets only.
1577 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
1579 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
1580 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
1581 * config/i386/32/sfp-machine.h: ... here.
1582 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1583 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
1586 2012-10-07 Matthias Klose <doko@ubuntu.com>
1588 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
1590 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
1592 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
1594 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
1595 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
1596 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
1599 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
1602 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
1603 Fix parameter names.
1605 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
1608 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
1609 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
1610 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
1612 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
1615 * config/sh/linux-atomic.S: Delete.
1616 * config/sh/linux-atomic.c: New.
1617 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
1618 linux-atomic.c. Add cflags to disable warnings.
1620 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1623 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
1625 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
1626 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
1627 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
1628 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
1629 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
1631 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
1633 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
1635 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
1636 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
1638 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
1640 * config.host (hppa-*-openbsd*): New target.
1641 * config/pa/t-openbsd: New file.
1643 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
1646 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
1647 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
1648 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
1649 (__divsa3): Use __negsi2 to negate r_quoL.
1650 * config/avr/lib1funcs.S (FALIAS): New macro.
1651 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
1652 (__negsi2): ...this new function.
1653 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
1654 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
1655 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
1656 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
1657 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
1658 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
1660 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
1663 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
1664 (lshrsi3): Reimplement as lshrsi3_r0.
1666 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
1669 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
1672 2012-09-07 Teresa Johnson <tejohnson@google.com>
1674 PR gcov-profile/54487
1675 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
1678 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
1681 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
1682 not configured --with-avrlibc=no.
1683 * config/avr/t-avrlibc: New file.
1684 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
1685 (DPBIT_FUNCS): Ditto.
1686 (TPBIT_FUNCS): Ditto.
1688 2012-09-04 Teresa Johnson <tejohnson@google.com>
1690 * libgcov.c (struct gcov_summary_buffer): New structure.
1691 (gcov_histogram_insert): New function.
1692 (gcov_compute_histogram): Ditto.
1693 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
1694 histograms during summary merging.
1696 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
1698 * config.host (x86_64-*-openbsd*): New target.
1700 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
1702 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
1705 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
1708 * config/avr/t-avr (conv_X): Rename to func_X.
1710 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
1713 * config/avr/lib1funcs-fixed.S: New file.
1714 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
1715 after they are used.
1716 (neg2, neg4): New macros.
1717 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
1718 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
1719 (__umulhisi3): Speed up MUL variant if there is enough flash.
1720 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
1722 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
1723 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
1724 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
1725 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
1726 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
1727 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
1728 (LIB2FUNCS_EXCLUDE): Add supported functions.
1730 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
1732 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
1733 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
1735 * fixed-obj.mk: Only expand dependency if $o is not in
1738 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
1740 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
1742 2012-08-22 Joseph Myers <joseph@codesourcery.com>
1744 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
1745 depend on --enable-shared.
1746 ($(lib1asmfuncs-o)): Use %.vis files independent of
1748 * static-object.mk ($(base)$(objext), $(base).vis)
1749 ($(base)_s$(objext)): Use same rules for visibility handling as in
1752 2012-08-21 Ian Lance Taylor <iant@google.com>
1754 * config/i386/morestack.S (__morestack_non_split): Increase amount
1755 of space allocated for non-split code stack.
1757 2012-08-19 Joseph Myers <joseph@codesourcery.com>
1759 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
1760 even if inhibit_libc.
1762 2012-08-17 Julian Brown <julian@codesourcery.com>
1764 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
1765 -fexceptions -fnon-call-exceptions if not defined.
1766 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
1767 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
1769 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
1771 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
1774 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
1776 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
1777 rs6000/t-slibgcc-aix.
1779 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
1781 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
1783 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
1785 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
1787 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
1790 * Makefile.in (version): Replace top_srcdir with srcdir.
1792 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
1794 * Makefile.in (version): set to BASE-VER file from gcc directory.
1796 2012-08-01 Nick Clifton <nickc@redhat.com>
1798 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
1799 Implements __clrsb for an HImode argument.
1801 2012-07-31 Nick Clifton <nickc@redhat.com>
1803 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
1804 Implements __clrsb for an HImode argument.
1805 * config/stormy16/clrsbhi2.c: New file:
1806 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
1808 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
1810 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
1812 2012-07-19 Tristan Gingold <gingold@adacore.com>
1813 Richard Henderson <rth@redhat.com>
1815 * unwind-seh.c: New file.
1816 * unwind-generic.h: Include windows.h for SEH.
1817 (_Unwind_Exception): Use 6 private fields for SEH.
1818 (_GCC_specific_handler): Declare.
1819 * unwind-c.c (__gcc_personality_seh0): New function.
1821 * config/i386/libgcc-cygming.ver: New file.
1822 * config/i386/t-seh-eh: New file.
1823 * config.host (x86_64-*-mingw*): Default to seh.
1825 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
1827 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
1829 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
1831 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
1832 __builtin_expect when checking for exceptions.
1833 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
1835 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
1837 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
1838 function declaration.
1839 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
1841 * config/ia64/sfp-exceptions.c: New.
1842 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
1844 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
1846 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
1847 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
1848 * config/i386/64/sfp-machine: ... (delete here) ...
1849 * config/i386/sfp-machine.h: ... to here.
1850 (FP_EX_MASK): Remove.
1852 (FP_INIT_ROUNDMODE): Declare asm as volatile.
1854 2012-06-11 Sriraman Tallam <tmsriram@google.com>
1856 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
1857 * config/i386/libgcc-sol2.ver: Ditto.
1858 * config/i386/libgcc-glibc.ver: Ditto.
1860 2012-06-11 Roland McGrath <mcgrathr@google.com>
1862 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
1863 If __GLIBC__ is defined, refer to __pthread_key_create instead of
1866 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
1868 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
1869 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
1870 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
1871 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
1872 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
1873 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
1874 * config/i386/64/sfp-machine: ... (delete here) ...
1875 * config/i386/sfp-machine.h: ... to here.
1877 (__sfp_handle_exceptions): New function declaration.
1878 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
1879 * config/i386/sfp-exceptions.c: New.
1880 * config/i386/t-softfp: New.
1881 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
1882 i386/t-softfp to tmake_file.
1884 2012-06-03 David S. Miller <davem@davemloft.net>
1886 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
1889 2012-05-31 David S. Miller <davem@davemloft.net>
1891 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
1892 multiply and divide instructions on 32-bit when V9.
1893 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
1895 2012-05-29 Joseph Myers <joseph@codesourcery.com>
1897 * config/arm/ieee754-df.S: Fix typos.
1898 * config/arm/ieee754-sf.S: Fix typos.
1899 * config/c6x/libunwind.S: Fix typos.
1900 * config/epiphany/udivsi3-float.c: Fix typos.
1901 * config/microblaze/muldi3_hard.S: Fix typos.
1902 * config/picochip/adddi3.S: Fix typos.
1903 * config/picochip/ashlsi3.S: Fix typos.
1904 * config/picochip/ashrsi3.S: Fix typos.
1905 * config/picochip/clzsi2.S: Fix typos.
1906 * config/picochip/cmpsi2.S: Fix typos.
1907 * config/picochip/divmod15.S: Fix typos.
1908 * config/picochip/divmodhi4.S: Fix typos.
1909 * config/picochip/divmodsi4.S: Fix typos.
1910 * config/picochip/longjmp.S: Fix typos.
1911 * config/picochip/lshrsi3.S: Fix typos.
1912 * config/picochip/parityhi2.S: Fix typos.
1913 * config/picochip/popcounthi2.S: Fix typos.
1914 * config/picochip/setjmp.S: Fix typos.
1915 * config/picochip/subdi3.S: Fix typos.
1916 * config/picochip/ucmpsi2.S: Fix typos.
1917 * config/picochip/udivmodhi4.S: Fix typos.
1918 * config/picochip/udivmodsi4.S: Fix typos.
1919 * config/spu/divv2df3.c: Fix typos.
1920 * config/spu/mfc_multi_tag_release.c: Fix typos.
1921 * config/spu/mfc_tag_release.c: Fix typos.
1922 * configure.ac: Fix typos.
1923 * configure: Regenerate.
1925 2012-05-25 Ian Lance Taylor <iant@google.com>
1927 * config/i386/morestack.S (__morestack_non_split): Check whether
1928 caller is varargs and needs %bp to hold the stack frame on return.
1930 2012-05-25 Olivier Hainque <hainque@adacore.com>
1932 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
1933 sequence in the non pic case on VxWorks.
1935 2012-05-24 Olivier Hainque <hainque@adacore.com>
1937 * Makefile.in: Move dependency on install-unwind_h from
1938 "install-leaf" to "install".
1940 2012-05-24 Olivier Hainque <hainque@adacore.com>
1942 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
1943 Use a separate command for stamp removals.
1945 2012-05-21 Andrew Pinski <apinski@cavium.com>
1948 * configure.ac: Define the default includes to being none.
1949 * configure: Regenerate.
1951 2012-05-16 Olivier Hainque <hainque@adacore.com>
1953 * Makefile.in (install-unwind_h): Rename into ...
1954 (install-unwind_h-forbuild): New target.
1955 (all): Use it instead of the former install-unwind_h.
1956 (install-unwind_h): Reinstate, copy to user install destination
1957 for include files, not to the internal gcc object directory one.
1958 (install-leaf): Depend on it.
1960 2012-05-15 Olivier Hainque <hainque@adacore.com>
1962 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
1963 register numbers. LR_REGNO replaces R_LR.
1964 (ucontext_for): New, helper for ...
1965 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
1967 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
1969 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1971 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
1972 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
1973 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
1975 (i[34567]86-*-*, x86_64-*-*): ... here.
1977 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
1978 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
1980 * config/i386/i386-cpuinfo.c: Rename to ...
1981 * config/i386/cpuinfo.c: ... this.
1982 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
1984 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
1985 (libgcc_cv_init_priority): New test.
1986 * configure: Regenerate.
1987 * config.in: New file.
1988 * Makefile.in (clean): Rename config.h to auto-target.h.
1989 (config.h): Likewise.
1990 (stamp-h): Likewise.
1992 * config/i386/cpuinfo.c (auto-target.h): Include.
1993 (CONSTRUCTOR_PRIORITY): Define.
1994 (__cpu_indicator_init): Use it.
1996 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1998 * longlong.h: Use a URL instead of an FSF postal address.
1999 Replace spaces with tab.
2001 2012-05-08 Teresa Johnson <tejohnson@google.com>
2003 * libgcov.c (gcov_clear, __gcov_reset): New functions.
2004 (__gcov_dump): Ditto.
2005 (gcov_dump_complete): New global variable.
2006 (gcov_exit): Export hidden to enable use in L_gcov_dump.
2007 (__gcov_flush): Outline functionality now in gcov_clear.
2008 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
2010 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
2012 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
2013 (mips*-*-linux*): Include mips/t-tpbit when long double is
2016 2012-04-25 Sriraman Tallam <tmsriram@google.com>
2018 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
2019 (get_available_features): New argument. Check for AVX2.
2020 (__cpu_indicator_init): Modify call to get_available_features.
2022 2012-04-25 Alan Modra <amodra@gmail.com>
2024 * config/rs6000/crtsavevr.S: New file.
2025 * config/rs6000/crtrestvr.S: New file.
2026 * config/rs6000/t-savresfgpr: Build the above.
2027 * config/rs6000/t-netbsd: Likewise.
2029 2012-04-24 Sriraman Tallam <tmsriram@google.com>
2031 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
2033 2012-04-24 Sriraman Tallam <tmsriram@google.com>
2035 * libgcc/config/i386/i386-cpuinfo.c: New file.
2036 * libgcc/config/i386/t-cpuinfo: New file.
2037 * libgcc/config.host: Include t-cpuinfo.
2038 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
2040 2012-04-24 Chao-ying Fu <fu@mips.com>
2042 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
2044 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
2046 struct siginfo vs. siginfo_t
2048 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
2049 siginfo_t instead of struct siginfo.
2050 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
2051 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
2052 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
2053 (ia64_handle_unwabi): Likewise.
2054 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
2055 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
2056 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
2057 (sh_fallback_frame_state): Likewise.
2058 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
2059 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
2061 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
2063 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
2066 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
2068 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
2069 if it hasn't been previously saved.
2071 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
2073 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
2076 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
2079 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
2080 instead of __AVR_HAVE_8BIT_SP__.
2082 2012-03-26 Tristan Gingold <gingold@adacore.com>
2084 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
2085 (unw_table_entry): Use unw_word instead of unsigned long.
2086 (_Unwind_FindTableEntry): Likewise.
2087 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
2088 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
2089 (_Unwind_FindTableEntry): Likewise.
2090 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
2091 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
2092 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
2093 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
2094 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
2095 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
2096 (uw_init_context_1, uw_install_context): Likewise.
2097 (unw_word): Move to unwind-ia64.h
2099 2012-03-26 Tristan Gingold <gingold@adacore.com>
2101 * config/vms/vms-ucrt0.c: Update copyright years.
2103 (___gcc_main_flags): Declare.
2104 (__main): Check flags to remap argv and exit code.
2105 * config.host (*-*-*vms*): Adjust extra_parts.
2106 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
2109 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
2111 * arm/lib1funcs.asm (ctzsi2): New function.
2112 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
2113 * arm/t-linux (LIB1ASMFUNCS): Likewise.
2114 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
2115 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
2116 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
2117 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
2119 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
2121 * config.host: Add bits to support powerpc64-*-freebsd*.
2122 * config/rs6000/freebsd-unwind.h: New file.
2123 * config/rs6000/t-freebsd64: New file.
2125 2012-03-20 Richard Guenther <rguenther@suse.de>
2127 PR gcov-profile/52627
2128 * libgcov.c (init_mx): Fix mutex name.
2130 2012-03-16 Tristan Gingold <gingold@adacore.com>
2132 * config/ia64/vms-unwind.h: Remove ulong (and replace
2133 it by unw_reg where used). Define unw_reg with __int64.
2135 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2137 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2139 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
2141 (sparc_is_sighandler): Likewise.
2143 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
2145 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
2148 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2150 * config/arm/crtn.S: Fix typo.
2152 2012-03-13 Richard Guenther <rguenther@suse.de>
2154 * libgcov.c: Remove stdio.h include and NULL un-define.
2156 2012-03-13 Richard Guenther <rguenther@suse.de>
2159 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
2161 2012-03-13 Richard Guenther <rguenther@suse.de>
2163 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
2165 2012-03-13 Richard Guenther <rguenther@suse.de>
2167 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
2168 and __gthread_mutex_init_function definitions.
2170 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2172 * config.host (mips*-*-openbsd*): Remove.
2174 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2176 * config.host: Remove alpha*-dec-osf5.1* handling.
2177 * config/alpha/gthr-posix.c: Remove.
2178 * config/alpha/libgcc-osf5.ver: Remove.
2179 * config/alpha/osf5-unwind.h: Remove.
2180 * config/alpha/t-osf-pthread: Remove.
2181 * config/alpha/t-slibgcc-osf: Remove.
2182 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
2183 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
2184 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
2185 * mkmap-flat.awk: Remove osf_export handling.
2187 2012-03-12 Richard Guenther <rguenther@suse.de>
2189 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
2190 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
2191 (__gthread_mutex_init_function): New function.
2192 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
2195 * libgcov.c: Include gthr.h.
2196 (__gcov_flush_mx): New global variable.
2197 (init_mx, init_mx_once): New functions.
2198 (__gcov_flush): Protect self with a mutex.
2199 (__gcov_fork): Re-initialize mutex after forking.
2200 * unwind-dw2-fde.c: Change condition under which to use
2201 __GTHREAD_MUTEX_INIT_FUNCTION.
2203 2012-03-12 Tristan Gingold <gingold@adacore.com>
2205 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
2206 * config/ia64/t-vms: Likewise.
2208 2012-03-11 Michael Hope <michael.hope@linaro.org>
2210 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
2213 2012-03-07 Walter Lee <walt@tilera.com>
2215 * config/tilepro/atomic.c: Rename "atomic_" prefix to
2217 (atomic_xor): Rename and move definition to
2218 config/tilepro/atomic.h.
2219 (atomic_nand): Ditto.
2220 * config/tilepro/atomic.h: Rename "atomic_" prefix to
2222 (arch_atomic_xor): Move from config/tilepro/atomic.c.
2223 (arch_atomic_nand): Ditto.
2225 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
2228 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
2230 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
2233 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
2236 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
2240 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
2241 if RAMPZ affects reading from RAM.
2242 (__tablejump_elpm__): Ditto.
2244 (__movmemx_hi): Ditto.
2245 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
2246 (__do_global_dtors): Ditto.
2247 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
2248 (__movmemx_hi): Ditto.
2250 2012-03-05 Richard Henderson <rth@redhat.com>
2252 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
2253 [ARM] (count_trailing_zeros): Use the builtin.
2255 2012-03-01 Kai Tietz <ktietz@redhat.com>
2257 * soft-fp: Imported from glibc upstream.
2259 2012-02-28 Kai Tietz <ktietz@redhat.com>
2261 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
2262 for mingw-targets as attribute gcc_struct.
2264 2012-02-28 Ian Lance Taylor <iant@google.com>
2266 * generic-morestack.c (__splitstack_releasecontext): Correct call
2267 to __morestack_release_segments.
2269 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2272 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
2273 for __linux__ when removing signals from __morestack_fullmask.
2275 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
2278 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
2280 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2282 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
2283 instead of HAVE_INITFINI_ARRAY.
2284 * config/ia64/crtend.S: Likewise.
2286 2012-02-20 Kai Tietz <ktietz@redhat.com>
2289 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
2291 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
2292 to w32-unwind.h header.
2294 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
2296 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
2297 (mips*-*-linux*): Remove t-slibgcc-libgcc.
2298 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
2299 * config/mips/mips16.S (__mips16_rdhwr): Delete.
2301 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
2303 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
2305 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
2308 * config/darwin-crt-tm.c: Correct typo.
2310 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
2311 Patrick Marlier <patrick.marlier@gmail.com>
2314 * config/darwin-crt-tm.c: Generate dummy functions.
2316 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
2317 Patrick Marlier <patrick.marlier@gmail.com>
2320 * config/darwin-crt-tm.c (getTMCloneTable): New function.
2321 (__doTMRegistrations): Call it.
2322 (__doTMdeRegistrations): Likewise.
2324 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
2325 Anatoly Sokolov <aesok@post.ru>
2326 Eric Weddington <eric.weddington@atmel.com>
2329 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
2330 (__epilogue_restores__): Ditto.
2332 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
2336 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
2337 Solaris 11 and slightly reformat.
2338 (sparc_is_sighandler): Likewise.
2340 2012-02-14 Walter Lee <walt@tilera.com>
2342 * config.host: Handle tilegx and tilepro.
2343 * config/tilegx/sfp-machine.h: New file.
2344 * config/tilegx/sfp-machine32.h: New file.
2345 * config/tilegx/sfp-machine64.h: New file.
2346 * config/tilegx/t-crtstuff: New file.
2347 * config/tilegx/t-softfp: New file.
2348 * config/tilegx/t-tilegx: New file.
2349 * config/tilepro/atomic.c: New file.
2350 * config/tilepro/atomic.h: New file.
2351 * config/tilepro/linux-unwind.h: New file.
2352 * config/tilepro/sfp-machine.h: New file.
2353 * config/tilepro/softdivide.c: New file.
2354 * config/tilepro/softmpy.S: New file.
2355 * config/tilepro/t-crtstuff: New file.
2356 * config/tilepro/t-tilepro: New file.
2358 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
2362 * gthr-posix.h: Allow static initializer macros to be disabled.
2363 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
2365 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
2367 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
2368 Add t-slibgcc-libgcc to tmake_file.
2369 * config/mips/libgcc-mips16.ver: Revert previous patch.
2370 * config/mips/mips16.S (__mips16_rdhwr): Hide.
2372 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
2373 Jayant R Sonar <jayant.sonar@kpitcummins.com>
2375 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
2376 * config/cr16/crti.S: New file.
2377 * config/cr16/crtlibid.S: New file.
2378 * config/cr16/crtn.S: New file.
2379 * config/cr16/lib1funcs.S: New file.
2380 * config/cr16/t-cr16: New file.
2381 * config/cr16/t-crtlibid: New file.
2382 * config/cr16/unwind-dw2.h: New file.
2383 * config/cr16/unwind-cr16.c: New file.
2384 * config/cr16/divmodhi3.c: New file.
2386 2012-01-25 Alan Modra <amodra@gmail.com>
2388 * config/rs6000/t-linux64: Delete. Move..
2389 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
2390 * config/rs6000/t-linux: ..and libgcc flags to here.
2392 2012-01-22 Douglas B Rupp <rupp@gnat.com>
2394 * config.host (i[34567]86-*-interix3*):
2395 Change triplet to i[34567]86-*-interix[3-9]*.
2396 * configure: Regenerate.
2398 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
2399 Richard Sandiford <rdsandiford@googlemail.com>
2401 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
2402 * config/mips/mips16.S (__mips16_rdhwr): New function.
2403 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
2405 2012-01-11 Nathan Sidwell <nathan@acm.org>
2407 * libgcov.c (__gcov_init): Ignore objects with no functions.
2409 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
2412 Extend __pgmx semantics to linearize memory.
2413 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
2414 * config/avr/lib1funcs.S (__xload_1): New function.
2415 (__movmemx_qi, __movmemx_hi): New functions.
2416 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
2419 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
2421 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
2422 purported sigacthandler address isn't null before dereferencing it.
2423 (sparc_is_sighandler): Likewise.
2425 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
2428 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
2429 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
2430 (sparc_is_sighandler): Likewise.
2431 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
2433 2012-01-06 Tristan Gingold <gingold@adacore.com>
2435 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
2436 compatibility thunks...
2437 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
2438 (crtbeginS.o, crtendS.o): ... and these to ...
2439 * config/ia64/t-ia64-elf: ... this new file.
2440 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
2441 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
2443 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2445 * configure: Regenerate.
2446 * config/s390/t-crtstuff: Remove -fPIC.
2448 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
2451 * enable-execute-stack-mprotect.c (getpagesize): Do not define
2454 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
2457 * config/avr/lib1funcs.S: Remove FIXME comments.
2458 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
2460 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
2462 Implement light-weight DImode support.
2463 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
2464 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
2465 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
2466 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
2468 2011-12-30 Nathan Sidwell <nathan@acm.org>
2470 * libgcov.c (gcov_crc32): Remove global var.
2471 (free_fn_data): New function.
2472 (buffer_fn_data): Pass in filename, more robust error recovery.
2473 (crc32_unsigned): New function.
2474 (gcov_exit): More robust detection of new program. More robust
2476 (__gcov_init): Do not update program's crc here.
2478 2011-12-21 Tristan Gingold <gingold@adacore.com>
2480 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
2482 2011-12-21 Ian Lance Taylor <iant@google.com>
2484 * config/i386/morestack.S: Simplify CFI opcodes throughout.
2486 2011-12-20 Ian Lance Taylor <iant@google.com>
2488 * config/i386/morestack.S (__morestack_non_split): If there is
2489 enough stack space already, don't split. Ask for more stack space
2492 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
2494 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
2496 (_Unwind_DebugHook): New function.
2497 (uw_restore_core_regs): New define.
2498 (unwind_phase2): Use uw_restore_core_regs instead of
2500 (unwind_phase2_forced): Likewise.
2501 (__gnu_Unwind_Resume): Likewise.
2503 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
2505 * config/alpha/linux-unwind.h: Update copyright years.
2506 (MD_FROB_UPDATE_CONTEXT): New define.
2507 (alpha_frob_update_context): New function.
2509 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
2511 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
2512 tmake_file rather replacing it.
2514 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
2516 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
2517 function is not used for PPC64.
2518 (save_world): Amend comments. Update the VRsave mask to reflect the
2520 (rest_world): Update comments, do not clobber r10, do not use r8.
2521 (eh_rest_world_r10): Amend comments, do not use r8.
2522 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
2523 no longer used, move restore of CR and target address to the end of
2526 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
2528 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
2529 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
2531 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
2534 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
2535 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
2537 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
2539 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
2541 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
2544 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
2545 * config/avr/lib1funcs.S (__muldi3): New function.
2547 2011-12-06 Andrew Pinski <apinski@cavium.com>
2549 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
2551 (__frame_dummy_init_array_entry): Likewise.
2553 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
2555 Forward-port from gcc-4_6-branch r181936 2011-12-02.
2559 * config/avr/lib1funcs.S (__prologue_saves__,
2560 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
2561 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
2563 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
2565 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
2567 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2570 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
2571 (_ITM_deregisterTMCloneTable): Likewise.
2572 (__register_frame_info): Fix unused warning.
2573 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
2574 pthread_default_stacksize_np): Likewise.
2575 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
2577 2011-11-29 DJ Delorie <dj@redhat.com>
2579 * config.host (rl78-*-elf): New case.
2580 * config/rl78: New directory for the Renesas RL78.
2582 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
2584 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
2587 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2590 * config/rs6000/t-savresfgpr: New file.
2591 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
2592 $(srcdir)/config/rs6000/eabi.S.
2593 * config/rs6000/t-ppccomm-ldbl: Remove.
2594 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
2596 (powerpc-*-eabispe*): Likewise.
2597 (powerpc-*-eabi*): Likewise.
2598 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2599 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
2600 to tmake_file, remove rs6000/t-ppccomm-ldbl.
2601 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
2603 (powerpc-*-eabisim*): Likewise.
2604 (powerpc-*-elf*): Likewise.
2605 (powerpc-*-eabialtivec*): Likewise.
2606 (powerpc-xilinx-eabi*): Likewise.
2607 (powerpc-*-rtems*): Likewise.
2608 (powerpcle-*-elf*): Likewise.
2609 (powerpcle-*-eabisim*): Likewise.
2610 (powerpcle-*-eabi*): Likewise.
2612 2011-11-27 Ian Lance Taylor <iant@google.com>
2614 * generic-morestack.c (__splitstack_find): Check for NULL old
2616 (__splitstack_resetcontext): New function.
2617 (__splitstack_releasecontext): New function.
2618 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
2620 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
2622 * config/darwin-crt-tm.c: Correct comments, use correct licence.
2624 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
2626 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
2628 2011-11-26 Richard Henderson <rth@redhat.com>
2630 * config/m68k/linux-atomic.c: New file.
2631 * config/m68k/t-linux: New file.
2632 * config.host (m68k-uclinux, m68k-linux): Use it.
2634 2011-11-26 Richard Henderson <rth@redhat.com>
2636 * crtstuff.c (__TMC_LIST__): Mark used not unused.
2637 (__TMC_END__): Only declare if hidden is available; in the definition,
2638 if hidden is unavailable add a null record.
2639 (deregister_tm_clones, register_tm_clones): New.
2640 (__do_global_dtors_aux, frame_dummy): Use them.
2641 (__do_global_dtors, __do_global_ctors_1): Likewise.
2643 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
2645 * config/darwin-crt-tm.c: New file.
2646 * config.host (darwin): Build crttms.o crttme.o to provide
2647 startup and shutdown for tm clones.
2648 * config/t-darwin (crttms.o): New build rule.
2649 (crttme.o): Likewise.
2651 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
2653 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
2656 2011-11-21 Richard Henderson <rth@redhat.com>
2658 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
2659 (__TMC_LIST__, __TMC_END__): New.
2660 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
2661 (__do_global_dtors): Likewise.
2662 (frame_dummy): Call _ITM_registerTMCloneTable.
2663 (__do_global_ctors_1): Likewise.
2665 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2667 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
2668 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2669 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
2670 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
2671 * config/i386/t-darwin64: Remove.
2672 * config/sh/t-netbsd (LIB2ADD): Remove.
2674 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
2677 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
2678 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
2679 * config/avr/lib1funcs.S (wmov): New assembler macro.
2680 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
2681 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
2682 (__udivmod64): New function.
2683 (__negdi2): New function.
2685 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
2687 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
2688 *-*-freebsd*aout*): Remove.
2690 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
2692 * static-object.mk (c_flags-$o): Save c_flags.
2693 ($(base)$(objext)): Use it.
2695 2011-11-18 Steve Ellcey <sje@cup.hp.com>
2697 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
2699 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
2702 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
2703 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
2706 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2708 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
2710 (aeabi_uidivmod): Likewise.
2711 (umodsi3): Likewise.
2713 (aeabi_idivmod): Likewise.
2716 2011-11-16 Tristan Gingold <gingold@adacore.com>
2718 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
2720 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
2723 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
2724 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
2726 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2728 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
2730 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
2731 * config/pa/t-stublib64: Delete.
2733 2011-11-12 Richard Henderson <rth@redhat.com>
2735 * config/rs6000/linux-unwind.h (frob_update_context): Properly
2736 cast the pointer argument to _Unwind_SetGRPtr.
2738 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2740 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
2742 2011-11-09 Ian Lance Taylor <iant@google.com>
2744 * generic-morestack.c: Include <string.h>.
2745 (uintptr_type): Define.
2746 (struct initial_sp): Add dont_block_signals field. Reduce size of
2748 (allocate_segment): Set prev field to NULL. Don't set
2749 __morestack_current_segment or __morestack_segments.
2750 (__generic_morestack): Update current->prev and *pp after calling
2752 (__morestack_block_signals): Don't do anything if
2753 dont_block_signals is set.
2754 (__morestack_unblock_signals): Likewise.
2755 (__generic_findstack): Check for initial_sp == NULL. Add casts to
2757 (__splitstack_block_signals): New function.
2758 (enum __splitstack_content_offsets): Define.
2759 (__splitstack_getcontext, __splitstack_setcontext): New functions.
2760 (__splitstack_makecontext): New function.
2761 (__splitstack_block_signals_context): New function.
2762 (__splitstack_find_context): New function.
2763 * config/i386/morestack.S (__morestack_get_guard): New function.
2764 (__morestack_set_guard, __morestack_make_guard): New functions.
2765 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
2767 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2769 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
2770 (i[34567]86-*-mingw*): ... here.
2771 (x86_64-*-mingw*): ... here.
2773 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2775 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
2777 2011-11-07 Nathan Sidwell <nathan@acm.org>
2779 * libgcov.c (struct gcov_fn_buffer): New struct.
2780 (buffer_fn_data): New helper.
2781 (gcov_exit): Rework for new gcov data structures.
2783 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
2786 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
2788 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2790 * config.host (tmake_file): Correct comment.
2791 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
2793 (bfin*-uclinux*): Likewise.
2794 (bfin*-linux-uclibc*): Likewise.
2795 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
2797 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
2799 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2800 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
2801 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2802 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
2803 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2804 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
2805 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
2806 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2807 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
2808 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
2809 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
2810 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
2811 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
2813 * config/bfin/t-elf: Remove.
2814 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
2816 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2818 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
2819 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
2820 (lm32-*-elf*, lm32-*-rtems*): Split into ...
2821 (lm32-*-elf*): ... this.
2822 (lm32-*-rtems*): ... and this.
2824 (m32r-*-rtems*): Add to tmake_file.
2825 (moxie-*-rtems*): Likewise.
2826 (sparc-*-rtems*): Likewise.
2827 Remove t-rtems from tmake_file.
2828 (sparc64-*-rtems*): Likewise.
2829 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
2832 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2835 * config/gthr-posix.h: Move ...
2836 * gthr-posix.h: ... here.
2837 * config/gthr-lynx.h: Reflect this.
2838 * config/gthr-vxworks.h: Likewise.
2839 * config/rs6000/gthr-aix.h: Likewise.
2840 * configure.ac (target_thread_file): Likewise.
2841 * configure: Regenerate.
2843 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
2845 * config.host (arm*-*-rtemseabi*): New target.
2847 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2850 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
2853 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
2855 * config.host (epiphany-*-elf*): New configuration.
2856 * config/epiphany: New Directory.
2858 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
2860 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
2861 * config/avr/t-rtems: New.
2862 Filter out _exit from LIB1ASMFUNCS.
2864 2011-11-04 David S. Miller <davem@davemloft.net>
2866 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
2867 * configure: Rebuild.
2869 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2871 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
2874 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
2877 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
2878 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
2880 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
2883 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
2885 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2887 * config/c6x/t-elf (LIB2ADDEH): Set.
2888 * config/c6x/t-c6x-elf: Remove.
2890 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2892 * config/i386/sol2-ci.S: Rename to ...
2893 * config/i386/crti.S: ... this.
2894 * config/i386/sol2-cn.S: Rename to ...
2895 * config/i386/crtn.S: ... this.
2896 * config/sparc/sol2-ci.S: Rename to ...
2897 * config/sparc/crti.S: ... this.
2898 * config/sparc/sol2-cn.S: Rename to ...
2899 * config/sparc/crtn.S: ... this.
2900 * config/t-sol2 (CUSTOM_CRTIN): Remove.
2901 (crti.o, crtn.o): Remove.
2903 2011-11-04 Tristan Gingold <gingold@adacore.com>
2905 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
2907 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
2909 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
2911 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
2913 * config.host (crisv32-*-none, cris-*-none): Remove.
2914 (crisv32-*-elf): Append to tmake_file, don't just set it.
2915 (cris-*-elf): Add missing t-fdpbit to tmake_file.
2917 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2919 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
2920 (ecrtn$(objext)): Likewise.
2921 (ncrti$(objext)): Likewise.
2922 (ncrtn$(objext)): Likewise.
2924 2011-11-03 Andreas Schwab <schwab@redhat.com>
2926 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
2928 2011-11-02 David S. Miller <davem@davemloft.net>
2930 * configure.ac: Set host_address on sparc too.
2931 * configure: Regenerate.
2932 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
2933 based upon host_address.
2934 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
2936 2011-11-02 Jason Merrill <jason@redhat.com>
2938 * config/rs6000/t-ppccomm: Add missing \.
2940 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2942 * gthr-single.h, gthr.h: New files.
2943 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
2944 config/gthr-vxworks.h, config/i386/gthr-win32.h,
2945 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
2946 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
2947 * config/i386/gthr-win32.c: Include "gthr-win32.h".
2948 * configure.ac (thread_header): New variable.
2949 Set it depending on target_thread_file.
2950 (gthr-default.h): Link from $thread_header.
2951 * configure: Regenerate.
2952 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
2954 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2956 * configure.ac (tm_file_): New variable.
2957 Determine from tm_file.
2958 (tm_file, tm_defines): Substitute.
2959 * configure: Regenerate.
2960 * mkheader.sh: New file.
2961 * Makefile.in (clean): Remove libgcc_tm.h.
2962 ($(objects)): Depend on libgcc_tm.h.
2963 (libgcc_tm_defines, libgcc_tm_file): New variables.
2964 (libgcc_tm.h, libgcc_tm.stamp): New targets.
2965 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
2966 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
2967 ($(extra-parts)): Depend on libgcc_tm.h.
2968 * config.host (tm_defines, tm_file): New variable.
2969 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
2970 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
2971 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
2972 (avr-*-rtems*): Likewise.
2973 (avr-*-*): Likewise.
2974 (frv-*-elf): Likewise.
2975 (frv-*-*linux*): Likewise.
2976 (h8300-*-rtems*): Likewise.
2977 (h8300-*-elf*): Likewise.
2978 (i[34567]86-*-darwin*): Likewise.
2979 (x86_64-*-darwin*): Likewise.
2980 (rx-*-elf): Likewise.
2981 (tic6x-*-uclinux): Likewise.
2982 (tic6x-*-elf): Likewise.
2983 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
2984 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
2985 * config/i386/cygming-crtbegin.c: Likewise.
2986 * config/i386/cygming-crtend.c: Likewise.
2987 * config/ia64/fde-vms.c: Likewise.
2988 * config/ia64/unwind-ia64.c: Likewise.
2989 * config/libbid/bid_gcc_intrinsics.h: Likewise.
2990 * config/rs6000/darwin-fallback.c: Likewise.
2991 * config/stormy16/lib2funcs.c: Likewise.
2992 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
2993 * crtstuff.c: Likewise.
2994 * dfp-bit.h: Likewise.
2995 * emutls.c: Likewise.
2996 * fixed-bit.c: Likewise.
2997 * fp-bit.c: Likewise.
2998 * generic-morestack-thread.c: Likewise.
2999 * generic-morestack.c: Likewise.
3000 * libgcc2.c: Likewise.
3001 * libgcov.c: Likewise.
3002 * unwind-dw2-fde-dip.c: Likewise.
3003 * unwind-dw2-fde.c: Likewise.
3004 * unwind-dw2.c: Likewise.
3005 * unwind-sjlj.c: Likewise.
3007 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3009 * configure.ac: Include ../config/picflag.m4.
3010 (GCC_PICFLAG): Call it.
3012 * configure: Regenerate.
3013 * Makefile.in (gcc_srcdir): Remove.
3014 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
3015 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
3016 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
3017 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
3018 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
3021 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
3022 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
3023 to refer to libgcc2.c.
3025 * config/darwin-64.c: New file.
3026 * config/darwin-crt3.c: Remove comment.
3027 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
3028 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
3029 config/udivmodsi4.c: New files.
3030 * config/memcmp.c, config/memcpy.c, config/memmove.c,
3031 config/memset.c: New files.
3032 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
3033 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
3034 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
3035 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
3036 * config/t-openbsd-thread: New file.
3037 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
3038 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
3039 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
3040 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
3043 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
3044 to refer to gthr-posix.c.
3045 * config/alpha/t-vms (LIB2ADD): Set.
3046 * config/alpha/vms-gcc_shell_handler.c: New file.
3047 * config/arm/bpabi.c, config/arm/fp16.c,
3048 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
3049 config/arm/unaligned-funcs.c: New files.
3050 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
3051 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
3052 * config/arm/t-linux: Likewise.
3053 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
3054 * config/arm/t-netbsd: New file.
3055 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
3056 * config/arm/t-symbian (LIB2ADD_ST): Set.
3057 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
3058 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3059 * config/bfin/t-elf: New file.
3060 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
3061 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
3062 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
3063 config/c6x/ltf.c: New files.
3064 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
3065 (HOST_LIBGCC2_CFLAGS): Set.
3066 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
3067 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3068 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
3070 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
3071 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
3072 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
3073 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
3074 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
3076 * config/frv/t-frv (LIB2ADD): Set.
3077 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3078 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
3079 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
3080 config/h8300/popcounthi2.c: New files.
3081 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
3082 * config/i386/gthr-win32.c: New file.
3083 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
3084 * config/i386/t-cygwin: Likewise.
3085 * config/i386/t-darwin, config/i386/t-darwin64,
3086 config/i386/t-gthr-win32, config/i386/t-interix: New files.
3087 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
3088 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3089 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3090 * config/ia64/quadlib.c: New file.
3091 * config/ia64/t-hpux (LIB2ADD): Set.
3092 * config/ia64/t-ia64: Add comment.
3093 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
3094 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3095 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
3096 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
3097 * config/m32c/t-m32c (LIB2ADD): Set.
3098 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
3099 * config/m32r/t-m32r: Likewise.
3100 * config/m68k/fpgnulib.c: New file.
3101 * config/m68k/t-floatlib (LIB2ADD): Set.
3102 (xfgnulib.c): New target.
3103 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
3104 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
3105 * config/mep/t-mep (LIB2ADD): Set.
3106 * config/microblaze/divsi3.asm: Rename to divsi3.S.
3107 * config/microblaze/moddi3.asm: Rename to moddi3.S.
3108 * config/microblaze/modsi3.asm: Rename to modsi3.S.
3109 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
3110 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
3111 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
3112 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
3113 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
3114 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
3115 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
3117 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
3118 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
3119 * config/pa/fptr.c, config/pa/lib2funcs.S,
3120 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
3121 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
3122 (LIB2ADD, LIB2ADD_ST): Set.
3123 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
3124 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
3126 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
3127 * config/pdp11/t-pdp11: New file.
3128 * config/picochip/libgccExtras/adddi3.S,
3129 config/picochip/libgccExtras/ashlsi3.S,
3130 config/picochip/libgccExtras/ashrsi3.S,
3131 config/picochip/libgccExtras/clzsi2.S,
3132 config/picochip/libgccExtras/cmpsi2.S,
3133 config/picochip/libgccExtras/divmod15.S,
3134 config/picochip/libgccExtras/divmodhi4.S,
3135 config/picochip/libgccExtras/divmodsi4.S,
3136 config/picochip/libgccExtras/lshrsi3.S,
3137 config/picochip/libgccExtras/parityhi2.S,
3138 config/picochip/libgccExtras/popcounthi2.S,
3139 config/picochip/libgccExtras/subdi3.S,
3140 config/picochip/libgccExtras/ucmpsi2.S,
3141 config/picochip/libgccExtras/udivmodhi4.S,
3142 config/picochip/libgccExtras/udivmodsi4.S: New files.
3143 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
3144 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
3145 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
3146 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
3147 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
3148 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
3149 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
3150 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
3152 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
3153 (HOST_LIBGCC2_CFLAGS): Set.
3154 * config/rs6000/t-darwin64: New file.
3155 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
3156 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
3157 * config/rs6000/t-ppccomm (LIB2ADD): Add
3158 $(srcdir)/config/rs6000/tramp.S.
3159 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
3160 Add $(srcdir)/config/rs6000/eabi.S.
3161 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
3162 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
3163 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
3164 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
3165 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
3166 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
3167 * config/rs6000/tramp.S: New file.
3168 * config/s390/t-tpf: Remove.
3169 * config/sh/linux-atomic.S: New file.
3170 * config/sh/t-linux (LIB2ADD): Set.
3171 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
3172 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
3173 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
3175 (HOST_LIBGCC2_CFLAGS): Set.
3176 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3177 * config/spu/divmodti4.c, config/spu/divv2df3.c,
3178 config/spu/float_disf.c, config/spu/float_unsdidf.c,
3179 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
3180 config/spu/mfc_multi_tag_release.c,
3181 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
3182 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
3183 config/spu/multi3.c: New files.
3184 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
3185 (HOST_LIBGCC2_CFLAGS): Set.
3186 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
3187 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
3188 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
3189 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
3190 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
3191 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
3192 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
3193 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
3194 config/stormy16/umodsi3.c: New files.
3195 * config/xtensa/lib2funcs.S: New file.
3196 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
3197 * config/xtensa/t-xtensa (LIB2ADD): Set.
3198 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
3199 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
3200 Add t-freebsd-thread to tmake_file for posix threads.
3201 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
3202 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
3203 (*-*-lynxos*): Likewise.
3204 (*-*-netbsd*): Likewise.
3205 (*-*-openbsd*): Likewise.
3206 Add t-openbsd-thread to tmake_file for posix threads.
3207 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
3208 (*-*-vxworks*): Set tmake_file.
3209 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
3210 (alpha*-*-freebsd*): Likewise.
3211 (alpha*-*-netbsd*): Likewise.
3212 (alpha*-*-openbsd*): Likewise.
3213 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
3214 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
3215 (alpha*-dec-*vms*): Likewise.
3216 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
3217 (bfin*-elf*): Add bfin/t-elf to tmake_file.
3218 (bfin*-uclinux*): Likewise.
3219 (bfin*-linux-uclibc*): Likewise.
3220 (crisv32-*-elf): Add cris/t-cris to tmake_file.
3221 (crisv32-*-none): Likewise.
3222 (cris-*-elf): Likewise.
3223 (cris-*-none): Likewise.
3224 (cris-*-linux*, crisv32-*-linux*): Likewise.
3225 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
3227 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
3229 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
3230 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
3231 (x86_64-*-elf*): Likewise.
3232 (i[34567]86-*-nto-qnx*): Likewise.
3233 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
3235 (x86_64-*-mingw*): Likewise.
3236 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
3237 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
3238 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
3239 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
3240 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
3242 (mipsisa64sr71k-*-elf*): Likewise.
3243 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
3244 (mips-*-elf*, mipsel-*-elf*): Likewise.
3245 (mips64-*-elf*, mips64el-*-elf*): Likewise.
3246 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
3247 (mips*-*-rtems*): Likewise.
3248 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
3250 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
3251 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
3252 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
3253 (spu-*-elf*): Likewise.
3254 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
3256 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3258 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
3259 $(srcdir) to refer to $(LIB1ASMSRC).
3261 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
3262 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
3263 config/arm/lib1funcs.S: New files.
3264 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
3265 * config/arm/t-arm: New file.
3266 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
3267 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
3268 config/arm/t-strongarm-elf: New files.
3269 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
3270 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
3271 * config/avr/lib1funcs.S: New file.
3272 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3273 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
3274 * config/c6x/lib1funcs.S: New file.
3275 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3276 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
3277 * config/frv/lib1funcs.S: New file.
3278 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3279 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
3280 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
3281 * config/ia64/__divxf3.asm: Rename to ...
3282 * config/ia64/__divxf3.S: ... this.
3283 Adapt lib1funcs.asm filename.
3284 * config/ia64/_fixtfdi.asm: Rename to ...
3285 * config/ia64/_fixtfdi.S: ... this.
3286 Adapt lib1funcs.asm filename.
3287 * config/ia64/_fixunstfdi.asm: Rename to ...
3288 * config/ia64/_fixunstfdi.S: ... this.
3289 Adapt lib1funcs.asm filename.
3290 * config/ia64/_floatditf.asm: Rename to ...
3291 * config/ia64/_floatditf.S: ... this.
3292 Adapt lib1funcs.asm filename.
3293 * config/ia64/lib1funcs.S: New file.
3294 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
3295 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3296 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
3297 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
3298 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
3299 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
3300 * config/mep/lib1funcs.S: New file.
3301 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3302 * config/mips/mips16.S: New file.
3303 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3304 * config/pa/milli64.S: New file.
3305 * config/pa/t-linux, config/pa/t-linux64: New files.
3306 * config/picochip/lib1funcs.S: New file.
3307 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3308 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
3309 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
3310 * config/sh/t-netbsd: New file.
3311 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
3312 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
3313 * config/sh/t-sh64: New file.
3314 * config/sparc/lb1spc.S: New file.
3315 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
3317 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
3318 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
3319 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
3320 config/xtensa/lib1funcs.S: New files.
3321 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3322 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
3324 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
3325 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
3326 (arm*-*-linux*): Likewise.
3327 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
3328 arm*-*-linux-*eabi, add arm/t-linux otherwise.
3329 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
3330 (arm*-*-ecos-elf): Likewise.
3331 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3332 (arm*-*-rtems*): Likewise.
3333 (arm*-*-elf): Likewise.
3334 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
3335 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
3336 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
3337 (bfin*-uclinux*): Likewise.
3338 (bfin*-linux-uclibc*): Likewise.
3339 (bfin*-rtems*): Likewise.
3340 (bfin*-*): Likewise.
3341 (fido-*-elf): Merge into m68k-*-elf*.
3342 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
3343 (frv-*-*linux*): Add frv/t-frv to tmake_file.
3344 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
3345 (h8300-*-elf*): Likewise.
3346 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
3347 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
3348 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
3349 (i[34567]86-*-mingw*): Likewise.
3350 (x86_64-*-mingw*): Likewise.
3351 (i[34567]86-*-interix3*): Likewise.
3352 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
3353 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
3354 (m68k-*-elf*): Also handle fido-*-elf.
3355 Add m68k/t-floatlib to tmake_file.
3356 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
3357 (m68k-*-linux*): Likewise.
3358 (m68k-*-rtems*): Likewise.
3359 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
3360 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
3362 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
3363 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
3364 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
3365 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
3366 sh/t-netbsd to tmake_file.
3367 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
3368 (sh-*-rtems*): Add sh/t-sh to tmake_file.
3369 (sh-wrs-vxworks): Likewise.
3370 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
3372 (v850*-*-*): Add v850/t-v850 to tmake_file.
3373 (vax-*-linux*): Add vax/t-linux to tmake_file.
3374 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
3376 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3378 * crtstuff.c: New file.
3379 * Makefile.in (CRTSTUFF_CFLAGS): Define.
3380 (CRTSTUFF_T_CFLAGS): Define.
3381 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
3382 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
3383 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
3386 (crtbeginT.o): Use $(objext).
3387 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
3388 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
3389 (gcc-extra-parts): Remove.
3390 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
3392 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3393 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
3394 Add t-crtstuff-pic to tmake_file.
3395 (*-*-lynxos*): New case.
3396 Set tmake_file, extra_parts.
3397 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
3398 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
3399 *-*-netbsdelf[2-9]*.
3400 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
3401 (*-*-rtems*): Set extra_parts.
3402 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
3403 (*-*-uclinux*): New case.
3405 (*-*-vms*): New case.
3406 Set tmake_file, extra_parts.
3407 (*-*-elf): Set extra_parts.
3408 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
3409 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
3412 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
3414 (arm*-*-freebsd*): Add t-crtin to tmake_file.
3415 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
3416 (arm-wrs-vxworks): Append to tmake_file.
3418 (arm*-*-uclinux*): Set extra_parts.
3419 (arm*-*-ecos-elf): Likewise.
3420 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
3422 (arm*-*-rtems*): Set extra_parts.
3423 (arm*-*-elf): Likewise.
3424 (avr-*-rtems*): Clear extra_parts.
3425 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
3427 (bfin*-uclinux*): Likewise.
3428 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
3429 (bfin*-rtems*): Append to tmake_file.
3431 (bfin*-*): Likewise.
3432 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
3433 (crisv32-*-elf): ... this.
3434 (crisv32-*-none): ... this.
3435 (cris-*-elf, cris-*-none): New cases.
3436 Add cris/t-elfmulti to tmake_file.
3437 (fr30-*-elf): Append to tmake_file.
3439 (frv-*-elf): Append to tmake_file, add frv/t-frv.
3441 (h8300-*-rtems*): Append to tmake_file.
3443 (h8300-*-elf*): Likewise.
3444 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
3446 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
3448 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
3449 (x86_64-*-elf*): Likewise.
3450 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
3451 (x86_64-*-freebsd*): Likewise.
3452 (x86_64-*-netbsd*): Likewise.
3453 (i[34567]86-*-linux*): Likewise.
3454 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3455 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3456 (x86_64-*-linux*): Likewise.
3457 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3458 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
3461 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
3462 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
3463 Append to extra_parts, remove crtbegin.o, crtend.o.
3464 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
3465 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
3466 crtend.o, crtbeginS.o, crtendS.o.
3467 (ia64*-*-linux*): Comment extra_parts.
3468 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
3470 (iq2000*-*-elf*): Clear extra_parts.
3471 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
3472 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
3473 (m32r-*-elf*, m32r-*-rtems*): Split off ...
3474 (m32r-*-rtems*): ... this.
3475 Add m32r/t-m32r to tmake_file.
3476 (m68k-*-elf*): Add t-crtin to tmake_file.
3477 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
3478 (mcore-*-elf): Likewise.
3479 (microblaze*-*-*): Set extra_parts.
3480 (mips*-sde-elf*): New case.
3481 Set tmake_file, extra_parts.
3482 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
3483 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
3484 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
3487 (mipsisa64sr71k-*-elf*): Likewise.
3488 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
3489 (mips-*-elf*, mipsel-*-elf*): Likewise.
3490 (mips64-*-elf*, mips64el-*-elf*): Likewise.
3491 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
3492 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
3493 (mips*-*-rtems*): Likewise.
3494 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
3495 (moxie-*-*): Split into ...
3496 (moxie-*-elf, moxie-*-uclinux*): ... this.
3497 Add to extra_parts, remove crtbegin.o, crtend.o.
3498 (moxie-*-rtems*): New case.
3501 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
3503 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
3504 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
3507 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
3508 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
3510 (powerpc-*-eabisim*): Likewise.
3511 (powerpc-*-elf*): Likewise.
3512 (powerpc-*-eabialtivec*): Likewise.
3513 (powerpc-xilinx-eabi*): Likewise.
3514 (powerpc-*-eabi*): Likewise.
3515 (powerpc-*-rtems*): Likewise.
3516 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
3519 (powerpc-*-lynxos*): Add to tmake_file.
3520 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
3521 rs6000/t-crtstuff, t-crtstuff-pic.
3523 (powerpcle-*-eabisim*): Likewise.
3524 (powerpcle-*-eabi*): Likewise.
3525 (rx-*-elf): Remove extra_parts.
3526 (s390x-ibm-tpf*): Set extra_parts.
3527 (score-*-elf): Set extra_parts.
3528 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3529 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3530 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3531 (sh64l*-*-netbsd*): Split into ...
3532 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
3533 Add t-crtstuff-pic to tmake_file.
3535 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
3537 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
3538 (sparc-*-elf*): Remove t-crtin from tmake_file.
3539 Add to extra_parts, remove crtbegin.o, crtend.o.
3540 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
3541 (sparc64-*-linux*): Likewise.
3542 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
3543 Add to extra_parts, remove crtbegin.o, crtend.o.
3544 (sparc64-*-elf*): Remove t-crtin from tmake_file.
3545 Add to extra_parts, remove crtbegin.o, crtend.o.
3546 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
3547 Add to extra_parts, remove crtbegin.o, crtend.o.
3548 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
3549 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
3550 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
3552 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
3554 (tic6x-*-*): Change to ...
3555 (tic6x-*-elf): ... this.
3557 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
3559 (am33_2.0-*-linux*): Add comment.
3560 (mep*-*-*): Add mep/t-mep to tmake_file.
3562 * config/alpha/t-vms: New file.
3563 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
3564 * config/arm/crti.S, config/arm/crtn.S: New files.
3565 * config/bfin/crti.S, config/bfin/crtn.S: New files.
3566 * config/bfin/crtlibid.S: New file.
3567 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
3568 * config/c6x/crti.S, config/c6x/crtn.S: New files.
3569 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
3570 (crti.o, crtin.o): New rules.
3571 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
3572 * config/c6x/t-uclinux: New file.
3573 * config/cris/t-elfmulti: New file.
3574 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
3575 * config/fr30/crti.S, config/fr30/crtn.S: New files.
3576 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
3577 * config/frv/t-frv: New file.
3578 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
3579 * config/h8300/crti.S, config/h8300/crtn.S: New files.
3580 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
3582 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
3583 refer to cygming-crtbegin.c, cygming-crtend.c.
3585 * config/i386/t-nto: New file.
3586 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
3587 * config/ia64/crti.S, config/ia64/crtn.S: New files.
3588 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
3589 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
3592 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
3593 (crtinitS.o): New rule.
3594 * config/ia64/vms-crtinit.S: New file.
3595 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
3596 * config/m32r/initfini.c: New file.
3597 * config/m32r/t-linux, config/m32r/t-m32r: New files.
3598 * config/m68k/crti.S, config/m68k/crtn.S: New files.
3599 * config/mcore/crti.S, config/mcore/crtn.S: New files.
3600 * config/mep/t-mep: New file.
3601 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
3602 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
3603 * config/mips/crti.S, config/mips/crtn.S: New files.
3604 * config/mips/t-crtstuff: New file.
3605 * config/mmix/crti.S, config/mmix/crtn.S: New files.
3606 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
3607 (CUSTOM_CRTIN): Set.
3608 ($(T)crti.o, $(T)crtn.o): Remove $(T),
3610 Use $(srcdir) to refer to crti.S, crtn.S.
3611 Use .S extension, $<.
3612 * config/moxie/crti.asm: Rename to ...
3613 * config/moxie/crti.S: ... this.
3614 * config/moxie/crtn.asm: Rename to ...
3615 * config/moxie/crtn.S: ... this.
3616 * config/moxie/t-moxie: Remove.
3617 * config/pa/stublib.c: New file.
3618 * config/pa/t-stublib, config/pa/t-stublib64: New files.
3619 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
3620 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
3621 * config/rs6000/t-crtstuff: New file.
3622 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
3623 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
3624 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
3625 Make output file explicit.
3626 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
3627 Make output file explicit.
3628 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
3629 Make output file explicit.
3630 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
3631 Make output file explicit.
3632 * config/score/crti.S, config/score/crtn.S: New files.
3633 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
3634 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
3636 * config/sh/t-sh, config/sh/t-superh: New files.
3637 * config/sparc/t-linux64: New file.
3638 * config/spu/cache.S, config/spu/cachemgr.c: New files.
3639 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
3640 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
3641 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
3642 * config/t-crtin: Remove.
3643 * config/t-crtstuff-pic: New file.
3644 * config/t-sol2 (CUSTOM_CRTIN): Set.
3645 (crti.o, crtn.o): New rules.
3646 * config/vms/t-vms: New file.
3647 * config/vms/vms-ucrt0.c: New file.
3648 * config/xtensa/t-elf: New file.
3650 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3652 * Makefile.in (SHLIB_NM_FLAGS): Set.
3653 * mkmap-flat.awk, mkmap-symver.awk: New files.
3654 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
3656 * configure: Regenerate.
3657 * config/libgcc-glibc.ver: New file.
3658 * config/libgcc-libsystem.ver: New file.
3659 * config/t-libunwind (SHLIB_LC): Set.
3660 * config/t-linux: New file.
3661 * config/t-slibgcc (INSTALL_SHLIB): New.
3662 (SHLIB_INSTALL): Use it.
3663 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
3664 to mkmap-symver.awk.
3665 (SHLIB_MAPFILES): Don't append, adapt pathname.
3666 (SHLIB_VERPFX): Set.
3667 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
3668 to mkmap-symver.awk.
3669 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
3670 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
3671 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
3672 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
3674 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
3675 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
3676 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
3677 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
3678 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
3679 * config/i386/libgcc-darwin.10.4.ver,
3680 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
3682 * config/i386/t-darwin: Remove.
3683 * config/i386/t-darwin64: Likewise.
3684 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
3685 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
3686 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
3687 * config/i386/t-linux: New file.
3688 * config/i386/t-mingw32: New file.
3689 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
3690 * config/ia64/t-glibc: Rename to ...
3691 * config/ia64/t-linux: ... this.
3692 (SHLIB_MAPFILES): Set.
3693 * config/ia64/t-glibc-libunwind: Rename to ...
3694 * config/ia64/t-linux-libunwind: ... this.
3695 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
3696 * config/ia64/t-slibgcc-hpux: New file.
3697 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
3698 * config/m68k/t-slibgcc-elf-ver: New file.
3699 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
3700 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
3702 * config/pa/t-slibgcc-hpux: New file.
3703 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
3705 * config/rs6000/libgcc-darwin.10.4.ver,
3706 config/rs6000/libgcc-darwin.10.5.ver: New files.
3707 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
3708 config/rs6000/libgcc-glibc.ver.
3709 * config/rs6000/libgcc-ppc64.ver: Rename to
3710 config/rs6000/libgcc-ibm-ldouble.ver.
3711 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
3712 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
3713 * config/rs6000/t-ldbl128: Rename to ...
3714 * config/rs6000/t-linux: ... this.
3715 (SHLIB_MAPFILES): Adapt filename.
3716 * config/rs6000/t-slibgcc-aix: New file.
3717 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
3718 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
3719 libgcc-excl.ver, libgcc-glibc.ver.
3720 (SHLIB_LINK, SHLIB_INSTALL): Remove.
3721 * config/sparc/libgcc-glibc.ver: New file.
3722 * config/sparc/t-linux: New file.
3723 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
3724 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
3725 t-slibgcc-elf-ver to tmake_file.
3726 Add t-slibgcc-nolc-override to tmake_file for posix threads on
3728 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3729 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
3730 t-slibgcc-elf-ver, t-linux to tmake_file.
3731 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
3733 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
3734 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
3735 (alpha*-dec-*vms*): Likewise.
3736 (arm*-*-freebsd*): Append to tmake_file.
3737 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
3738 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
3740 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
3741 tmake_file for arm*-*-symbianelf*.
3742 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
3743 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
3745 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
3746 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
3747 pa/t-slibgcc-dwarf-ver to tmake_file.
3748 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
3749 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
3750 (hppa*64*-*-hpux11*): Likewise.
3751 (hppa[12]*-*-hpux11*): Likewise.
3752 (x86_64-*-darwin*): Don't override tmake_file, but only keep
3753 i386/t-crtpc, i386/t-crtfm.
3754 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
3755 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
3757 Add i386/t-cygwin to tmake_file.
3758 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
3759 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
3760 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
3762 Add i386/t-mingw32 to tmake_file.
3763 (x86_64-*-mingw*): Likewise.
3764 (ia64*-*-freebsd*): Append to tmake_file.
3765 (ia64*-*-linux*): Append to tmake_file.
3766 Replace ia64/t-glibc by ia64/t-linux.
3767 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
3769 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
3770 t-slibgcc-hpux to tmake_file.
3771 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
3772 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
3773 (m32rle-*-linux*): Likewise.
3774 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
3776 (microblaze*-linux*): New case.
3777 Append to tmake_file, add t-slibgcc-nolc-override.
3778 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
3779 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3780 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
3781 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3782 rs6000/t-slibgcc-aix to tmake_file.
3783 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3784 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3785 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3786 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3787 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3788 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
3790 (sparc-*-linux*): Append to tmake_file for *-leon*.
3791 Add sparc/t-linux to tmake_file for non-Leon targets.
3792 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
3793 (tic6x-*-uclinux): New case.
3794 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
3795 (tic6x-*-*): Add c6x/t-elf to tmake_file.
3796 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
3797 (am33_2.0-*-linux*): Append to tmake_file.
3798 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3799 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
3800 x86_64-*-kfreebsd*-gnu.
3801 Add i386/t-linux to tmake_file.
3803 2011-10-28 Ian Lance Taylor <iant@google.com>
3805 * config/i386/morestack.S: Correct CFI information to do proper
3806 returns throughout function. In 32-bit mode, save %ebx so that it
3807 is restored on unwind.
3809 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
3811 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
3812 case where B3 isn't the return register.
3814 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
3815 logic for doubleword pops.
3817 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
3819 * config/rs6000/t-freebsd: Add wildcard.
3821 2011-10-21 Paul Brook <paul@codesourcery.com>
3823 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
3825 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
3826 Eric Botcazou <ebotcazou@adacore.com>
3829 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
3830 fs->signal_frame to 1.
3832 2011-10-07 Ian Lance Taylor <iant@google.com>
3834 * generic-morestack-thread.c: #include <errno.h>.
3836 2011-10-07 Ian Lance Taylor <iant@google.com>
3839 * generic-morestack.c (__generic_morestack): Make sure the segment
3840 is large enough for both the stack frame and the copied
3843 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3846 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
3849 2011-09-28 Nick Clifton <nickc@redhat.com>
3851 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
3852 64-bit doubles are not enabled.
3853 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
3854 and floatunsisf functions.
3856 2011-09-13 Paul Brook <paul@codesourcery.com>
3858 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
3859 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
3860 * unwind-arm-common.inc: New file.
3861 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
3862 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
3863 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
3864 * config/c6x/libunwind.S: New file.
3865 * config/c6x/pr-support.c: New file.
3866 * config/c6x/unwind-c6x.c: New file.
3867 * config/c6x/unwind-c6x.h: New file.
3868 * config/c6x/t-c6x-elf: New file.
3870 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
3872 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
3873 (ASM_DIVZERO): Ditto.
3874 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
3876 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
3878 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
3880 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
3883 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
3884 instead of an assembly one.
3886 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
3889 * Makefile.in (install-unwind_h): Create
3890 $(gcc_objdir)/include/unwind.h atomically.
3892 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3894 * Makefile.in (install-unwind_h): Remove destination file first.
3896 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3899 * config/mips/t-mips16: New file.
3900 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
3901 (mips*-*-linux*): Likewise.
3902 (mips*-sde-elf*): Likewise.
3903 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
3904 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
3905 Add mips/t-mips16 to tmake_file.
3906 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
3907 (mips-*-elf*): Likewise.
3908 (mips64-*-elf*): Likewise.
3909 (mips64orion-*-elf*): Likewise.
3910 (mips*-*-rtems*): Likewise.
3911 (mipstx39-*-elf*): Likewise.
3912 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
3913 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
3915 Use $(srcdir) to refer to sync.c.
3917 ($(libgcc-sync-funcs-o)): Likewise.
3918 ($(libgcc-sync-size-funcs-s-o)): Likewise.
3919 ($(libgcc-sync-funcs-s-o)): Likewise.
3921 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
3923 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
3926 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
3929 * config/i386/value-unwind.h: New.
3931 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
3933 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
3934 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
3935 Add to tmake_file rather than overriding it.
3937 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3939 * config/t-softfp: Remove.
3940 * soft-fp: Moved from ../gcc/config.
3941 * soft-fp/README: Remove t-softfp reference.
3942 * soft-fp/t-softfp: Move to config/t-softfp.
3943 (softfp_machine_header): Remove.
3944 (softfp_file_list): Remove config subdir.
3945 (soft-fp-objects): New variable.
3946 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
3947 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
3948 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
3949 * config/t-softfp-excl: New file.
3950 * config/t-softfp-sfdf: New file.
3951 * config/t-softfp-tf: New file.
3952 * config/no-sfp-machine.h: New file.
3953 * config/arm/sfp-machine.h: New file.
3954 * config/arm/t-softfp: New file.
3955 * config/c6x/sfp-machine.h: New file.
3956 * config/i386/32/t-fprules-softfp: Rename to ...
3957 * config/i386/32/t-softfp: ... this.
3958 (tifunctions, LIB2ADD): Remove.
3959 (softfp_int_modes): Override.
3960 * config/i386/64/t-softfp-compat (tf-functions): Remove config
3962 * config/i386/64/eqtf2.c: Likewise.
3963 * config/i386/64/getf2.c: Likewise.
3964 * config/i386/64/letf2.c: Likewise.
3965 * config/ia64/sft-machine.h: New file.
3966 * config/ia64/t-fprules-softfp: Rename to ...
3967 * config/ia64/t-softfp: ... this.
3968 * config/lm32/sfp-machine.h: New file.
3969 * config/moxie/t-moxie-softfp: Remove.
3970 * config/rs6000/ibm-ldouble-format: New file.
3971 * config/rs6000/ibm-ldouble.c: New file.
3972 * config/rs6000/libgcc-ppc-glibc.ver: New file
3973 * config/rs6000/libgcc-ppc64.ver: New file
3974 * config/rs6000/sfp-machine.h: New file.
3975 * config/rs6000/t-freebsd: New file.
3976 * config/rs6000/t-ibm-ldouble: New file.
3977 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
3978 libgcc-ppc-glibc.ver.
3979 * config/rs6000/t-linux64: New file.
3980 * config/rs6000/t-ppccomm (LIB2ADD): Add
3981 $(srcdir)/config/rs6000/ibm-ldouble.c.
3982 * config/rs6000/t-ppccomm-ldbl: New file.
3983 * config/score/sfp-machine.h: New file.
3984 * config.host (sfp_machine_header): Explain.
3985 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
3986 t-softfp to tmake_file.
3987 (arm*-*-uclinux*): Likewise.
3988 (arm*-*-ecos-elf): Likewise.
3989 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3990 (arm*-*-rtems*): Likewise.
3991 (arm*-*-elf): Likewise.
3992 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
3994 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
3995 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
3996 (lm32-*-uclinux*): Likewise.
3997 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
3998 t-softfp-excl, t-softfp.
3999 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
4000 (powerpc64-*-darwin*): Likewise.
4001 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
4003 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
4005 (powerpc-*-eabisim*): Likewise.
4006 (powerpc-*-elf*): Likewise.
4007 (powerpc-*-eabialtivec*): Likewise.
4008 (powerpc-xilinx-eabi*): Likewise.
4009 (powerpc-*-rtems*): Likewise.
4010 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
4011 t-softfp-excl, t-softfp to tmake_file.
4012 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
4013 rs6000/t-ppccomm-ldbl to tmake_file.
4014 (powerpcle-*-elf*): Likewise.
4015 (powerpcle-*-eabisim*): Likewise.
4016 (powerpcle-*-eabi*): Likewise.
4017 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
4018 rs6000/t-ibm-ldouble to tmake_file.
4019 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4020 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4021 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
4022 (tic6x-*-*): Likewise.
4023 (i[34567]86-*-darwin*, x86_64-*-darwin*,
4024 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
4025 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
4026 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
4027 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
4028 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
4029 t-softfp to tmake_file.
4030 * configure.ac (sfp_machine_header): Provide default if unset.
4032 Link sfp-machine.h to config/$sfp_machine_header.
4033 * configure: Regenerate.
4035 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4037 * Makefile.in (double_type_size, long_double_type_size): Set.
4038 Remove $(fpbit-in-libgcc) support.
4039 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
4040 (fpbit-src): New variable.
4041 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
4042 Compile with -DFLOAT $(FPBIT_CFLAGS).
4044 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
4045 Compile with $(FPBIT_CFLAGS).
4047 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
4048 Compile with -DFLOAT $(TPBIT_CFLAGS).
4050 * configure.ac (double_type_size, long_double_type_size):
4051 Determine and substitute.
4052 * configure: Regenerate.
4053 * fp-bit.c, fp-bit.h: New files.
4054 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
4055 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
4056 * config/mips/t-mips: New file.
4057 * config/mips/t-sdemtk: New file.
4058 * config/rs6000/ppc64-fp.c: New file.
4059 * config/rs6000/t-darwin (LIB2ADD): Add
4060 $(srcdir)/config/rs6000/ppc64-fp.c.
4061 * config/rs6000/t-ppc64-fp: New file.
4062 * config/rx/rx-lib.h: New file.
4063 * config/rx/t-rx (FPBIT): Set to true.
4064 ($(gcc_objdir)/fp-bit.c): Remove.
4065 (DPBIT): Set to true only with -m64bit-doubles.
4066 ($(gcc_objdir)/dp-bit.c): Remove.
4067 * config/sparc/t-softfp: Remove.
4068 * config/spu/t-elf: New file.
4069 * config/t-fdpbit, config/t-fpbit: New files.
4070 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
4071 (mips*-*-*): Likewise.
4072 (arm-wrs-vxworks): Likewise.
4073 (arm*-*-freebsd*): Likewise.
4074 (avr-*-rtems*): Add t-fpbit to tmake_file.
4075 (avr-*-*): Likewise.
4076 (bfin*-elf*): Add t-fdpbit to tmake_file.
4077 (bfin*-uclinux*): Likewise.
4078 (bfin*-linux-uclibc*): Likewise.
4079 (bfin*-rtems*): New case.
4080 Add t-fdpbit to tmake_file.
4081 (bfin*-*): Add t-fdpbit to tmake_file.
4082 (crisv32-*-elf): Likewise.
4083 (cris-*-linux*): Likewise.
4084 (fr30-*-elf): Likewise.
4085 (frv-*-elf, frv-*-*linux*): Likewise.
4086 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
4087 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
4088 (m32r-*-elf*): Likewise.
4089 (m32rle-*-elf*): Likewise.
4090 (m32r-*-linux*): Likewise.
4091 (m32rle-*-linux*): Likewise.
4092 (mcore-*-elf): Add t-fdpbit to tmake_file.
4093 (microblaze*-*-*): Likewise.
4094 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
4095 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
4096 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
4098 Add mips/t-tpbit to tmake-file.
4099 (mips*-*-linux*): Fix typo.
4100 (mips*-sde-elf*): New case
4101 Add mips/t-sdemtk unless using newlib.
4102 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
4103 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
4104 (mn10300-*-*): Likewise.
4105 (pdp11-*-*): Likewise.
4106 (picochip-*-*): Add t-fpbit to tmake_file.
4107 (powerpc-*-eabisimaltivec*): Likewise.
4108 (powerpc-*-eabisim*): Likewise.
4109 (powerpc-*-elf*): Likewise.
4110 (powerpc-*-eabialtivec*): Likewise.
4111 (powerpc-xilinx-eabi*): New case.
4112 Add t-fdpbit to tmake_file.
4113 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
4114 (powerpc-*-rtems*): Likewise.
4115 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
4117 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
4119 (powerpc-*-lynxos*): Likewise.
4120 (powerpcle-*-elf*): Likewise.
4121 (powerpcle-*-eabisim*): Likewise.
4122 (powerpcle-*-eabi*): Likewise.
4123 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
4124 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
4125 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4126 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4127 (rx-*-elf): Add t-fdpbit to tmake_file.
4128 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
4129 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
4130 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
4131 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
4133 (sh-*-rtems*): Add t-fdpbit to tmake_file.
4134 (sh-wrs-vxworks): Likewise.
4135 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
4136 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
4137 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
4138 (sparc64-*-rtems*): ... new case.
4139 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
4140 (spu-*-elf*): Likewise.
4141 Add spu/t-elf to tmake_file.
4142 (v850*-*-*): Add t-fdpbit to tmake_file.
4143 (xstormy16-*-elf): Likewise.
4144 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
4145 (mep*-*-*): Likewise.
4147 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4149 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
4151 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
4152 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
4153 (install-unwind_h): New target.
4154 (all): Depend on it.
4155 * config.host (unwind_header): New variable.
4156 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
4157 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4158 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
4159 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
4160 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
4162 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
4164 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
4166 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
4168 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
4169 (ia64*-*-freebsd*): Likewise.
4170 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
4172 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
4173 $with_system_libunwind.
4174 (ia64*-*-hpux*): Set tmake_file.
4175 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
4176 (picochip-*-*): Set tmake_file.
4177 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
4179 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4180 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4181 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
4182 (xtensa*-*-elf*): Set tmake_file.
4183 (xtensa*-*-linux*): Likewise.
4184 * configure.ac: Include ../config/unwind_ipinfo.m4.
4185 Call GCC_CHECK_UNWIND_GETIPINFO.
4186 Link unwind.h to $unwind_header.
4187 * configure: Regenerate.
4188 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
4189 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
4190 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
4191 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
4192 * config/unwind-dw2-fde-darwin.c: New file.
4193 * config/arm/libunwind.S, config/arm/pr-support.c,
4194 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
4195 config/arm/unwind-arm.h,: New files.
4196 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
4197 config/ia64/t-eh-ia64, config/ia64/t-glibc,
4198 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
4199 config/ia64/t-vms, config/ia64/unwind-ia64.c,
4200 config/ia64/unwind-ia64.h: New files.
4201 * config/picochip/t-picochip: New file.
4202 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
4204 * config/rs6000/t-darwin (LIB2ADDEH): Set.
4205 * config/s390/t-tpf (LIB2ADDEH): Remove.
4206 * config/t-darwin (LIB2ADDEH): Set.
4207 * config/t-eh-dw2-dip: New file.
4208 * config/t-libunwind, config/t-libunwind-elf: New files.
4209 * config/t-sol2 (LIB2ADDEH): Remove.
4210 * config/xtensa/t-xtensa: New file.
4212 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
4214 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
4215 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
4216 long long to check rt_sigreturn syscall.
4218 2011-08-02 Alan Modra <amodra@gmail.com>
4220 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
4221 Restore for indirect call bcrtl from correct stack slot, and only
4222 if cfa+40 isn't valid.
4224 2011-08-01 Julian Brown <julian@codesourcery.com>
4226 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
4227 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
4228 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
4230 2011-08-01 Julian Brown <julian@codesourcery.com>
4232 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
4233 (libgcc-std.ver.in): Use above.
4234 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
4235 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
4237 * config/t-fixedpoint-gnu-prefix: New file.
4238 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
4239 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
4242 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
4244 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
4245 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
4246 for x86-64. Properly check __x86_64__ and __LP64__.
4248 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
4250 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
4252 (_FP_WS_TYPE): Likewise.
4253 (_FP_I_TYPE): Likewise.
4255 2011-07-28 Alan Modra <amodra@gmail.com>
4257 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
4258 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
4259 in a plt call stub. Do restore r2 if stopped on bctrl.
4261 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4263 * config.host (i[3456x]86-*-netware*): Remove.
4264 * config/i386/netware-crt0.c, config/i386/t-nwld,
4265 config/i386/t-slibgcc-nwld: Remove.
4267 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
4269 * config.host: Handle tic6x-*-*.
4270 * config/c6x/c6x-abi.h: New file.
4272 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4274 * config/i386/crtprec.c: New file.
4275 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
4276 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
4277 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
4278 (x86_64-*-darwin*): Likewise.
4279 (i[34567]86-*-solaris2*: Likewise.
4281 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4283 * config/alpha/crtfastmath.c: New file.
4284 * config/i386/crtfastmath.c: New file.
4285 * config/ia64/crtfastmath.c: New file.
4286 * config/mips/crtfastmath.c: New file.
4287 * config/sparc/crtfastmath.c: New file.
4289 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
4291 Add -frandom-seed=gcc-crtfastmath.
4292 * config/alpha/t-crtfm: Remove.
4293 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
4294 * config/ia64/t-ia64 (crtfastmath.o): Remove.
4296 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
4297 (alpha*-dec-osf5.1*): Likewise.
4298 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
4299 Add crtfastmath.o to extra_parts.
4300 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
4301 Add crtfastmath.o to extra_parts.
4302 (x86_64-*-darwin*): Likewise.
4303 (x86_64-*-mingw*): Likewise.
4304 (ia64*-*-elf*): Add t-crtfm to tmake_file.
4305 (ia64*-*-freebsd*): Likewise.
4306 (ia64*-*-linux*): Likewise.
4307 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
4308 Add crtfastmath.o to extra_parts.
4310 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4312 * config/darwin-crt3.o: New file.
4313 * config/rs6000/darwin-crt2.c: New file.
4314 * config/t-darwin: New file.
4315 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
4317 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
4318 (powerpc-*-darwin*): Add crt2.o to extra_parts.
4319 (powerpc64-*-darwin*): Likewise.
4321 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4323 * config/i386/netware-crt0.c: New file.
4324 * config/i386/t-nwld: Rename to ...
4325 * config/i386/t-slibgcc-nwld: ... this.
4326 * config/i386/t-nwld: New file.
4327 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
4329 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
4332 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4334 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
4336 * configure: Regenerate.
4338 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4340 * dfp-bit.c, dfp-bit.h: New files.
4341 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
4343 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
4344 ($(d64pbit-o)): Likewise.
4345 ($(d128pbit-o)): Likewise.
4346 * config/t-dfprules: New file.
4347 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
4348 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
4349 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
4350 (x86_64-*-linux*): Likewise.
4351 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
4352 (i[34567]86-*-cygwin*): Likewise.
4353 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
4354 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
4356 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4358 * Makfile.in (LIBGCOV): New variable.
4359 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
4360 * libgcov.c: New file.
4362 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4364 * fixed-bit.c, fixed-bit.h: New files.
4365 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
4366 refer to fixed-bit.c.
4368 2011-07-07 Joseph Myers <joseph@codesourcery.com>
4370 * config.host (*local*): Remove.
4372 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4375 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
4376 like i?86-*-solaris2.1[0-9]*.
4377 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
4378 * configure.ac (i?86-*-solaris2*): Likewise.
4379 * configure: Regenerate.
4381 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
4383 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
4384 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
4385 md_unwind_header by splitting out of...
4386 (i[34567]86-*-linux*): ... this.
4387 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
4388 Remove md_unwind_header by splitting out of...
4389 (x86_64-*-linux*): ... this.
4391 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
4393 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
4395 2011-06-28 Nick Clifton <nickc@redhat.com>
4397 * config.host: Recognize all V850 variants.
4399 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
4401 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
4403 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4405 * shared-object.mk (c_flags-$o): Save c_flags.
4406 ($(base)$(objext)): Use it.
4407 ($(base)_s$(objext)): Likewise.
4409 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
4411 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
4412 * libgcc-std.ver.in (GCC_4.7.0): New section.
4414 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
4418 * config/avr/t-avr: Fix line endings.
4419 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
4422 2011-06-14 Olivier Hainque <hainque@adacore.com>
4423 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4425 * config/mips/irix6-unwind.h: New file.
4426 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
4428 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
4430 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
4431 (sparc64_fallback_frame_state): Use it.
4432 (sparc64_frob_update_context): Further adjust context.
4433 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
4434 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
4435 * config/sparc/sol2-cn.S: Likewise.
4437 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4439 * enable-execute-stack-empty.c: New file.
4440 * enable-execute-stack-mprotect.c: New file.
4441 * config/i386/enable-execute-stack-mingw32.c: New file.
4442 * config.host (enable_execute_stack): New variable.
4443 Select appropriate variants.
4444 * configure.ac: Link enable-execute-stack.c to
4445 $enable_execute_stack.
4446 * configure: Regenerate.
4447 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
4448 (lib2funcs): Remove _enable_execute_stack.
4450 2011-06-09 David S. Miller <davem@davemloft.net>
4451 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4453 * config.host (sparc-*-linux*): Correct md_unwind_header
4455 (s390x-ibm-tpf*): Fix typo.
4457 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4459 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
4460 Add crtfastmath.o to extra_parts.
4461 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
4463 * config/mips/t-crtfm: Remove.
4465 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4467 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
4469 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
4471 * config.host (sh*-*-linux*): Fix typo.
4473 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4475 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
4476 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
4477 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
4478 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
4479 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
4480 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
4481 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
4482 Wrap in !__MINGW64__.
4483 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
4484 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
4485 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
4486 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
4487 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
4488 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
4489 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
4491 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
4492 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
4493 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
4494 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
4495 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
4496 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
4497 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
4498 * config/no-unwind.h: New file.
4499 * config.host (md_unwind_header): Document.
4501 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
4502 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
4503 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
4504 hppa[12]*-*-hpux11*): Set md_unwind_header.
4505 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
4506 Set md_unwind_header.
4507 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
4508 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
4509 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
4510 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
4511 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
4512 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
4513 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
4515 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
4516 * configure: Regenerate.
4518 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4520 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
4521 Set tmake_file, extra_parts.
4522 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
4524 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
4526 * config/mips/t-irix6: New file.
4527 * config/mips/t-slibgcc-irix: New file.
4529 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4531 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
4532 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
4534 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4536 * configure.ac (target_thread_file): Determine thread model.
4537 * configure: Regenerate.
4538 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
4539 * config/alpha/t-alpha: New file.
4540 * config/alpha/t-crtfm: Use $<.
4541 * config/alpha/t-ieee: New file.
4542 * config/alpha/t-osf-pthread: New file.
4543 * config/alpha/t-slibgcc-osf: New file.
4544 * config/alpha/libgcc-osf5.ver: New file.
4546 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4548 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
4550 Add crtfastmath.o to extra_parts.
4552 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4554 * config/gmon-sol2.c: Reindent.
4556 Remove, correct casts.
4557 Use STDERR_FILENO, NULL.
4558 (BASEADDRESS): Remove.
4560 (errno, sbrk): Remove declarations.
4561 (monstartup) [hp300]: Remove.
4564 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4566 * Makefile.in (cpu_type): Define.
4567 * config.host (i[34567]86-*-rtems*): Handle it.
4568 (i[34567]86-*-solaris2*): Move body ...
4569 (*-*-solaris2*): ... here.
4570 New case, generalize.
4571 (sparc-*-elf*): Handle it.
4572 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
4573 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
4574 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
4576 (sparc*-*-solaris2*): ... this.
4578 (sparc64-*-elf*): Handle it.
4579 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
4580 Merge ../gcc/config/i386/gmon-sol2.c.
4581 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
4583 Merge ../gcc/config/i386/sol2-gc1.asm.
4584 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
4586 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
4588 * config/i386/t-crtfm (crtfastmath.o): Use $<.
4589 * config/i386/t-crtstuff: New file.
4590 * config/i386/t-softfp: New file.
4591 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
4592 $(T)crti.o, $(T)crtn.o): Remove.
4593 (gcrt1.o): New rule.
4594 (TARGET_LIBGCC2_CFLAGS): Remove.
4595 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
4596 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
4597 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
4598 * config/sparc/t-sol2: New file.
4599 * config/sparc/t-crtfm: Move to ...
4600 * config/t-crtfm: ... this.
4601 Use $(cpu_type), $<.
4602 * config/t-crtin: New file.
4603 * config/sparc/t-softfp: New file.
4604 * config/sparc/t-softmul: New file.
4605 * config/t-rtems: New file.
4606 * config/t-slibgcc: New file.
4607 * config/t-slibgcc-elf-ver: New file.
4608 * config/t-slibgcc-gld: New file.
4609 * config/t-slibgcc-sld: New file.
4610 * config/t-sol2: New file.
4611 * configure.ac: Include ../config/lib-ld.m4.
4612 Call AC_LIB_PROG_LD_GNU.
4613 Substitute cpu_type.
4614 * configure: Regenerate.
4616 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
4619 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
4620 libgcc-std.ver in the build directory.
4621 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
4622 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
4624 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
4626 * libgcc-std.ver.in: New file.
4627 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
4629 (libgcc-std.ver): New rule.
4630 * config/t-gnu-prefix: New file.
4632 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4634 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
4636 2011-05-10 Joseph Myers <joseph@codesourcery.com>
4638 * config/i386/darwin-lib.h: New file.
4640 2011-05-10 Joseph Myers <joseph@codesourcery.com>
4642 * config/arm/symbian-lib.h: New.
4644 2011-05-04 Chris Demetriou <cgd@google.com>
4646 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
4647 (__x86.get_pc_thunk.bx): ...this.
4648 (__morestack): Adjust for rename, remove undef of __i686.
4650 2011-05-03 Chris Demetriou <cgd@google.com>
4652 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
4654 2011-03-22 Joseph Myers <joseph@codesourcery.com>
4656 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
4657 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
4658 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
4659 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
4660 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
4663 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
4665 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
4666 Adjust copyright year.
4668 2011-03-07 Ian Lance Taylor <iant@google.com>
4670 * generic-morestack.c (__splitstack_find): Adjust returned stack
4671 pointer to include all registers pushed by __morestack.
4673 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
4676 * configure.ac: Call ACX_NONCANONICAL_TARGET.
4677 (toolexecdir): Calculate and AC_SUBST.
4678 (toolexeclibdir): Likewise.
4679 * Makefile.in (target_noncanonical): Import.
4680 (toolexecdir): Likewise.
4681 (toolexeclibdir): Likewise.
4682 * configure: Regenerate.
4684 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
4687 * config/arm/bpabi.h: Rename to...
4688 * config/arm/bpabi-lib.h: ...this.
4690 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4692 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
4694 * configure: Regenerate.
4696 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
4698 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
4699 __FLOAT_WORD_ORDER__.
4700 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
4703 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4706 * Makefile.in (install-strip): New phony target.
4708 2010-11-07 Ian Lance Taylor <iant@google.com>
4711 * config/i386/morestack.S (__morestack_large_model): New
4714 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
4716 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
4718 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
4720 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
4722 * config/arm/bpabi.h: New file.
4723 * config/frv/frv-abi.h: New file.
4725 2010-10-01 Ian Lance Taylor <iant@google.com>
4727 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
4728 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
4730 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
4733 * config.host: Add the missing `$'.
4735 2010-09-30 Michael Eager <eager@eagercon.com>
4737 * config.host: Add microblaze*-*-*.
4738 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
4739 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
4740 udivsi3.asm,umodsi3.asm}: New.
4742 2010-09-28 Ian Lance Taylor <iant@google.com>
4744 * configure.ac: Adjust CFI test to test assembler directly rather
4745 than checking gcc preprocessor macro.
4746 * configure: Rebuild.
4748 2010-09-27 Ian Lance Taylor <iant@google.com>
4750 * configure.ac: Test whether assembler supports CFI directives.
4751 * config.host: Only add t-stack and i386/t-stack-i386 to
4752 tmake_file if libgcc_cv_cfi is "yes".
4753 * configure: Rebuild.
4755 2010-09-27 Ian Lance Taylor <iant@google.com>
4757 * generic-morestack.h: New file.
4758 * generic-morestack.c: New file.
4759 * generic-morestack-thread.c: New file.
4760 * config/i386/morestack.S: New file.
4761 * config/t-stack: New file.
4762 * config/i386/t-stack-i386: New file.
4763 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
4764 i386/t-stack-i386 to tmake_file.
4766 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
4768 * Makefile.in (libgcc-extra-parts): Check for static archives and
4769 invoke ranlib after installing them.
4770 (gcc-extra-parts): Likewise.
4771 (install-leaf): Likewise.
4773 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
4775 * configure: Regenerated.
4777 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
4779 * configure: Regenerated.
4781 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
4782 Andrew Pinski <pinskia@gmail.com>
4785 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
4787 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
4790 * configure: Regenerated.
4792 2010-09-06 Andreas Schwab <schwab@redhat.com>
4794 * configure: Regenerate.
4796 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
4798 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
4800 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
4803 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
4804 Iain Sandoe <iains@gcc.gnu.org>
4807 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
4808 LIB2FUNCS_EXCLUDE functions.
4810 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4812 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
4814 * configure: Regenerate.
4816 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
4818 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
4819 i386/t-freebsd to tmake_file.
4820 * config/i386/t-freebsd: New file.
4821 * config/i386/libgcc-bsd.ver: New file.
4823 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
4825 * config.host (powerpc*-eabispe*): Set tmake_file.
4826 (powerpc*-eabi*): Likewise.
4827 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
4828 crtbeginS, crtendS, crtbeginT.
4830 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
4832 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
4833 to tmake_file. Add crtfastmath.o to extra_parts.
4834 * config/mips/t-crtfm: New.
4836 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
4838 * config.host (sparc64-*-rtems*): New target.
4840 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4842 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
4845 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
4847 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
4849 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4851 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
4852 alpha-dec-osf5.0* support.
4854 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
4856 * config.host: Add lm32-*-rtems*.
4858 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4859 Uros Bizjak <ubizjak@gmail.com>
4862 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
4863 like other remaining 32-bit x86 OSes.
4864 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
4866 * config/i386/libgcc-sol2.ver: New file.
4867 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
4869 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
4872 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
4873 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
4874 is used and substitute set_use_emutls.
4875 * configure: Regenerated.
4877 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
4879 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
4881 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4884 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
4886 ($(T)gcrt1.o): Likewise.
4887 ($(T)crt1.o): Likewise.
4888 ($(T)crti.o): Likewise.
4889 ($(T)crtn.o): Likewise.
4891 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4894 * Makefile.in (install): Use $(MAKE) string in rule, for
4897 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
4899 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
4900 * config/mmix/t-mmix: New file.
4901 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
4903 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
4906 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
4909 2010-01-04 Anthony Green <green@moxielogic.com>
4911 * config/moxie/crti.asm, config/moxie/crtn.asm,
4912 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
4913 config/moxie/t-moxie: New files.
4914 * config.host: Add t-moxie-softfp reference.
4916 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
4919 * config/t-slibgcc-darwin: Fix embedded rpaths for
4920 --enable-version-specific-runtime-libs, build extension stub
4921 libs exposing features available from current libgcc_s.
4923 2009-11-11 Jon Beniston <jon@beniston.com>
4925 * config.host: Add lm32 targets.
4926 * config/lm32: New directory.
4927 * config/lm32/libgcc_lm32.h: New file.
4928 * config/lm32/_mulsi3.c: New file.
4929 * config/lm32/_udivmodsi4.c: New file.
4930 * config/lm32/_divsi3.c: New file.
4931 * config/lm32/_modsi3.c: New file.
4932 * config/lm32/_udivsi3.c: New file.
4933 * config/lm32/_umodsi3.c: New file.
4934 * config/lm32/_lshrsi3.S: New file.
4935 * config/lm32/_ashrsi3.S: New file.
4936 * config/lm32/_ashlsi3.S: New file.
4937 * config/lm32/crti.S: New file.
4938 * config/lm32/crtn.S: New file.
4939 * config/lm32/t-lm32: New file.
4940 * config/lm32/t-elf: New file.
4941 * config/lm32/t-uclinux: New file.
4943 2009-10-26 Nick Clifton <nickc@redhat.com>
4945 * config.host: Add support for RX target.
4946 * config/rx: New directory.
4947 * config/rx/rx-abi-functions.c: New file. Supplementary
4948 functions for libgcc to support the RX ABI.
4949 * config/rx/rx-abi.h: New file. Supplementary header file for
4950 libgcc RX ABI functions.
4951 * config/rx/t-rx: New file: Makefile fragment for building
4954 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
4956 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
4957 constraint of y0 to "g".
4959 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4961 * config.host: Include the s390 makefile fragments.
4962 * config/s390/32/_fixdfdi.c: New file.
4963 * config/s390/32/_fixsfdi.c: New file.
4964 * config/s390/32/_fixtfdi.c: New file.
4965 * config/s390/32/_fixunsdfdi.c: New file.
4966 * config/s390/32/_fixunssfdi.c: New file.
4967 * config/s390/32/_fixunstfdi.c: New file.
4968 * config/s390/32/t-floattodi: New file.
4969 * config/s390/libgcc-glibc.ver: New file.
4970 * config/s390/t-crtstuff: New file.
4971 * config/s390/t-linux: New file.
4972 * config/s390/t-tpf: New file.
4974 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4976 * configure.ac (AC_PREREQ): Bump to 2.64.
4978 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
4980 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
4982 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4984 * configure: Regenerate.
4986 2009-08-09 Douglas B Rupp <rupp@gnat.com>
4988 * config.host (ia64-hp-*vms*): New target.
4989 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
4992 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4994 * configure.ac: Add snippet for maintainer-mode.
4995 * configure: Regenerate.
4996 * Makefile.in (AUTOCONF, configure_deps): New variables.
4997 ($(srcdir)/configure)): New rule, active only with maintainer
5000 2009-06-23 DJ Delorie <dj@redhat.com>
5003 * config.host: Add mep support.
5005 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
5007 * config.host: Add i386/${host_address}/t-fprules-softfp and
5008 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
5010 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
5012 * config/i386/64/_multc3.c: Likewise.
5013 * config/i386/64/_powitf2.c: Likewise.
5014 * config/i386/64/eqtf2.c: Likewise.
5015 * config/i386/64/getf2.c: Likewise.
5016 * config/i386/64/letf2.c: Likewise.
5017 * config/i386/64/letf2.c: Likewise.
5018 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
5019 unsigned long long for x64 mingw targets.
5020 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
5021 (_FP_I_TYPE): Define as long long for x64 mingw target.
5023 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
5025 * config.host (vax-*-linux*): New.
5027 2009-05-31 Anthony Green <green@moxielogic.com>
5029 * config.host: Add moxie support.
5030 * config/moxie/t-moxie: New file.
5032 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
5034 * config.host: Add i386/${host_address}/t-fprules-softfp and
5035 t-softfp to tmake_file for i[34567]86-*-cygwin*.
5037 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
5039 * config.host: Add i386/${host_address}/t-fprules-softfp to
5040 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
5042 2009-04-09 Nick Clifton <nickc@redhat.com>
5044 * config/ia64/tf-signs.c: Change copyright header to refer to
5045 version 3 of the GNU General Public License with version 3.1
5046 of the GCC Runtime Library Exception and to point readers at
5047 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
5049 * config/i386/32/tf-signs.c: Likewise.
5050 * config/libbid/_addsub_dd.c: Likewise.
5051 * config/libbid/_addsub_sd.c: Likewise.
5052 * config/libbid/_addsub_td.c: Likewise.
5053 * config/libbid/_dd_to_df.c: Likewise.
5054 * config/libbid/_dd_to_di.c: Likewise.
5055 * config/libbid/_dd_to_sd.c: Likewise.
5056 * config/libbid/_dd_to_sf.c: Likewise.
5057 * config/libbid/_dd_to_si.c: Likewise.
5058 * config/libbid/_dd_to_td.c: Likewise.
5059 * config/libbid/_dd_to_tf.c: Likewise.
5060 * config/libbid/_dd_to_udi.c: Likewise.
5061 * config/libbid/_dd_to_usi.c: Likewise.
5062 * config/libbid/_dd_to_xf.c: Likewise.
5063 * config/libbid/_df_to_dd.c: Likewise.
5064 * config/libbid/_df_to_sd.c: Likewise.
5065 * config/libbid/_df_to_td.c: Likewise.
5066 * config/libbid/_di_to_dd.c: Likewise.
5067 * config/libbid/_di_to_sd.c: Likewise.
5068 * config/libbid/_di_to_td.c: Likewise.
5069 * config/libbid/_div_dd.c: Likewise.
5070 * config/libbid/_div_sd.c: Likewise.
5071 * config/libbid/_div_td.c: Likewise.
5072 * config/libbid/_eq_dd.c: Likewise.
5073 * config/libbid/_eq_sd.c: Likewise.
5074 * config/libbid/_eq_td.c: Likewise.
5075 * config/libbid/_ge_dd.c: Likewise.
5076 * config/libbid/_ge_sd.c: Likewise.
5077 * config/libbid/_ge_td.c: Likewise.
5078 * config/libbid/_gt_dd.c: Likewise.
5079 * config/libbid/_gt_sd.c: Likewise.
5080 * config/libbid/_gt_td.c: Likewise.
5081 * config/libbid/_isinfd128.c: Likewise.
5082 * config/libbid/_isinfd32.c: Likewise.
5083 * config/libbid/_isinfd64.c: Likewise.
5084 * config/libbid/_le_dd.c: Likewise.
5085 * config/libbid/_le_sd.c: Likewise.
5086 * config/libbid/_le_td.c: Likewise.
5087 * config/libbid/_lt_dd.c: Likewise.
5088 * config/libbid/_lt_sd.c: Likewise.
5089 * config/libbid/_lt_td.c: Likewise.
5090 * config/libbid/_mul_dd.c: Likewise.
5091 * config/libbid/_mul_sd.c: Likewise.
5092 * config/libbid/_mul_td.c: Likewise.
5093 * config/libbid/_ne_dd.c: Likewise.
5094 * config/libbid/_ne_sd.c: Likewise.
5095 * config/libbid/_ne_td.c: Likewise.
5096 * config/libbid/_sd_to_dd.c: Likewise.
5097 * config/libbid/_sd_to_df.c: Likewise.
5098 * config/libbid/_sd_to_di.c: Likewise.
5099 * config/libbid/_sd_to_sf.c: Likewise.
5100 * config/libbid/_sd_to_si.c: Likewise.
5101 * config/libbid/_sd_to_td.c: Likewise.
5102 * config/libbid/_sd_to_tf.c: Likewise.
5103 * config/libbid/_sd_to_udi.c: Likewise.
5104 * config/libbid/_sd_to_usi.c: Likewise.
5105 * config/libbid/_sd_to_xf.c: Likewise.
5106 * config/libbid/_sf_to_dd.c: Likewise.
5107 * config/libbid/_sf_to_sd.c: Likewise.
5108 * config/libbid/_sf_to_td.c: Likewise.
5109 * config/libbid/_si_to_dd.c: Likewise.
5110 * config/libbid/_si_to_sd.c: Likewise.
5111 * config/libbid/_si_to_td.c: Likewise.
5112 * config/libbid/_td_to_dd.c: Likewise.
5113 * config/libbid/_td_to_df.c: Likewise.
5114 * config/libbid/_td_to_di.c: Likewise.
5115 * config/libbid/_td_to_sd.c: Likewise.
5116 * config/libbid/_td_to_sf.c: Likewise.
5117 * config/libbid/_td_to_si.c: Likewise.
5118 * config/libbid/_td_to_tf.c: Likewise.
5119 * config/libbid/_td_to_udi.c: Likewise.
5120 * config/libbid/_td_to_usi.c: Likewise.
5121 * config/libbid/_td_to_xf.c: Likewise.
5122 * config/libbid/_tf_to_dd.c: Likewise.
5123 * config/libbid/_tf_to_sd.c: Likewise.
5124 * config/libbid/_tf_to_td.c: Likewise.
5125 * config/libbid/_udi_to_dd.c: Likewise.
5126 * config/libbid/_udi_to_sd.c: Likewise.
5127 * config/libbid/_udi_to_td.c: Likewise.
5128 * config/libbid/_unord_dd.c: Likewise.
5129 * config/libbid/_unord_sd.c: Likewise.
5130 * config/libbid/_unord_td.c: Likewise.
5131 * config/libbid/_usi_to_dd.c: Likewise.
5132 * config/libbid/_usi_to_sd.c: Likewise.
5133 * config/libbid/_usi_to_td.c: Likewise.
5134 * config/libbid/_xf_to_dd.c: Likewise.
5135 * config/libbid/_xf_to_sd.c: Likewise.
5136 * config/libbid/_xf_to_td.c: Likewise.
5137 * config/libbid/bid128.c: Likewise.
5138 * config/libbid/bid128_2_str.h: Likewise.
5139 * config/libbid/bid128_2_str_macros.h: Likewise.
5140 * config/libbid/bid128_2_str_tables.c: Likewise.
5141 * config/libbid/bid128_add.c: Likewise.
5142 * config/libbid/bid128_compare.c: Likewise.
5143 * config/libbid/bid128_div.c: Likewise.
5144 * config/libbid/bid128_fma.c: Likewise.
5145 * config/libbid/bid128_logb.c: Likewise.
5146 * config/libbid/bid128_minmax.c: Likewise.
5147 * config/libbid/bid128_mul.c: Likewise.
5148 * config/libbid/bid128_next.c: Likewise.
5149 * config/libbid/bid128_noncomp.c: Likewise.
5150 * config/libbid/bid128_quantize.c: Likewise.
5151 * config/libbid/bid128_rem.c: Likewise.
5152 * config/libbid/bid128_round_integral.c: Likewise.
5153 * config/libbid/bid128_scalb.c: Likewise.
5154 * config/libbid/bid128_sqrt.c: Likewise.
5155 * config/libbid/bid128_string.c: Likewise.
5156 * config/libbid/bid128_to_int16.c: Likewise.
5157 * config/libbid/bid128_to_int32.c: Likewise.
5158 * config/libbid/bid128_to_int64.c: Likewise.
5159 * config/libbid/bid128_to_int8.c: Likewise.
5160 * config/libbid/bid128_to_uint16.c: Likewise.
5161 * config/libbid/bid128_to_uint32.c: Likewise.
5162 * config/libbid/bid128_to_uint64.c: Likewise.
5163 * config/libbid/bid128_to_uint8.c: Likewise.
5164 * config/libbid/bid32_to_bid128.c: Likewise.
5165 * config/libbid/bid32_to_bid64.c: Likewise.
5166 * config/libbid/bid64_add.c: Likewise.
5167 * config/libbid/bid64_compare.c: Likewise.
5168 * config/libbid/bid64_div.c: Likewise.
5169 * config/libbid/bid64_fma.c: Likewise.
5170 * config/libbid/bid64_logb.c: Likewise.
5171 * config/libbid/bid64_minmax.c: Likewise.
5172 * config/libbid/bid64_mul.c: Likewise.
5173 * config/libbid/bid64_next.c: Likewise.
5174 * config/libbid/bid64_noncomp.c: Likewise.
5175 * config/libbid/bid64_quantize.c: Likewise.
5176 * config/libbid/bid64_rem.c: Likewise.
5177 * config/libbid/bid64_round_integral.c: Likewise.
5178 * config/libbid/bid64_scalb.c: Likewise.
5179 * config/libbid/bid64_sqrt.c: Likewise.
5180 * config/libbid/bid64_string.c: Likewise.
5181 * config/libbid/bid64_to_bid128.c: Likewise.
5182 * config/libbid/bid64_to_int16.c: Likewise.
5183 * config/libbid/bid64_to_int32.c: Likewise.
5184 * config/libbid/bid64_to_int64.c: Likewise.
5185 * config/libbid/bid64_to_int8.c: Likewise.
5186 * config/libbid/bid64_to_uint16.c: Likewise.
5187 * config/libbid/bid64_to_uint32.c: Likewise.
5188 * config/libbid/bid64_to_uint64.c: Likewise.
5189 * config/libbid/bid64_to_uint8.c: Likewise.
5190 * config/libbid/bid_b2d.h: Likewise.
5191 * config/libbid/bid_binarydecimal.c: Likewise.
5192 * config/libbid/bid_conf.h: Likewise.
5193 * config/libbid/bid_convert_data.c: Likewise.
5194 * config/libbid/bid_decimal_data.c: Likewise.
5195 * config/libbid/bid_decimal_globals.c: Likewise.
5196 * config/libbid/bid_div_macros.h: Likewise.
5197 * config/libbid/bid_dpd.c: Likewise.
5198 * config/libbid/bid_flag_operations.c: Likewise.
5199 * config/libbid/bid_from_int.c: Likewise.
5200 * config/libbid/bid_functions.h: Likewise.
5201 * config/libbid/bid_gcc_intrinsics.h: Likewise.
5202 * config/libbid/bid_inline_add.h: Likewise.
5203 * config/libbid/bid_internal.h: Likewise.
5204 * config/libbid/bid_round.c: Likewise.
5205 * config/libbid/bid_sqrt_macros.h: Likewise.
5207 2009-04-09 Jakub Jelinek <jakub@redhat.com>
5209 * Makefile.in: Change copyright header to refer to version
5210 3 of the GNU General Public License and to point readers at the
5211 COPYING3 file and the FSF's license web page.
5212 * config.host: Likewise.
5214 2009-04-07 Alan Modra <amodra@bigpond.net.au>
5216 * config.host: Reorder and merge to match config.gcc change.
5218 2009-04-03 Alan Modra <amodra@bigpond.net.au>
5220 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
5222 2009-03-28 Joseph Myers <joseph@codesourcery.com>
5224 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
5225 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
5226 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
5227 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
5229 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
5231 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
5232 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
5234 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
5236 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
5237 ia64/t-softfp-compat to tmake_file.
5239 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
5241 * config/ia64/__divxf3.asm: New.
5242 * config/ia64/_fixtfdi.asm: Likewise.
5243 * config/ia64/_fixunstfdi.asm: Likewise.
5244 * config/ia64/_floatditf.asm: Likewise.
5245 * config/ia64/t-fprules-softfp: Likewise.
5246 * config/ia64/t-softfp-compat: Likewise.
5247 * config/ia64/tf-signs.c: Likewise.
5249 2009-01-18 Ben Elliston <bje@au.ibm.com>
5251 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
5253 2009-01-16 Ben Elliston <bje@au.ibm.com>
5255 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
5258 2009-01-13 Ben Elliston <bje@au.ibm.com>
5260 * config/t-softfp: New file.
5261 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
5262 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
5264 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
5266 * config.host: Add m32r*-*-rtems*.
5268 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
5270 * config.host: Add m32c*-*-rtems*.
5272 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5275 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
5276 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
5277 * configure: Regenerate.
5278 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
5279 tmake_file here from gcc/config.gcc.
5280 Move extra_parts here from gcc/config.gcc.
5281 * config/i386/t-sol2: Move here from gcc/config/i386.
5282 Use gcc_srcdir instead of srcdir.
5284 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
5286 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
5289 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
5291 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
5293 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
5295 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
5297 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
5300 * config.host: Add picochip-*-*.
5302 2008-08-06 Bob Wilson <bob.wilson@acm.org>
5304 * config.host: Match more processor names for Xtensa.
5306 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
5308 * config/i386/64/t-softfp-compat: Update comments.
5310 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
5312 * config/i386/64/_divtc3-compat.c: Moved to ...
5313 * config/i386/64/_divtc3.c: Here.
5315 * config/i386/64/_multc3-compat.c: Moved to ...
5316 * config/i386/64/_multc3.c: Here.
5318 * config/i386/64/_powitf2-compat.c: Moved to ...
5319 * config/i386/64/_powitf2.c: Here.
5321 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
5322 .c suffix instead of -compat.c.
5324 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
5326 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
5327 (_FP_MUL_MEAT_D): Ditto.
5328 (_FP_DIV_MEAT_S): Ditto.
5329 (_FP_DIV_MEAT_D): Ditto.
5331 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
5333 * Makefile.in: Add support for __sync_* libgcc functions.
5335 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
5337 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
5339 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
5342 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
5343 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
5345 * config/i386/64/t-fprules-softfp: Moved to ...
5346 * config/i386/64/t-softfp-compat: This. New.
5348 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
5350 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
5351 Initialize f with 0.0.
5353 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
5356 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
5358 * config/i386/64/_divtc3-compat.c: New.
5359 * config/i386/64/_multc3-compat.c: Likewise.
5360 * config/i386/64/_powitf2-compat.c: Likewise.
5361 * config/i386/64/eqtf2.c: Likewise.
5362 * config/i386/64/getf2.c: Likewise.
5363 * config/i386/64/letf2.c: Likewise.
5364 * config/i386/64/t-fprules-softfp: Likewise.
5366 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
5368 * config.host: Add i386/${host_address}/t-fprules-softfp to
5369 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
5370 i[34567]86-*-linux*, x86_64-*-linux*.
5372 * configure.ac: Set host_address to 64 or 32 for x86.
5373 * configure: Regenerated.
5375 * Makefile.in (config.status): Also depend on
5376 $(srcdir)/config.host.
5378 * config/i386/32/t-fprules-softfp: New.
5379 * config/i386/32/tf-signs.c: Likewise.
5381 * config/i386/64/sfp-machine.h: New. Moved from gcc.
5383 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
5384 Uros Bizjak <ubizjak@gmail.com>
5386 * config/i386/32/sfp-machine.h: New.
5388 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
5390 * config/rs6000/t-ppccomm: Remove rules that conflict with
5391 auto-generated rules.
5393 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5395 * configure.ac: sinclude override.m4.
5396 * configure: Regenerate.
5398 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
5400 * configure: Regenerate.
5402 2008-06-10 Joseph Myers <joseph@codesourcery.com>
5404 * Makefile.in (DECNUMINC): Remove
5405 -I$(MULTIBUILDTOP)../../libdecnumber.
5408 2008-06-07 Joseph Myers <joseph@codesourcery.com>
5410 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
5411 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
5412 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
5413 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
5414 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
5415 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
5416 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
5417 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
5418 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
5419 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
5420 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
5421 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
5422 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
5423 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
5425 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
5427 * config.host (sh2[lbe]*-*-linux*): Allow target.
5429 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
5431 * config/rs6000/t-ppccomm: Add build rules for new files.
5432 (LIB2ADD_ST): New variable.
5434 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
5438 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
5439 * config/t-avr: New file. Build 16bit libgcc functions.
5441 2008-03-02 Jakub Jelinek <jakub@redhat.com>
5444 * config/t-slibgcc-darwin: Make install-leaf dependent on
5445 install-darwin-libgcc-stubs instead of install.
5447 2008-01-25 Joseph Myers <joseph@codesourcery.com>
5449 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
5450 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
5451 sh-*-rtemscoff*): Remove cases.
5453 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
5455 * Makefile.in (all): Use install-leaf rather than install.
5456 (install): Split most of the rule into...
5457 (install-leaf): ...this new one.
5459 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
5460 Paolo Bonzini <bonzini@gnu.org>
5463 * Makefile.in: Use @shlib_slibdir@ substitution to get
5464 correct install name on darwin.
5465 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
5467 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
5469 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
5470 cris-*-elf and cris-*-none.
5471 (crisv32-*-linux*): Similar, as cris-*-linux*.
5473 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
5475 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
5477 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
5480 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
5481 * configure: Regenerated.
5483 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
5485 * Makefile.in (dfp-filenames): Replace decimal_globals,
5486 decimal_data, binarydecimal and convert_data with
5487 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
5488 and bid_convert_data, respectively.
5490 2007-09-17 Chao-ying Fu <fu@mips.com>
5491 Nigel Stephens <nigel@mips.com>
5493 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
5494 * Makefile.in (fixed_point): Define.
5495 Check if fixed_point is yes to build support functions.
5496 * configure.ac: Check for fixed_point support.
5497 * configure: Regenerated.
5498 * gen-fixed.sh: New file to generate lists of fixed-point labels,
5499 funcs, modes, from, to.
5501 2007-09-11 Janis Johnson <janis187@us.ibm.com
5503 * Makefile.in (dfp-filenames): Add bid128_noncomp.
5505 2007-09-10 Janis Johnson <janis187@us.ibm.com>
5507 * Makefile.in (dfp-filenames): Remove decUtility, add
5508 decDouble, decPacked, decQuad, decSingle.
5510 2007-08-27 Hans Kester <hans.kester@ellips.nl>
5512 * config.host : Add x86_64-elf target.
5514 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
5516 * configure.ac (set_have_cc_tls): Add a missing =.
5517 * configure: Regenerated.
5519 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
5521 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
5522 and x86_64-*-linux*.
5524 * config/t-tls: New file.
5526 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
5528 * configure.ac: Include ../config/enable.m4 and
5529 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
5530 supports TLS and substitute set_have_cc_tls.
5531 * configure: Regenerated.
5533 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
5535 * Makefile.in: Use libbid for DFP when BID is enabled.
5537 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
5539 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
5540 extra_parts. Add config/i386/t-cygming to tmake_file.
5541 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
5543 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
5544 Danny Smith <dannysmith@users.sourceforge.net>
5547 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
5548 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
5549 * config/i386/t-crtfm: Compile crtfastmath.o with
5550 -minline-all-stringops.
5552 2007-05-10 Richard Sandiford <richard@codesourcery.com>
5554 * config.host (sparc-wrs-vxworks): New target.
5556 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
5558 * config.host: Recognize fido.
5560 2007-04-04 Janis Johnson <janis187@us.ibm.com>
5562 * configure: Check host, not target, for decimal float support.
5564 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
5566 * config/i386/t-crtpc: New file.
5567 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5568 (x86_64-*-linux*): Ditto.
5570 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
5572 * config.host (x86_64-*-mingw*): New target.
5574 2007-03-23 Michael Meissner <michael.meissner@amd.com>
5575 H.J. Lu <hongjiu.lu@intel.com>
5577 * Makefile.in (enable_decimal_float): New.
5579 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
5580 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
5581 (decbits-filenames): This.
5582 (decbits-objects): New.
5583 (libgcc-objects): Add $(decbits-objects).
5585 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
5586 Substitute enable_decimal_float.
5587 * configure: Regenerated.
5589 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
5591 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
5593 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
5595 * Makefile.in (install-info): New dummy target.
5597 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
5599 * config.host (bfin*-linux-uclibc*): Set extra_parts.
5601 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
5603 * Makefile.in: Add install-html and install-pdf dummy
5606 2007-02-05 Roger Sayle <roger@eyesopen.com>
5607 Daniel Jacobowitz <dan@codesourcery.com>
5609 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
5610 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
5611 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
5613 2007-01-29 Janis Johnson <janis187@us.ibm.com>
5615 * Makefile.in (dec-filenames): Add decExcept.
5617 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
5620 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
5623 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
5625 * configure.ac: Add --enable-version-specific-runtime-libs.
5626 Correct $slibdir default.
5627 * configure: Regenerated.
5629 2007-01-23 Joseph Myers <joseph@codesourcery.com>
5631 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
5633 2007-01-21 Andrew Pinski <pinskia@gmail.com>
5636 * config.host (alpha*-*-linux*): Set extra_parts.
5638 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
5640 * config/sh/t-linux: New.
5641 * config.host (sh*-*-linux*): Set tmake_file.
5643 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
5645 * Makefile.in (install): Handle multilibs.
5647 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
5649 * Makefile.in: Added .PHONY entry for documentation targets.
5651 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
5653 * Makefile.in: Add empty info, html, dvi, pdf targets.
5655 2007-01-04 Mike Stump <mrs@apple.com>
5657 * Makefile.in (MAKEINFO): Remove.
5660 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
5662 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
5663 * configure: Regenerate.
5664 * Makefile.in (host_subdir): Substitute it.
5665 (gcc_objdir): Use it.
5667 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5669 * config.host (ia64*-*-linux*): Set tmake_file.
5671 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5673 * Makefile.in (version): Define.
5675 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
5676 Paolo Bonzini <bonzini@gnu.org>
5678 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
5679 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
5680 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
5681 config/sparc/t-crtfm, config/t-slibgcc-darwin,
5682 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
5683 shared-object.mk, siditi-object.mk, static-object.mk: New files.
5684 * configure: Generated.