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