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