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