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