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