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