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