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