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