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