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