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