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