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