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