gcov-tool: Do not segfault in merge operation (PR
[platform/upstream/gcc.git] / libgcc / ChangeLog
1 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
2
3         PR gcov-profile/67097
4         * libgcov-util.c (gcov_profile_merge): Skip missing files.
5
6 2016-08-10  Martin Liska  <mliska@suse.cz>
7
8         PR gcov-profile/58306
9         * Makefile.in: New functions (modules) are added.
10         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
11         function.
12         (__gcov_pow2_profiler_atomic): New function.
13         (__gcov_one_value_profiler_body): New argument is instroduced.
14         (__gcov_one_value_profiler): Call with the new argument.
15         (__gcov_one_value_profiler_atomic): Likewise.
16         (__gcov_indirect_call_profiler_v2): Likewise.
17         (__gcov_time_profiler_atomic): New function.
18         (__gcov_average_profiler_atomic): Likewise.
19         (__gcov_ior_profiler_atomic): Likewise.
20         * libgcov.h: Declare the aforementioned functions.
21
22 2016-08-09  Martin Liska  <mliska@suse.cz>
23
24         * libgcov-util.c: Fix typo and GNU coding style.
25
26 2016-08-09  Martin Liska  <mliska@suse.cz>
27
28         * Makefile.in: Remove __gcov_indirect_call_profiler.
29         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
30         function.
31         * libgcov.h: And the declaration of the function.
32
33 2016-08-09  Martin Liska  <mliska@suse.cz>
34
35         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
36         power of two.
37
38 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
39
40         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
41         * config/rs6000/_mulkc3.c: Likewise.
42
43 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
44
45         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
46         zero_reg as previous call to __umulhisi3 already cleared it.
47
48 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
49
50         PR target/59833
51         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
52
53 2016-07-19  Nick Clifton  <nickc@redhat.com>
54
55         * config.host (m32r): Add m32r/t-m32r to tmake_file.
56         Add crtinit.o and crtfini.o to extra_parts.
57
58 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
59
60         * config/rs6000/_divkc3.c: New.
61         * config/rs6000/_mulkc3.c: New.
62         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
63         and _divkc3.
64         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
65         fp128_ppc_funcs.
66
67 2016-07-11  Hale Wang  <hale.wang@arm.com>
68             Andre Vieira  <andre.simoesdiasvieira@arm.com>
69
70         * config/arm/lib1funcs.S: Add new wrapper.
71
72 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
73
74         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
75
76 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
77
78         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
79         and ARMv5t* rather than for a fixed list of architectures.
80
81 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
82
83         * config/arm/bpabi-v6m.S: Clarify what architectures is the
84         implementation suitable for.
85         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
86         for all Thumb-1 only targets.
87         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
88         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
89         __ARM_ARCH_6M__.
90         (EQUIV): Likewise.
91         (ARM_FUNC_ALIAS): Likewise.
92         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
93         version.
94         (modsi3): Likewise.
95         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
96         (clzdi2): Likewise.
97         (ctzsi2): Likewise.
98         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
99         __ARM_ARCH_6M__ in guard for checking whether it is defined.
100         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
101         __ARM_ARCH_6M__ and add comment to indicate the connection between
102         this condition and the one in gcc/config/arm/elf.h.
103         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
104         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
105         * config/arm/t-softfp: Likewise.
106
107 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
108
109         * libgcc2.c (SYMBOL__MAIN): Remove checks for
110         CTOR_LISTS_DEFINED_EXTERNALLY.
111
112 2016-06-28  Walter Lee  <walt@tilera.com>
113
114         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
115         asm/unistd.h.
116         (SPR_CMPEXCH_VALUE): Define for tilegx.
117         (__NR_FAST_cmpxchg): Define for tilepro.
118         (__NR_FAST_atomic_update): Define for tilepro.
119         (__NR_FAST_cmpxchg64): Define for tilepro.
120
121 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
122
123    * config.host: Add suport for arm*-*-phoenix* targets.
124
125 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
126
127         * config.host: Remove support for mep-*.
128         * config/mep/lib1funcs.S: Remove.
129         * config/mep/lib2funcs.c: Remove.
130         * config/mep/t-mep: Remove.
131         * config/mep/tramp.c: Remove.
132
133 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
134
135         * config.host: Remove support for avr-rtems.
136         * config/avr/t-rtems: Remove.
137
138 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
139
140         * config.host: Remove m32r-rtems support.
141
142 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
143
144         * config.host: Remove h8300-rtems support.
145
146 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
147
148         * config.host: Remove support for knetbsd.
149
150 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
151
152         * config.host: Remove support for openbsd 2 and 3.
153
154 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
155
156         * config.host: Remove interix support.
157         * config/i386/t-interix: Remove.
158
159 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
160
161         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
162         least-significant bit in function pointer for fixup.
163
164 2016-06-05  Aaron Conole  <aconole@redhat.com>
165             Nathan Sidwell  <nathan@acm.org>
166
167         PR libgcc/71400
168         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
169         (get_gcov_error_file): Check __gcov_error_file before trying to
170         initialize it.
171         (gcov_error): Always use get_gcov_error_file.
172
173 2016-06-02  Aaron Conole  <aconole@redhat.com>
174
175         * libgcov-driver-system.c (__gcov_error_file): New.
176         (get_gcov_error_file): New.
177         (gcov_error): Use and set __gcov_error_file.
178         (gcov_error_exit): New.
179         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
180
181 2016-05-26  Nathan Sidwell  <nathan@acm.org>
182
183         * config/nvptx/free.asm: Delete.
184         * config/nvptx/malloc.asm: Delete.
185         * config/nvptx/realloc.c: Delete.
186         * t-nvptx: Update.
187
188 2016-05-25  Nathan Sidwell  <nathan@acm.org>
189
190         * config/nvptx/crt0.s: Delete.
191         * config/nvptx/crt0.c: New.
192         * t-nvptx: Update.
193
194 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
195
196         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
197         dw2/seh configuration.
198         [x86_64-*-mingw*]: Likewise.
199
200 2016-05-10  Joel Sherrill <joel@rtems.org>
201
202         PR libgcc/70720
203         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
204         targets so the same extra_parts are built.  Also have tmake_file add
205         on to its value rather than override.
206
207 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
208
209         * config.host: Remove SH5 support.
210         * configure: Likewise.
211
212 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
213
214         * config/sh/crt1.S: Remove SH5 support.
215         * config/sh/crti.S: Likewise.
216         * config/sh/crtn.S: Likewise.
217         * config/sh/lib1funcs-4-300.S: Likewise.
218         * config/sh/lib1funcs-Os-4-200.S: Likewise.
219         * config/sh/lib1funcs.S: Likewise.
220         * config/sh/linux-unwind.h: Likewise.
221         * config/sh/t-sh64: Delete.
222
223 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
224
225         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
226
227 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
228             Joern Rennecke  <joern.rennecke@embecosm.com>
229
230         * config/arc/crttls.S: New file.
231         * config/arc/t-arc: New rule.
232         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
233
234 2016-04-25  Nick Clifton  <nickc@redhat.com>
235
236         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
237         (__mspabi_cmpd): Likewise.
238         * config/msp430/floathidf.c (__floathidf): Likewise.
239         * config/msp430/floathisf.c (__floathisf): Likewise
240         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
241         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
242         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
243         second parameter.
244         (__ashrsi3): Likewise.
245
246 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
247
248         * config/m68k/linux-atomic.c: Do not include unistd.h
249
250 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
251
252         * config/arm/ieee754-df.S: Fix typos in comments.
253
254 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
255
256         PR target/70381
257         * configure.ac (powerpc*-*-linux*): Rework tests to build
258         __float128 emulation routines to not depend on using #pragma GCC
259         target to enable -mfloat128.
260         * configure: Regnerate.
261
262 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
263
264         PR target/67172
265         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
266         __MINGW32__ is defined.
267
268 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
269
270         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
271
272 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
273
274         PR libgcc/70363
275         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
276         built with an assembler that does not support ISA 3.0
277         instructions, rename __extendkftf2_sw to __extendkftf2.
278
279 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
280
281         PR target/38239
282         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
283         call-clobbered registers.
284         (internal_mcount): Remove __i386__ handling.
285
286 2016-02-26  Joel Sherrill <joel@rtems.org>
287
288         * config.host: Add x86_64-*-rtems*.
289
290 2016-02-26  Joel Sherrill <joel@rtems.org>
291
292         * libgcc/config.host: Add aarch64-*-rtems*.
293
294 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
295             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
296
297         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
298         union of u64 and double.
299         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
300         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
301         value.
302         (FP_ROUNDMODE): Update the usage of _fpscr.
303
304 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
305
306         PR driver/68463
307         * Makefile.in (crtoffloadtable$(objext)): New rule.
308         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
309         enable_offload_targets is not empty.
310         * configure: Regenerate.
311         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
312         crtoffloadtable.
313
314 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
315
316         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
317         .literal_position before the function.
318         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
319         Likewise.
320
321 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
322
323         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
324         * config/s390/morestack.S: New file.
325         * config/s390/t-stack-s390: New file.
326         * generic-morestack.c (__splitstack_find): Add s390-specific code.
327
328 2016-02-12  Walter Lee  <walt@tilera.com>
329
330         * config.host (tilegx*-*-linux*): remove ti from
331         softfp_int_modes for 32-bit configs.
332
333 2016-02-10  Ian Lance Taylor  <iant@google.com>
334
335         PR go/68562
336         * config/i386/morestack.S (__stack_split_initialize): Align
337         stack.
338
339 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
340
341         PR bootstrap/69611
342         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
343         __FLOAT128__ to compile only for __float128 capable targets.
344
345 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
346
347         PR target/69444
348         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
349         instead of ___NO_FPRS__.
350
351 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
352             Steven Munroe  <munroesj@linux.vnet.ibm.com>
353             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
354
355         * config/rs6000/float128-sed: New files to convert TF names to KF
356         names for PowerPC IEEE 128-bit floating point support.
357         * config/rs6000/float128-sed-hw: Likewise.
358
359         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
360         floating point hardware support.
361
362         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
363         128-bit floating point software emulation or use ISA 3.0 hardware
364         support if it is available.
365
366         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
367         floating point.
368
369         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
370         floating point to IBM extended double.
371
372         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
373         double to IEEE 128-bit floating point.
374
375         * config/rs6000/t-float128: New Makefile fragments to enable
376         building __float128 emulation support.
377         * config/rs6000/t-float128-hw: Likewise.
378
379         * config/rs6000/sfp-exceptions.c: New file to provide exception
380         support for IEEE 128-bit floating point.
381
382         * config/rs6000/floattikf.c: New files for converting between IEEE
383         128-bit floating point and signed/unsigned 128-bit integers.
384         * config/rs6000/fixunskfti.c: Likewise.
385         * config/rs6000/fixkfti.c: Likewise.
386         * config/rs6000/floatuntikf.c: Likewise.
387
388         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
389         when building on 64-bit systems, or when VSX is enabled.
390         (_FP_W_TYPE): Likewise.
391         (_FP_WS_TYPE): Likewise.
392         (_FP_I_TYPE): Likewise.
393         (TItype): Define on 64-bit systems.
394         (UTItype): Likewise.
395         (TI_BITS): Likewise.
396         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
397         (_FP_MUL_MEAT_Q): Likewise.
398         (_FP_DIV_MEAT_D): Likewise.
399         (_FP_DIV_MEAT_Q): Likewise.
400         (_FP_NANFRAC_D): Likewise.
401         (_FP_NANFRAC_Q): Likewise.
402         (ISA_BIT): Add exception support if we are being compiled on a
403         machine with hardware floating point support to build the IEEE
404         128-bit emulation functions.
405         (FP_EX_INVALID): Likewise.
406         (FP_EX_OVERFLOW): Likewise.
407         (FP_EX_UNDERFLOW): Likewise.
408         (FP_EX_DIVZERO): Likewise.
409         (FP_EX_INEXACT): Likewise.
410         (FP_EX_ALL): Likewise.
411         (__sfp_handle_exceptions): Likewise.
412         (FP_HANDLE_EXCEPTIONS): Likewise.
413         (FP_RND_NEAREST): Likewise.
414         (FP_RND_ZERO): Likewise.
415         (FP_RND_PINF): Likewise.
416         (FP_RND_MINF): Likewise.
417         (FP_RND_MASK): Likewise.
418         (_FP_DECL_EX): Likewise.
419         (FP_INIT_ROUNDMODE): Likewise.
420         (FP_ROUNDMODE): Likewise.
421
422         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
423         VSX code, enable IEEE 128-bit floating point.  If the compiler can
424         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
425         floating point hardware instructions and it supports declaring
426         functions with the ifunc attribute, enable ifunc functions to
427         switch between software and hardware support.
428         * configure.ac (powerpc*-*-linux*): Likewise.
429         * configure: Regenerate.
430
431 2016-01-15  Nick Clifton  <nickc@redhat.com>
432
433         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
434         dependency as the source file to be compiled.
435         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
436         (lib2hw_mul_f5.o): Likewise.
437
438 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
439
440         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
441         * libgcc/config/rs6000/fixkfti.c: Likewise.
442         * libgcc/config/rs6000/fixunskfti.c: Likewise.
443         * libgcc/config/rs6000/float128-hw.c: Likewise.
444         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
445         * libgcc/config/rs6000/float128-sed: Likewise.
446         * libgcc/config/rs6000/floattikf.c: Likewise.
447         * libgcc/config/rs6000/floatuntikf.c: Likewise.
448         * libgcc/config/rs6000/quad-float128.h: Likewise.
449         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
450         * libgcc/config/rs6000/sfp-machine.h: Likewise.
451         * libgcc/config/rs6000/t-float128: Likewise.
452         * libgcc/config/rs6000/t-float128-hw: Likewise.
453         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
454         * libgcc/config.host: Likewise.
455         * libgcc/configure: Likewise.
456         * libgcc/configure.ac: Likewise.
457
458 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
459             Steven Munroe  <munroesj@linux.vnet.ibm.com>
460             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
461
462         * config/rs6000/sfp-exceptions.c: New file to provide exception
463         support for IEEE 128-bit floating point.
464
465         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
466         floating point hardware support.
467
468         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
469         point conversions.
470         * config/rs6000/fixunskfti.c: Likewise.
471         * config/rs6000/fixkfti.c: Likewise.
472         * config/rs6000/floatuntikf.c: Likewise.
473         * config/rs6000/extendkftf2-sw.c: Likewise.
474         * config/rs6000/trunctfkf2-sw.c: Likewise.
475
476         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
477         128-bit floating point software emulation or use ISA 3.0 hardware
478         support if it is available.
479
480         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
481         floating point.
482
483         * config/rs6000/t-float128: New Makefile fragments to enable
484         building __float128 emulation support.
485         * config/rs6000/t-float128-hw: Likewise.
486
487         * config/rs6000/float128-sed: New file to convert TF names to KF
488         names for PowerPC IEEE 128-bit floating point support.
489
490         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
491         when building on 64-bit systems, or when VSX is enabled.
492         (_FP_W_TYPE): Likewise.
493         (_FP_WS_TYPE): Likewise.
494         (_FP_I_TYPE): Likewise.
495         (TItype): Define on 64-bit systems.
496         (UTItype): Likewise.
497         (TI_BITS): Likewise.
498         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
499         (_FP_MUL_MEAT_Q): Likewise.
500         (_FP_DIV_MEAT_D): Likewise.
501         (_FP_DIV_MEAT_Q): Likewise.
502         (_FP_NANFRAC_D): Likewise.
503         (_FP_NANFRAC_Q): Likewise.
504         (ISA_BIT): Add exception support if we are being compiled on a
505         machine with hardware floating point support to build the IEEE
506         128-bit emulation functions.
507         (FP_EX_INVALID): Likewise.
508         (FP_EX_OVERFLOW): Likewise.
509         (FP_EX_UNDERFLOW): Likewise.
510         (FP_EX_DIVZERO): Likewise.
511         (FP_EX_INEXACT): Likewise.
512         (FP_EX_ALL): Likewise.
513         (__sfp_handle_exceptions): Likewise.
514         (FP_HANDLE_EXCEPTIONS): Likewise.
515         (FP_RND_NEAREST): Likewise.
516         (FP_RND_ZERO): Likewise.
517         (FP_RND_PINF): Likewise.
518         (FP_RND_MINF): Likewise.
519         (FP_RND_MASK): Likewise.
520         (_FP_DECL_EX): Likewise.
521         (FP_INIT_ROUNDMODE): Likewise.
522         (FP_ROUNDMODE): Likewise.
523
524         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
525         compiler can do __float128.
526         * configure: Regenerate.
527
528         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
529         VSX code, enable IEEE 128-bit floating point.
530
531 2016-01-05  Olivier Hainque  <hainque@adacore.com>
532
533         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
534         specificities.
535
536 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
537
538         Update copyright years.
539
540 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
541
542         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
543         soft-fp targets.
544
545 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
546
547         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
548         instead of abort to avoid dependency on stdlib.h.
549
550 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
551
552         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
553         to initialize call to __dl_fixup once.
554
555 2015-12-04  Nick Clifton  <nickc@redhat.com>
556
557         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
558         Allow for the second argument being negative.
559         * config.host (extra_parts): Define for MSP430.  Create separate
560         libraries for each of the hardware multiply formats.
561         * config/msp430/lib2hw_mul.S: Build only the multiply routines
562         that are needed.
563         * config/msp430/lib2mul.c: Likewise.
564         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
565         Add rules to build hardware multiply libraries.
566         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
567         __mspabi_divul function.
568         (__mspabi_divllu): New stub function.
569
570 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
571
572         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
573         fixup values if saved GOT address doesn't match runtime address.
574         (fixup_branch_offset): Reorder list.
575
576 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
577
578         * Makefile.in (VTV_CFLAGS): New variable.
579         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
580         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
581         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
582         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
583         to extra_parts if $enable_vtable_verify = yes.
584
585 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
586
587         PR target/68059
588         * config/arm/linux-atomic-64bit.c (__write): Rename to...
589         (write): ...this and fix the return type.
590
591 2015-11-19  DJ Delorie  <dj@redhat.com>
592
593         * config/msp430/lib2hw_mul.S: Fix alignment.
594
595 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
596
597         * config/nvptx/reduction.c: New.
598         * config/nvptx/t-nvptx (LIB2ADD): Add it.
599
600 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
601
602         * config/rs6000/on_exit.c: New file.
603         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
604         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
605
606 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
607
608         * config/arc/dp-hack.h: Add support for ARCHS.
609         * config/arc/ieee-754/divdf3.S: Likewise.
610         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
611         * config/arc/ieee-754/muldf3.S: Likewise.
612         * config/arc/ieee-754/mulsf3.S: Likewise
613         * config/arc/lib1funcs.S: Likewise
614         * config/arc/gmon/dcache_linesz.S: Don't read the build register
615         for ARCv2 cores.
616         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
617         for ARCv2 cores.
618         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
619         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
620         cores.
621
622 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
623
624         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
625         value.
626         * config/ia64/crtend.S: Likewise.
627
628 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
629
630         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
631         __CHAR_BIT__ instead of BITS_PER_UNIT.
632         * fixed-bit.h: Likewise.
633         * fp-bit.h: Likewise.
634         * libgcc2.c (__popcountSI2): Likewise.
635         (__popcountDI2): Likewise.
636         * libgcc2.h: Likewise.
637         * libgcov.h: Likewise.
638
639 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
640
641         * config/rs6000/atexit.c: New file.
642         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
643         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
644         * config/rs6000/cxa_finalize.c
645         (catomic_compare_and_exchange_bool_acq): Negate return value.
646
647 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
648
649         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
650         (processor_subtypes): Add znver1.
651         (get_amd_cpu): Detect znver1.
652
653 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
654
655         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
656         Include crtfastmath.o.
657
658 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
659
660         PR libgcc/66883
661         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
662
663 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
664
665         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
666         * config/rl78/divmodsi.S: Update return register to r8.
667         * config/rl78/divmodhi.S: Update return register to r8,r9.
668         Branch to main_loop_done_himode to pop registers before return.
669
670 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
671
672         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
673         (__cpu_indicator_init): Fix model selection for AMD CPUs.
674
675 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
676
677         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
678
679 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
680
681         * config.host (xtensa*-*-uclinux*): New configuration.
682
683 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
684
685         * config/i386/cpuinfo.c (processor_features): Add
686         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
687
688 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
689
690         * soft-fp/adddf3.c: Update from glibc.
691         * soft-fp/addsf3.c: Likewise.
692         * soft-fp/addtf3.c: Likewise.
693         * soft-fp/divdf3.c: Likewise.
694         * soft-fp/divsf3.c: Likewise.
695         * soft-fp/divtf3.c: Likewise.
696         * soft-fp/double.h: Likewise.
697         * soft-fp/eqdf2.c: Likewise.
698         * soft-fp/eqsf2.c: Likewise.
699         * soft-fp/eqtf2.c: Likewise.
700         * soft-fp/extenddftf2.c: Likewise.
701         * soft-fp/extended.h: Likewise.
702         * soft-fp/extendsfdf2.c: Likewise.
703         * soft-fp/extendsftf2.c: Likewise.
704         * soft-fp/extendxftf2.c: Likewise.
705         * soft-fp/fixdfdi.c: Likewise.
706         * soft-fp/fixdfsi.c: Likewise.
707         * soft-fp/fixdfti.c: Likewise.
708         * soft-fp/fixsfdi.c: Likewise.
709         * soft-fp/fixsfsi.c: Likewise.
710         * soft-fp/fixsfti.c: Likewise.
711         * soft-fp/fixtfdi.c: Likewise.
712         * soft-fp/fixtfsi.c: Likewise.
713         * soft-fp/fixtfti.c: Likewise.
714         * soft-fp/fixunsdfdi.c: Likewise.
715         * soft-fp/fixunsdfsi.c: Likewise.
716         * soft-fp/fixunsdfti.c: Likewise.
717         * soft-fp/fixunssfdi.c: Likewise.
718         * soft-fp/fixunssfsi.c: Likewise.
719         * soft-fp/fixunssfti.c: Likewise.
720         * soft-fp/fixunstfdi.c: Likewise.
721         * soft-fp/fixunstfsi.c: Likewise.
722         * soft-fp/fixunstfti.c: Likewise.
723         * soft-fp/floatdidf.c: Likewise.
724         * soft-fp/floatdisf.c: Likewise.
725         * soft-fp/floatditf.c: Likewise.
726         * soft-fp/floatsidf.c: Likewise.
727         * soft-fp/floatsisf.c: Likewise.
728         * soft-fp/floatsitf.c: Likewise.
729         * soft-fp/floattidf.c: Likewise.
730         * soft-fp/floattisf.c: Likewise.
731         * soft-fp/floattitf.c: Likewise.
732         * soft-fp/floatundidf.c: Likewise.
733         * soft-fp/floatundisf.c: Likewise.
734         * soft-fp/floatunditf.c: Likewise.
735         * soft-fp/floatunsidf.c: Likewise.
736         * soft-fp/floatunsisf.c: Likewise.
737         * soft-fp/floatunsitf.c: Likewise.
738         * soft-fp/floatuntidf.c: Likewise.
739         * soft-fp/floatuntisf.c: Likewise.
740         * soft-fp/floatuntitf.c: Likewise.
741         * soft-fp/gedf2.c: Likewise.
742         * soft-fp/gesf2.c: Likewise.
743         * soft-fp/getf2.c: Likewise.
744         * soft-fp/ledf2.c: Likewise.
745         * soft-fp/lesf2.c: Likewise.
746         * soft-fp/letf2.c: Likewise.
747         * soft-fp/muldf3.c: Likewise.
748         * soft-fp/mulsf3.c: Likewise.
749         * soft-fp/multf3.c: Likewise.
750         * soft-fp/negdf2.c: Likewise.
751         * soft-fp/negsf2.c: Likewise.
752         * soft-fp/negtf2.c: Likewise.
753         * soft-fp/op-1.h: Likewise.
754         * soft-fp/op-2.h: Likewise.
755         * soft-fp/op-4.h: Likewise.
756         * soft-fp/op-8.h: Likewise.
757         * soft-fp/op-common.h: Likewise.
758         * soft-fp/quad.h: Likewise.
759         * soft-fp/single.h: Likewise.
760         * soft-fp/soft-fp.h: Likewise.
761         * soft-fp/subdf3.c: Likewise.
762         * soft-fp/subsf3.c: Likewise.
763         * soft-fp/subtf3.c: Likewise.
764         * soft-fp/truncdfsf2.c: Likewise.
765         * soft-fp/trunctfdf2.c: Likewise.
766         * soft-fp/trunctfsf2.c: Likewise.
767         * soft-fp/trunctfxf2.c: Likewise.
768         * soft-fp/unorddf2.c: Likewise.
769         * soft-fp/unordsf2.c: Likewise.
770         * soft-fp/unordtf2.c: Likewise.
771
772 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
773
774         PR libgcc/67624
775         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
776
777 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
778
779         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
780         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
781         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
782         messages.
783         (internal_mcount): Likewise.
784         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
785         crt_compile, add CRTSTUFF_T_CFLAGS_S.
786
787 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
788
789         * configure.ac (libgcc_cv_solaris_crts): New test.
790         * configure: Regenerate.
791         * config.in: Regenerate.
792         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
793         * config/gmon-sol2.c: Rename to ...
794         * config/sol2/gmon.c: ... this.
795         Include auto-target.h.
796         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
797         * config/t-sol2: Rename to ...
798         * config/sol2/t-sol2: ... this.
799         (gmon.o): Reflect renaming.
800         (crtp.o, crtpg.o): New rules.
801         * config.host (*-*-solaris2*): Reflect renaming.
802         Use system CRTs if present.
803         Remove default CRT case.
804
805 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
806
807         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
808         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
809         __kernel_cmpxchg2.
810         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
811         (__sync_val_compare_and_swap_##WIDTH): Likewise.
812         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
813         (__sync_lock_test_and_set_##WIDTH): Likewise.
814         (__sync_lock_release_##WIDTH): Likewise.
815         (__sync_fetch_and_##OP##_4): Change result to match type of
816         __kernel_cmpxchg.
817         (__sync_##OP##_and_fetch_4): Likewise.
818         (__sync_val_compare_and_swap_4): Likewise.
819         (__sync_bool_compare_and_swap_4): likewise.
820         (__sync_lock_test_and_set_4): Likewise.
821         (__sync_lock_release_4): Likewise.
822         (FETCH_AND_OP_2): Add long long variants.
823         (OP_AND_FETCH_2): Likewise.
824         (COMPARE_AND_SWAP_2 ): Likewise.
825         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
826         (SYNC_LOCK_RELEASE_2): Likewise.
827         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
828
829 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
830
831         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
832         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
833         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
834         (get_available_features): Habdle new features.
835
836 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
837
838         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
839         memory layout. Deal correctly with BSS region larger than 32K.
840         Handle a watchdog reset like a power-on reset. Clean up unused
841         code.
842
843 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
844             David Edelsohn  <dje.gcc@gmail.com>
845
846         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
847         * config/rs6000/crtdbase.S: New file.
848         * config/rs6000/t-aix-cxa: Build crtdbase.o.
849
850 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
851
852         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
853         Add support for call0 ABI.
854
855 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
856
857         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
858
859 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
860
861         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
862         (__GTHREAD_HAS_COND): Likewise.
863         (__gthread_t): Likewise.
864         (__gthread_cond_t): Likewise.
865         (__gthread_time_t): Likewise.
866         (__GTHREAD_MUTEX_INIT): Likewise.
867         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
868         (__GTHREAD_COND_INIT): Likewise.
869         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
870         (__GTHREAD_TIME_INIT): Likewise.
871         (__gthread_create): Likewise.
872         (__gthread_join): Likewise.
873         (__gthread_detach): Likewise.
874         (__gthread_equal): Likewise.
875         (__gthread_self): Likewise.
876         (__gthread_yield): Likewise.
877         (__gthread_cond_broadcast): Likewise.
878         (__gthread_cond_signal): Likewise.
879         (__gthread_cond_wait): Likewise.
880         (__gthread_cond_timedwait): Likewise.
881         (__gthread_cond_wait_recursive): Likewise.
882         (__gthread_cond_destroy): Likewise.
883         (rtems_gxx_once): Delete.
884         (rtems_gxx_key_create): Likewise.
885         (rtems_gxx_key_delete): Likewise.
886         (rtems_gxx_getspecific): Likewise.
887         (rtems_gxx_setspecific): Likewise.
888         (rtems_gxx_mutex_init): Likewise.
889         (rtems_gxx_mutex_destroy): Likewise.
890         (rtems_gxx_mutex_lock): Likewise.
891         (rtems_gxx_mutex_trylock): Likewise.
892         (rtems_gxx_mutex_unlock): Likewise.
893         (rtems_gxx_recursive_mutex_init): Likewise.
894         (rtems_gxx_recursive_mutex_lock): Likewise.
895         (rtems_gxx_recursive_mutex_trylock): Likewise.
896         (rtems_gxx_recursive_mutex_unlock): Likewise.
897         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
898         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
899         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
900         (__gthread_once): Likewise.
901         (__gthread_key_create): Likewise.
902         (__gthread_key_delete): Likewise.
903         (__gthread_getspecific): Likewise.
904         (__gthread_setspecific): Likewise.
905         (__gthread_key_t): Use <pthread.h> type.
906         (__gthread_once_t): Likewise
907         (__gthread_mutex_t): Use <sys/lock.h> type.
908         (__gthread_recursive_mutex_t): Likewise
909         (__gthread_mutex_lock): Use <sys/lock.h> function.
910         (__gthread_mutex_trylock): Likewise.
911         (__gthread_mutex_timedlock): Likewise.
912         (__gthread_mutex_unlock): Likewise.
913         (__gthread_mutex_destroy): Likewise.
914         (__gthread_recursive_mutex_lock): Likewise.
915         (__gthread_recursive_mutex_trylock): Likewise.
916         (__gthread_recursive_mutex_timedlock): Likewise.
917         (__gthread_recursive_mutex_unlock): Likewise.
918         (__gthread_recursive_mutex_destroy): Likewise.
919
920 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
921
922         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
923         context->sp instead of context->cfa.
924
925 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
926
927         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
928         with unwind-dw2-fde-dip.
929
930 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
931
932         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
933         CALL12 followed by series of ENTRY to spill windowed registers.
934         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
935         instead of making linux spill syscall.
936
937 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
938
939         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
940         (get_intel_cpu): Likewise.
941
942 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
943
944         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
945         (get_intel_cpu): Add Knights Landing support.
946
947 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
948
949         PR target/66954
950         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
951         (get_available_features): Handle FEATURE_PCLMUL.
952
953 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
954
955         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
956         Broadwell.
957
958 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
959
960         PR target/66954
961         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
962         (get_available_features): Handle FEATURE_AES.
963
964 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
965
966         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
967         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
968
969 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
970
971         * offloadstuff.c: Constify host data.
972
973 2015-07-17  Jan Beulich  <jbeulich@suse.com>
974
975         * config/t-softfp: Split up "else ifneq".
976
977 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
978             Cesar Philippidis  <cesar@codesourcery.com>
979             Chung-Lin Tang  <cltang@codesourcery.com>
980
981         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
982         for __nios2_arch__ level.
983
984 2015-07-13  John Marino  <gnugcc@marino.st>
985
986         * config/i386/t-dragonfly: New.
987
988 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
989
990         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
991         better match light-weight syscall argument order.
992         (__kernel_cmpxchg2): Likewise.
993         Adjust callers.
994
995 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
996
997         * config.host: Support i[34567]86-*-elfiamcu target.
998         * config/t-softfp-sfdftf: New file.
999         * config/i386/32/t-iamcu: Likewise.
1000         * configure: Regenerated.
1001
1002 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
1003
1004         libgcc/config/arm/
1005         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
1006
1007 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1008
1009         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
1010
1011 2015-05-27  John Marino  <gnugcc@marino.st>
1012
1013         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
1014         md_unwind_header
1015         * config/i386/freebsd-unwind.h: New.
1016
1017 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
1018
1019         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
1020         i386/t-crtfm to tmake_file.
1021         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
1022         (set_fast_math): Use set_fast_math_sse for SSE targets.
1023         * config/i386/t-crtfm: Remove.
1024
1025 2015-05-21  Alan Modra  <amodra@gmail.com>
1026
1027         PR libgcc/66225
1028         * config/rs6000/morestack.S: Remove ".abiversion 1".
1029
1030 2015-05-20  Alan Modra  <amodra@gmail.com>
1031
1032         * config/rs6000/morestack.S: New.
1033         * config/rs6000/t-stack-rs6000: New.
1034         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
1035         to tmake_file.
1036         * generic-morestack.c: Don't build for powerpc 32-bit.
1037
1038 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
1039
1040         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
1041         Remove useless endif/ifneq ($(enable_shared),yes) pair.
1042
1043 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
1044
1045         * config.host: FT32 target added.
1046         * config/ft32/*: New files for FT32 target.
1047
1048 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
1049
1050         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
1051         New macros.
1052         * config/arm/ieee754-df.S: Add CFI directives.
1053         * config/arm/ieee754-sf.S: Add CFI directives.
1054
1055 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
1056
1057         * configure.ac: Include config/sjlj.m4.
1058         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
1059         * config.in: Regenerate.
1060         * configure: Likewise.
1061         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
1062
1063 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
1064
1065         * libgcov-util.c: Add space between string literal and macro name.
1066
1067 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
1068             Chris Jones  <chrisj@nvidia.com>
1069             Joshua Conner  <jconner@nvidia.com>
1070
1071         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
1072         (arm*-*-uclinux*): Likewise.
1073         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
1074         * config/arm/crtfastmath.c: New file.
1075
1076 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
1077
1078         * Makefile.in (real_host_noncanonical): New variable.
1079         (libsubdir): Use it.
1080         * configure.ac (real_host_noncanonical): Compute.  Remove special
1081         case for intelmicemul.
1082         * configure: Regenerate.
1083
1084 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
1085
1086         * config/frv/elf-lib.h: New file.
1087         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
1088         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
1089         to tm_file.
1090
1091 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
1092
1093         * config/frv/frvbengin.c: Do not include defaults.h
1094         * config/frv/frvend.c: Ditto.
1095
1096 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
1097
1098         * config.host: Add h8300-*-linux
1099         * config/h8300/t-linux: New file.
1100         * config/h8300/lib1funs.s: Change symbol prefix.
1101         * config/h8300/sfp-machine.h: 64bit double support.
1102
1103 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
1104             Szabolcs Nagy  <szabolcs.nagy@arm.com>
1105
1106         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
1107         Linux if target provides dl_iterate_phdr.
1108
1109 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
1110
1111         PR target/65612
1112         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
1113         * config/i386/cpuinfo.c (__cpu_model): Initialize.
1114         (__cpu_indicator_init@GCC_4.8.0): New.
1115         (__cpu_model@GCC_4.8.0): Likewise.
1116         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
1117         -DUSE_ELF_SYMVER.
1118
1119 2015-04-16  Nick Clifton  <nickc@redhat.com>
1120
1121         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
1122         and __modhi3 functions.
1123         * config/rl78/divmodso.S: Add G14 and G13 versions of the
1124         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
1125
1126 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
1127
1128         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
1129         do-while loop as macro body to avoid warnings.
1130
1131 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
1132             Iain Sandoe  <iain@codesourcery.com>
1133
1134         PR target/65351
1135         * configure: Regenerate.
1136
1137 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
1138             Iain Sandoe  <iain@codesourcery.com>
1139
1140         PR target/65351
1141         * configure: Regenerate.
1142
1143 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
1144
1145         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
1146
1147 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
1148
1149         Implement call0 ABI for xtensa
1150         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
1151         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
1152         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
1153         use ret in call0 ABI.
1154         * config/xtensa/t-windowed: New file.
1155         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
1156         * libgcc/configure: Regenerated.
1157         * libgcc/configure.ac: Check if xtensa target is configured for
1158         windowed ABI and thus needs to use custom unwind code.
1159
1160 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
1161
1162         PR libgcc/64885
1163         * gthr-single.h: Use __unused__ attribute instead of unused.
1164         * config/gthr-vxworks.h: Likewise.
1165         * config/i386/gthr-win32.h: Likewise.
1166
1167 2015-02-27  Kai Tietz  <ktietz@redhat.com>
1168
1169         PR target/65038
1170         * config.in: Regenerated.
1171         * configure: Likewise.
1172         * configure.ac (AC_HEADER_STDC): Added explicit.
1173         (AC_CHECK_HEADERS): Check for default headers  plus
1174         for ftw.h header.
1175         * libgcov-util.c (gcov_read_profile_dir): Disable use
1176         of ftw-function, if header is not found.
1177         (ftw_read_file): Likewise.
1178
1179 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
1180
1181         PR target/65181
1182         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
1183         -Dinhibit_libc.
1184
1185 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
1186
1187         * config/arm/bpabi.S (test_div_by_zero): Make label names
1188         consistent between thumb2 and arm mode cases.  Separate the
1189         signed comparison on the high word of the numerator from the
1190         unsigned comparison on the low word.
1191         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
1192         signed comparison.
1193
1194 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1195
1196         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
1197         and <string.h>.
1198         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
1199
1200 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
1201
1202         PR gcov-profile/61889
1203         * libgcov-driver-system.c: undefine clashing macro for mkdir.
1204
1205 2015-02-02  Nick Clifton  <nickc@redhat.com>
1206
1207         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
1208         rounding up the fraction.
1209
1210 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
1211
1212         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
1213         oldval and newval to const void *.  Fix typo.
1214         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
1215         (FETCH_AND_OP_WORD): Likewise.
1216         (OP_AND_FETCH_WORD): Likewise.
1217         (COMPARE_AND_SWAP_2): Likewise.
1218         (__sync_val_compare_and_swap_4): Likewise.
1219         (__sync_lock_test_and_set_4): Likewise.
1220         (SYNC_LOCK_RELEASE_2): Likewise.
1221         Remove support for long long atomic operations.
1222
1223 2015-01-27  Caroline Tice  <cmtice@google.com>
1224
1225         Committing VTV Cywin/Ming patch for Patrick Wollgast
1226         * Makefile.in: Move rules to build vtv_*.o out of the check
1227         for CUSTOM_CRTSTUFF.
1228         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
1229         i[34567]86-*-mingw*)
1230          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
1231         enable_vtable_verify.
1232
1233 2015-01-27  Nick Clifton  <nickc@redhat.com>
1234
1235         * config/rl78/cmpsi2.S: Use function start and end macros.
1236         (__gcc_bcmp): New function.
1237         * config/rl78/lshrsi3.S: Use function start and end macros.
1238         * config/rl78/mulsi3.S: Add support for G10.
1239         (__mulqi3): New function for G10.
1240         * config/rl78/signbit.S: Use function start and end macros.
1241         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
1242         fpmath-sf.S.
1243         (LIB2FUNCS_EXCLUDE): Define.
1244         (LIB2FUNCS_ST): Define.
1245         * config/rl78/trampoline.S: Use function start and end macros.
1246         * config/rl78/vregs.h (START_FUNC): New macro.
1247         (START_ANOTHER_FUNC): New macro.
1248         (END_FUNC): New macro.
1249         (END_ANOTHER_FUNC): New macro.
1250         * config/rl78/bit-count.S: New file.  Contains assembler
1251         implementations of the bit counting functions: ___clzhi2,
1252         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
1253         __paritysi2, __popcounthi2 and __popcountsi2.
1254         * config/rl78/fpbit-sf.S: New file.  Contains assembler
1255         implementationas of the math functions: __negsf2, __cmpsf2,
1256         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
1257         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
1258         * config/rl78/fpmath-sf.S: New file.  Contains assembler
1259         implementations of the math functions: __subsf3, __addsf3,
1260         __mulsf3 and __divsf3
1261
1262 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1263
1264         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
1265         Add i386/elf-lib.h to tm_file.
1266         * config/i386/elf-lib.h: Fix comment.
1267         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
1268         && __sun__ && __svr4__]: Remove workaround.
1269
1270 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
1271
1272         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
1273         FEATURE_BMI2.
1274         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
1275
1276 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
1277
1278         * config/i386/cpuinfo.c (processor_subtypes): Add
1279         INTEL_COREI7_BROADWELL.
1280         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
1281         model numbers.
1282
1283 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
1284
1285         * config/i386/elf-lib.h: New file.
1286         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
1287         Wrap definition in #ifdef __i386__.
1288         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
1289         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
1290         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
1291         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
1292         to tm_file.
1293
1294 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
1295
1296         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
1297         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
1298
1299 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
1300
1301         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
1302         Update rt_sigframe format and address for current Nios II
1303         Linux conventions.
1304
1305 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
1306
1307         * config.host (arm*-*-freebsd*): Add new configuration for
1308         arm*-*-freebsd*.
1309         * config/arm/freebsd-atomic.c: New file.
1310         * config/arm/t-freebsd: Likewise.
1311         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
1312         'PC-relative indirect' OS's.
1313
1314 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
1315
1316         * config.host: Add Visium support.
1317         * config/visium: New directory.
1318
1319 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
1320
1321         Update copyright years.
1322
1323 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
1324
1325         * config.host: Support mipsisa32r6 and mipsisa64r6.
1326         * config/mips/mips16.S: Do not build for R6.
1327
1328 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
1329
1330         * config/sh/crt.h: New.
1331         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
1332         symbols.
1333         * config/sh/crt1.S: Likewise.
1334
1335 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
1336
1337         PR libgcc/63832
1338         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
1339         func_ptr *dtor_list temporary variable to avoid "array subscript
1340         is above array bounds" warnings.
1341
1342 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
1343
1344         * Makefile.in (with_aix_soname): Define.
1345         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
1346         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
1347         * configure: Recreate.
1348
1349 2014-12-05  Olivier Hainque  <hainque@adacore.com>
1350
1351         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
1352         now provided by defaults.h.
1353
1354 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
1355
1356         PR target/55351
1357         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
1358         whether it's defined.
1359
1360 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
1361
1362         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
1363         * config/i386/cpuinfo.c (get_available_features): Detect it.
1364
1365 2014-11-27  Tony Wang  <tony.wang@arm.com>
1366
1367         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
1368         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
1369         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
1370
1371 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
1372
1373         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
1374
1375 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
1376
1377         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
1378         instead.
1379
1380 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
1381             John David Anglin  <danglin@gcc.gnu.org>
1382
1383         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
1384         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
1385         (OP_AND_FETCH_2): Likewise.
1386         (COMPARE_AND_SWAP_2): Likewise.
1387         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1388         (SYNC_LOCK_RELEASE_2): Likewise.
1389         (SUBWORD_SYNC_OP): Remove.
1390         (SUBWORD_VAL_CAS): Likewise.
1391         (SUBWORD_BOOL_CAS): Likewise.
1392         (FETCH_AND_OP_WORD): Update.
1393         Consistently use signed types.
1394
1395 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
1396             Thomas Schwinge  <thomas@codesourcery.com>
1397             Ilya Verbin  <ilya.verbin@intel.com>
1398             Andrey Turetskiy  <andrey.turetskiy@intel.com>
1399
1400         * Makefile.in (crtoffloadbegin$(objext)): New rule.
1401         (crtoffloadend$(objext)): Likewise.
1402         * configure: Regenerate.
1403         * configure.ac (accel_dir_suffix): Compute new variable.
1404         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
1405         if enable_offload_targets is not empty.
1406         * offloadstuff.c: New file.
1407
1408 2014-11-13  Nick Clifton  <nickc@redhat.com>
1409
1410         * config/rl78/divmodhi.S: Add support for the G10 architecture.
1411         Use START_FUNC and END_FUNC macros to enable linker garbage
1412         collection.
1413         * config/rl78/divmodqi.S: Likewise.
1414         * config/rl78/divmodsi.S: Likewise.
1415         * config/rl78/mulsi3.S: Likewise.
1416         * config/rl78/lib2div.c: Remove G10 functions.
1417         * config/rl78/lib2muls.c: Likewise.
1418         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
1419         * config/rl78/vregs.h (START_FUNC): New macro.
1420         (END_FUNC): New macro.
1421
1422 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
1423
1424         * config/mips/mips16.S: Set .module when supported.  Update O32
1425         FP64 calling convention and use for FPXX when possible.  Add FPXX
1426         calling convention fallback case.
1427
1428 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
1429
1430         * config.host: Handle nvptx-*-*.
1431         * shared-object.mk (as-flags-$o): Define.
1432         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
1433         -xassembler-with-cpp.
1434         * static-object.mk: Identical changes.
1435         * config/nvptx/t-nvptx: New file.
1436         * config/nvptx/crt0.s: New file.
1437         * config/nvptx/free.asm: New file.
1438         * config/nvptx/malloc.asm: New file.
1439         * config/nvptx/realloc.c: New file.
1440
1441 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
1442
1443         * Makefile.in (libgcc.map.in): New target.
1444         (libgcc.map): Use libgcc.map.in.
1445         * config/t-softfp (softfp_compat): New variable to be set by
1446         users.
1447         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
1448         variables.
1449         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
1450         directory.
1451         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
1452         that use compat symbols and disable all code unless [SHARED].
1453         * config/t-softfp-compat: New file.
1454         * find-symver.awk: New file.
1455         * configure.ac (--with-glibc-version): New configure option.
1456         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
1457         * configure: Regenerate.
1458         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
1459         soft-float and e500.
1460
1461 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
1462
1463         * config/t-hardfp (hardfp_exclusions): Document new variable for
1464         user to define.
1465         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
1466         * config/t-softfp (softfp_extras): Document new variable for user
1467         to define.
1468         (softfp_func_list): Add functions from $(softfp_extras).
1469         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
1470         * config.host (powerpc*-*-linux*): For e500v1, use
1471         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
1472         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
1473         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
1474
1475 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
1476
1477         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
1478         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
1479         memory read accesses are ok.
1480
1481 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
1482
1483         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
1484         * configure: Regenerate.
1485         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
1486         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
1487         of soft-fp for 32-bit classic hard float.  Do not use
1488         t-softfp-excl for soft float.
1489
1490 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
1491
1492         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
1493         configurations.
1494         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
1495         Remove variables.
1496
1497 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
1498
1499         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
1500         introduced with 2014-10-21 trunk r216525.
1501
1502 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
1503             Vidya Praveen  <vidya.praveen@atmel.com>
1504             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
1505             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
1506             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
1507
1508         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
1509         order.
1510
1511         Updated library functions for AVRTINY arch.
1512         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
1513         Replaced occurrences of r0/r1 with tmp/zero reg macros.
1514         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
1515         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
1516         wsubi/wadi macors.
1517         (__mulsi3_helper): Update stack, preserve callee saved regs and
1518         argument from stack. Restore callee save registers.
1519         (__mulpsi3): Likewise.
1520         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
1521         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
1522         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
1523         AVRTINY.
1524         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
1525         (__do_copy_data): Added new definition for AVRTINY.
1526         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
1527         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
1528         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
1529         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
1530         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
1531         macors.
1532         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
1533         AVRTINY.
1534
1535         Fix broken long multiplication on tiny arch.
1536
1537 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
1538
1539         * soft-fp/double.h: Update from glibc.
1540         * soft-fp/eqdf2.c: Likewise.
1541         * soft-fp/eqsf2.c: Likewise.
1542         * soft-fp/eqtf2.c: Likewise.
1543         * soft-fp/extenddftf2.c: Likewise.
1544         * soft-fp/extended.h: Likewise.
1545         * soft-fp/extendsfdf2.c: Likewise.
1546         * soft-fp/extendsftf2.c: Likewise.
1547         * soft-fp/extendxftf2.c: Likewise.
1548         * soft-fp/gedf2.c: Likewise.
1549         * soft-fp/gesf2.c: Likewise.
1550         * soft-fp/getf2.c: Likewise.
1551         * soft-fp/ledf2.c: Likewise.
1552         * soft-fp/lesf2.c: Likewise.
1553         * soft-fp/letf2.c: Likewise.
1554         * soft-fp/op-1.h: Likewise.
1555         * soft-fp/op-2.h: Likewise.
1556         * soft-fp/op-4.h: Likewise.
1557         * soft-fp/op-8.h: Likewise.
1558         * soft-fp/op-common.h: Likewise.
1559         * soft-fp/quad.h: Likewise.
1560         * soft-fp/single.h: Likewise.
1561         * soft-fp/soft-fp.h: Likewise.
1562         * soft-fp/unorddf2.c: Likewise.
1563         * soft-fp/unordsf2.c: Likewise.
1564         * soft-fp/unordtf2.c: Likewise.
1565         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
1566         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
1567         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
1568         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
1569         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
1570         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
1571         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
1572         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
1573         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
1574         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
1575
1576 2014-10-08  Rong Xu  <xur@google.com>
1577
1578         * libgcov-util.c (read_gcda_file): Fix format.
1579         (find_match_gcov_info): Ditto.
1580         (calculate_2_entries): New.
1581         (compute_one_gcov): Ditto.
1582         (gcov_info_count_all_cold): Ditto.
1583         (gcov_info_count_all_zero): Ditto.
1584         (extract_file_basename): Ditto.
1585         (get_file_basename): Ditto.
1586         (set_flag): Ditto.
1587         (matched_gcov_info): Ditto.
1588         (calculate_overlap): Ditto.
1589         (gcov_profile_overlap): Ditto.
1590         * libgcov-driver.c (compute_summary): Make
1591         it avavilable for external calls.
1592
1593 2014-10-06  Rong Xu  <xur@google.com>
1594
1595         * Makefile.in: Ditto.
1596         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
1597         (gcov_sort_icall_topn_counter): Ditto.
1598         (gcov_sort_topn_counter_arrays): Ditto.
1599         (dump_one_gcov): Sort indirect_call topn counters.
1600         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
1601         function.
1602         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
1603         utility function.
1604         (__gcov_indirect_call_topn_profiler): New profiler function.
1605         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
1606         * libgcov.h: New decls.
1607
1608 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
1609
1610         * config.host: Remove support for score-*.
1611
1612 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
1613
1614         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1615         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
1616         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
1617         __LIBGCC_XF_MANT_DIG__.
1618         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
1619         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
1620         __LIBGCC_TF_MANT_DIG__.
1621         * libgcc2.c (NOTRUNC): Define in terms of
1622         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
1623         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1624
1625 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
1626
1627         PR target/63312
1628         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
1629         New macros.
1630
1631 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
1632
1633         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
1634         override USE_PT_GNU_EH_FRAME.
1635         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
1636         check USE_EH_FRAME_REGISTRY_ALWAYS against
1637         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
1638         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
1639         variable for substituted force_explicit_eh_registry.
1640         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
1641         * configure.ac (explicit-exception-frame-registration):
1642         New AC_ARG_ENABLE.
1643         * configure: Regenerate.
1644
1645 2014-09-19  Olivier Hainque  <hainque@adacore.com>
1646
1647         * config.host (powerpc-wrs-vxworksmils): New configuration,
1648         same as vxworksae.
1649
1650 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
1651
1652         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
1653
1654 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
1655
1656         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
1657         bits not set bits as indicating trapping exceptions.
1658
1659 2014-09-17  Nathan sidwell  <nathan@acm.org>
1660
1661         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
1662         (LIBGCOV_DRIVER): ... here.
1663         * libgcov-driver.c (gcov_master): New.
1664         (gcov_exit): Remove from master chain.
1665         (__gcov_init): Add to master chain if version compatible.  Don't
1666         clear the version.
1667         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
1668         (gcov_reset_int): Clear master chain, if compatible.
1669         (gcov_dump_int): New internal interface.  Dump master chain, if
1670         compatible.
1671         (gcov_dump): Alias for gcov_dump_int.
1672         * libgcov.h (struct gcov_root): Add next and prev fields.
1673         (struct gcov_master): New struct.
1674         (__gcov_master): New.
1675         (gcov_dump_int): Declare.
1676
1677 2014-09-17  Olivier Hainque  <hainque@adacore.com>
1678
1679         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
1680         and crtbegin.o + crtend.o to extra_parts.
1681
1682 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
1683
1684         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
1685         __LIBGCC_HAS_SF_MODE__.
1686         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
1687         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
1688         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
1689         * config/libbid/bid_gcc_intrinsics.h
1690         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
1691         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
1692         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
1693         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
1694         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
1695         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
1696
1697 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
1698
1699         PR target/63223
1700         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
1701         and R24 as needed.  Make work for all devices and .text locations.
1702         (__do_global_ctors, __do_global_dtors): Use word addresses.
1703         (__tablejump__, __tablejump_elpm__): Remove functions.
1704         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
1705         Add _tablejump2.
1706         (XICALL, XIJMP): New macros.
1707
1708 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1709         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1710
1711         * config.host (aarch64*): Include crtfastmath.o and
1712         t-crtfm.
1713         * config/aarch64/crtfastmath.c: New file.
1714
1715 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
1716
1717         * config.host: Remove picochip support.
1718         * config/picochip/adddi3.S: Remove.
1719         * config/picochip/ashlsi3.S: Remove.
1720         * config/picochip/ashlsi3.c: Remove.
1721         * config/picochip/ashrsi3.S: Remove.
1722         * config/picochip/ashrsi3.c: Remove.
1723         * config/picochip/clzsi2.S: Remove.
1724         * config/picochip/cmpsi2.S: Remove.
1725         * config/picochip/divmod15.S: Remove.
1726         * config/picochip/divmodhi4.S: Remove.
1727         * config/picochip/divmodsi4.S: Remove.
1728         * config/picochip/lib1funcs.S: Remove.
1729         * config/picochip/longjmp.S: Remove.
1730         * config/picochip/lshrsi3.S: Remove.
1731         * config/picochip/lshrsi3.c: Remove.
1732         * config/picochip/parityhi2.S: Remove.
1733         * config/picochip/popcounthi2.S: Remove.
1734         * config/picochip/setjmp.S: Remove.
1735         * config/picochip/subdi3.S: Remove.
1736         * config/picochip/t-picochip: Remove.
1737         * config/picochip/ucmpsi2.S: Remove.
1738         * config/picochip/udivmodhi4.S: Remove.
1739         * config/picochip/udivmodsi4.S: Remove.
1740
1741 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
1742
1743         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
1744         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
1745         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
1746         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
1747         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
1748         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
1749         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
1750         defined and LIBGCC2_HAS_DF_MODE is defined.
1751         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
1752         defined and LIBGCC2_HAS_XF_MODE is defined.
1753         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
1754         defined and LIBGCC2_HAS_TF_MODE is defined.
1755
1756 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
1757
1758         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
1759         and ROUND_TOWARDS_ZERO conditionals.
1760
1761 2014-09-07  Nathan sidwell  <nathan@acm.org>
1762
1763         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
1764         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
1765
1766 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
1767
1768         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
1769         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
1770         uses to __LIBGCC_STACK_POINTER_REGNUM__.
1771         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
1772         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1773         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
1774         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1775         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
1776         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
1777         (DWARF_FRAME_REGISTERS): Change all uses to
1778         __LIBGCC_DWARF_FRAME_REGISTERS__.
1779         (EH_RETURN_STACKADJ_RTX): Change all uses to
1780         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
1781         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
1782         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
1783         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
1784         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
1785         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
1786         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
1787         to __LIBGCC_EH_FRAME_SECTION_NAME__.
1788         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
1789         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
1790         __LIBGCC_STACK_POINTER_REGNUM__.
1791         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
1792         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1793         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
1794         to __LIBGCC_STACK_POINTER_REGNUM__.
1795         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
1796         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1797         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
1798         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1799         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
1800         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1801         (STACK_POINTER_REGNUM): Change all uses to
1802         __LIBGCC_STACK_POINTER_REGNUM__.
1803         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
1804         use to __LIBGCC_STACK_POINTER_REGNUM__.
1805         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
1806         uses to __LIBGCC_STACK_POINTER_REGNUM__.
1807         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
1808         to __LIBGCC_DWARF_FRAME_REGISTERS__.
1809         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
1810         to __LIBGCC_DWARF_FRAME_REGISTERS__.
1811         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
1812         to __LIBGCC_STACK_POINTER_REGNUM__.
1813         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
1814         Remove conditional definition.
1815         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
1816         __LIBGCC_TEXT_SECTION_ASM_OP__.
1817         (EH_FRAME_SECTION_NAME): Change all uses to
1818         __LIBGCC_EH_FRAME_SECTION_NAME__.
1819         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
1820         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
1821         (CTORS_SECTION_ASM_OP): Change all uses to
1822         __LIBGCC_CTORS_SECTION_ASM_OP__.
1823         (DTORS_SECTION_ASM_OP): Change all uses to
1824         __LIBGCC_DTORS_SECTION_ASM_OP__.
1825         (JCR_SECTION_NAME): Change all uses to
1826         __LIBGCC_JCR_SECTION_NAME__.
1827         (INIT_SECTION_ASM_OP): Change all uses to
1828         __LIBGCC_INIT_SECTION_ASM_OP__.
1829         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
1830         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
1831         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
1832         __LIBGCC_STACK_GROWS_DOWNWARD__.
1833         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
1834         __LIBGCC_INIT_SECTION_ASM_OP__.
1835         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
1836         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
1837         (EH_FRAME_SECTION_NAME): Change all uses to
1838         __LIBGCC_EH_FRAME_SECTION_NAME__.
1839         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
1840         definitions.  Change all uses to
1841         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
1842         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
1843         __LIBGCC_STACK_GROWS_DOWNWARD__.
1844         (DWARF_FRAME_REGISTERS): Change all uses to
1845         __LIBGCC_DWARF_FRAME_REGISTERS__.
1846         (EH_RETURN_STACKADJ_RTX): Change all uses to
1847         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
1848         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
1849         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
1850         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
1851         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
1852         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
1853
1854 2014-09-02  Nathan sidwell  <nathan@acm.org>
1855
1856         * libgcov-interface.c (STRONG_ALIAS): New.
1857         (__gcov_flush): Call __gcov_reset_int.
1858         (__gcov_reset): Strong alias for ...
1859         (__gcov_reset_ing): ... this renamed hidden version.
1860         * libgcov.h (__gcov_reset_int): New declaration.
1861
1862 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
1863
1864         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
1865         call from here...
1866         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
1867         (__dso_handle): Define on Cygwin.
1868         * config/i386/t-cygming (crtbeginS.o): New rule.
1869         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
1870
1871         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
1872         declaration syntax.
1873
1874 2014-08-13  Steve Ellcey  <sellcey@mips.com>
1875
1876         * crtstuff.c: Undef caddr_t.
1877
1878 2014-08-12  Steve Ellcey  <sellcey@mips.com>
1879
1880         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
1881
1882 2014-08-07  Nathan Sidwell  <nathan@acm.org>
1883
1884         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
1885         (LIBGCOV_DRIVER): ... to here.
1886         * libgcov.h (gcov_do_dump): New #define.
1887         (struct gcov_root): New.
1888         (__gcov_root): New declaration.
1889         (__gcov_dump_one): Declare.
1890         * libgcov-driver.c (gcov_list, gcov_dump_complete,
1891         run_accounted): Delete.
1892         (gcov_compute_histogram): Add LIST argument, adjust.
1893         (compute_summary): Adjust gcov_compute_histogram call.
1894         (gcov_do_dump): Not hidden, static in libgcov.
1895         (gcov_clear): Move  to interface.c.
1896         (__gcov_dump_one): New, broken out of ...
1897         (gcov_exit): ... here.  Make static.
1898         (__gcov_root): New.
1899         (__gcov_init): Adjust.
1900         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
1901         declarations.
1902         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
1903         (gcov_clear): Moved from driver.c.   Add LIST argument.
1904         (__gcov_reset): Adjust for changed interfaces.
1905         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
1906
1907 2014-08-04  Rohit  <rohitarulraj@freescale.com>
1908
1909         PR target/60102
1910         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
1911         based on change in SPE high register numbers and 3 HTM registers.
1912
1913 2014-08-01  Nathan Sidwell  <nathan@acm.org>
1914
1915         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
1916         LIBGCOV_INTERFACE): Reformat.
1917         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
1918         IN_GCOV_TOOL.
1919         * libgcov-interface.c: Reformat some comments.
1920         (__gcov_flush_mx): Add declaration.  Tidy up definition.
1921
1922 2014-07-31  Alan Modra  <amodra@gmail.com>
1923             Peter Bergner  <bergner@vnet.ibm.com>
1924
1925         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
1926         (pack_ldouble): New function.
1927         (__gcc_qadd): Use it.
1928         (__gcc_qmul): Likewise.
1929         (__gcc_qdiv): Likewise.
1930         (__gcc_qneg): Likewise.
1931         (__gcc_stoq): Likewise.
1932         (__gcc_dtoq): Likewise.
1933
1934 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
1935
1936         * config/s390/tpf-unwind.h: Include <stdbool.h>.
1937         (__tpf_eh_return): Add original return address as second parameter.
1938         Handle cases where unwinder routines were called directly, instead
1939         of from within the C++ library.
1940
1941 2014-07-29  Nathan Sidwell  <nathan@acm.org>
1942
1943         * libgcov.h: Move renaming of entry points to lib gcov specific
1944         portion.
1945         (gcov_do_dump): New rename.
1946         (gcov_rewrite): Remove inline, make HIDDEN.
1947         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
1948         (gcov_exit_compute_summary): Rename to ...
1949         (compute_summary): ... here.  Add LIST argument.
1950         (gcov_exit_merge_gcda): Rename to ...
1951         (merge_one_data): ... here.
1952         (gcov_exit_write_gcda): Rename to ...
1953         (write_one_data): ... here.
1954         (gcov_exit_merge_summary): Rename to ...
1955         (merge_summary): Add RUN_COUNTED argument.
1956         (gcov_exit_dump_gcov): Rename to ...
1957         (dump_one_gcov): Add RUN_COUNTED argument.
1958         (gcov_do_dump): New function, broken out of ...
1959         (gcov_exit): ... here.  Call it.
1960
1961 2014-07-27  Anthony Green  <green@moxielogic.com>
1962
1963         * config.host: Add moxiebox configuration suppport.
1964
1965 2014-07-27  Nathan Sidwell  <nathan@acm.org>
1966
1967         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
1968         (struct gcov_filename): ... here.  Include buffer and max length
1969         fields.
1970         (gcov_max_filename): Remove.
1971         (gi_filename): Remove.
1972         (gcov_exit_compute_summary): Compute max filename here.
1973         (gcov_exit_merge_gcda): Add filename parm, adjust.
1974         (gcov_exit_merge_summary): Likewise.
1975         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
1976         (gcov_exit): Likewise.
1977         (__gcov_init): Don't calculate max length here.
1978         * libgcov_util.c (max_filename_len): Remove.
1979         (read_gcda_file): Don't calculate max length here.
1980         (gcov_read_profile_dir): Don't propagate here.
1981         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
1982         struct gcov_filename changes.
1983         (gcov_exit_open_gcda_file): Likewise.
1984
1985 2014-07-25  Nathan Sidwell  <nathan@acm.org>
1986
1987         * libgcov-driver.c (set_gcov_dump_complete,
1988         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
1989         functions polluting user's namespace.
1990         (gcov_exit): Set variable directly.
1991         (gcov_clear): Reset variable directly.
1992         * libgcov-interface.c (get_gcov_dymp_complete,
1993         reset_gov_dump_complete): Remove declarations.
1994         (__gcov_reset, __gcov_dump): Don't call them.
1995
1996 2014-07-24  DJ Delorie  <dj@redhat.com>
1997
1998         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
1999         (__gcc_deregister_frame): Move logic to detect deregister function
2000         to ...
2001         (__gcc_register_frame): here, so it's consistent with the register
2002         logic.
2003
2004 2014-07-23  Nathan Sidwell  <nathan@acm.org>
2005
2006         * libgcov-driver.c (set_gcov_list): Remove.
2007         (gcov_list): Make non-static in GCOV_TOOL.
2008         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
2009
2010 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
2011
2012         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
2013         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
2014         Don't use SYNC_LOCK_RELEASE for int type.
2015
2016 2014-07-14  Richard Biener  <rguenther@suse.de>
2017
2018         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
2019
2020 2014-07-11  Rong Xu  <xur@google.com>
2021
2022         * libgcov-util.c (gcov_max_filename): Fix declartion.
2023
2024 2014-07-10  Rong Xu  <xur@google.com>
2025
2026         Add gcov-tool: an offline gcda profile processing tool
2027         Support.
2028         * libgcov-driver.c (gcov_max_filename): Make available
2029         to gcov-tool.
2030         * libgcov-merge.c (__gcov_merge_add): Replace
2031         gcov_read_counter() with a Macro.
2032         (__gcov_merge_ior): Ditto.
2033         (__gcov_merge_time_profile): Ditto.
2034         (__gcov_merge_single): Ditto.
2035         (__gcov_merge_delta): Ditto.
2036         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
2037         in the utility functions.
2038         (set_fn_ctrs): Utility function for reading gcda files to in-memory
2039         gcov_list object link lists.
2040         (tag_function): Ditto.
2041         (tag_blocks): Ditto.
2042         (tag_arcs): Ditto.
2043         (tag_lines): Ditto.
2044         (tag_counters): Ditto.
2045         (tag_summary): Ditto.
2046         (read_gcda_finalize): Ditto.
2047         (read_gcda_file): Ditto.
2048         (ftw_read_file): Ditto.
2049         (read_profile_dir_init): Ditto.
2050         (gcov_read_profile_dir): Ditto.
2051         (gcov_read_counter_mem): Ditto.
2052         (gcov_get_merge_weight): Ditto.
2053         (merge_wrapper): A wrapper function that calls merging handler.
2054         (gcov_merge): Merge two gcov_info objects with weights.
2055         (find_match_gcov_info): Find the matched gcov_info in the list.
2056         (gcov_profile_merge): Merge two gcov_info object lists.
2057         (__gcov_add_counter_op): Process edge profile counter values.
2058         (__gcov_ior_counter_op): Process IOR profile counter values.
2059         (__gcov_delta_counter_op): Process delta profile counter values.
2060         (__gcov_single_counter_op): Process single  profile counter values.
2061         (fp_scale): Callback function for float-point scaling.
2062         (int_scale): Callback function for integer fraction scaling.
2063         (gcov_profile_scale): Scaling profile counters.
2064         (gcov_profile_normalize): Normalize profile counters.
2065         * libgcov.h: Add headers and functions for gcov-tool use.
2066         (gcov_get_counter): New.
2067         (gcov_get_counter_target): Ditto.
2068         (struct gcov_info): Make the functions field mutable in gcov-tool
2069         compilation.
2070
2071 2014-06-23  Kai Tietz  <ktietz@redhat.com>
2072
2073         PR libgcc/61585
2074         * unwind-seh.c (_Unwind_GetGR): Check for proper
2075         index range.
2076         (_Unwind_SetGR): Likewise.
2077
2078 2014-05-22  Nick Clifton  <nickc@redhat.com>
2079
2080         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
2081         -mhwmult=none.
2082
2083 2014-05-22  Teresa Johnson  <tejohnson@google.com>
2084
2085         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
2086         include.
2087
2088 2014-05-20  John Marino  <gnugcc@marino.st>
2089
2090         * config.host (*-*-dragonfly*): New target.
2091         * crtstuff.c: Make dl_iterate_support generic on *bsd.
2092         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
2093         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
2094         * config/i386/dragonfly-unwind.h: New.
2095
2096 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
2097
2098         PR libgcc/60166
2099         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
2100         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
2101
2102 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2103
2104         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
2105         implementation.
2106
2107 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
2108
2109         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
2110
2111 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2112
2113         PR libgcc/61097
2114         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
2115         if --enable-shared.
2116
2117 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2118
2119         Work around for current cygwin32 build problems.
2120         * config/i386/cygming-crtbegin.c (__register_frame_info,
2121         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
2122         functions only for 64-bit systems.
2123
2124 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2125
2126         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
2127         (sigill_caught, sigill_hdlr): Remove.
2128
2129 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2130
2131         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
2132         check.
2133         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2134         Solaris 9 single-threaded support.
2135         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
2136         Solaris 9 single-threaded support.  Add call_user_handler code
2137         sequences.
2138         (sparc_is_sighandler): Likewise.
2139
2140 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2141
2142         * config.host: Append t-floattodi to tmake_file depending on
2143         host_address.
2144
2145 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
2146
2147         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
2148
2149 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
2150
2151         PR libgcc/60472
2152         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2153         variable to avoid "array subscript is above array bounds" warnings.
2154         Use __builtin_expect when checking *jcr_list for NULL.
2155
2156 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2157
2158         PR libgcc/59339
2159         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
2160         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
2161         vtv_*.o to extra_parts if enable_vtable_verify.
2162
2163 2014-03-06  Nick Clifton  <nickc@redhat.com>
2164
2165         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
2166         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
2167
2168 2014-02-28  Joey Ye  <joey.ye@arm.com>
2169
2170         PR libgcc/60166
2171         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
2172         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
2173         Set to zero.
2174
2175 2014-02-24  Walter Lee  <walt@tilera.com>
2176
2177         * config.host: Support "tilegx*" and "tilepro*" triplets.
2178         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
2179         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
2180
2181 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
2182             Chung-Lin Tang  <cltang@codesourcery.com>
2183
2184         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
2185         * config/nios2/crti.S: Remove .file directive.
2186         * config/nios2/crtn.S: Likewise.
2187
2188 2014-02-18  Kai Tietz  <ktietz@redhat.com>
2189         Jonathan Schleifer  <js@webkeks.org>
2190
2191         PR objc/56870
2192         * unwind-seh.c (_GCC_specific_handler): Pass proper
2193         value to unwind-handler.
2194
2195 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
2196
2197         * soft-fp/adddf3.c: Update from glibc.
2198         * soft-fp/addsf3.c: Likewise.
2199         * soft-fp/addtf3.c: Likewise.
2200         * soft-fp/divdf3.c: Likewise.
2201         * soft-fp/divsf3.c: Likewise.
2202         * soft-fp/divtf3.c: Likewise.
2203         * soft-fp/double.h: Likewise.
2204         * soft-fp/eqdf2.c: Likewise.
2205         * soft-fp/eqsf2.c: Likewise.
2206         * soft-fp/eqtf2.c: Likewise.
2207         * soft-fp/extenddftf2.c: Likewise.
2208         * soft-fp/extended.h: Likewise.
2209         * soft-fp/extendsfdf2.c: Likewise.
2210         * soft-fp/extendsftf2.c: Likewise.
2211         * soft-fp/extendxftf2.c: Likewise.
2212         * soft-fp/fixdfdi.c: Likewise.
2213         * soft-fp/fixdfsi.c: Likewise.
2214         * soft-fp/fixdfti.c: Likewise.
2215         * soft-fp/fixsfdi.c: Likewise.
2216         * soft-fp/fixsfsi.c: Likewise.
2217         * soft-fp/fixsfti.c: Likewise.
2218         * soft-fp/fixtfdi.c: Likewise.
2219         * soft-fp/fixtfsi.c: Likewise.
2220         * soft-fp/fixtfti.c: Likewise.
2221         * soft-fp/fixunsdfdi.c: Likewise.
2222         * soft-fp/fixunsdfsi.c: Likewise.
2223         * soft-fp/fixunsdfti.c: Likewise.
2224         * soft-fp/fixunssfdi.c: Likewise.
2225         * soft-fp/fixunssfsi.c: Likewise.
2226         * soft-fp/fixunssfti.c: Likewise.
2227         * soft-fp/fixunstfdi.c: Likewise.
2228         * soft-fp/fixunstfsi.c: Likewise.
2229         * soft-fp/fixunstfti.c: Likewise.
2230         * soft-fp/floatdidf.c: Likewise.
2231         * soft-fp/floatdisf.c: Likewise.
2232         * soft-fp/floatditf.c: Likewise.
2233         * soft-fp/floatsidf.c: Likewise.
2234         * soft-fp/floatsisf.c: Likewise.
2235         * soft-fp/floatsitf.c: Likewise.
2236         * soft-fp/floattidf.c: Likewise.
2237         * soft-fp/floattisf.c: Likewise.
2238         * soft-fp/floattitf.c: Likewise.
2239         * soft-fp/floatundidf.c: Likewise.
2240         * soft-fp/floatundisf.c: Likewise.
2241         * soft-fp/floatunditf.c: Likewise.
2242         * soft-fp/floatunsidf.c: Likewise.
2243         * soft-fp/floatunsisf.c: Likewise.
2244         * soft-fp/floatunsitf.c: Likewise.
2245         * soft-fp/floatuntidf.c: Likewise.
2246         * soft-fp/floatuntisf.c: Likewise.
2247         * soft-fp/floatuntitf.c: Likewise.
2248         * soft-fp/gedf2.c: Likewise.
2249         * soft-fp/gesf2.c: Likewise.
2250         * soft-fp/getf2.c: Likewise.
2251         * soft-fp/ledf2.c: Likewise.
2252         * soft-fp/lesf2.c: Likewise.
2253         * soft-fp/letf2.c: Likewise.
2254         * soft-fp/muldf3.c: Likewise.
2255         * soft-fp/mulsf3.c: Likewise.
2256         * soft-fp/multf3.c: Likewise.
2257         * soft-fp/negdf2.c: Likewise.
2258         * soft-fp/negsf2.c: Likewise.
2259         * soft-fp/negtf2.c: Likewise.
2260         * soft-fp/op-1.h: Likewise.
2261         * soft-fp/op-2.h: Likewise.
2262         * soft-fp/op-4.h: Likewise.
2263         * soft-fp/op-8.h: Likewise.
2264         * soft-fp/op-common.h: Likewise.
2265         * soft-fp/quad.h: Likewise.
2266         * soft-fp/single.h: Likewise.
2267         * soft-fp/soft-fp.h: Likewise.
2268         * soft-fp/subdf3.c: Likewise.
2269         * soft-fp/subsf3.c: Likewise.
2270         * soft-fp/subtf3.c: Likewise.
2271         * soft-fp/truncdfsf2.c: Likewise.
2272         * soft-fp/trunctfdf2.c: Likewise.
2273         * soft-fp/trunctfsf2.c: Likewise.
2274         * soft-fp/trunctfxf2.c: Likewise.
2275         * soft-fp/unorddf2.c: Likewise.
2276         * soft-fp/unordsf2.c: Likewise.
2277         * soft-fp/unordtf2.c: Likewise.
2278         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
2279         macro.
2280         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2281         Likewise.
2282         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2283         Likewise.
2284         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2285         Likewise.
2286         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2287         Likewise.
2288         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2289         Likewise.
2290         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2291         Likewise.
2292         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2293         Likewise.
2294         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2295         Likewise.
2296         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2297         Likewise.
2298         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2299         Likewise.
2300         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2301         Likewise.
2302         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2303         Likewise.
2304         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
2305         Likewise.
2306         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
2307         Likewise.
2308         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2309         Likewise.
2310
2311 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2312
2313         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
2314         cannot be represented.
2315         * config/s390/32/_fixsfdi.c: Likewise.
2316         * config/s390/32/_fixtfdi.c: Likewise.
2317         * config/s390/32/_fixunsdfdi.c: Likewise.
2318         * config/s390/32/_fixunssfdi.c: Likewise.
2319         * config/s390/32/_fixunstfdi.c: Likewise.
2320
2321 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
2322
2323         * configure.ac (libgcc_cv_mips_hard_float): New.
2324         * configure: Regenerate.
2325         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
2326         t-softfp-sfdf for hard-float targets.
2327         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
2328         (softfp_float_modes, softfp_int_modes, softfp_extensions)
2329         (softfp_truncations, softfp_exclude_libgcc2): New.
2330         * config/t-hardfp: New file.
2331         * config/t-hardfp-sfdf: Likewise.
2332         * config/hardfp.c: Likewise.
2333
2334 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2335
2336         * config.host: Include t-floattodi also for s390x.
2337         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
2338         * config/s390/32/_fixsfdi.c: Likewise.
2339         * config/s390/32/_fixtfdi.c: Likewise.
2340         * config/s390/32/_fixunsdfdi.c: Likewise.
2341         * config/s390/32/_fixunssfdi.c: Likewise.
2342         * config/s390/32/_fixunstfdi.c: Likewise.
2343
2344 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2345
2346         PR target/59788
2347         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
2348         (install-libgcc-unwind-map-forbuild): New target.
2349         (all): Depend on install-libgcc-unwind-map-forbuild.
2350         (install-libgcc-unwind-map): New target.
2351         (install): Depend on install-libgcc-unwind-map.
2352
2353 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
2354
2355         * config/nios2/crti.S (_init): Initialize GOT pointer from
2356         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
2357
2358 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
2359
2360         * configure.ac: Check __mips64 when setting host_address.
2361         * configure: Regenerate.
2362         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
2363         mips/t-mips64 and t-softfp.
2364         (mips*-*-linux*): Don't add mips/t-tpbit.
2365         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
2366         (DPBIT, DPBIT_CFLAGS): Delete.
2367         * config/mips/sfp-machine.h: New file.
2368         * config/mips/t-mips64: Likewise.
2369         * config/mips/t-softfp-tf: Likewise.
2370         * config/mips/t-tpbit: Delete.
2371
2372 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2373
2374         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
2375         as long long.
2376
2377 2014-01-25  Walter Lee  <walt@tilera.com>
2378
2379         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
2380         config.h or system.h.
2381         (bool) Define.
2382
2383 2014-01-25  Walter Lee  <walt@tilera.com>
2384
2385         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
2386         (post_atomic_barrier): Ditto.
2387         (__fetch_and_do): New macro.
2388         (__atomic_fetch_and_do): Use __fetch_and_do.
2389         (__sync_fetch_and_do): New macro.
2390         (__sync_fetch_and_add_4): New function.
2391         (__sync_fetch_and_sub_4): New function.
2392         (__sync_fetch_and_or_4): New function.
2393         (__sync_fetch_and_and_4): New function.
2394         (__sync_fetch_and_xor_4): New function.
2395         (__sync_fetch_and_nand_4): New function.
2396         (__sync_fetch_and_add_8): New function.
2397         (__sync_fetch_and_sub_8): New function.
2398         (__sync_fetch_and_or_8): New function.
2399         (__sync_fetch_and_and_8): New function.
2400         (__sync_fetch_and_xor_8): New function.
2401         (__sync_fetch_and_nand_8): New function.
2402         (__do_and_fetch): New macro.
2403         (__atomic_do_and_fetch): Use __do_and_fetch.
2404         (__sync_do_and_fetch): New macro.
2405         (__sync_add_and_fetch_4): New function.
2406         (__sync_sub_and_fetch_4): New function.
2407         (__sync_or_and_fetch_4): New function.
2408         (__sync_and_and_fetch_4): New function.
2409         (__sync_xor_and_fetch_4): New function.
2410         (__sync_nand_and_fetch_4): New function.
2411         (__sync_add_and_fetch_8): New function.
2412         (__sync_sub_and_fetch_8): New function.
2413         (__sync_or_and_fetch_8): New function.
2414         (__sync_and_and_fetch_8): New function.
2415         (__sync_xor_and_fetch_8): New function.
2416         (__sync_nand_and_fetch_8): New function.
2417         (__sync_exchange_methods): New macro.
2418         (__sync_val_compare_and_swap_4): New function.
2419         (__sync_bool_compare_and_swap_4): New function.
2420         (__sync_lock_test_and_test_4): New function.
2421         (__sync_val_compare_and_swap_8): New function.
2422         (__sync_bool_compare_and_swap_8): New function.
2423         (__sync_lock_test_and_test_8): New function.
2424         (__subword_cmpxchg_body): New macro.
2425         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
2426         (__atomic_compare_exchange_2): Ditto.
2427         (__sync_subword_cmpxchg): New macro.
2428         (__sync_val_compare_and_swap_1): New function.
2429         (__sync_bool_compare_and_swap_1): New function.
2430         (__sync_val_compare_and_swap_2): New function.
2431         (__sync_bool_compare_and_swap_2): New function.
2432         (__atomic_subword): Rename to ...
2433         (__subword): ... New name.
2434         (__atomic_subword_fetch): Use __subword.
2435         (__sync_subword_fetch): New macro.
2436         (__sync_fetch_and_add_1): New function.
2437         (__sync_fetch_and_sub_1): New function.
2438         (__sync_fetch_and_or_1): New function.
2439         (__sync_fetch_and_and_1): New function.
2440         (__sync_fetch_and_xor_1): New function.
2441         (__sync_fetch_and_nand_1): New function.
2442         (__sync_fetch_and_add_2): New function.
2443         (__sync_fetch_and_sub_2): New function.
2444         (__sync_fetch_and_or_2): New function.
2445         (__sync_fetch_and_and_2): New function.
2446         (__sync_fetch_and_xor_2): New function.
2447         (__sync_fetch_and_nand_2): New function.
2448         (__sync_add_and_fetch_1): New function.
2449         (__sync_sub_and_fetch_1): New function.
2450         (__sync_or_and_fetch_1): New function.
2451         (__sync_and_and_fetch_1): New function.
2452         (__sync_xor_and_fetch_1): New function.
2453         (__sync_nand_and_fetch_1): New function.
2454         (__sync_add_and_fetch_2): New function.
2455         (__sync_sub_and_fetch_2): New function.
2456         (__sync_or_and_fetch_2): New function.
2457         (__sync_and_and_fetch_2): New function.
2458         (__sync_xor_and_fetch_2): New function.
2459         (__sync_nand_and_fetch_2): New function.
2460         (__atomic_subword_lock): Use __subword.
2461         (__sync_subword_lock): New macro.
2462         (__sync_lock_test_and_set_1): New function.
2463         (__sync_lock_test_and_set_2): New function.
2464
2465 2014-01-25  Walter Lee  <walt@tilera.com>
2466
2467         * config/tilepro/atomic.c (BIT_OFFSET): Define.
2468         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
2469         (__atomic_subword): Ditto.
2470
2471 2014-01-25  Walter Lee  <walt@tilera.com>
2472
2473         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
2474         a prefix op argument.
2475         (__atomic_nand_fetch_4): Add prefix op.
2476         (__atomic_nand_fetch_8): Ditto.
2477
2478 2014-01-21  Baruch Siach  <barch@tkos.co.il>
2479
2480         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
2481
2482 2014-01-09  Rong Xu  <xur@google.com>
2483
2484         * libgcov-driver.c (this_prg): make it local to save
2485         bss space.
2486         (gcov_exit_compute_summary): Ditto.
2487         (gcov_exit_merge_gcda): Ditto.
2488         (gcov_exit_merge_summary): Ditto.
2489         (gcov_exit_dump_gcov): Ditto.
2490
2491 2014-01-08  Rong Xu  <xur@google.com>
2492
2493         * libgcov-driver.c: Use libgcov.h.
2494         (buffer_fn_data): Use xmalloc instead of malloc.
2495         (gcov_exit_merge_gcda): Ditto.
2496         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
2497         * libgcov.h: New common header files for libgcov-*.h.
2498         * libgcov-interface.c: Use libgcov.h
2499         * libgcov-merge.c: Ditto.
2500         * libgcov-profiler.c: Ditto.
2501         * Makefile.in: Add dependence to libgcov.h
2502
2503 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
2504
2505         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
2506         case of small numerator and finite nonzero result.
2507
2508 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
2509
2510         Update copyright years
2511
2512 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
2513
2514         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
2515         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
2516         config/arc/dp-hack.h, config/arc/fp-hack.h,
2517         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
2518         config/arc/ieee-754/arc600-dsp/divdf3.S,
2519         config/arc/ieee-754/arc600-dsp/divsf3.S,
2520         config/arc/ieee-754/arc600-dsp/muldf3.S,
2521         config/arc/ieee-754/arc600-dsp/mulsf3.S,
2522         config/arc/ieee-754/arc600-mul64/divdf3.S,
2523         config/arc/ieee-754/arc600-mul64/divsf3.S,
2524         config/arc/ieee-754/arc600-mul64/muldf3.S,
2525         config/arc/ieee-754/arc600-mul64/mulsf3.S,
2526         config/arc/ieee-754/arc600/divsf3.S,
2527         config/arc/ieee-754/arc600/mulsf3.S,
2528         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
2529         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
2530         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
2531         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
2532         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
2533         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
2534         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
2535         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
2536         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
2537         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
2538         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
2539         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
2540         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
2541         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
2542         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
2543         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
2544         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
2545         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
2546         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
2547         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
2548         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
2549         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
2550         vtv_start_preinit.c: Use the standard form for the copyright notice.
2551
2552 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
2553             Chung-Lin Tang  <cltang@codesourcery.com>
2554             Based on patches from Altera Corporation
2555
2556         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
2557         * config/nios2/lib2-nios2.h: New file.
2558         * config/nios2/lib2-divmod-hi.c: New file.
2559         * config/nios2/linux-unwind.h: New file.
2560         * config/nios2/lib2-divmod.c: New file.
2561         * config/nios2/linux-atomic.c: New file.
2562         * config/nios2/t-nios2: New file.
2563         * config/nios2/crti.asm: New file.
2564         * config/nios2/t-linux: New file.
2565         * config/nios2/lib2-divtable.c: New file.
2566         * config/nios2/lib2-mul.c: New file.
2567         * config/nios2/tramp.c: New file.
2568         * config/nios2/crtn.asm: New file.
2569
2570 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
2571
2572         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
2573         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
2574         from cpuid.h to check vendor signatures.
2575
2576 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
2577
2578         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
2579         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
2580         (get_amd_cpu): Likewise.
2581
2582 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
2583
2584         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
2585         Haswell.
2586
2587 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
2588             H.J. Lu  <hongjiu.lu@intel.com>
2589
2590         PR target/59422
2591         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
2592         and AMD_JAGUAR.
2593         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
2594         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
2595         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
2596         FEATURE_XOP and FEATURE_FMA.
2597         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
2598         AMDFAM15H_BDVER3.
2599         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
2600         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
2601         FEATURE_FMA4 and FEATURE_XOP.
2602
2603 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
2604
2605         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
2606         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
2607         (get_intel_cpu): Updated.
2608
2609 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
2610
2611         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
2612
2613 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
2614
2615         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
2616         instructions when __SSE_MATH__ is defined.
2617
2618 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
2619
2620         * config.host (microblaze-*-rtems*): New.
2621
2622 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
2623
2624         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
2625         architectures that do not have hardware divide instruction.
2626         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
2627
2628 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
2629
2630         * longlong.h: Delete (moved to include/).
2631
2632 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2633
2634         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
2635         of normal number and qNaN to not raise an inexact exception.
2636
2637 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
2638
2639         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
2640
2641 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
2642
2643         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
2644         for correct opcodes on BE.
2645
2646 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
2647
2648         * soft-fp/op-4.h: Update from glibc.
2649
2650 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
2651
2652         * libgcc2.c (__udivmoddi4): Define new implementation when
2653         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
2654         divide instructions.
2655
2656 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
2657
2658         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
2659
2660 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2661
2662         * config/t-softfp (soft-fp-objects-base): New variable.
2663         (soft-fp-objects): Use it.
2664
2665 2013-11-23  David Edelson  <dje.gcc@gmail.com>
2666             Andrew Dixie  <andrewd@gentrack.com>
2667
2668         PR target/33704
2669         * config/rs6000/aixinitfini.c: New file.
2670         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
2671         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
2672         symbols.
2673
2674 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
2675
2676         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
2677
2678 2013-11-18  Jan Hubicka  <jh@suse.cz>
2679
2680         * libgcov-driver.c (run_accounted): Make global level static.
2681         (gcov_exit_merge_summary): Silence warning; do not clear
2682         run_accounted here.
2683         (gcov_exit): Clear it here.
2684
2685         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
2686         run_accounted.
2687
2688         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
2689         (all_prg, crc32): Remove static vars.
2690         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
2691         all_prg.
2692         (gcov_exit_merge_gcda): Add crc32 parameter.
2693         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
2694         do not account run if it was already accounted.
2695         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
2696         (gcov_exit): Initialize all_prg; update.
2697
2698 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
2699
2700         * configure: Regenerate.
2701
2702 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2703             Alan Modra  <amodra@gmail.com>
2704
2705         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
2706         (frob_update_context): Use it.
2707
2708 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2709             Alan Modra  <amodra@gmail.com>
2710
2711         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
2712         (trampoline_initial): Provide ELFv2 variant.
2713         (__trampoline_setup): Likewise.
2714
2715         * config/rs6000/linux-unwind.h (frob_update_context): Do not
2716         check for AIX indirect function call sequence if _CALL_ELF == 2.
2717
2718 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2719             Alan Modra  <amodra@gmail.com>
2720
2721         * config/rs6000/linux-unwind.h (get_regs): Do not support
2722         old kernel versions if _CALL_ELF == 2.
2723         (frob_update_context): Do not support PLT stub variants only
2724         generated by old linkers if _CALL_ELF == 2.
2725
2726 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2727             Alan Modra  <amodra@gmail.com>
2728
2729         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
2730         location of CR save area for 64-bit little-endian systems.
2731
2732 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
2733
2734         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
2735         in tmake_file.
2736         * config/arm/t-vxworks: Delete.
2737
2738 2013-11-10  Kai Tietz  <ktietz@redhat.com>
2739
2740         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
2741         Increment load-count on use of LIBGCC_SONAME DLL.
2742         (hmod_libgcc): New static variable to hold handle of
2743         LIBGCC_SONAME DLL.
2744         (__gcc_deregister_frame): Decrement load-count of
2745         LIBGCC_SONAME DLL.
2746
2747 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
2748
2749         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
2750         availability.
2751         * configure: Regenerate
2752
2753 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
2754
2755         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
2756         FP_EX_DENORM.  Store result to volatile location after SSE division
2757         to close interrupt window.  Remove unneeded fwait after x87
2758         division since interrupt window will be closed by emitted fstp.
2759         Rewrite FP_EX_INEXACT handling.
2760
2761 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
2762
2763         * soft-fp/README: Update.
2764         * soft-fp/adddf3.c: Update from glibc.
2765         * soft-fp/addsf3.c: Likewise.
2766         * soft-fp/addtf3.c: Likewise.
2767         * soft-fp/divdf3.c: Likewise.
2768         * soft-fp/divsf3.c: Likewise.
2769         * soft-fp/divtf3.c: Likewise.
2770         * soft-fp/double.h: Likewise.
2771         * soft-fp/eqdf2.c: Likewise.
2772         * soft-fp/eqsf2.c: Likewise.
2773         * soft-fp/eqtf2.c: Likewise.
2774         * soft-fp/extenddftf2.c: Likewise.
2775         * soft-fp/extended.h: Likewise.
2776         * soft-fp/extendsfdf2.c: Likewise.
2777         * soft-fp/extendsftf2.c: Likewise.
2778         * soft-fp/extendxftf2.c: Likewise.
2779         * soft-fp/fixdfdi.c: Likewise.
2780         * soft-fp/fixdfsi.c: Likewise.
2781         * soft-fp/fixdfti.c: Likewise.
2782         * soft-fp/fixsfdi.c: Likewise.
2783         * soft-fp/fixsfsi.c: Likewise.
2784         * soft-fp/fixsfti.c: Likewise.
2785         * soft-fp/fixtfdi.c: Likewise.
2786         * soft-fp/fixtfsi.c: Likewise.
2787         * soft-fp/fixtfti.c: Likewise.
2788         * soft-fp/fixunsdfdi.c: Likewise.
2789         * soft-fp/fixunsdfsi.c: Likewise.
2790         * soft-fp/fixunsdfti.c: Likewise.
2791         * soft-fp/fixunssfdi.c: Likewise.
2792         * soft-fp/fixunssfsi.c: Likewise.
2793         * soft-fp/fixunssfti.c: Likewise.
2794         * soft-fp/fixunstfdi.c: Likewise.
2795         * soft-fp/fixunstfsi.c: Likewise.
2796         * soft-fp/fixunstfti.c: Likewise.
2797         * soft-fp/floatdidf.c: Likewise.
2798         * soft-fp/floatdisf.c: Likewise.
2799         * soft-fp/floatditf.c: Likewise.
2800         * soft-fp/floatsidf.c: Likewise.
2801         * soft-fp/floatsisf.c: Likewise.
2802         * soft-fp/floatsitf.c: Likewise.
2803         * soft-fp/floattidf.c: Likewise.
2804         * soft-fp/floattisf.c: Likewise.
2805         * soft-fp/floattitf.c: Likewise.
2806         * soft-fp/floatundidf.c: Likewise.
2807         * soft-fp/floatundisf.c: Likewise.
2808         * soft-fp/floatunditf.c: Likewise.
2809         * soft-fp/floatunsidf.c: Likewise.
2810         * soft-fp/floatunsisf.c: Likewise.
2811         * soft-fp/floatunsitf.c: Likewise.
2812         * soft-fp/floatuntidf.c: Likewise.
2813         * soft-fp/floatuntisf.c: Likewise.
2814         * soft-fp/floatuntitf.c: Likewise.
2815         * soft-fp/gedf2.c: Likewise.
2816         * soft-fp/gesf2.c: Likewise.
2817         * soft-fp/getf2.c: Likewise.
2818         * soft-fp/ledf2.c: Likewise.
2819         * soft-fp/lesf2.c: Likewise.
2820         * soft-fp/letf2.c: Likewise.
2821         * soft-fp/muldf3.c: Likewise.
2822         * soft-fp/mulsf3.c: Likewise.
2823         * soft-fp/multf3.c: Likewise.
2824         * soft-fp/negdf2.c: Likewise.
2825         * soft-fp/negsf2.c: Likewise.
2826         * soft-fp/negtf2.c: Likewise.
2827         * soft-fp/op-1.h: Likewise.
2828         * soft-fp/op-2.h: Likewise.
2829         * soft-fp/op-4.h: Likewise.
2830         * soft-fp/op-8.h: Likewise.
2831         * soft-fp/op-common.h: Likewise.
2832         * soft-fp/quad.h: Likewise.
2833         * soft-fp/single.h: Likewise.
2834         * soft-fp/soft-fp.h: Likewise.
2835         * soft-fp/subdf3.c: Likewise.
2836         * soft-fp/subsf3.c: Likewise.
2837         * soft-fp/subtf3.c: Likewise.
2838         * soft-fp/truncdfsf2.c: Likewise.
2839         * soft-fp/trunctfdf2.c: Likewise.
2840         * soft-fp/trunctfsf2.c: Likewise.
2841         * soft-fp/trunctfxf2.c: Likewise.
2842         * soft-fp/unorddf2.c: Likewise.
2843         * soft-fp/unordsf2.c: Likewise.
2844         * soft-fp/unordtf2.c: Likewise.
2845
2846 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
2847
2848         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
2849         (_FP_MUL_MEAT_D): Ditto.
2850         (_FP_DIV_MEAT_S): Ditto.
2851         (_FP_DIV_MEAT_D): Ditto.
2852         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
2853         t-softfp-sfdf and t-softfp to tmake_file.
2854
2855 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
2856
2857         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
2858         * config/i386/crtprec.c: Ditto.
2859
2860 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
2861             Shiva Chen  <shiva0217@gmail.com>
2862
2863         * config.host (nds32*-elf*): Add nds32 target.
2864         * config/nds32 : New directory and files.
2865
2866 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
2867
2868         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
2869         * config.host (cpu_type) <Setting default>: Add entry for
2870         crisv32-*-*.
2871         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
2872         <crisv32-*-linux*>: Adjust.
2873         * longlong.h: Wrap the whole CRIS section in a single
2874         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
2875         and sub_ddmmss.
2876         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
2877         defined.
2878         [__CRIS__] (__umulsidi3): Define.
2879         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
2880         * config/cris/sfp-machine.h: New file.
2881         * config/cris/umulsidi3.S: New file.
2882         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
2883         * config/cris/arit.c (SIGNMULT): New macro.
2884         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
2885         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
2886         saving 3 out of originally 33 cycles from the fastest
2887         path, 3 out of 54 from the medium path and one from the longest
2888         path.  Improve comments.
2889
2890 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
2891
2892         * sync.c: Remove static aliases and define each function directly
2893         under its real name.
2894
2895 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
2896
2897         * config.host (hppa*64*-*-linux*): Define extra_parts.
2898         (hppa*-*-linux*): Likewise.
2899
2900 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
2901
2902         * config/arc/crtgend.S: Add 2013 to Copyright years.
2903         * config/arc/gmon/atomic.h: Likewise.
2904         * config/arc/gmon/auxreg.h: Likewise.
2905         * config/arc/gmon/sys/gmon_out.h: Likewise.
2906         * config/arc/gmon/sys/gmon.h: Likewise.
2907         * config/arc/gmon/prof-freq.c: Likewise.
2908         * config/arc/gmon/mcount.c: Likewise.
2909         * config/arc/gmon/prof-freq-stub.S: Likewise.
2910         * config/arc/gmon/gmon.c: Likewise.
2911         * config/arc/gmon/machine-gmon.h: Likewise.
2912         * config/arc/gmon/profil.S: Likewise.
2913         * config/arc/gmon/dcache_linesz.S: Likewise.
2914         * config/arc/crtg.S: Likewise.
2915         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
2916         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
2917         * config/arc/ieee-754/adddf3.S: Likewise.
2918         * config/arc/ieee-754/truncdfsf2.S: Likewise.
2919         * config/arc/ieee-754/fixsfsi.S: Likewise.
2920         * config/arc/ieee-754/gtsf2.S: Likewise.
2921         * config/arc/ieee-754/floatsisf.S: Likewise.
2922         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
2923         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
2924         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
2925         * config/arc/ieee-754/fixdfsi.S: Likewise.
2926         * config/arc/ieee-754/addsf3.S: Likewise.
2927         * config/arc/ieee-754/gesf2.S: Likewise.
2928         * config/arc/ieee-754/floatsidf.S: Likewise.
2929         * config/arc/ieee-754/extendsfdf2.S: Likewise.
2930         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
2931         * config/arc/ieee-754/gtdf2.S: Likewise.
2932         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
2933         * config/arc/ieee-754/uneqdf2.S: Likewise.
2934         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2935         * config/arc/ieee-754/uneqsf2.S: Likewise.
2936         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
2937         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
2938         * config/arc/ieee-754/eqdf2.S: Likewise.
2939         * config/arc/ieee-754/ordsf2.S: Likewise.
2940         * config/arc/ieee-754/divsf3.S: Likewise.
2941         * config/arc/ieee-754/divdf3.S: Likewise.
2942         * config/arc/ieee-754/floatunsidf.S: Likewise.
2943         * config/arc/ieee-754/orddf2.S: Likewise.
2944         * config/arc/ieee-754/eqsf2.S: Likewise.
2945         * config/arc/ieee-754/gedf2.S: Likewise.
2946         * config/arc/crtn.S: Likewise.
2947         * config/arc/crti.S: Likewise.
2948         * config/arc/t-arc700-uClibc: Likewise.
2949         * config/arc/asm.h: Likewise.
2950         * config/arc/libgcc-excl.ver: Likewise.
2951         * config/arc/t-arc-newlib: Likewise.
2952         * config/arc/divtab-arc700.c: Likewise.
2953         * config/arc/initfini.c: Likewise.
2954         * config/arc/fp-hack.h: Likewise.
2955
2956 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
2957             Diego Novillo  <dnovillo@google.com>
2958
2959         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
2960         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
2961         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
2962         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
2963
2964 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
2965             Brendan Kehoe  <brendan@zen.org>
2966             Simon Cook  <simon.cook@embecosm.com>
2967
2968         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
2969         * config/arc: New directory.
2970         * longlong.h [__arc__] (umul_ppmm): Remove.
2971         [__arc__] (__umulsidi3): Define.
2972         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
2973         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
2974
2975 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
2976
2977         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
2978         CreateSemaphoreA.
2979         * config/i386/gthr-win32.h: Likewise.
2980
2981 2013-09-16  DJ Delorie  <dj@redhat.com>
2982
2983         * config/rl78/vregs.h: Add G10 register definitions.
2984         * config/rl78/lib2mul.c: Enable for RL78/G10.
2985         * config/rl78/lib2div.c: Likewise.
2986         * config/rl78/lshrsi3.S: Use vregs.h.
2987         * config/rl78/cmpsi2.S: Likewise.
2988         * config/rl78/trampoline.S: Likewise.
2989         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
2990
2991 2013-09-14  DJ Delorie  <dj@redhat.com>
2992             Nick Clifton  <nickc@redhat.com>
2993
2994         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
2995         * config/rl78/vregs.h: New.
2996         * config/rl78/signbit.S: New file.  Implements signbit function.
2997         * config/rl78/divmodsi.S: New.
2998         * config/rl78/divmodhi.S: New.
2999         * config/rl78/divmodqi.S: New.
3000         * config/rl78/t-rl78: Build them here...
3001         * config/rl78/lib2div.c: ...but not here.
3002
3003 2013-09-12  DJ Delorie  <dj@redhat.com>
3004
3005         * config.host (msp*-*-elf): New.
3006         * config/msp430/: New port.
3007
3008 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
3009
3010         PR gcov-profile/58127
3011         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
3012         __thread var for emulated TLS.
3013         (__gcov_indirect_call_counters): Likewise.
3014
3015 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
3016             Catherine Moore  <clm@codesourcery.com>
3017             Richard Sandiford  <rdsandiford@googlemail.com>
3018
3019         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
3020         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
3021         (CALL_STUB_NO_RET): Likewise.
3022         (CALL_STUB_RET): Likewise.
3023         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
3024         __mips16_ret call/return stub symbols.
3025         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
3026         to tmake_file.
3027
3028 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
3029
3030         * config.host <mips*-*-linux*>: Remove a stray comment.
3031
3032 2013-08-10  Jan Hubicka  <jh@suse.cz>
3033
3034         Work around binutils PR14342
3035         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
3036         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
3037         (L_gcov_indirect_call_profiler_v2): New.
3038
3039 2013-08-06  Jan Hubicka  <jh@suse.cz>
3040
3041         * libgcov.c (__gcov_indirect_call_callee,
3042         __gcov_indirect_call_counters): New global vars.
3043         (__gcov_indirect_call_profiler): replace by ...
3044         (__gcov_indirect_call_profiler_v2) ... this one.
3045
3046 2013-08-06  Caroline Tice  <cmtice@google.com>
3047
3048         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
3049         vtv_start_preinit.o and vtv_end_preinit.o.
3050         * configure.ac: Add code to check/set enable_vtable_verify.
3051         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
3052         true.
3053         * vtv_start_preinit.c: New file.
3054         * vtv_end_preinit.c: New file.
3055         * vtv_start.c: New file.
3056         * vtv_end.c: New file.
3057         * configure: Regenerated.
3058
3059 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
3060
3061         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
3062         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
3063         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
3064         GPL-3.0-with-GCC-exception.
3065
3066 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
3067
3068         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
3069         ISA and up.
3070
3071 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3072
3073         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
3074         mapping for FPRs when creating the fallback framestate.
3075
3076 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
3077
3078         PR target/57516
3079         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
3080         (__round_s2_const, __round_u2_const)
3081         (__round_s4_const, __round_u4_const, __round_x8):
3082         Saturate result if addition result cannot be represented.
3083
3084 2013-07-15  Matthias Klose  <doko@ubuntu.com>
3085
3086         * libgcc2.c: Don't include <limits.h>.
3087
3088 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
3089
3090         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
3091
3092 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
3093
3094         PR target/29776
3095         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
3096
3097 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
3098
3099         PR middle-end/36041
3100         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
3101         Define.
3102         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
3103         instead of table lookups.
3104         (__popcountDI2): Likewise.
3105
3106 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
3107
3108         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
3109         correctly.
3110
3111 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3112
3113         PR other/53317
3114         * soft-fp/adddf3.c: Update from glibc.
3115         * soft-fp/addsf3.c: Likewise.
3116         * soft-fp/addtf3.c: Likewise.
3117         * soft-fp/divdf3.c: Likewise.
3118         * soft-fp/divsf3.c: Likewise.
3119         * soft-fp/divtf3.c: Likewise.
3120         * soft-fp/double.h: Likewise.
3121         * soft-fp/eqdf2.c: Likewise.
3122         * soft-fp/eqsf2.c: Likewise.
3123         * soft-fp/eqtf2.c: Likewise.
3124         * soft-fp/extenddftf2.c: Likewise.
3125         * soft-fp/extended.h: Likewise.
3126         * soft-fp/extendsfdf2.c: Likewise.
3127         * soft-fp/extendsftf2.c: Likewise.
3128         * soft-fp/fixdfdi.c: Likewise.
3129         * soft-fp/fixdfsi.c: Likewise.
3130         * soft-fp/fixsfdi.c: Likewise.
3131         * soft-fp/fixsfsi.c: Likewise.
3132         * soft-fp/fixtfdi.c: Likewise.
3133         * soft-fp/fixtfsi.c: Likewise.
3134         * soft-fp/fixunsdfdi.c: Likewise.
3135         * soft-fp/fixunsdfsi.c: Likewise.
3136         * soft-fp/fixunssfdi.c: Likewise.
3137         * soft-fp/fixunssfsi.c: Likewise.
3138         * soft-fp/fixunstfdi.c: Likewise.
3139         * soft-fp/fixunstfsi.c: Likewise.
3140         * soft-fp/floatdidf.c: Likewise.
3141         * soft-fp/floatdisf.c: Likewise.
3142         * soft-fp/floatditf.c: Likewise.
3143         * soft-fp/floatsidf.c: Likewise.
3144         * soft-fp/floatsisf.c: Likewise.
3145         * soft-fp/floatsitf.c: Likewise.
3146         * soft-fp/floatundidf.c: Likewise.
3147         * soft-fp/floatundisf.c: Likewise.
3148         * soft-fp/floatunditf.c: Likewise.
3149         * soft-fp/floatunsidf.c: Likewise.
3150         * soft-fp/floatunsisf.c: Likewise.
3151         * soft-fp/floatunsitf.c: Likewise.
3152         * soft-fp/gedf2.c: Likewise.
3153         * soft-fp/gesf2.c: Likewise.
3154         * soft-fp/getf2.c: Likewise.
3155         * soft-fp/ledf2.c: Likewise.
3156         * soft-fp/lesf2.c: Likewise.
3157         * soft-fp/letf2.c: Likewise.
3158         * soft-fp/muldf3.c: Likewise.
3159         * soft-fp/mulsf3.c: Likewise.
3160         * soft-fp/multf3.c: Likewise.
3161         * soft-fp/negdf2.c: Likewise.
3162         * soft-fp/negsf2.c: Likewise.
3163         * soft-fp/negtf2.c: Likewise.
3164         * soft-fp/op-1.h: Likewise.
3165         * soft-fp/op-2.h: Likewise.
3166         * soft-fp/op-4.h: Likewise.
3167         * soft-fp/op-8.h: Likewise.
3168         * soft-fp/op-common.h: Likewise.
3169         * soft-fp/quad.h: Likewise.
3170         * soft-fp/single.h: Likewise.
3171         * soft-fp/soft-fp.h: Likewise.
3172         * soft-fp/subdf3.c: Likewise.
3173         * soft-fp/subsf3.c: Likewise.
3174         * soft-fp/subtf3.c: Likewise.
3175         * soft-fp/truncdfsf2.c: Likewise.
3176         * soft-fp/trunctfdf2.c: Likewise.
3177         * soft-fp/trunctfsf2.c: Likewise.
3178         * soft-fp/unorddf2.c: Likewise.
3179         * soft-fp/unordsf2.c: Likewise.
3180         * soft-fp/unordtf2.c: Likewise.
3181         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
3182         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3183         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3184         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3185         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3186         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3187         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3188         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3189         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3190         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
3191         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
3192         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3193
3194 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
3195
3196         * config/mips/lib2funcs.c: New file.
3197         * config/mips/t-mips (LIB2ADD_ST): Add it.
3198
3199 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
3200
3201         PR target/6526
3202         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
3203         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
3204
3205 2013-06-08  Walter Lee  <walt@tilera.com>
3206
3207         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
3208         Replace int64_t with long long.  Add __extension__ where
3209         appropriate.
3210         * config/tilepro/atomic.c: Include config.h.
3211
3212 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
3213
3214         * config.host (arm-wrs-vxworks): Configure with other soft float.
3215
3216 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
3217
3218         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
3219         (mips64r5900el-*-elf*): New configurations.
3220
3221 2013-06-04  Alan Modra  <amodra@gmail.com>
3222
3223         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
3224
3225 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
3226
3227         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
3228
3229 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
3230
3231         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
3232         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
3233         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
3234
3235 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
3236
3237         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
3238         (powerpc-wrs-vxworks): Likewise.
3239
3240 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
3241
3242         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
3243         signal frames as well.
3244         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
3245         STACK_BIAS to the CFA offset.
3246
3247 2013-05-17  Richard Henderson  <rth@redhat.com>
3248
3249         PR target/49146
3250         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
3251         (execute_cfa_program): Use it when storing to fs->regs.
3252
3253 2013-05-08  Kai Tietz  <ktietz@redhat.com>
3254
3255         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
3256         (__deregister_frame_info): Likewise.
3257
3258 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
3259
3260         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
3261         NaN's payload.
3262
3263         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
3264
3265 2013-04-25  Alan Modra  <amodra@gmail.com>
3266
3267         * config.host: Match little-endian powerpc-linux.
3268
3269 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
3270
3271         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
3272         as 'unsigned long long' instead of 'unsigned long'.
3273         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
3274         'signed long'.
3275
3276 2013-04-10  Julian Brown  <julian@codesourcery.com>
3277
3278         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
3279         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
3280         unsigned char/unsigned short.
3281         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
3282
3283 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3284
3285         PR other/55274
3286         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
3287
3288 2013-04-04  Meador Inge  <meadori@codesourcery.com>
3289
3290         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
3291         computing the location of the link register.
3292         (aeabi_uldivmod): Ditto.
3293
3294 2013-03-27  Kai Tietz  <ktietz@redhat.com>
3295
3296         * config.host: Add support for cygwin x64 target.
3297         * configure: Regenerated.
3298
3299 2013-03-26  Walter Lee  <walt@tilera.com>
3300
3301         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
3302         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
3303
3304 2013-03-25  Kai Tietz  <ktietz@redhat.com>
3305
3306         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
3307
3308 2013-03-20  Robert Mason  <rbmj@verizon.net>
3309
3310         * config/vxlib-tls.c (__gthread_get_tsd_data,)
3311         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
3312         (__gthread_leave_tsd_dtor_context): Add prototypes.
3313         (tls_delete_hook): Update.
3314
3315 2013-03-20  Catherine Moore  <clm@codesourcery.com>
3316             Joseph Myers  <joseph@codesourcery.com>
3317             Chao-ying Fu  <fu@mips.com>
3318
3319         * config/mips/mips16.S:  Don't build for microMIPS.
3320         * config/mips/linux-unwind.h: Handle microMIPS frame.
3321         * config/mips/crtn.S (fini, init): New labels.
3322
3323 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
3324
3325         PR tree-optimization/53265
3326         * unwind-dw2.c (execute_cfa_program): Avoid
3327         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
3328         on targets with DWARF_FRAME_REGISTERS < 32.
3329
3330 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
3331
3332         PR target/49880
3333         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
3334         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
3335
3336 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
3337
3338         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
3339         sandybridge processors.
3340
3341 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
3342
3343         PR target/56529
3344         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
3345         inclusion list.
3346
3347 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
3348
3349         * config/microblaze/crti.S: Setup stack protection at entry
3350
3351 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
3352
3353         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
3354         (__rotldi3): Shift bytewise if applicable.
3355
3356 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
3357
3358         * config/aarch64/sync-cache.c
3359         (__aarch64_sync_cache_range): Silence warnings.
3360
3361 2013-02-25  Catherine Moore  <clm@codesourcery.com>
3362
3363         Revert:
3364         2013-02-24  Catherine Moore  <clm@codesourcery.com>
3365             Joseph Myers  <joseph@codesourcery.com>
3366             Chao-ying Fu  <fu@mips.com>
3367
3368         * config/mips/mips16.S:  Don't build for microMIPS.
3369         * config/mips/linux-unwind.h: Handle microMIPS frame.
3370         * config/mips/crtn.S (fini, init): New labels.
3371
3372 2013-02-24  Catherine Moore  <clm@codesourcery.com>
3373             Joseph Myers  <joseph@codesourcery.com>
3374             Chao-ying Fu  <fu@mips.com>
3375
3376         * config/mips/mips16.S:  Don't build for microMIPS.
3377         * config/mips/linux-unwind.h: Handle microMIPS frame.
3378         * config/mips/crtn.S (fini, init): New labels.
3379
3380 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
3381         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
3382         as dividend.
3383
3384 2013-02-16  Alan Modra  <amodra@gmail.com>
3385
3386         PR target/55431
3387         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
3388         (ppc_fallback_frame_state): Always set up save locations for fp
3389         and altivec.  Don't bother with non-callee-saved regs, r0-r13
3390         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
3391
3392 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
3393
3394         PR target/54222
3395         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
3396         _ssmulHA, _ssmulSA.
3397         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
3398         _ssmulha3, _usmulusa3, _ssmulsa3.
3399         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
3400         (__muldi3): XCALL __muldi3_6 instead of rcall.
3401         (__umulsidi3, __mulsidi3): New functions.
3402         (do_prologue_saves, do_epilogue_restores): New .macros.
3403         (__divdi3_moddi3): Use them.
3404         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
3405         (__usmulusa3, __ssmulsa3): New functions.
3406
3407 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
3408             Jack Howarth  <howarth@bromo.med.uc.edu>
3409             Patrick Marlier  <patrick.marlier@gmail.com>
3410
3411         PR libitm/55693
3412         * config/darwin-crt-tm.c: Remove dummy functions hack.
3413
3414 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
3415
3416         PR target/54222
3417         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
3418         * config/avr/lib2-object.mk: New iterator to build objects from it.
3419         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
3420         lib2funcs.c.
3421         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
3422         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
3423         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
3424         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
3425         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
3426         * config/avr/lib1funcs-fixed.S: Implement them.
3427
3428 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
3429
3430         Update copyright years.
3431
3432 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
3433
3434         PR target/54601
3435         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
3436         Add crtcxa to extra_parts.
3437         * config/rs6000/exit.h: New file.
3438         * config/rs6000/cxa_atexit.c: New file.
3439         * config/rs6000/cxa_finalize.c: New file.
3440         * config/rs6000/crtcxa.c: New file.
3441         * config/rs6000/t-aix-cxa: New file.
3442         * config/rs6000/libgcc-aix-cxa.ver: New file.
3443
3444 2013-01-31  Nick Clifton  <nickc@redhat.com>
3445
3446         * config/v850/lib1funcs.S: Add support for e3v5 architecture
3447         variant.
3448
3449 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
3450
3451         PR target/54222
3452         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
3453         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
3454         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
3455         _divQQ,  _divHQ,  _divHA,  _divSA,
3456         _divUQQ, _divUHQ, _divUHA, _divUSA.
3457
3458 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
3459
3460         * config.host(microblaze*-linux*): tmake_file: Remove
3461         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
3462         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
3463         to exclude functions from being built with libgcc.c and use
3464         the microblaze assembly.
3465
3466 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
3467
3468         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
3469         extra_parts.
3470
3471 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
3472
3473         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
3474         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
3475         __UINTPTR_TYPE__; also cast 'base' to the same type before the
3476         alignment operation.
3477
3478 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
3479
3480         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
3481         loop start address for cache clearing.
3482
3483 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
3484
3485         * config/avr/lib1funcs.S: Remove trailing blanks.
3486         * config/avr/lib1funcs-fixed.S: Ditto.
3487
3488 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
3489
3490         * config/avr/avr-lib.h: Add GPL copyright notice.
3491
3492 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
3493
3494         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
3495         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
3496         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
3497         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
3498
3499 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
3500
3501         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
3502         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
3503
3504 2013-01-04  Nick Clifton  <nickc@redhat.com>
3505
3506         * config/v850/lib1funcs.S: Only provide CALLT support functions if
3507         the CALLT instruction is supported.
3508
3509 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
3510
3511         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
3512         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
3513
3514 2012-12-13  John Tytgat  <John@bass-software.com>
3515
3516         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
3517         is 25.
3518
3519 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
3520
3521         PR libgcc/55451
3522         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
3523         undefined signed overflows.
3524
3525 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
3526
3527         PR target/55344
3528         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
3529
3530 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
3531
3532         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
3533         (FP_TRAPPING_EXCEPTIONS): Define.
3534         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
3535         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
3536
3537 2012-12-04  Richard Henderson  <rth@redhat.com>
3538
3539         PR bootstrap/55571
3540         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
3541
3542 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3543
3544         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
3545         (FP_EX_SHIFT): Define.
3546         (FP_TRAPPING_EXCEPTIONS): Define.
3547
3548 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3549
3550         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
3551         (FP_ROUNDMODE): Use FP_RND_MASK.
3552         * config/aarch64/sfp-exceptions.c: New.
3553         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3554         Use __sfp_handle_exceptions.
3555
3556 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
3557
3558         * config.host: (arm*-*-freebsd*): Remove.
3559         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
3560         (arm*-*-elf*): Remove.
3561         (arm*-*-wince-pe*): Remove.
3562         * arm/unwind-arm.c (struct fpa_reg): Delete.
3563         (struct fpa_regs): Delete.
3564         (phase1_vrs): Remove fpa element.
3565         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
3566         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
3567         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
3568         * ieee754-sf.S (floatundisf): Remove FPA support.
3569         (floatdisf): Likewise.
3570         * ieee75f-df.S (floatundidf): Likewise.
3571         (floatdidf): Likewise.
3572
3573 2012-11-29  Kai Tietz  <ktietz@redhat.com>
3574
3575         PR target/55445
3576         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
3577         * unwind-generic.h: Likewise.
3578         * unwind-seh.c: Likewise.
3579
3580 2012-11-28  Richard Henderson  <rth@redhat.com>
3581
3582         PR libgcc/48076
3583         * emutls.c (__emutls_get_address): Avoid race condition between
3584         obj->loc.offset read and emutls_key initialization.
3585
3586 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
3587
3588         Adjust decimal point of signed accum mode to GCC default.
3589
3590         PR target/54222
3591         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
3592         _divqq_helper.
3593         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
3594         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
3595         (__mulha3, __mulsa3)
3596         (__divqq3, __divha3, __divsa3): Adjust to new position of
3597         decimal point of signed accum types.
3598
3599         (__mulusa3_round): New function.
3600         (__mulusa3): Use it.
3601         (__divqq_helper): New function.
3602         (__udivuqq3): Use it.
3603
3604 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
3605
3606         PR bootstrap/55370
3607         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
3608
3609 2012-11-18  Teresa Johnson  <tejohnson@google.com>
3610
3611         PR bootstrap/55051
3612         * libgcov.c (gcov_exit): Remove merged program summary
3613         comparison unless !GCOV_LOCKED.
3614
3615 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3616
3617         * soft-fp: Updated from glibc upstream.
3618
3619 2012-11-06  Ian Lance Taylor  <iant@google.com>
3620
3621         * generic-morestack.c (__generic_morestack): Align the returned
3622         stack pointer to a 32 byte boundary.
3623         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
3624         increment the return address until we have decided that we don't
3625         have a varargs function.
3626         (__morestack) [32-bit]: Align stack correctly when calling C
3627         functions.
3628         (__morestack) [64-bit]: Likewise.
3629
3630 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
3631
3632         * configure: Regenerate.
3633
3634 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
3635
3636         PR target/55175
3637         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
3638         * config/i386/sfp-machine.h: Guard exception handling
3639         code with _SOFT_FLOAT.
3640         * config/i386/32/sfp-machine.h: Guard rounding handling
3641         code with _SOFT_FLOAT.
3642         * config/i386/64/sfp-machine.h: Ditto.
3643
3644 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
3645
3646         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
3647         as extra_parts.
3648
3649 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
3650
3651         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
3652         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
3653         when appropriate.  Correct structure element types.
3654         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
3655         -minline-all-stringops from compile flags.
3656
3657 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
3658
3659         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
3660
3661 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
3662
3663         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
3664
3665 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3666
3667         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
3668         tmake_file.
3669
3670 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
3671             Jim MacArthur  <jim.macarthur@arm.com>
3672             Marcus Shawcroft  <marcus.shawcroft@arm.com>
3673             Nigel Stephens  <nigel.stephens@arm.com>
3674             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
3675             Richard Earnshaw  <rearnsha@arm.com>
3676             Sofiane Naci  <sofiane.naci@arm.com>
3677             Stephen Thomas  <stephen.thomas@arm.com>
3678             Tejas Belagod  <tejas.belagod@arm.com>
3679             Yufeng Zhang  <yufeng.zhang@arm.com>
3680
3681         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
3682         * config/aarch64/crti.S: New file.
3683         * config/aarch64/crtn.S: New file.
3684         * config/aarch64/linux-unwind.h: New file.
3685         * config/aarch64/sfp-machine.h: New file.
3686         * config/aarch64/sync-cache.c: New file.
3687         * config/aarch64/t-aarch64: New file.
3688         * config/aarch64/t-softfp: New file.
3689
3690 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
3691
3692         * config/mmix/crti.S: Mark program and data addresses using PRELD.
3693         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
3694         no-longer-needed LDBU insns.
3695
3696 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3697
3698         * config.host
3699         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
3700         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
3701
3702 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
3703
3704         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
3705
3706 2012-10-15  Matthias Klose  <doko@ubuntu.com>
3707
3708         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
3709
3710 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
3711
3712         * configure: Regenerate.
3713         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
3714
3715 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
3716
3717         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
3718         instructions for 64bit targets only.
3719
3720 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
3721
3722         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
3723         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
3724         * config/i386/32/sfp-machine.h: ... here.
3725         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
3726         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
3727         New defines.
3728
3729 2012-10-07  Matthias Klose  <doko@ubuntu.com>
3730
3731         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
3732         as unused.
3733         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
3734
3735 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
3736
3737         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
3738         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
3739         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
3740         (ElfW): Likewise.
3741
3742 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
3743
3744         PR other/53889
3745         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
3746         Fix parameter names.
3747
3748 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
3749
3750         PR target/33135
3751         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
3752         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
3753         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
3754
3755 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
3756
3757         PR target/50457
3758         * config/sh/linux-atomic.S: Delete.
3759         * config/sh/linux-atomic.c: New.
3760         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
3761         linux-atomic.c.  Add cflags to disable warnings.
3762
3763 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
3764
3765         PR other/53889
3766         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
3767         function.
3768         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
3769         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
3770         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
3771         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
3772         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
3773         Likewise.
3774         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
3775         Likewise.
3776         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
3777         Likewise.
3778         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
3779         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
3780
3781 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
3782
3783         * config.host (hppa-*-openbsd*): New target.
3784         * config/pa/t-openbsd: New file.
3785
3786 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
3787
3788         PR target/54222
3789         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
3790         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
3791         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
3792         (__divsa3): Use __negsi2 to negate r_quoL.
3793         * config/avr/lib1funcs.S (FALIAS): New macro.
3794         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
3795         (__negsi2): ...this new function.
3796         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
3797         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
3798         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
3799         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
3800         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
3801         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
3802
3803 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
3804
3805         PR target/54089
3806         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
3807         (lshrsi3): Reimplement as lshrsi3_r0.
3808
3809 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
3810
3811         PR target/46191
3812         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
3813         of libgcc.a.
3814
3815 2012-09-07  Teresa Johnson  <tejohnson@google.com>
3816
3817         PR gcov-profile/54487
3818         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
3819         differences.
3820
3821 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
3822
3823         PR target/54461
3824         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
3825         not configured --with-avrlibc=no.
3826         * config/avr/t-avrlibc: New file.
3827         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
3828         (DPBIT_FUNCS): Ditto.
3829         (TPBIT_FUNCS): Ditto.
3830
3831 2012-09-04  Teresa Johnson  <tejohnson@google.com>
3832
3833         * libgcov.c (struct gcov_summary_buffer): New structure.
3834         (gcov_histogram_insert): New function.
3835         (gcov_compute_histogram): Ditto.
3836         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
3837         histograms during summary merging.
3838
3839 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
3840
3841         * config.host (x86_64-*-openbsd*): New target.
3842
3843 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
3844
3845         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
3846         attribute.
3847
3848 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
3849
3850         PR target/54222
3851         * config/avr/t-avr (conv_X): Rename to func_X.
3852
3853 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
3854
3855         PR target/54222
3856         * config/avr/lib1funcs-fixed.S: New file.
3857         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
3858         after they are used.
3859         (neg2, neg4): New macros.
3860         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
3861         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
3862         (__umulhisi3): Speed up MUL variant if there is enough flash.
3863         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
3864         avr-modes.def.
3865         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
3866         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
3867         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
3868         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
3869         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
3870         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
3871         (LIB2FUNCS_EXCLUDE): Add supported functions.
3872
3873 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
3874
3875         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
3876         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
3877         libgcc-s-objects.
3878         * fixed-obj.mk: Only expand dependency if $o is not in
3879         LIB2FUNCS_EXCLUDE.
3880
3881 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
3882
3883         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
3884
3885 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
3886
3887         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
3888         depend on --enable-shared.
3889         ($(lib1asmfuncs-o)): Use %.vis files independent of
3890         --enable-shared.
3891         * static-object.mk ($(base)$(objext), $(base).vis)
3892         ($(base)_s$(objext)): Use same rules for visibility handling as in
3893         shared-object.mk.
3894
3895 2012-08-21  Ian Lance Taylor  <iant@google.com>
3896
3897         * config/i386/morestack.S (__morestack_non_split): Increase amount
3898         of space allocated for non-split code stack.
3899
3900 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
3901
3902         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
3903         even if inhibit_libc.
3904
3905 2012-08-17  Julian Brown  <julian@codesourcery.com>
3906
3907         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
3908         -fexceptions -fnon-call-exceptions if not defined.
3909         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
3910         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
3911
3912 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
3913
3914         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
3915         type.
3916
3917 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
3918
3919         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
3920         rs6000/t-slibgcc-aix.
3921
3922 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
3923
3924         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
3925
3926 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
3927
3928         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
3929
3930 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
3931
3932         PR driver/54171
3933         * Makefile.in (version): Replace top_srcdir with srcdir.
3934
3935 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
3936
3937         * Makefile.in (version): set to BASE-VER file from gcc directory.
3938
3939 2012-08-01  Nick Clifton  <nickc@redhat.com>
3940
3941         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
3942         Implements __clrsb for an HImode argument.
3943
3944 2012-07-31  Nick Clifton  <nickc@redhat.com>
3945
3946         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
3947         Implements __clrsb for an HImode argument.
3948         * config/stormy16/clrsbhi2.c: New file:
3949         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
3950
3951 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
3952
3953         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
3954
3955 2012-07-19  Tristan Gingold  <gingold@adacore.com>
3956             Richard Henderson  <rth@redhat.com>
3957
3958         * unwind-seh.c: New file.
3959         * unwind-generic.h: Include windows.h for SEH.
3960         (_Unwind_Exception): Use 6 private fields for SEH.
3961         (_GCC_specific_handler): Declare.
3962         * unwind-c.c (__gcc_personality_seh0): New function.
3963         Adjust for SEH.
3964         * config/i386/libgcc-cygming.ver: New file.
3965         * config/i386/t-seh-eh: New file.
3966         * config.host (x86_64-*-mingw*): Default to seh.
3967
3968 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
3969
3970         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
3971
3972 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
3973
3974         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
3975         __builtin_expect when checking for exceptions.
3976         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
3977
3978 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
3979
3980         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
3981         function declaration.
3982         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
3983         (FP_RND_MASK): New.
3984         * config/ia64/sfp-exceptions.c: New.
3985         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
3986
3987 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
3988
3989         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
3990         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
3991         * config/i386/64/sfp-machine: ... (delete here) ...
3992         * config/i386/sfp-machine.h: ... to here.
3993         (FP_EX_MASK): Remove.
3994         (FP_RND_MASK): New.
3995         (FP_INIT_ROUNDMODE): Declare asm as volatile.
3996
3997 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
3998
3999         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
4000         * config/i386/libgcc-sol2.ver: Ditto.
4001         * config/i386/libgcc-glibc.ver: Ditto.
4002
4003 2012-06-11  Roland McGrath  <mcgrathr@google.com>
4004
4005         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
4006         If __GLIBC__ is defined, refer to __pthread_key_create instead of
4007         pthread_cancel.
4008
4009 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
4010
4011         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
4012         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
4013         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
4014         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4015         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
4016         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
4017         * config/i386/64/sfp-machine: ... (delete here) ...
4018         * config/i386/sfp-machine.h: ... to here.
4019         (FP_EX_MASK): New.
4020         (__sfp_handle_exceptions): New function declaration.
4021         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4022         * config/i386/sfp-exceptions.c: New.
4023         * config/i386/t-softfp: New.
4024         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
4025         i386/t-softfp to tmake_file.
4026
4027 2012-06-03  David S. Miller  <davem@davemloft.net>
4028
4029         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
4030         change.
4031
4032 2012-05-31  David S. Miller  <davem@davemloft.net>
4033
4034         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
4035         multiply and divide instructions on 32-bit when V9.
4036         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
4037
4038 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
4039
4040         * config/arm/ieee754-df.S: Fix typos.
4041         * config/arm/ieee754-sf.S: Fix typos.
4042         * config/c6x/libunwind.S: Fix typos.
4043         * config/epiphany/udivsi3-float.c: Fix typos.
4044         * config/microblaze/muldi3_hard.S: Fix typos.
4045         * config/picochip/adddi3.S: Fix typos.
4046         * config/picochip/ashlsi3.S: Fix typos.
4047         * config/picochip/ashrsi3.S: Fix typos.
4048         * config/picochip/clzsi2.S: Fix typos.
4049         * config/picochip/cmpsi2.S: Fix typos.
4050         * config/picochip/divmod15.S: Fix typos.
4051         * config/picochip/divmodhi4.S: Fix typos.
4052         * config/picochip/divmodsi4.S: Fix typos.
4053         * config/picochip/longjmp.S: Fix typos.
4054         * config/picochip/lshrsi3.S: Fix typos.
4055         * config/picochip/parityhi2.S: Fix typos.
4056         * config/picochip/popcounthi2.S: Fix typos.
4057         * config/picochip/setjmp.S: Fix typos.
4058         * config/picochip/subdi3.S: Fix typos.
4059         * config/picochip/ucmpsi2.S: Fix typos.
4060         * config/picochip/udivmodhi4.S: Fix typos.
4061         * config/picochip/udivmodsi4.S: Fix typos.
4062         * config/spu/divv2df3.c: Fix typos.
4063         * config/spu/mfc_multi_tag_release.c: Fix typos.
4064         * config/spu/mfc_tag_release.c: Fix typos.
4065         * configure.ac: Fix typos.
4066         * configure: Regenerate.
4067
4068 2012-05-25  Ian Lance Taylor  <iant@google.com>
4069
4070         * config/i386/morestack.S (__morestack_non_split): Check whether
4071         caller is varargs and needs %bp to hold the stack frame on return.
4072
4073 2012-05-25  Olivier Hainque  <hainque@adacore.com>
4074
4075         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
4076         sequence in the non pic case on VxWorks.
4077
4078 2012-05-24  Olivier Hainque  <hainque@adacore.com>
4079
4080         * Makefile.in: Move dependency on install-unwind_h from
4081         "install-leaf" to "install".
4082
4083 2012-05-24  Olivier Hainque  <hainque@adacore.com>
4084
4085         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
4086         Use a separate command for stamp removals.
4087
4088 2012-05-21  Andrew Pinski  <apinski@cavium.com>
4089
4090         PR bootstrap/53183
4091         * configure.ac: Define the default includes to being none.
4092         * configure: Regenerate.
4093
4094 2012-05-16  Olivier Hainque  <hainque@adacore.com>
4095
4096         * Makefile.in (install-unwind_h): Rename into ...
4097         (install-unwind_h-forbuild): New target.
4098         (all): Use it instead of the former install-unwind_h.
4099         (install-unwind_h): Reinstate, copy to user install destination
4100         for include files, not to the internal gcc object directory one.
4101         (install-leaf): Depend on it.
4102
4103 2012-05-15  Olivier Hainque  <hainque@adacore.com>
4104
4105         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
4106         register numbers. LR_REGNO replaces R_LR.
4107         (ucontext_for): New, helper for ...
4108         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
4109         and 5.3 of ...
4110         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
4111
4112 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4113
4114         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
4115         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
4116         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
4117         i386/t-cpuinfo ...
4118         (i[34567]86-*-*, x86_64-*-*): ... here.
4119
4120         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
4121         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
4122
4123         * config/i386/i386-cpuinfo.c: Rename to ...
4124         * config/i386/cpuinfo.c: ... this.
4125         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
4126
4127         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
4128         (libgcc_cv_init_priority): New test.
4129         * configure: Regenerate.
4130         * config.in: New file.
4131         * Makefile.in (clean): Rename config.h to auto-target.h.
4132         (config.h): Likewise.
4133         (stamp-h): Likewise.
4134
4135         * config/i386/cpuinfo.c (auto-target.h): Include.
4136         (CONSTRUCTOR_PRIORITY): Define.
4137         (__cpu_indicator_init): Use it.
4138
4139 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
4140
4141         * longlong.h: Use a URL instead of an FSF postal address.
4142         Replace spaces with tab.
4143
4144 2012-05-08  Teresa Johnson  <tejohnson@google.com>
4145
4146         * libgcov.c (gcov_clear, __gcov_reset): New functions.
4147         (__gcov_dump): Ditto.
4148         (gcov_dump_complete): New global variable.
4149         (gcov_exit): Export hidden to enable use in L_gcov_dump.
4150         (__gcov_flush): Outline functionality now in gcov_clear.
4151         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
4152
4153 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
4154
4155         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
4156         (mips*-*-linux*): Include mips/t-tpbit when long double is
4157         16 bytes long.
4158
4159 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
4160
4161         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
4162         (get_available_features): New argument. Check for AVX2.
4163         (__cpu_indicator_init): Modify call to get_available_features.
4164
4165 2012-04-25  Alan Modra  <amodra@gmail.com>
4166
4167         * config/rs6000/crtsavevr.S: New file.
4168         * config/rs6000/crtrestvr.S: New file.
4169         * config/rs6000/t-savresfgpr: Build the above.
4170         * config/rs6000/t-netbsd: Likewise.
4171
4172 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
4173
4174         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
4175
4176 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
4177
4178         * libgcc/config/i386/i386-cpuinfo.c: New file.
4179         * libgcc/config/i386/t-cpuinfo: New file.
4180         * libgcc/config.host: Include t-cpuinfo.
4181         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
4182
4183 2012-04-24  Chao-ying Fu  <fu@mips.com>
4184
4185         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
4186
4187 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
4188
4189         struct siginfo vs. siginfo_t
4190
4191         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
4192         siginfo_t instead of struct siginfo.
4193         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
4194         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
4195         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
4196         (ia64_handle_unwabi): Likewise.
4197         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
4198         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
4199         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
4200         (sh_fallback_frame_state): Likewise.
4201         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
4202         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
4203
4204 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
4205
4206         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
4207         system call number.
4208
4209 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
4210
4211         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
4212         if it hasn't been previously saved.
4213
4214 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
4215
4216         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
4217         only for glibc.
4218
4219 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
4220
4221         PR target/52737
4222         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
4223         instead of __AVR_HAVE_8BIT_SP__.
4224
4225 2012-03-26  Tristan Gingold  <gingold@adacore.com>
4226
4227         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
4228         (unw_table_entry): Use unw_word instead of unsigned long.
4229         (_Unwind_FindTableEntry): Likewise.
4230         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
4231         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
4232         (_Unwind_FindTableEntry): Likewise.
4233         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
4234         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
4235         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
4236         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
4237         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
4238         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
4239         (uw_init_context_1, uw_install_context): Likewise.
4240         (unw_word): Move to unwind-ia64.h
4241
4242 2012-03-26  Tristan Gingold  <gingold@adacore.com>
4243
4244         * config/vms/vms-ucrt0.c: Update copyright years.
4245         Add a sanity check.
4246         (___gcc_main_flags): Declare.
4247         (__main): Check flags to remap argv and exit code.
4248         * config.host (*-*-*vms*): Adjust extra_parts.
4249         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
4250         (crt0.o): Add.
4251
4252 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
4253
4254         * arm/lib1funcs.asm (ctzsi2): New function.
4255         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
4256         * arm/t-linux (LIB1ASMFUNCS): Likewise.
4257         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
4258         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
4259         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
4260         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
4261
4262 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
4263
4264         * config.host: Add bits to support powerpc64-*-freebsd*.
4265         * config/rs6000/freebsd-unwind.h: New file.
4266         * config/rs6000/t-freebsd64: New file.
4267
4268 2012-03-20  Richard Guenther  <rguenther@suse.de>
4269
4270         PR gcov-profile/52627
4271         * libgcov.c (init_mx): Fix mutex name.
4272
4273 2012-03-16  Tristan Gingold  <gingold@adacore.com>
4274
4275         * config/ia64/vms-unwind.h: Remove ulong (and replace
4276         it by unw_reg where used).  Define unw_reg with __int64.
4277
4278 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4279
4280         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4281         Solaris 8 handling.
4282         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4283         Solaris 8 handling.
4284         (sparc_is_sighandler): Likewise.
4285
4286 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
4287
4288         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
4289         <= saved reg size.
4290
4291 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4292
4293         * config/arm/crtn.S: Fix typo.
4294
4295 2012-03-13  Richard Guenther  <rguenther@suse.de>
4296
4297         * libgcov.c: Remove stdio.h include and NULL un-define.
4298
4299 2012-03-13  Richard Guenther  <rguenther@suse.de>
4300
4301         PR target/52569
4302         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
4303
4304 2012-03-13  Richard Guenther  <rguenther@suse.de>
4305
4306         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
4307
4308 2012-03-13  Richard Guenther  <rguenther@suse.de>
4309
4310         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
4311         and __gthread_mutex_init_function definitions.
4312
4313 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4314
4315         * config.host (mips*-*-openbsd*): Remove.
4316
4317 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4318
4319         * config.host: Remove alpha*-dec-osf5.1* handling.
4320         * config/alpha/gthr-posix.c: Remove.
4321         * config/alpha/libgcc-osf5.ver: Remove.
4322         * config/alpha/osf5-unwind.h: Remove.
4323         * config/alpha/t-osf-pthread: Remove.
4324         * config/alpha/t-slibgcc-osf: Remove.
4325         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
4326         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
4327         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
4328         * mkmap-flat.awk: Remove osf_export handling.
4329
4330 2012-03-12  Richard Guenther  <rguenther@suse.de>
4331
4332         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
4333         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
4334         (__gthread_mutex_init_function): New function.
4335         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
4336
4337         PR gcov/49484
4338         * libgcov.c: Include gthr.h.
4339         (__gcov_flush_mx): New global variable.
4340         (init_mx, init_mx_once): New functions.
4341         (__gcov_flush): Protect self with a mutex.
4342         (__gcov_fork): Re-initialize mutex after forking.
4343         * unwind-dw2-fde.c: Change condition under which to use
4344         __GTHREAD_MUTEX_INIT_FUNCTION.
4345
4346 2012-03-12  Tristan Gingold  <gingold@adacore.com>
4347
4348         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
4349         * config/ia64/t-vms: Likewise.
4350
4351 2012-03-11  Michael Hope  <michael.hope@linaro.org>
4352
4353         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
4354         for Thumb-2.
4355
4356 2012-03-07  Walter Lee  <walt@tilera.com>
4357
4358         * config/tilepro/atomic.c: Rename "atomic_" prefix to
4359         "arch_atomic_".
4360         (atomic_xor): Rename and move definition to
4361         config/tilepro/atomic.h.
4362         (atomic_nand): Ditto.
4363         * config/tilepro/atomic.h: Rename "atomic_" prefix to
4364         "arch_atomic_".
4365         (arch_atomic_xor): Move from config/tilepro/atomic.c.
4366         (arch_atomic_nand): Ditto.
4367
4368 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
4369
4370         PR target/52507
4371         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
4372
4373 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
4374
4375         PR target/52505
4376         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
4377         from RAM.
4378
4379 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
4380
4381         PR target/52461
4382         PR target/52508
4383         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
4384         if RAMPZ affects reading from RAM.
4385         (__tablejump_elpm__): Ditto.
4386         (.xload): Ditto.
4387         (__movmemx_hi): Ditto.
4388         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
4389         (__do_global_dtors): Ditto.
4390         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
4391         (__movmemx_hi): Ditto.
4392
4393 2012-03-05  Richard Henderson  <rth@redhat.com>
4394
4395         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
4396         [ARM] (count_trailing_zeros): Use the builtin.
4397
4398 2012-03-01  Kai Tietz  <ktietz@redhat.com>
4399
4400         * soft-fp: Imported from glibc upstream.
4401
4402 2012-02-28  Kai Tietz  <ktietz@redhat.com>
4403
4404         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
4405         for mingw-targets as attribute gcc_struct.
4406
4407 2012-02-28  Ian Lance Taylor  <iant@google.com>
4408
4409         * generic-morestack.c (__splitstack_releasecontext): Correct call
4410         to __morestack_release_segments.
4411
4412 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4413
4414         PR target/52390
4415         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
4416         for __linux__ when removing signals from __morestack_fullmask.
4417
4418 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
4419
4420         PR target/52261
4421         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
4422
4423 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4424
4425         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
4426         instead of HAVE_INITFINI_ARRAY.
4427         * config/ia64/crtend.S: Likewise.
4428
4429 2012-02-20  Kai Tietz  <ktietz@redhat.com>
4430
4431         PR libstdc++/52300
4432         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
4433
4434         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
4435         to w32-unwind.h header.
4436
4437 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
4438
4439         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
4440         (mips*-*-linux*): Remove t-slibgcc-libgcc.
4441         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
4442         * config/mips/mips16.S (__mips16_rdhwr): Delete.
4443
4444 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
4445
4446         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
4447
4448 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
4449
4450         PR libitm/52220
4451         * config/darwin-crt-tm.c: Correct typo.
4452
4453 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
4454             Patrick Marlier  <patrick.marlier@gmail.com>
4455
4456         PR libitm/52220
4457         * config/darwin-crt-tm.c: Generate dummy functions.
4458
4459 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
4460             Patrick Marlier  <patrick.marlier@gmail.com>
4461
4462         PR libitm/52042
4463         * config/darwin-crt-tm.c (getTMCloneTable): New function.
4464         (__doTMRegistrations): Call it.
4465         (__doTMdeRegistrations): Likewise.
4466
4467 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
4468             Anatoly Sokolov  <aesok@post.ru>
4469             Eric Weddington  <eric.weddington@atmel.com>
4470
4471         PR target/52261
4472         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
4473         (__epilogue_restores__): Ditto.
4474
4475 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
4476
4477         PR target/51921
4478         PR target/52205
4479         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
4480         Solaris 11 and slightly reformat.
4481         (sparc_is_sighandler): Likewise.
4482
4483 2012-02-14  Walter Lee  <walt@tilera.com>
4484
4485         * config.host: Handle tilegx and tilepro.
4486         * config/tilegx/sfp-machine.h: New file.
4487         * config/tilegx/sfp-machine32.h: New file.
4488         * config/tilegx/sfp-machine64.h: New file.
4489         * config/tilegx/t-crtstuff: New file.
4490         * config/tilegx/t-softfp: New file.
4491         * config/tilegx/t-tilegx: New file.
4492         * config/tilepro/atomic.c: New file.
4493         * config/tilepro/atomic.h: New file.
4494         * config/tilepro/linux-unwind.h: New file.
4495         * config/tilepro/sfp-machine.h: New file.
4496         * config/tilepro/softdivide.c: New file.
4497         * config/tilepro/softmpy.S: New file.
4498         * config/tilepro/t-crtstuff: New file.
4499         * config/tilepro/t-tilepro: New file.
4500
4501 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
4502
4503         PR libstdc++/51296
4504         PR libstdc++/51906
4505         * gthr-posix.h: Allow static initializer macros to be disabled.
4506         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
4507
4508 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
4509
4510         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
4511         Add t-slibgcc-libgcc to tmake_file.
4512         * config/mips/libgcc-mips16.ver: Revert previous patch.
4513         * config/mips/mips16.S (__mips16_rdhwr): Hide.
4514
4515 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
4516             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
4517
4518         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
4519         * config/cr16/crti.S: New file.
4520         * config/cr16/crtlibid.S: New file.
4521         * config/cr16/crtn.S: New file.
4522         * config/cr16/lib1funcs.S: New file.
4523         * config/cr16/t-cr16: New file.
4524         * config/cr16/t-crtlibid: New file.
4525         * config/cr16/unwind-dw2.h: New file.
4526         * config/cr16/unwind-cr16.c: New file.
4527         * config/cr16/divmodhi3.c: New file.
4528
4529 2012-01-25  Alan Modra  <amodra@gmail.com>
4530
4531         * config/rs6000/t-linux64: Delete.  Move..
4532         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
4533         * config/rs6000/t-linux: ..and libgcc flags to here.
4534
4535 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
4536
4537         * config.host (i[34567]86-*-interix3*):
4538         Change triplet to i[34567]86-*-interix[3-9]*.
4539         * configure: Regenerate.
4540
4541 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
4542             Richard Sandiford  <rdsandiford@googlemail.com>
4543
4544         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
4545         * config/mips/mips16.S (__mips16_rdhwr): New function.
4546         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
4547
4548 2012-01-11  Nathan Sidwell  <nathan@acm.org>
4549
4550         * libgcov.c (__gcov_init): Ignore objects with no functions.
4551
4552 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
4553
4554         PR target/49868
4555         Extend __pgmx semantics to linearize memory.
4556         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
4557         * config/avr/lib1funcs.S (__xload_1): New function.
4558         (__movmemx_qi, __movmemx_hi): New functions.
4559         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
4560         semantics.
4561
4562 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
4563
4564         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
4565         purported sigacthandler address isn't null before dereferencing it.
4566         (sparc_is_sighandler): Likewise.
4567
4568 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
4569
4570         PR ada/41929
4571         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
4572         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
4573         (sparc_is_sighandler): Likewise.
4574         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
4575
4576 2012-01-06  Tristan Gingold  <gingold@adacore.com>
4577
4578         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
4579         compatibility thunks...
4580         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
4581         (crtbeginS.o, crtendS.o): ... and these to ...
4582         * config/ia64/t-ia64-elf: ... this new file.
4583         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
4584         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
4585
4586 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4587
4588         * configure: Regenerate.
4589         * config/s390/t-crtstuff: Remove -fPIC.
4590
4591 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
4592
4593         PR bootstrap/51006
4594         * enable-execute-stack-mprotect.c (getpagesize): Do not define
4595         for NetBSD.
4596
4597 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
4598
4599         PR target/51345
4600         * config/avr/lib1funcs.S: Remove FIXME comments.
4601         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
4602
4603 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
4604
4605         Implement light-weight DImode support.
4606         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
4607         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
4608         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
4609         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
4610
4611 2011-12-30  Nathan Sidwell  <nathan@acm.org>
4612
4613         * libgcov.c (gcov_crc32): Remove global var.
4614         (free_fn_data): New function.
4615         (buffer_fn_data): Pass in filename, more robust error recovery.
4616         (crc32_unsigned): New function.
4617         (gcov_exit): More robust detection of new program. More robust
4618         error recovery.
4619         (__gcov_init): Do not update program's crc here.
4620
4621 2011-12-21  Tristan Gingold  <gingold@adacore.com>
4622
4623         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
4624
4625 2011-12-21  Ian Lance Taylor  <iant@google.com>
4626
4627         * config/i386/morestack.S: Simplify CFI opcodes throughout.
4628
4629 2011-12-20  Ian Lance Taylor  <iant@google.com>
4630
4631         * config/i386/morestack.S (__morestack_non_split): If there is
4632         enough stack space already, don't split.  Ask for more stack space
4633         than we required.
4634
4635 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
4636
4637         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
4638         `sys/sdt.h'.
4639         (_Unwind_DebugHook): New function.
4640         (uw_restore_core_regs): New define.
4641         (unwind_phase2): Use uw_restore_core_regs instead of
4642         restore_core_regs.
4643         (unwind_phase2_forced): Likewise.
4644         (__gnu_Unwind_Resume): Likewise.
4645
4646 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
4647
4648         * config/alpha/linux-unwind.h: Update copyright years.
4649         (MD_FROB_UPDATE_CONTEXT): New define.
4650         (alpha_frob_update_context): New function.
4651
4652 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
4653
4654         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
4655         tmake_file rather replacing it.
4656
4657 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
4658
4659         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
4660         function is not used for PPC64.
4661         (save_world): Amend comments.  Update the VRsave mask to reflect the
4662         saved regs.
4663         (rest_world): Update comments, do not  clobber r10, do not use r8.
4664         (eh_rest_world_r10): Amend comments, do not use r8.
4665         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
4666         no longer used, move restore of CR and target address to the end of
4667         the routine.
4668
4669 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
4670
4671         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
4672         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
4673
4674 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
4675
4676         PR target/49313
4677         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
4678         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
4679
4680 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
4681
4682         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
4683
4684 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
4685
4686         PR target/49313
4687         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
4688         * config/avr/lib1funcs.S (__muldi3): New function.
4689
4690 2011-12-06  Andrew Pinski  <apinski@cavium.com>
4691
4692         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
4693         size of func_ptr.
4694         (__frame_dummy_init_array_entry): Likewise.
4695
4696 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
4697
4698         Forward-port from gcc-4_6-branch r181936 2011-12-02.
4699
4700         PR target/51345
4701         PR target/51002
4702         * config/avr/lib1funcs.S (__prologue_saves__,
4703         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
4704         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
4705
4706 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
4707
4708         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
4709
4710 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4711
4712         PR other/51272
4713         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
4714         (_ITM_deregisterTMCloneTable): Likewise.
4715         (__register_frame_info): Fix unused warning.
4716         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
4717         pthread_default_stacksize_np): Likewise.
4718         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
4719
4720 2011-11-29  DJ Delorie  <dj@redhat.com>
4721
4722         * config.host (rl78-*-elf): New case.
4723         * config/rl78: New directory for the Renesas RL78.
4724
4725 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
4726
4727         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
4728         formatting.
4729
4730 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4731
4732         PR other/51022
4733         * config/rs6000/t-savresfgpr: New file.
4734         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
4735         $(srcdir)/config/rs6000/eabi.S.
4736         * config/rs6000/t-ppccomm-ldbl: Remove.
4737         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
4738         tmake_file.
4739         (powerpc-*-eabispe*): Likewise.
4740         (powerpc-*-eabi*): Likewise.
4741         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
4742         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
4743         to tmake_file, remove rs6000/t-ppccomm-ldbl.
4744         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
4745         tmake_file.
4746         (powerpc-*-eabisim*): Likewise.
4747         (powerpc-*-elf*): Likewise.
4748         (powerpc-*-eabialtivec*): Likewise.
4749         (powerpc-xilinx-eabi*): Likewise.
4750         (powerpc-*-rtems*): Likewise.
4751         (powerpcle-*-elf*): Likewise.
4752         (powerpcle-*-eabisim*): Likewise.
4753         (powerpcle-*-eabi*): Likewise.
4754
4755 2011-11-27  Ian Lance Taylor  <iant@google.com>
4756
4757         * generic-morestack.c (__splitstack_find): Check for NULL old
4758         stack value.
4759         (__splitstack_resetcontext): New function.
4760         (__splitstack_releasecontext): New function.
4761         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
4762
4763 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
4764
4765         * config/darwin-crt-tm.c: Correct comments, use correct licence.
4766
4767 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
4768
4769         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
4770
4771 2011-11-26  Richard Henderson  <rth@redhat.com>
4772
4773         * config/m68k/linux-atomic.c: New file.
4774         * config/m68k/t-linux: New file.
4775         * config.host (m68k-uclinux, m68k-linux): Use it.
4776
4777 2011-11-26  Richard Henderson  <rth@redhat.com>
4778
4779         * crtstuff.c (__TMC_LIST__): Mark used not unused.
4780         (__TMC_END__): Only declare if hidden is available; in the definition,
4781         if hidden is unavailable add a null record.
4782         (deregister_tm_clones, register_tm_clones): New.
4783         (__do_global_dtors_aux, frame_dummy): Use them.
4784         (__do_global_dtors, __do_global_ctors_1): Likewise.
4785
4786 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
4787
4788         * config/darwin-crt-tm.c: New file.
4789         * config.host (darwin): Build crttms.o crttme.o to provide
4790         startup and shutdown for tm clones.
4791         * config/t-darwin (crttms.o): New build rule.
4792         (crttme.o): Likewise.
4793
4794 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
4795
4796         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
4797         et al.
4798
4799 2011-11-21  Richard Henderson  <rth@redhat.com>
4800
4801         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
4802         (__TMC_LIST__, __TMC_END__): New.
4803         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
4804         (__do_global_dtors): Likewise.
4805         (frame_dummy): Call _ITM_registerTMCloneTable.
4806         (__do_global_ctors_1): Likewise.
4807
4808 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4809
4810         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
4811         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
4812         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
4813         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
4814         * config/i386/t-darwin64: Remove.
4815         * config/sh/t-netbsd (LIB2ADD): Remove.
4816
4817 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
4818
4819         PR target/49313
4820         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
4821         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
4822         * config/avr/lib1funcs.S (wmov): New assembler macro.
4823         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
4824         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
4825         (__udivmod64): New function.
4826         (__negdi2): New function.
4827
4828 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
4829
4830         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
4831         *-*-freebsd*aout*): Remove.
4832
4833 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
4834
4835         * static-object.mk (c_flags-$o): Save c_flags.
4836         ($(base)$(objext)): Use it.
4837
4838 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
4839
4840         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
4841
4842 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
4843
4844         PR target/49868
4845         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
4846         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
4847         New functions.
4848
4849 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
4850
4851         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
4852         functions.
4853         (aeabi_uidivmod): Likewise.
4854         (umodsi3): Likewise.
4855         (divsi3): Likewise.
4856         (aeabi_idivmod): Likewise.
4857         (modsi3): Likewise.
4858
4859 2011-11-16  Tristan Gingold  <gingold@adacore.com>
4860
4861         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
4862
4863 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
4864
4865         PR target/49868
4866         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
4867         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
4868
4869 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4870
4871         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
4872         tmake_file list.
4873         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
4874         * config/pa/t-stublib64: Delete.
4875
4876 2011-11-12  Richard Henderson  <rth@redhat.com>
4877
4878         * config/rs6000/linux-unwind.h (frob_update_context): Properly
4879         cast the pointer argument to _Unwind_SetGRPtr.
4880
4881 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4882
4883         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
4884
4885 2011-11-09  Ian Lance Taylor  <iant@google.com>
4886
4887         * generic-morestack.c: Include <string.h>.
4888         (uintptr_type): Define.
4889         (struct initial_sp): Add dont_block_signals field.  Reduce size of
4890         extra array by 1.
4891         (allocate_segment): Set prev field to NULL.  Don't set
4892         __morestack_current_segment or __morestack_segments.
4893         (__generic_morestack): Update current->prev and *pp after calling
4894         allocate_segment.
4895         (__morestack_block_signals): Don't do anything if
4896         dont_block_signals is set.
4897         (__morestack_unblock_signals): Likewise.
4898         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
4899         uintptr_type.
4900         (__splitstack_block_signals): New function.
4901         (enum __splitstack_content_offsets): Define.
4902         (__splitstack_getcontext, __splitstack_setcontext): New functions.
4903         (__splitstack_makecontext): New function.
4904         (__splitstack_block_signals_context): New function.
4905         (__splitstack_find_context): New function.
4906         * config/i386/morestack.S (__morestack_get_guard): New function.
4907         (__morestack_set_guard, __morestack_make_guard): New functions.
4908         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
4909
4910 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4911
4912         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
4913         (i[34567]86-*-mingw*): ... here.
4914         (x86_64-*-mingw*): ... here.
4915
4916 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4917
4918         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
4919
4920 2011-11-07  Nathan Sidwell  <nathan@acm.org>
4921
4922         * libgcov.c (struct gcov_fn_buffer): New struct.
4923         (buffer_fn_data): New helper.
4924         (gcov_exit): Rework for new gcov data structures.
4925
4926 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
4927
4928         PR target/49313
4929         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
4930
4931 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4932
4933         * config.host (tmake_file): Correct comment.
4934         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
4935         t-libgcc-pic.
4936         (bfin*-uclinux*): Likewise.
4937         (bfin*-linux-uclibc*): Likewise.
4938         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
4939
4940         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
4941         assigning.
4942         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4943         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
4944         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4945         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
4946         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4947         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
4948         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
4949         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4950         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
4951         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
4952         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
4953         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
4954         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
4955
4956         * config/bfin/t-elf: Remove.
4957         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
4958
4959 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4960
4961         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
4962         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
4963         (lm32-*-elf*, lm32-*-rtems*): Split into ...
4964         (lm32-*-elf*): ... this.
4965         (lm32-*-rtems*): ... and this.
4966         Add to tmake_file.
4967         (m32r-*-rtems*): Add to tmake_file.
4968         (moxie-*-rtems*): Likewise.
4969         (sparc-*-rtems*): Likewise.
4970         Remove t-rtems from tmake_file.
4971         (sparc64-*-rtems*): Likewise.
4972         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
4973         instead.
4974
4975 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4976
4977         PR bootstrap/50982
4978         * config/gthr-posix.h: Move ...
4979         * gthr-posix.h: ... here.
4980         * config/gthr-lynx.h: Reflect this.
4981         * config/gthr-vxworks.h: Likewise.
4982         * config/rs6000/gthr-aix.h: Likewise.
4983         * configure.ac (target_thread_file): Likewise.
4984         * configure: Regenerate.
4985
4986 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4987
4988         * config.host (arm*-*-rtemseabi*): New target.
4989
4990 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4991
4992         PR other/50991
4993         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
4994         extra-parts.
4995
4996 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
4997
4998         * config.host (epiphany-*-elf*): New configuration.
4999         * config/epiphany: New Directory.
5000
5001 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
5002
5003         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
5004         * config/avr/t-rtems: New.
5005         Filter out _exit from LIB1ASMFUNCS.
5006
5007 2011-11-04  David S. Miller  <davem@davemloft.net>
5008
5009         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
5010         * configure: Rebuild.
5011
5012 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5013
5014         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
5015         variable.
5016
5017 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
5018
5019         PR target/50931
5020         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
5021         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
5022
5023 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
5024
5025         PR target/50989
5026         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
5027
5028 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5029
5030         * config/c6x/t-elf (LIB2ADDEH): Set.
5031         * config/c6x/t-c6x-elf: Remove.
5032
5033 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5034
5035         * config/i386/sol2-ci.S: Rename to ...
5036         * config/i386/crti.S: ... this.
5037         * config/i386/sol2-cn.S: Rename to ...
5038         * config/i386/crtn.S: ... this.
5039         * config/sparc/sol2-ci.S: Rename to ...
5040         * config/sparc/crti.S: ... this.
5041         * config/sparc/sol2-cn.S: Rename to ...
5042         * config/sparc/crtn.S: ... this.
5043         * config/t-sol2 (CUSTOM_CRTIN): Remove.
5044         (crti.o, crtn.o): Remove.
5045
5046 2011-11-04  Tristan Gingold  <gingold@adacore.com>
5047
5048         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
5049
5050 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
5051
5052         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
5053
5054 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
5055
5056         * config.host (crisv32-*-none, cris-*-none): Remove.
5057         (crisv32-*-elf): Append to tmake_file, don't just set it.
5058         (cris-*-elf): Add missing t-fdpbit to tmake_file.
5059
5060 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5061
5062         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
5063         (ecrtn$(objext)): Likewise.
5064         (ncrti$(objext)): Likewise.
5065         (ncrtn$(objext)): Likewise.
5066
5067 2011-11-03  Andreas Schwab  <schwab@redhat.com>
5068
5069         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
5070
5071 2011-11-02  David S. Miller  <davem@davemloft.net>
5072
5073         * configure.ac: Set host_address on sparc too.
5074         * configure: Regenerate.
5075         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
5076         based upon host_address.
5077         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
5078
5079 2011-11-02  Jason Merrill  <jason@redhat.com>
5080
5081         * config/rs6000/t-ppccomm: Add missing \.
5082
5083 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5084
5085         * gthr-single.h, gthr.h: New files.
5086         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
5087         config/gthr-vxworks.h, config/i386/gthr-win32.h,
5088         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
5089         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
5090         * config/i386/gthr-win32.c: Include "gthr-win32.h".
5091         * configure.ac (thread_header): New variable.
5092         Set it depending on target_thread_file.
5093         (gthr-default.h): Link from $thread_header.
5094         * configure: Regenerate.
5095         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
5096
5097 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5098
5099         * configure.ac (tm_file_): New variable.
5100         Determine from tm_file.
5101         (tm_file, tm_defines): Substitute.
5102         * configure: Regenerate.
5103         * mkheader.sh: New file.
5104         * Makefile.in (clean): Remove libgcc_tm.h.
5105         ($(objects)): Depend on libgcc_tm.h.
5106         (libgcc_tm_defines, libgcc_tm_file): New variables.
5107         (libgcc_tm.h, libgcc_tm.stamp): New targets.
5108         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
5109         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
5110         ($(extra-parts)): Depend on libgcc_tm.h.
5111         * config.host (tm_defines, tm_file): New variable.
5112         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
5113         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
5114         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
5115         (avr-*-rtems*): Likewise.
5116         (avr-*-*): Likewise.
5117         (frv-*-elf): Likewise.
5118         (frv-*-*linux*): Likewise.
5119         (h8300-*-rtems*): Likewise.
5120         (h8300-*-elf*): Likewise.
5121         (i[34567]86-*-darwin*): Likewise.
5122         (x86_64-*-darwin*): Likewise.
5123         (rx-*-elf): Likewise.
5124         (tic6x-*-uclinux): Likewise.
5125         (tic6x-*-elf): Likewise.
5126         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
5127         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
5128         * config/i386/cygming-crtbegin.c: Likewise.
5129         * config/i386/cygming-crtend.c: Likewise.
5130         * config/ia64/fde-vms.c: Likewise.
5131         * config/ia64/unwind-ia64.c: Likewise.
5132         * config/libbid/bid_gcc_intrinsics.h: Likewise.
5133         * config/rs6000/darwin-fallback.c: Likewise.
5134         * config/stormy16/lib2funcs.c: Likewise.
5135         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
5136         * crtstuff.c: Likewise.
5137         * dfp-bit.h: Likewise.
5138         * emutls.c: Likewise.
5139         * fixed-bit.c: Likewise.
5140         * fp-bit.c: Likewise.
5141         * generic-morestack-thread.c: Likewise.
5142         * generic-morestack.c: Likewise.
5143         * libgcc2.c: Likewise.
5144         * libgcov.c: Likewise.
5145         * unwind-dw2-fde-dip.c: Likewise.
5146         * unwind-dw2-fde.c: Likewise.
5147         * unwind-dw2.c: Likewise.
5148         * unwind-sjlj.c: Likewise.
5149
5150 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5151
5152         * configure.ac: Include ../config/picflag.m4.
5153         (GCC_PICFLAG): Call it.
5154         Substitute.
5155         * configure: Regenerate.
5156         * Makefile.in (gcc_srcdir): Remove.
5157         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
5158         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
5159         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
5160         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
5161         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
5162         Use $<.
5163         Remove comment.
5164         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
5165         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
5166         to refer to libgcc2.c.
5167         Use $<.
5168         * config/darwin-64.c: New file.
5169         * config/darwin-crt3.c: Remove comment.
5170         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
5171         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
5172         config/udivmodsi4.c: New files.
5173         * config/memcmp.c, config/memcpy.c, config/memmove.c,
5174         config/memset.c: New files.
5175         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
5176         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
5177         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
5178         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
5179         * config/t-openbsd-thread: New file.
5180         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
5181         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
5182         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
5183         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
5184         qrnnd.S.
5185         Adapt filename.
5186         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
5187         to refer to gthr-posix.c.
5188         * config/alpha/t-vms (LIB2ADD): Set.
5189         * config/alpha/vms-gcc_shell_handler.c: New file.
5190         * config/arm/bpabi.c, config/arm/fp16.c,
5191         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
5192         config/arm/unaligned-funcs.c: New files.
5193         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
5194         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5195         * config/arm/t-linux: Likewise.
5196         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
5197         * config/arm/t-netbsd: New file.
5198         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
5199         * config/arm/t-symbian (LIB2ADD_ST): Set.
5200         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
5201         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5202         * config/bfin/t-elf: New file.
5203         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
5204         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
5205         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
5206         config/c6x/ltf.c: New files.
5207         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
5208         (HOST_LIBGCC2_CFLAGS): Set.
5209         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
5210         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5211         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
5212         New files.
5213         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
5214         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
5215         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
5216         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
5217         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
5218         files.
5219         * config/frv/t-frv (LIB2ADD): Set.
5220         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5221         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
5222         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
5223         config/h8300/popcounthi2.c: New files.
5224         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5225         * config/i386/gthr-win32.c: New file.
5226         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
5227         * config/i386/t-cygwin: Likewise.
5228         * config/i386/t-darwin, config/i386/t-darwin64,
5229         config/i386/t-gthr-win32, config/i386/t-interix: New files.
5230         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
5231         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5232         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5233         * config/ia64/quadlib.c: New file.
5234         * config/ia64/t-hpux (LIB2ADD): Set.
5235         * config/ia64/t-ia64: Add comment.
5236         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
5237         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5238         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
5239         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
5240         * config/m32c/t-m32c (LIB2ADD): Set.
5241         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5242         * config/m32r/t-m32r: Likewise.
5243         * config/m68k/fpgnulib.c: New file.
5244         * config/m68k/t-floatlib (LIB2ADD): Set.
5245         (xfgnulib.c): New target.
5246         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
5247         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
5248         * config/mep/t-mep (LIB2ADD): Set.
5249         * config/microblaze/divsi3.asm: Rename to divsi3.S.
5250         * config/microblaze/moddi3.asm: Rename to moddi3.S.
5251         * config/microblaze/modsi3.asm: Rename to modsi3.S.
5252         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
5253         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
5254         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
5255         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
5256         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
5257         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
5258         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
5259         New files.
5260         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
5261         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
5262         * config/pa/fptr.c, config/pa/lib2funcs.S,
5263         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
5264         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5265         (LIB2ADD, LIB2ADD_ST): Set.
5266         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
5267         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
5268         Set.
5269         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
5270         * config/pdp11/t-pdp11: New file.
5271         * config/picochip/libgccExtras/adddi3.S,
5272         config/picochip/libgccExtras/ashlsi3.S,
5273         config/picochip/libgccExtras/ashrsi3.S,
5274         config/picochip/libgccExtras/clzsi2.S,
5275         config/picochip/libgccExtras/cmpsi2.S,
5276         config/picochip/libgccExtras/divmod15.S,
5277         config/picochip/libgccExtras/divmodhi4.S,
5278         config/picochip/libgccExtras/divmodsi4.S,
5279         config/picochip/libgccExtras/lshrsi3.S,
5280         config/picochip/libgccExtras/parityhi2.S,
5281         config/picochip/libgccExtras/popcounthi2.S,
5282         config/picochip/libgccExtras/subdi3.S,
5283         config/picochip/libgccExtras/ucmpsi2.S,
5284         config/picochip/libgccExtras/udivmodhi4.S,
5285         config/picochip/libgccExtras/udivmodsi4.S: New files.
5286         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
5287         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
5288         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
5289         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
5290         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
5291         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
5292         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
5293         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
5294         files.
5295         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
5296         (HOST_LIBGCC2_CFLAGS): Set.
5297         * config/rs6000/t-darwin64: New file.
5298         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
5299         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
5300         * config/rs6000/t-ppccomm (LIB2ADD): Add
5301         $(srcdir)/config/rs6000/tramp.S.
5302         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
5303         Add  $(srcdir)/config/rs6000/eabi.S.
5304         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
5305         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
5306         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
5307         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
5308         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
5309         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
5310         * config/rs6000/tramp.S: New file.
5311         * config/s390/t-tpf: Remove.
5312         * config/sh/linux-atomic.S: New file.
5313         * config/sh/t-linux (LIB2ADD): Set.
5314         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
5315         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5316         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
5317         to unwind-dw2.c.
5318         (HOST_LIBGCC2_CFLAGS): Set.
5319         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5320         * config/spu/divmodti4.c, config/spu/divv2df3.c,
5321         config/spu/float_disf.c, config/spu/float_unsdidf.c,
5322         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
5323         config/spu/mfc_multi_tag_release.c,
5324         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
5325         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
5326         config/spu/multi3.c: New files.
5327         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
5328         (HOST_LIBGCC2_CFLAGS): Set.
5329         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
5330         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
5331         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
5332         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
5333         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
5334         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
5335         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
5336         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
5337         config/stormy16/umodsi3.c: New files.
5338         * config/xtensa/lib2funcs.S: New file.
5339         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5340         * config/xtensa/t-xtensa (LIB2ADD): Set.
5341         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
5342         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
5343         Add t-freebsd-thread to tmake_file for posix threads.
5344         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
5345         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
5346         (*-*-lynxos*): Likewise.
5347         (*-*-netbsd*): Likewise.
5348         (*-*-openbsd*): Likewise.
5349         Add t-openbsd-thread to tmake_file for posix threads.
5350         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
5351         (*-*-vxworks*): Set tmake_file.
5352         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
5353         (alpha*-*-freebsd*): Likewise.
5354         (alpha*-*-netbsd*): Likewise.
5355         (alpha*-*-openbsd*): Likewise.
5356         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
5357         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
5358         (alpha*-dec-*vms*): Likewise.
5359         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
5360         (bfin*-elf*): Add bfin/t-elf to tmake_file.
5361         (bfin*-uclinux*): Likewise.
5362         (bfin*-linux-uclibc*): Likewise.
5363         (crisv32-*-elf): Add cris/t-cris to tmake_file.
5364         (crisv32-*-none): Likewise.
5365         (cris-*-elf): Likewise.
5366         (cris-*-none): Likewise.
5367         (cris-*-linux*, crisv32-*-linux*): Likewise.
5368         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
5369         tmake_file.
5370         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
5371         tmake_file.
5372         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
5373         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
5374         (x86_64-*-elf*): Likewise.
5375         (i[34567]86-*-nto-qnx*): Likewise.
5376         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
5377         win32 threads.
5378         (x86_64-*-mingw*): Likewise.
5379         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
5380         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
5381         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
5382         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
5383         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
5384         tmake_file.
5385         (mipsisa64sr71k-*-elf*): Likewise.
5386         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
5387         (mips-*-elf*, mipsel-*-elf*): Likewise.
5388         (mips64-*-elf*, mips64el-*-elf*): Likewise.
5389         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
5390         (mips*-*-rtems*): Likewise.
5391         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
5392         to tmake_file.
5393         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
5394         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
5395         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
5396         (spu-*-elf*): Likewise.
5397         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
5398
5399 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5400
5401         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
5402         $(srcdir) to refer to $(LIB1ASMSRC).
5403         Use $<.
5404         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
5405         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
5406         config/arm/lib1funcs.S: New files.
5407         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
5408         * config/arm/t-arm: New file.
5409         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
5410         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
5411         config/arm/t-strongarm-elf: New files.
5412         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
5413         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
5414         * config/avr/lib1funcs.S: New file.
5415         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5416         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
5417         * config/c6x/lib1funcs.S: New file.
5418         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5419         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
5420         * config/frv/lib1funcs.S: New file.
5421         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5422         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
5423         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
5424         * config/ia64/__divxf3.asm: Rename to ...
5425         * config/ia64/__divxf3.S: ... this.
5426         Adapt lib1funcs.asm filename.
5427         * config/ia64/_fixtfdi.asm: Rename to ...
5428         * config/ia64/_fixtfdi.S: ... this.
5429         Adapt lib1funcs.asm filename.
5430         * config/ia64/_fixunstfdi.asm: Rename to ...
5431         * config/ia64/_fixunstfdi.S: ... this.
5432         Adapt lib1funcs.asm filename.
5433         * config/ia64/_floatditf.asm: Rename to ...
5434         * config/ia64/_floatditf.S: ... this.
5435         Adapt lib1funcs.asm filename.
5436         * config/ia64/lib1funcs.S: New file.
5437         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
5438         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5439         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
5440         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
5441         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
5442         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
5443         * config/mep/lib1funcs.S: New file.
5444         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5445         * config/mips/mips16.S: New file.
5446         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5447         * config/pa/milli64.S: New file.
5448         * config/pa/t-linux, config/pa/t-linux64: New files.
5449         * config/picochip/lib1funcs.S: New file.
5450         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5451         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
5452         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
5453         * config/sh/t-netbsd: New file.
5454         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
5455         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
5456         * config/sh/t-sh64: New file.
5457         * config/sparc/lb1spc.S: New file.
5458         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
5459         filename.
5460         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
5461         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
5462         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
5463         config/xtensa/lib1funcs.S: New files.
5464         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5465         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
5466         tmake_file.
5467         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
5468         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
5469         (arm*-*-linux*): Likewise.
5470         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
5471         arm*-*-linux-*eabi, add arm/t-linux otherwise.
5472         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
5473         (arm*-*-ecos-elf): Likewise.
5474         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
5475         (arm*-*-rtems*): Likewise.
5476         (arm*-*-elf): Likewise.
5477         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
5478         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
5479         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
5480         (bfin*-uclinux*): Likewise.
5481         (bfin*-linux-uclibc*): Likewise.
5482         (bfin*-rtems*): Likewise.
5483         (bfin*-*): Likewise.
5484         (fido-*-elf): Merge into m68k-*-elf*.
5485         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
5486         (frv-*-*linux*): Add frv/t-frv to tmake_file.
5487         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
5488         (h8300-*-elf*): Likewise.
5489         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
5490         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
5491         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
5492         (i[34567]86-*-mingw*): Likewise.
5493         (x86_64-*-mingw*): Likewise.
5494         (i[34567]86-*-interix3*): Likewise.
5495         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
5496         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
5497         (m68k-*-elf*): Also handle fido-*-elf.
5498         Add m68k/t-floatlib to tmake_file.
5499         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
5500         (m68k-*-linux*): Likewise.
5501         (m68k-*-rtems*): Likewise.
5502         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
5503         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
5504         sh64*-*-*.
5505         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
5506         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
5507         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
5508         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
5509         sh/t-netbsd to tmake_file.
5510         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
5511         (sh-*-rtems*): Add sh/t-sh to tmake_file.
5512         (sh-wrs-vxworks): Likewise.
5513         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
5514         *-leon[3-9]*.
5515         (v850*-*-*): Add v850/t-v850 to tmake_file.
5516         (vax-*-linux*): Add vax/t-linux to tmake_file.
5517         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
5518
5519 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5520
5521         * crtstuff.c: New file.
5522         * Makefile.in (CRTSTUFF_CFLAGS): Define.
5523         (CRTSTUFF_T_CFLAGS): Define.
5524         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
5525         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
5526         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
5527         crtstuff.c.
5528         Use $<.
5529         (crtbeginT.o): Use $(objext).
5530         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
5531         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
5532         (gcc-extra-parts): Remove.
5533         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
5534         Set extra_parts.
5535         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5536         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
5537         Add t-crtstuff-pic to tmake_file.
5538         (*-*-lynxos*): New case.
5539         Set tmake_file, extra_parts.
5540         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
5541         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
5542         *-*-netbsdelf[2-9]*.
5543         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
5544         (*-*-rtems*): Set extra_parts.
5545         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
5546         (*-*-uclinux*): New case.
5547         Set extra_parts.
5548         (*-*-vms*): New case.
5549         Set tmake_file, extra_parts.
5550         (*-*-elf): Set extra_parts.
5551         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
5552         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
5553         vms/t-vms64.
5554         Set extra_parts.
5555         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
5556         Set extra_parts.
5557         (arm*-*-freebsd*): Add t-crtin to tmake_file.
5558         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
5559         (arm-wrs-vxworks): Append to tmake_file.
5560         Set extra_parts.
5561         (arm*-*-uclinux*): Set extra_parts.
5562         (arm*-*-ecos-elf): Likewise.
5563         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
5564         arm*-*-eabi*.
5565         (arm*-*-rtems*): Set extra_parts.
5566         (arm*-*-elf): Likewise.
5567         (avr-*-rtems*): Clear extra_parts.
5568         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
5569         Set extra_parts.
5570         (bfin*-uclinux*): Likewise.
5571         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
5572         (bfin*-rtems*): Append to tmake_file.
5573         Set extra_parts.
5574         (bfin*-*): Likewise.
5575         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
5576         (crisv32-*-elf): ... this.
5577         (crisv32-*-none): ... this.
5578         (cris-*-elf, cris-*-none): New cases.
5579         Add cris/t-elfmulti to tmake_file.
5580         (fr30-*-elf): Append to tmake_file.
5581         Set extra_parts.
5582         (frv-*-elf): Append to tmake_file, add frv/t-frv.
5583         Set extra_parts.
5584         (h8300-*-rtems*): Append to tmake_file.
5585         Set extra_parts.
5586         (h8300-*-elf*): Likewise.
5587         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
5588         Set extra_parts.
5589         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
5590         Set extra_parts.
5591         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
5592         (x86_64-*-elf*): Likewise.
5593         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
5594         (x86_64-*-freebsd*): Likewise.
5595         (x86_64-*-netbsd*): Likewise.
5596         (i[34567]86-*-linux*): Likewise.
5597         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
5598         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
5599         (x86_64-*-linux*): Likewise.
5600         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
5601         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
5602         tmake_file.
5603         Set extra_parts.
5604         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
5605         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
5606         Append to extra_parts, remove crtbegin.o, crtend.o.
5607         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
5608         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
5609         crtend.o, crtbeginS.o, crtendS.o.
5610         (ia64*-*-linux*): Comment extra_parts.
5611         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
5612         Set extra_parts.
5613         (iq2000*-*-elf*): Clear extra_parts.
5614         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
5615         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
5616         (m32r-*-elf*, m32r-*-rtems*): Split off ...
5617         (m32r-*-rtems*): ... this.
5618         Add m32r/t-m32r to tmake_file.
5619         (m68k-*-elf*): Add t-crtin to tmake_file.
5620         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
5621         (mcore-*-elf): Likewise.
5622         (microblaze*-*-*): Set extra_parts.
5623         (mips*-sde-elf*): New case.
5624         Set tmake_file, extra_parts.
5625         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
5626         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
5627         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
5628         tmake_file.
5629         Set extra_parts.
5630         (mipsisa64sr71k-*-elf*): Likewise.
5631         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
5632         (mips-*-elf*, mipsel-*-elf*): Likewise.
5633         (mips64-*-elf*, mips64el-*-elf*): Likewise.
5634         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
5635         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
5636         (mips*-*-rtems*): Likewise.
5637         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
5638         (moxie-*-*): Split into ...
5639         (moxie-*-elf, moxie-*-uclinux*): ... this.
5640         Add to extra_parts, remove crtbegin.o, crtend.o.
5641         (moxie-*-rtems*): New case.
5642         Set tmake_file.
5643         Clear extra_parts.
5644         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
5645         Set extra_parts.
5646         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5647         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
5648         tmake_file.
5649         Set extra_parts.
5650         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
5651         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
5652         Set extra_parts.
5653         (powerpc-*-eabisim*): Likewise.
5654         (powerpc-*-elf*): Likewise.
5655         (powerpc-*-eabialtivec*): Likewise.
5656         (powerpc-xilinx-eabi*): Likewise.
5657         (powerpc-*-eabi*): Likewise.
5658         (powerpc-*-rtems*): Likewise.
5659         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
5660         tmake_file.
5661         Set extra_parts.
5662         (powerpc-*-lynxos*): Add to tmake_file.
5663         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
5664         rs6000/t-crtstuff, t-crtstuff-pic.
5665         Set extra_parts.
5666         (powerpcle-*-eabisim*): Likewise.
5667         (powerpcle-*-eabi*): Likewise.
5668         (rx-*-elf): Remove extra_parts.
5669         (s390x-ibm-tpf*): Set extra_parts.
5670         (score-*-elf): Set extra_parts.
5671         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5672         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5673         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5674         (sh64l*-*-netbsd*): Split into ...
5675         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
5676         Add t-crtstuff-pic to tmake_file.
5677         Set extra_parts.
5678         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
5679         Set extra_parts.
5680         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
5681         (sparc-*-elf*): Remove t-crtin from tmake_file.
5682         Add to extra_parts, remove crtbegin.o, crtend.o.
5683         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
5684         (sparc64-*-linux*): Likewise.
5685         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
5686         Add to extra_parts, remove crtbegin.o, crtend.o.
5687         (sparc64-*-elf*): Remove t-crtin from tmake_file.
5688         Add to extra_parts, remove crtbegin.o, crtend.o.
5689         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
5690         Add to extra_parts, remove crtbegin.o, crtend.o.
5691         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
5692         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
5693         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
5694         Set extra_parts.
5695         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
5696         Set extra_parts.
5697         (tic6x-*-*): Change to ...
5698         (tic6x-*-elf): ... this.
5699         Set extra_parts.
5700         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
5701         Set extra_parts.
5702         (am33_2.0-*-linux*): Add comment.
5703         (mep*-*-*): Add mep/t-mep to tmake_file.
5704         Set extra_parts.
5705         * config/alpha/t-vms: New file.
5706         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
5707         * config/arm/crti.S, config/arm/crtn.S: New files.
5708         * config/bfin/crti.S, config/bfin/crtn.S: New files.
5709         * config/bfin/crtlibid.S: New file.
5710         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
5711         * config/c6x/crti.S, config/c6x/crtn.S: New files.
5712         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
5713         (crti.o, crtin.o): New rules.
5714         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
5715         * config/c6x/t-uclinux: New file.
5716         * config/cris/t-elfmulti: New file.
5717         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
5718         * config/fr30/crti.S, config/fr30/crtn.S: New files.
5719         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
5720         * config/frv/t-frv: New file.
5721         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
5722         * config/h8300/crti.S, config/h8300/crtn.S: New files.
5723         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
5724         New files.
5725         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
5726         refer to cygming-crtbegin.c, cygming-crtend.c.
5727         Use $<.
5728         * config/i386/t-nto: New file.
5729         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
5730         * config/ia64/crti.S, config/ia64/crtn.S: New files.
5731         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
5732         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
5733         Use .S extension.
5734         Use $<.
5735         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
5736         (crtinitS.o): New rule.
5737         * config/ia64/vms-crtinit.S: New file.
5738         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
5739         * config/m32r/initfini.c: New file.
5740         * config/m32r/t-linux, config/m32r/t-m32r: New files.
5741         * config/m68k/crti.S, config/m68k/crtn.S: New files.
5742         * config/mcore/crti.S, config/mcore/crtn.S: New files.
5743         * config/mep/t-mep: New file.
5744         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
5745         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
5746         * config/mips/crti.S, config/mips/crtn.S: New files.
5747         * config/mips/t-crtstuff: New file.
5748         * config/mmix/crti.S, config/mmix/crtn.S: New files.
5749         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
5750         (CUSTOM_CRTIN): Set.
5751         ($(T)crti.o, $(T)crtn.o): Remove $(T),
5752         dependencies.
5753         Use $(srcdir) to refer to crti.S, crtn.S.
5754         Use .S extension, $<.
5755         * config/moxie/crti.asm: Rename to ...
5756         * config/moxie/crti.S: ... this.
5757         * config/moxie/crtn.asm: Rename to ...
5758         * config/moxie/crtn.S: ... this.
5759         * config/moxie/t-moxie: Remove.
5760         * config/pa/stublib.c: New file.
5761         * config/pa/t-stublib, config/pa/t-stublib64: New files.
5762         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
5763         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
5764         * config/rs6000/t-crtstuff: New file.
5765         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
5766         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
5767         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
5768         Make output file explicit.
5769         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
5770         Make output file explicit.
5771         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
5772         Make output file explicit.
5773         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
5774         Make output file explicit.
5775         * config/score/crti.S, config/score/crtn.S: New files.
5776         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
5777         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
5778         files.
5779         * config/sh/t-sh, config/sh/t-superh: New files.
5780         * config/sparc/t-linux64: New file.
5781         * config/spu/cache.S, config/spu/cachemgr.c: New files.
5782         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
5783         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
5784         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
5785         * config/t-crtin: Remove.
5786         * config/t-crtstuff-pic: New file.
5787         * config/t-sol2 (CUSTOM_CRTIN): Set.
5788         (crti.o, crtn.o): New rules.
5789         * config/vms/t-vms: New file.
5790         * config/vms/vms-ucrt0.c: New file.
5791         * config/xtensa/t-elf: New file.
5792
5793 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5794
5795         * Makefile.in (SHLIB_NM_FLAGS): Set.
5796         * mkmap-flat.awk, mkmap-symver.awk: New files.
5797         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
5798         exceptions.
5799         * configure: Regenerate.
5800         * config/libgcc-glibc.ver: New file.
5801         * config/libgcc-libsystem.ver: New file.
5802         * config/t-libunwind (SHLIB_LC): Set.
5803         * config/t-linux: New file.
5804         * config/t-slibgcc (INSTALL_SHLIB): New.
5805         (SHLIB_INSTALL): Use it.
5806         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
5807         to mkmap-symver.awk.
5808         (SHLIB_MAPFILES): Don't append, adapt pathname.
5809         (SHLIB_VERPFX): Set.
5810         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
5811         to mkmap-symver.awk.
5812         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
5813         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
5814         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
5815         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
5816         to mkmap-flat.awk.
5817         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
5818         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
5819         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
5820         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
5821         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
5822         * config/i386/libgcc-darwin.10.4.ver,
5823         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
5824         New files.
5825         * config/i386/t-darwin: Remove.
5826         * config/i386/t-darwin64: Likewise.
5827         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
5828         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
5829         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
5830         * config/i386/t-linux: New file.
5831         * config/i386/t-mingw32: New file.
5832         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
5833         * config/ia64/t-glibc: Rename to ...
5834         * config/ia64/t-linux: ... this.
5835         (SHLIB_MAPFILES): Set.
5836         * config/ia64/t-glibc-libunwind: Rename to ...
5837         * config/ia64/t-linux-libunwind: ... this.
5838         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
5839         * config/ia64/t-slibgcc-hpux: New file.
5840         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
5841         * config/m68k/t-slibgcc-elf-ver: New file.
5842         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
5843         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
5844         to mkmap-flat.awk.
5845         * config/pa/t-slibgcc-hpux: New file.
5846         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
5847         files.
5848         * config/rs6000/libgcc-darwin.10.4.ver,
5849         config/rs6000/libgcc-darwin.10.5.ver: New files.
5850         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
5851         config/rs6000/libgcc-glibc.ver.
5852         * config/rs6000/libgcc-ppc64.ver: Rename to
5853         config/rs6000/libgcc-ibm-ldouble.ver.
5854         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
5855         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
5856         * config/rs6000/t-ldbl128: Rename to ...
5857         * config/rs6000/t-linux: ... this.
5858         (SHLIB_MAPFILES): Adapt filename.
5859         * config/rs6000/t-slibgcc-aix: New file.
5860         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
5861         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
5862         libgcc-excl.ver, libgcc-glibc.ver.
5863         (SHLIB_LINK, SHLIB_INSTALL): Remove.
5864         * config/sparc/libgcc-glibc.ver: New file.
5865         * config/sparc/t-linux: New file.
5866         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
5867         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
5868         t-slibgcc-elf-ver to tmake_file.
5869         Add t-slibgcc-nolc-override to tmake_file for posix threads on
5870         *-*-freebsd[34].
5871         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5872         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
5873         t-slibgcc-elf-ver, t-linux to tmake_file.
5874         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
5875         tmake_file.
5876         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
5877         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
5878         (alpha*-dec-*vms*): Likewise.
5879         (arm*-*-freebsd*): Append to tmake_file.
5880         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
5881         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
5882         arm*-*-linux-*eabi.
5883         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
5884         tmake_file for arm*-*-symbianelf*.
5885         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
5886         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
5887         cris/t-linux.
5888         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
5889         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
5890         pa/t-slibgcc-dwarf-ver to tmake_file.
5891         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
5892         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
5893         (hppa*64*-*-hpux11*): Likewise.
5894         (hppa[12]*-*-hpux11*): Likewise.
5895         (x86_64-*-darwin*): Don't override tmake_file, but only keep
5896         i386/t-crtpc, i386/t-crtfm.
5897         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
5898         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
5899         to tmake_file.
5900         Add i386/t-cygwin to tmake_file.
5901         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
5902         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
5903         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
5904         to tmake_file.
5905         Add i386/t-mingw32 to tmake_file.
5906         (x86_64-*-mingw*): Likewise.
5907         (ia64*-*-freebsd*): Append to tmake_file.
5908         (ia64*-*-linux*): Append to tmake_file.
5909         Replace ia64/t-glibc by ia64/t-linux.
5910         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
5911         system libunwind.
5912         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
5913         t-slibgcc-hpux to tmake_file.
5914         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
5915         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
5916         (m32rle-*-linux*): Likewise.
5917         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
5918         sjlj exceptions.
5919         (microblaze*-linux*): New case.
5920         Append to tmake_file, add t-slibgcc-nolc-override.
5921         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
5922         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5923         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
5924         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5925         rs6000/t-slibgcc-aix to tmake_file.
5926         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5927         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5928         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5929         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5930         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5931         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
5932         sh*-*-linux*.
5933         (sparc-*-linux*): Append to tmake_file for *-leon*.
5934         Add sparc/t-linux to tmake_file for non-Leon targets.
5935         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
5936         (tic6x-*-uclinux): New case.
5937         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
5938         (tic6x-*-*): Add c6x/t-elf to tmake_file.
5939         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
5940         (am33_2.0-*-linux*): Append to tmake_file.
5941         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5942         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
5943         x86_64-*-kfreebsd*-gnu.
5944         Add i386/t-linux to tmake_file.
5945
5946 2011-10-28  Ian Lance Taylor  <iant@google.com>
5947
5948         * config/i386/morestack.S: Correct CFI information to do proper
5949         returns throughout function.  In 32-bit mode, save %ebx so that it
5950         is restored on unwind.
5951
5952 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
5953
5954         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
5955         case where B3 isn't the return register.
5956
5957         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
5958         logic for doubleword pops.
5959
5960 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
5961
5962         * config/rs6000/t-freebsd: Add wildcard.
5963
5964 2011-10-21  Paul Brook  <paul@codesourcery.com>
5965
5966         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
5967
5968 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
5969             Eric Botcazou  <ebotcazou@adacore.com>
5970
5971         PR target/50737
5972         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
5973         fs->signal_frame to 1.
5974
5975 2011-10-07  Ian Lance Taylor  <iant@google.com>
5976
5977         * generic-morestack-thread.c: #include <errno.h>.
5978
5979 2011-10-07  Ian Lance Taylor  <iant@google.com>
5980
5981         PR target/46093
5982         * generic-morestack.c (__generic_morestack): Make sure the segment
5983         is large enough for both the stack frame and the copied
5984         parameters.
5985
5986 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5987
5988         PR bootstrap/49804
5989         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
5990         extra_parts.
5991
5992 2011-09-28  Nick Clifton  <nickc@redhat.com>
5993
5994         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
5995         64-bit doubles are not enabled.
5996         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
5997         and floatunsisf functions.
5998
5999 2011-09-13  Paul Brook  <paul@codesourcery.com>
6000
6001         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
6002         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
6003         * unwind-arm-common.inc: New file.
6004         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
6005         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
6006         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
6007         * config/c6x/libunwind.S: New file.
6008         * config/c6x/pr-support.c: New file.
6009         * config/c6x/unwind-c6x.c: New file.
6010         * config/c6x/unwind-c6x.h: New file.
6011         * config/c6x/t-c6x-elf: New file.
6012
6013 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
6014
6015         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
6016         (ASM_DIVZERO): Ditto.
6017         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
6018
6019 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
6020
6021         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
6022
6023 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
6024
6025         PR target/50090
6026         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
6027         instead of an assembly one.
6028
6029 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
6030
6031         PR bootstrap/50047
6032         * Makefile.in (install-unwind_h): Create
6033         $(gcc_objdir)/include/unwind.h atomically.
6034
6035 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6036
6037         * Makefile.in (install-unwind_h): Remove destination file first.
6038
6039 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6040
6041         * sync.c: New file.
6042         * config/mips/t-mips16: New file.
6043         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
6044         (mips*-*-linux*): Likewise.
6045         (mips*-sde-elf*): Likewise.
6046         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
6047         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
6048         Add mips/t-mips16 to tmake_file.
6049         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
6050         (mips-*-elf*): Likewise.
6051         (mips64-*-elf*): Likewise.
6052         (mips64orion-*-elf*): Likewise.
6053         (mips*-*-rtems*): Likewise.
6054         (mipstx39-*-elf*): Likewise.
6055         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
6056         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
6057         LIBGCC_SYNC_CFLAGS.
6058         Use $(srcdir) to refer to sync.c.
6059         Use $<.
6060         ($(libgcc-sync-funcs-o)): Likewise.
6061         ($(libgcc-sync-size-funcs-s-o)): Likewise.
6062         ($(libgcc-sync-funcs-s-o)): Likewise.
6063
6064 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
6065
6066         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
6067         t-libunwind.
6068
6069 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
6070
6071         PR other/48007
6072         * config/i386/value-unwind.h: New.
6073
6074 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
6075
6076         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
6077         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
6078         Add to tmake_file rather than overriding it.
6079
6080 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6081
6082         * config/t-softfp: Remove.
6083         * soft-fp: Moved from ../gcc/config.
6084         * soft-fp/README: Remove t-softfp reference.
6085         * soft-fp/t-softfp: Move to config/t-softfp.
6086         (softfp_machine_header): Remove.
6087         (softfp_file_list): Remove config subdir.
6088         (soft-fp-objects): New variable.
6089         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
6090         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
6091         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
6092         * config/t-softfp-excl: New file.
6093         * config/t-softfp-sfdf: New file.
6094         * config/t-softfp-tf: New file.
6095         * config/no-sfp-machine.h: New file.
6096         * config/arm/sfp-machine.h: New file.
6097         * config/arm/t-softfp: New file.
6098         * config/c6x/sfp-machine.h: New file.
6099         * config/i386/32/t-fprules-softfp: Rename to ...
6100         * config/i386/32/t-softfp: ... this.
6101         (tifunctions, LIB2ADD): Remove.
6102         (softfp_int_modes): Override.
6103         * config/i386/64/t-softfp-compat (tf-functions): Remove config
6104         subdir.
6105         * config/i386/64/eqtf2.c: Likewise.
6106         * config/i386/64/getf2.c: Likewise.
6107         * config/i386/64/letf2.c: Likewise.
6108         * config/ia64/sft-machine.h: New file.
6109         * config/ia64/t-fprules-softfp: Rename to ...
6110         * config/ia64/t-softfp: ... this.
6111         * config/lm32/sfp-machine.h: New file.
6112         * config/moxie/t-moxie-softfp: Remove.
6113         * config/rs6000/ibm-ldouble-format: New file.
6114         * config/rs6000/ibm-ldouble.c: New file.
6115         * config/rs6000/libgcc-ppc-glibc.ver: New file
6116         * config/rs6000/libgcc-ppc64.ver: New file
6117         * config/rs6000/sfp-machine.h: New file.
6118         * config/rs6000/t-freebsd: New file.
6119         * config/rs6000/t-ibm-ldouble: New file.
6120         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
6121         libgcc-ppc-glibc.ver.
6122         * config/rs6000/t-linux64: New file.
6123         * config/rs6000/t-ppccomm (LIB2ADD): Add
6124         $(srcdir)/config/rs6000/ibm-ldouble.c.
6125         * config/rs6000/t-ppccomm-ldbl: New file.
6126         * config/score/sfp-machine.h: New file.
6127         * config.host (sfp_machine_header): Explain.
6128         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
6129         t-softfp to tmake_file.
6130         (arm*-*-uclinux*): Likewise.
6131         (arm*-*-ecos-elf): Likewise.
6132         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6133         (arm*-*-rtems*): Likewise.
6134         (arm*-*-elf): Likewise.
6135         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
6136         in tmake_file.
6137         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
6138         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
6139         (lm32-*-uclinux*): Likewise.
6140         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
6141         t-softfp-excl, t-softfp.
6142         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
6143         (powerpc64-*-darwin*): Likewise.
6144         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
6145         to tmake_file.
6146         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
6147         tmake_file.
6148         (powerpc-*-eabisim*): Likewise.
6149         (powerpc-*-elf*): Likewise.
6150         (powerpc-*-eabialtivec*): Likewise.
6151         (powerpc-xilinx-eabi*): Likewise.
6152         (powerpc-*-rtems*): Likewise.
6153         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
6154         t-softfp-excl, t-softfp to tmake_file.
6155         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
6156         rs6000/t-ppccomm-ldbl to tmake_file.
6157         (powerpcle-*-elf*): Likewise.
6158         (powerpcle-*-eabisim*): Likewise.
6159         (powerpcle-*-eabi*): Likewise.
6160         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6161         rs6000/t-ibm-ldouble to tmake_file.
6162         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6163         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6164         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
6165         (tic6x-*-*): Likewise.
6166         (i[34567]86-*-darwin*, x86_64-*-darwin*,
6167         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
6168         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
6169         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
6170         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
6171         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
6172         t-softfp to tmake_file.
6173         * configure.ac (sfp_machine_header): Provide default if unset.
6174         Substitute.
6175         Link sfp-machine.h to config/$sfp_machine_header.
6176         * configure: Regenerate.
6177
6178 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6179
6180         * Makefile.in (double_type_size, long_double_type_size): Set.
6181         Remove $(fpbit-in-libgcc) support.
6182         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
6183         (fpbit-src): New variable.
6184         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
6185         Compile with -DFLOAT $(FPBIT_CFLAGS).
6186         Use $<.
6187         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
6188         Compile with $(FPBIT_CFLAGS).
6189         Use $<.
6190         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
6191         Compile with -DFLOAT $(TPBIT_CFLAGS).
6192         Use $<.
6193         * configure.ac (double_type_size, long_double_type_size):
6194         Determine and substitute.
6195         * configure: Regenerate.
6196         * fp-bit.c, fp-bit.h: New files.
6197         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
6198         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
6199         * config/mips/t-mips: New file.
6200         * config/mips/t-sdemtk: New file.
6201         * config/rs6000/ppc64-fp.c: New file.
6202         * config/rs6000/t-darwin (LIB2ADD): Add
6203         $(srcdir)/config/rs6000/ppc64-fp.c.
6204         * config/rs6000/t-ppc64-fp: New file.
6205         * config/rx/rx-lib.h: New file.
6206         * config/rx/t-rx (FPBIT): Set to true.
6207         ($(gcc_objdir)/fp-bit.c): Remove.
6208         (DPBIT): Set to true only with -m64bit-doubles.
6209         ($(gcc_objdir)/dp-bit.c): Remove.
6210         * config/sparc/t-softfp: Remove.
6211         * config/spu/t-elf: New file.
6212         * config/t-fdpbit, config/t-fpbit: New files.
6213         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
6214         (mips*-*-*): Likewise.
6215         (arm-wrs-vxworks): Likewise.
6216         (arm*-*-freebsd*): Likewise.
6217         (avr-*-rtems*): Add t-fpbit to tmake_file.
6218         (avr-*-*): Likewise.
6219         (bfin*-elf*): Add t-fdpbit to tmake_file.
6220         (bfin*-uclinux*): Likewise.
6221         (bfin*-linux-uclibc*): Likewise.
6222         (bfin*-rtems*): New case.
6223         Add t-fdpbit to tmake_file.
6224         (bfin*-*): Add t-fdpbit to tmake_file.
6225         (crisv32-*-elf): Likewise.
6226         (cris-*-linux*): Likewise.
6227         (fr30-*-elf): Likewise.
6228         (frv-*-elf, frv-*-*linux*): Likewise.
6229         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
6230         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
6231         (m32r-*-elf*): Likewise.
6232         (m32rle-*-elf*): Likewise.
6233         (m32r-*-linux*): Likewise.
6234         (m32rle-*-linux*): Likewise.
6235         (mcore-*-elf): Add t-fdpbit to tmake_file.
6236         (microblaze*-*-*): Likewise.
6237         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
6238         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
6239         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
6240         Fix typo.
6241         Add mips/t-tpbit to tmake-file.
6242         (mips*-*-linux*): Fix typo.
6243         (mips*-sde-elf*): New case
6244         Add mips/t-sdemtk unless using newlib.
6245         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
6246         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
6247         (mn10300-*-*): Likewise.
6248         (pdp11-*-*): Likewise.
6249         (picochip-*-*): Add t-fpbit to tmake_file.
6250         (powerpc-*-eabisimaltivec*): Likewise.
6251         (powerpc-*-eabisim*): Likewise.
6252         (powerpc-*-elf*): Likewise.
6253         (powerpc-*-eabialtivec*): Likewise.
6254         (powerpc-xilinx-eabi*): New case.
6255         Add t-fdpbit to tmake_file.
6256         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
6257         (powerpc-*-rtems*): Likewise.
6258         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
6259         tmake_file.
6260         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
6261         tmake_file.
6262         (powerpc-*-lynxos*): Likewise.
6263         (powerpcle-*-elf*): Likewise.
6264         (powerpcle-*-eabisim*): Likewise.
6265         (powerpcle-*-eabi*): Likewise.
6266         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6267         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
6268         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6269         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6270         (rx-*-elf): Add t-fdpbit to tmake_file.
6271         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6272         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6273         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6274         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
6275         sh*-*-netbsd*.
6276         (sh-*-rtems*): Add t-fdpbit to tmake_file.
6277         (sh-wrs-vxworks): Likewise.
6278         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
6279         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
6280         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
6281         (sparc64-*-rtems*): ... new case.
6282         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
6283         (spu-*-elf*): Likewise.
6284         Add spu/t-elf to tmake_file.
6285         (v850*-*-*): Add t-fdpbit to tmake_file.
6286         (xstormy16-*-elf): Likewise.
6287         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
6288         (mep*-*-*): Likewise.
6289
6290 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6291
6292         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
6293         variables.
6294         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
6295         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
6296         (install-unwind_h): New target.
6297         (all): Depend on it.
6298         * config.host (unwind_header): New variable.
6299         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
6300         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6301         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
6302         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
6303         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
6304         Set unwind_header.
6305         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
6306         Set unwind_header.
6307         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
6308         arm*-*-eabi*.
6309         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
6310         Set unwind_header.
6311         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
6312         (ia64*-*-freebsd*): Likewise.
6313         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
6314         tmake_file.
6315         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
6316         $with_system_libunwind.
6317         (ia64*-*-hpux*): Set tmake_file.
6318         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
6319         (picochip-*-*): Set tmake_file.
6320         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
6321         md_unwind_header.
6322         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6323         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6324         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
6325         (xtensa*-*-elf*): Set tmake_file.
6326         (xtensa*-*-linux*): Likewise.
6327         * configure.ac: Include ../config/unwind_ipinfo.m4.
6328         Call GCC_CHECK_UNWIND_GETIPINFO.
6329         Link unwind.h to $unwind_header.
6330         * configure: Regenerate.
6331         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
6332         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
6333         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
6334         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
6335         * config/unwind-dw2-fde-darwin.c: New file.
6336         * config/arm/libunwind.S, config/arm/pr-support.c,
6337         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
6338         config/arm/unwind-arm.h,: New files.
6339         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
6340         config/ia64/t-eh-ia64, config/ia64/t-glibc,
6341         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
6342         config/ia64/t-vms, config/ia64/unwind-ia64.c,
6343         config/ia64/unwind-ia64.h: New files.
6344         * config/picochip/t-picochip: New file.
6345         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
6346         files.
6347         * config/rs6000/t-darwin (LIB2ADDEH): Set.
6348         * config/s390/t-tpf (LIB2ADDEH): Remove.
6349         * config/t-darwin (LIB2ADDEH): Set.
6350         * config/t-eh-dw2-dip: New file.
6351         * config/t-libunwind, config/t-libunwind-elf: New files.
6352         * config/t-sol2 (LIB2ADDEH): Remove.
6353         * config/xtensa/t-xtensa: New file.
6354
6355 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
6356
6357         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
6358         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
6359         long long to check rt_sigreturn syscall.
6360
6361 2011-08-02  Alan Modra  <amodra@gmail.com>
6362
6363         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
6364         Restore for indirect call bcrtl from correct stack slot, and only
6365         if cfa+40 isn't valid.
6366
6367 2011-08-01  Julian Brown  <julian@codesourcery.com>
6368
6369         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
6370         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
6371         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
6372
6373 2011-08-01  Julian Brown  <julian@codesourcery.com>
6374
6375         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
6376         (libgcc-std.ver.in): Use above.
6377         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
6378         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
6379         throughout file.
6380         * config/t-fixedpoint-gnu-prefix: New file.
6381         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
6382         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
6383         instead of __PFX__.
6384
6385 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
6386
6387         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
6388         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
6389         for x86-64.  Properly check __x86_64__ and __LP64__.
6390
6391 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
6392
6393         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
6394         version.
6395         (_FP_WS_TYPE): Likewise.
6396         (_FP_I_TYPE): Likewise.
6397
6398 2011-07-28  Alan Modra  <amodra@gmail.com>
6399
6400         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
6401         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
6402         in a plt call stub.  Do restore r2 if stopped on bctrl.
6403
6404 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6405
6406         * config.host (i[3456x]86-*-netware*): Remove.
6407         * config/i386/netware-crt0.c, config/i386/t-nwld,
6408         config/i386/t-slibgcc-nwld: Remove.
6409
6410 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
6411
6412         * config.host: Handle tic6x-*-*.
6413         * config/c6x/c6x-abi.h: New file.
6414
6415 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6416
6417         * config/i386/crtprec.c: New file.
6418         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
6419         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
6420         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
6421         (x86_64-*-darwin*): Likewise.
6422         (i[34567]86-*-solaris2*: Likewise.
6423
6424 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6425
6426         * config/alpha/crtfastmath.c: New file.
6427         * config/i386/crtfastmath.c: New file.
6428         * config/ia64/crtfastmath.c: New file.
6429         * config/mips/crtfastmath.c: New file.
6430         * config/sparc/crtfastmath.c: New file.
6431
6432         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
6433         crtfastmath.c.
6434         Add -frandom-seed=gcc-crtfastmath.
6435         * config/alpha/t-crtfm: Remove.
6436         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
6437         * config/ia64/t-ia64 (crtfastmath.o): Remove.
6438
6439         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
6440         (alpha*-dec-osf5.1*): Likewise.
6441         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
6442         Add crtfastmath.o to extra_parts.
6443         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
6444         Add crtfastmath.o to extra_parts.
6445         (x86_64-*-darwin*): Likewise.
6446         (x86_64-*-mingw*): Likewise.
6447         (ia64*-*-elf*): Add t-crtfm to tmake_file.
6448         (ia64*-*-freebsd*): Likewise.
6449         (ia64*-*-linux*): Likewise.
6450         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
6451         Add crtfastmath.o to extra_parts.
6452
6453 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6454
6455         * config/darwin-crt3.o: New file.
6456         * config/rs6000/darwin-crt2.c: New file.
6457         * config/t-darwin: New file.
6458         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
6459         (crt2.o): New rule.
6460         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
6461         (powerpc-*-darwin*): Add crt2.o to extra_parts.
6462         (powerpc64-*-darwin*): Likewise.
6463
6464 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6465
6466         * config/i386/netware-crt0.c: New file.
6467         * config/i386/t-nwld: Rename to ...
6468         * config/i386/t-slibgcc-nwld: ... this.
6469         * config/i386/t-nwld: New file.
6470         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
6471         tmake_file.
6472         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
6473         extra_parts.
6474
6475 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6476
6477         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
6478         i386/t-crtstuff.
6479         * configure: Regenerate.
6480
6481 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6482
6483         * dfp-bit.c, dfp-bit.h: New files.
6484         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
6485         variables.
6486         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
6487         ($(d64pbit-o)): Likewise.
6488         ($(d128pbit-o)): Likewise.
6489         * config/t-dfprules: New file.
6490         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
6491         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
6492         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6493         (x86_64-*-linux*): Likewise.
6494         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6495         (i[34567]86-*-cygwin*): Likewise.
6496         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
6497         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6498
6499 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6500
6501         * Makfile.in (LIBGCOV): New variable.
6502         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
6503         * libgcov.c: New file.
6504
6505 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6506
6507         * fixed-bit.c, fixed-bit.h: New files.
6508         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
6509         refer to fixed-bit.c.
6510
6511 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
6512
6513         * config.host (*local*): Remove.
6514
6515 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6516
6517         PR target/39150
6518         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
6519         like i?86-*-solaris2.1[0-9]*.
6520         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
6521         * configure.ac (i?86-*-solaris2*): Likewise.
6522         * configure: Regenerate.
6523
6524 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
6525
6526         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6527         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
6528         md_unwind_header by splitting out of...
6529         (i[34567]86-*-linux*): ... this.
6530         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
6531         Remove md_unwind_header by splitting out of...
6532         (x86_64-*-linux*): ... this.
6533
6534 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
6535
6536         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
6537
6538 2011-06-28  Nick Clifton  <nickc@redhat.com>
6539
6540         * config.host: Recognize all V850 variants.
6541
6542 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
6543
6544         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
6545
6546 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6547
6548         * shared-object.mk (c_flags-$o): Save c_flags.
6549         ($(base)$(objext)): Use it.
6550         ($(base)_s$(objext)): Likewise.
6551
6552 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
6553
6554         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
6555         * libgcc-std.ver.in (GCC_4.7.0): New section.
6556
6557 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
6558
6559         PR target/49313
6560         PR target/29524
6561         * config/avr/t-avr: Fix line endings.
6562         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
6563         _parityXX2.
6564
6565 2011-06-14  Olivier Hainque  <hainque@adacore.com>
6566             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6567
6568         * config/mips/irix6-unwind.h: New file.
6569         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
6570
6571 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
6572
6573         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
6574         (sparc64_fallback_frame_state): Use it.
6575         (sparc64_frob_update_context): Further adjust context.
6576         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
6577         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
6578         * config/sparc/sol2-cn.S: Likewise.
6579
6580 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6581
6582         * enable-execute-stack-empty.c: New file.
6583         * enable-execute-stack-mprotect.c: New file.
6584         * config/i386/enable-execute-stack-mingw32.c: New file.
6585         * config.host (enable_execute_stack): New variable.
6586         Select appropriate variants.
6587         * configure.ac: Link enable-execute-stack.c to
6588         $enable_execute_stack.
6589         * configure: Regenerate.
6590         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
6591         (lib2funcs): Remove _enable_execute_stack.
6592
6593 2011-06-09  David S. Miller  <davem@davemloft.net>
6594             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6595
6596         * config.host (sparc-*-linux*): Correct md_unwind_header
6597         filename.
6598         (s390x-ibm-tpf*): Fix typo.
6599
6600 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6601
6602         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
6603         Add crtfastmath.o to extra_parts.
6604         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
6605         mips/t-crtfm.
6606         * config/mips/t-crtfm: Remove.
6607
6608 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6609
6610         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
6611
6612 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
6613
6614         * config.host (sh*-*-linux*): Fix typo.
6615
6616 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6617
6618         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
6619         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
6620         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
6621         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
6622         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
6623         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
6624         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
6625         Wrap in !__MINGW64__.
6626         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
6627         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
6628         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
6629         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
6630         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
6631         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
6632         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
6633         Wrap in !__LP64__.
6634         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
6635         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
6636         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
6637         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
6638         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
6639         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
6640         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
6641         * config/no-unwind.h: New file.
6642         * config.host (md_unwind_header): Document.
6643         Define.
6644         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
6645         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
6646         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
6647         hppa[12]*-*-hpux11*): Set md_unwind_header.
6648         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
6649         Set md_unwind_header.
6650         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
6651         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
6652         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
6653         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
6654         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
6655         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
6656         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
6657         md_unwind_header.
6658         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
6659         * configure: Regenerate.
6660
6661 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6662
6663         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
6664         Set tmake_file, extra_parts.
6665         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
6666         Remove O32 support.
6667         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
6668         Remove O32 support.
6669         * config/mips/t-irix6: New file.
6670         * config/mips/t-slibgcc-irix: New file.
6671
6672 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6673
6674         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
6675         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
6676
6677 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6678
6679         * configure.ac (target_thread_file): Determine thread model.
6680         * configure: Regenerate.
6681         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
6682         * config/alpha/t-alpha: New file.
6683         * config/alpha/t-crtfm: Use $<.
6684         * config/alpha/t-ieee: New file.
6685         * config/alpha/t-osf-pthread: New file.
6686         * config/alpha/t-slibgcc-osf: New file.
6687         * config/alpha/libgcc-osf5.ver: New file.
6688
6689 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6690
6691         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
6692         tmake_file.
6693         Add crtfastmath.o to extra_parts.
6694
6695 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6696
6697         * config/gmon-sol2.c: Reindent.
6698         Cleanup comments.
6699         Remove, correct casts.
6700         Use STDERR_FILENO, NULL.
6701         (BASEADDRESS): Remove.
6702         (minbrk): Remove.
6703         (errno, sbrk): Remove declarations.
6704         (monstartup) [hp300]: Remove.
6705         (mcount): Remove.
6706
6707 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6708
6709         * Makefile.in (cpu_type): Define.
6710         * config.host (i[34567]86-*-rtems*): Handle it.
6711         (i[34567]86-*-solaris2*): Move body ...
6712         (*-*-solaris2*): ... here.
6713         New case, generalize.
6714         (sparc-*-elf*): Handle it.
6715         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
6716         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
6717         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
6718         Fold into ...
6719         (sparc*-*-solaris2*): ... this.
6720         New case.
6721         (sparc64-*-elf*): Handle it.
6722         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
6723         Merge ../gcc/config/i386/gmon-sol2.c.
6724         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
6725         Use C comments.
6726         Merge ../gcc/config/i386/sol2-gc1.asm.
6727         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
6728         Use C comments.
6729         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
6730         Use C comments.
6731         * config/i386/t-crtfm (crtfastmath.o): Use $<.
6732         * config/i386/t-crtstuff: New file.
6733         * config/i386/t-softfp: New file.
6734         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
6735         $(T)crti.o, $(T)crtn.o): Remove.
6736         (gcrt1.o): New rule.
6737         (TARGET_LIBGCC2_CFLAGS): Remove.
6738         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
6739         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
6740         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
6741         * config/sparc/t-sol2: New file.
6742         * config/sparc/t-crtfm: Move to ...
6743         * config/t-crtfm: ... this.
6744         Use $(cpu_type), $<.
6745         * config/t-crtin: New file.
6746         * config/sparc/t-softfp: New file.
6747         * config/sparc/t-softmul: New file.
6748         * config/t-rtems: New file.
6749         * config/t-slibgcc: New file.
6750         * config/t-slibgcc-elf-ver: New file.
6751         * config/t-slibgcc-gld: New file.
6752         * config/t-slibgcc-sld: New file.
6753         * config/t-sol2: New file.
6754         * configure.ac: Include ../config/lib-ld.m4.
6755         Call AC_LIB_PROG_LD_GNU.
6756         Substitute cpu_type.
6757         * configure: Regenerate.
6758
6759 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
6760
6761         PR bootstrap/49173
6762         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
6763         libgcc-std.ver in the build directory.
6764         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
6765         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
6766
6767 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
6768
6769         * libgcc-std.ver.in: New file.
6770         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
6771         variables.
6772         (libgcc-std.ver): New rule.
6773         * config/t-gnu-prefix: New file.
6774
6775 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6776
6777         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
6778
6779 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
6780
6781         * config/i386/darwin-lib.h: New file.
6782
6783 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
6784
6785         * config/arm/symbian-lib.h: New.
6786
6787 2011-05-04  Chris Demetriou  <cgd@google.com>
6788
6789         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
6790         (__x86.get_pc_thunk.bx): ...this.
6791         (__morestack): Adjust for rename, remove undef of __i686.
6792
6793 2011-05-03  Chris Demetriou  <cgd@google.com>
6794
6795         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
6796
6797 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
6798
6799         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
6800         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
6801         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
6802         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
6803         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
6804         Remove cases.
6805
6806 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
6807
6808         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
6809         Adjust copyright year.
6810
6811 2011-03-07  Ian Lance Taylor  <iant@google.com>
6812
6813         * generic-morestack.c (__splitstack_find): Adjust returned stack
6814         pointer to include all registers pushed by __morestack.
6815
6816 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
6817
6818         PR target/40125
6819         * configure.ac: Call ACX_NONCANONICAL_TARGET.
6820         (toolexecdir): Calculate and AC_SUBST.
6821         (toolexeclibdir): Likewise.
6822         * Makefile.in (target_noncanonical): Import.
6823         (toolexecdir): Likewise.
6824         (toolexeclibdir): Likewise.
6825         * configure: Regenerate.
6826
6827 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
6828
6829         PR target/46040
6830         * config/arm/bpabi.h: Rename to...
6831         * config/arm/bpabi-lib.h: ...this.
6832
6833 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6834
6835         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
6836         appropriate.
6837         * configure: Regenerate.
6838
6839 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
6840
6841         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
6842         __FLOAT_WORD_ORDER__.
6843         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
6844         Delete.
6845
6846 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6847
6848         PR other/46202
6849         * Makefile.in (install-strip): New phony target.
6850
6851 2010-11-07  Ian Lance Taylor  <iant@google.com>
6852
6853         PR target/46089
6854         * config/i386/morestack.S (__morestack_large_model): New
6855         function.
6856
6857 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
6858
6859         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
6860         Delete.
6861         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
6862
6863 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
6864
6865         * config/arm/bpabi.h: New file.
6866         * config/frv/frv-abi.h: New file.
6867
6868 2010-10-01  Ian Lance Taylor  <iant@google.com>
6869
6870         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
6871         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
6872
6873 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6874
6875         PR target/45858
6876         * config.host: Add the missing `$'.
6877
6878 2010-09-30  Michael Eager  <eager@eagercon.com>
6879
6880         * config.host: Add microblaze*-*-*.
6881         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
6882         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
6883         udivsi3.asm,umodsi3.asm}:  New.
6884
6885 2010-09-28  Ian Lance Taylor  <iant@google.com>
6886
6887         * configure.ac: Adjust CFI test to test assembler directly rather
6888         than checking gcc preprocessor macro.
6889         * configure: Rebuild.
6890
6891 2010-09-27  Ian Lance Taylor  <iant@google.com>
6892
6893         * configure.ac: Test whether assembler supports CFI directives.
6894         * config.host: Only add t-stack and i386/t-stack-i386 to
6895         tmake_file if libgcc_cv_cfi is "yes".
6896         * configure: Rebuild.
6897
6898 2010-09-27  Ian Lance Taylor  <iant@google.com>
6899
6900         * generic-morestack.h: New file.
6901         * generic-morestack.c: New file.
6902         * generic-morestack-thread.c: New file.
6903         * config/i386/morestack.S: New file.
6904         * config/t-stack: New file.
6905         * config/i386/t-stack-i386: New file.
6906         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
6907         i386/t-stack-i386 to tmake_file.
6908
6909 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
6910
6911         * Makefile.in (libgcc-extra-parts):  Check for static archives and
6912         invoke ranlib after installing them.
6913         (gcc-extra-parts): Likewise.
6914         (install-leaf): Likewise.
6915
6916 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
6917
6918         * configure: Regenerated.
6919
6920 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
6921
6922         * configure: Regenerated.
6923
6924 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
6925             Andrew Pinski  <pinskia@gmail.com>
6926
6927         PR target/40959
6928         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
6929
6930 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
6931
6932         PR target/45524
6933         * configure: Regenerated.
6934
6935 2010-09-06  Andreas Schwab  <schwab@redhat.com>
6936
6937         * configure: Regenerate.
6938
6939 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
6940
6941         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
6942         64bit targets.
6943         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
6944         for 64bit targets.
6945
6946 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
6947             Iain Sandoe  <iains@gcc.gnu.org>
6948
6949         PR target/45476
6950         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
6951         LIB2FUNCS_EXCLUDE functions.
6952
6953 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6954
6955         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
6956         Include dfp.m4.
6957         * configure: Regenerate.
6958
6959 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
6960
6961         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
6962         i386/t-freebsd to tmake_file.
6963         * config/i386/t-freebsd: New file.
6964         * config/i386/libgcc-bsd.ver: New file.
6965
6966 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
6967
6968         * config.host (powerpc*-eabispe*): Set tmake_file.
6969         (powerpc*-eabi*): Likewise.
6970         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
6971         crtbeginS, crtendS, crtbeginT.
6972
6973 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
6974
6975         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
6976         to tmake_file.  Add crtfastmath.o to extra_parts.
6977         * config/mips/t-crtfm: New.
6978
6979 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
6980
6981         * config.host (sparc64-*-rtems*): New target.
6982
6983 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6984
6985         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
6986         assembler syntax.
6987
6988 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
6989
6990         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
6991
6992 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6993
6994         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
6995         alpha-dec-osf5.0* support.
6996
6997 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
6998
6999         * config.host: Add lm32-*-rtems*.
7000
7001 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7002             Uros Bizjak  <ubizjak@gmail.com>
7003
7004         PR target/39048
7005         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
7006         like other remaining 32-bit x86 OSes.
7007         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7008         assembler syntax.
7009         * config/i386/libgcc-sol2.ver: New file.
7010         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
7011
7012 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
7013
7014         PR c/43553
7015         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
7016         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
7017         is used and substitute set_use_emutls.
7018         * configure: Regenerated.
7019
7020 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
7021
7022         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
7023
7024 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7025
7026         PR target/38085
7027         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
7028         MULTILIB_CFLAGS.
7029         ($(T)gcrt1.o): Likewise.
7030         ($(T)crt1.o): Likewise.
7031         ($(T)crti.o): Likewise.
7032         ($(T)crtn.o): Likewise.
7033
7034 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7035
7036         PR other/42980
7037         * Makefile.in (install): Use $(MAKE) string in rule, for
7038         parallel make.
7039
7040 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
7041
7042         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
7043         * config/mmix/t-mmix: New file.
7044         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
7045
7046 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
7047
7048         PR java/41991
7049         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
7050         SHLIB_MAPFILES.
7051
7052 2010-01-04  Anthony Green  <green@moxielogic.com>
7053
7054         * config/moxie/crti.asm, config/moxie/crtn.asm,
7055         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
7056         config/moxie/t-moxie: New files.
7057         * config.host: Add t-moxie-softfp reference.
7058
7059 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
7060
7061         PR other/39888
7062         * config/t-slibgcc-darwin: Fix embedded rpaths for
7063         --enable-version-specific-runtime-libs, build extension stub
7064         libs exposing features available from current libgcc_s.
7065
7066 2009-11-11  Jon Beniston  <jon@beniston.com>
7067
7068         * config.host: Add lm32 targets.
7069         * config/lm32: New directory.
7070         * config/lm32/libgcc_lm32.h: New file.
7071         * config/lm32/_mulsi3.c: New file.
7072         * config/lm32/_udivmodsi4.c: New file.
7073         * config/lm32/_divsi3.c: New file.
7074         * config/lm32/_modsi3.c: New file.
7075         * config/lm32/_udivsi3.c: New file.
7076         * config/lm32/_umodsi3.c: New file.
7077         * config/lm32/_lshrsi3.S: New file.
7078         * config/lm32/_ashrsi3.S: New file.
7079         * config/lm32/_ashlsi3.S: New file.
7080         * config/lm32/crti.S: New file.
7081         * config/lm32/crtn.S: New file.
7082         * config/lm32/t-lm32: New file.
7083         * config/lm32/t-elf: New file.
7084         * config/lm32/t-uclinux: New file.
7085
7086 2009-10-26  Nick Clifton  <nickc@redhat.com>
7087
7088         * config.host: Add support for RX target.
7089         * config/rx: New directory.
7090         * config/rx/rx-abi-functions.c: New file. Supplementary
7091         functions for libgcc to support the RX ABI.
7092         * config/rx/rx-abi.h: New file.  Supplementary header file for
7093         libgcc RX ABI functions.
7094         * config/rx/t-rx: New file: Makefile fragment for building
7095         libgcc for the RX.
7096
7097 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
7098
7099         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
7100         constraint of y0 to "g".
7101
7102 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7103
7104         * config.host: Include the s390 makefile fragments.
7105         * config/s390/32/_fixdfdi.c: New file.
7106         * config/s390/32/_fixsfdi.c: New file.
7107         * config/s390/32/_fixtfdi.c: New file.
7108         * config/s390/32/_fixunsdfdi.c: New file.
7109         * config/s390/32/_fixunssfdi.c: New file.
7110         * config/s390/32/_fixunstfdi.c: New file.
7111         * config/s390/32/t-floattodi: New file.
7112         * config/s390/libgcc-glibc.ver: New file.
7113         * config/s390/t-crtstuff: New file.
7114         * config/s390/t-linux: New file.
7115         * config/s390/t-tpf: New file.
7116
7117 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7118
7119         * configure.ac (AC_PREREQ): Bump to 2.64.
7120
7121 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
7122
7123         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
7124
7125 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7126
7127         * configure: Regenerate.
7128
7129 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
7130
7131         * config.host (ia64-hp-*vms*): New target.
7132         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
7133         with ia64-hp-*vms*.
7134
7135 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7136
7137         * configure.ac: Add snippet for maintainer-mode.
7138         * configure: Regenerate.
7139         * Makefile.in (AUTOCONF, configure_deps): New variables.
7140         ($(srcdir)/configure)): New rule, active only with maintainer
7141         mode turned on.
7142
7143 2009-06-23  DJ Delorie  <dj@redhat.com>
7144
7145         Add MeP port.
7146         * config.host: Add mep support.
7147
7148 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
7149
7150         * config.host: Add i386/${host_address}/t-fprules-softfp and
7151         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
7152
7153         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
7154         for mingw targets.
7155         * config/i386/64/_multc3.c: Likewise.
7156         * config/i386/64/_powitf2.c: Likewise.
7157         * config/i386/64/eqtf2.c: Likewise.
7158         * config/i386/64/getf2.c: Likewise.
7159         * config/i386/64/letf2.c: Likewise.
7160         * config/i386/64/letf2.c: Likewise.
7161         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
7162         unsigned long long for x64 mingw targets.
7163         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
7164         (_FP_I_TYPE): Define as long long for x64 mingw target.
7165
7166 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
7167
7168         * config.host (vax-*-linux*): New.
7169
7170 2009-05-31  Anthony Green  <green@moxielogic.com>
7171
7172         * config.host: Add moxie support.
7173         * config/moxie/t-moxie: New file.
7174
7175 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
7176
7177         * config.host: Add i386/${host_address}/t-fprules-softfp and
7178         t-softfp to tmake_file for i[34567]86-*-cygwin*.
7179
7180 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
7181
7182         * config.host: Add i386/${host_address}/t-fprules-softfp to
7183         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
7184
7185 2009-04-09  Nick Clifton  <nickc@redhat.com>
7186
7187         * config/ia64/tf-signs.c: Change copyright header to refer to
7188         version 3 of the GNU General Public License with version 3.1
7189         of the GCC Runtime Library Exception and to point readers at
7190         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
7191         web page.
7192         * config/i386/32/tf-signs.c: Likewise.
7193         * config/libbid/_addsub_dd.c: Likewise.
7194         * config/libbid/_addsub_sd.c: Likewise.
7195         * config/libbid/_addsub_td.c: Likewise.
7196         * config/libbid/_dd_to_df.c: Likewise.
7197         * config/libbid/_dd_to_di.c: Likewise.
7198         * config/libbid/_dd_to_sd.c: Likewise.
7199         * config/libbid/_dd_to_sf.c: Likewise.
7200         * config/libbid/_dd_to_si.c: Likewise.
7201         * config/libbid/_dd_to_td.c: Likewise.
7202         * config/libbid/_dd_to_tf.c: Likewise.
7203         * config/libbid/_dd_to_udi.c: Likewise.
7204         * config/libbid/_dd_to_usi.c: Likewise.
7205         * config/libbid/_dd_to_xf.c: Likewise.
7206         * config/libbid/_df_to_dd.c: Likewise.
7207         * config/libbid/_df_to_sd.c: Likewise.
7208         * config/libbid/_df_to_td.c: Likewise.
7209         * config/libbid/_di_to_dd.c: Likewise.
7210         * config/libbid/_di_to_sd.c: Likewise.
7211         * config/libbid/_di_to_td.c: Likewise.
7212         * config/libbid/_div_dd.c: Likewise.
7213         * config/libbid/_div_sd.c: Likewise.
7214         * config/libbid/_div_td.c: Likewise.
7215         * config/libbid/_eq_dd.c: Likewise.
7216         * config/libbid/_eq_sd.c: Likewise.
7217         * config/libbid/_eq_td.c: Likewise.
7218         * config/libbid/_ge_dd.c: Likewise.
7219         * config/libbid/_ge_sd.c: Likewise.
7220         * config/libbid/_ge_td.c: Likewise.
7221         * config/libbid/_gt_dd.c: Likewise.
7222         * config/libbid/_gt_sd.c: Likewise.
7223         * config/libbid/_gt_td.c: Likewise.
7224         * config/libbid/_isinfd128.c: Likewise.
7225         * config/libbid/_isinfd32.c: Likewise.
7226         * config/libbid/_isinfd64.c: Likewise.
7227         * config/libbid/_le_dd.c: Likewise.
7228         * config/libbid/_le_sd.c: Likewise.
7229         * config/libbid/_le_td.c: Likewise.
7230         * config/libbid/_lt_dd.c: Likewise.
7231         * config/libbid/_lt_sd.c: Likewise.
7232         * config/libbid/_lt_td.c: Likewise.
7233         * config/libbid/_mul_dd.c: Likewise.
7234         * config/libbid/_mul_sd.c: Likewise.
7235         * config/libbid/_mul_td.c: Likewise.
7236         * config/libbid/_ne_dd.c: Likewise.
7237         * config/libbid/_ne_sd.c: Likewise.
7238         * config/libbid/_ne_td.c: Likewise.
7239         * config/libbid/_sd_to_dd.c: Likewise.
7240         * config/libbid/_sd_to_df.c: Likewise.
7241         * config/libbid/_sd_to_di.c: Likewise.
7242         * config/libbid/_sd_to_sf.c: Likewise.
7243         * config/libbid/_sd_to_si.c: Likewise.
7244         * config/libbid/_sd_to_td.c: Likewise.
7245         * config/libbid/_sd_to_tf.c: Likewise.
7246         * config/libbid/_sd_to_udi.c: Likewise.
7247         * config/libbid/_sd_to_usi.c: Likewise.
7248         * config/libbid/_sd_to_xf.c: Likewise.
7249         * config/libbid/_sf_to_dd.c: Likewise.
7250         * config/libbid/_sf_to_sd.c: Likewise.
7251         * config/libbid/_sf_to_td.c: Likewise.
7252         * config/libbid/_si_to_dd.c: Likewise.
7253         * config/libbid/_si_to_sd.c: Likewise.
7254         * config/libbid/_si_to_td.c: Likewise.
7255         * config/libbid/_td_to_dd.c: Likewise.
7256         * config/libbid/_td_to_df.c: Likewise.
7257         * config/libbid/_td_to_di.c: Likewise.
7258         * config/libbid/_td_to_sd.c: Likewise.
7259         * config/libbid/_td_to_sf.c: Likewise.
7260         * config/libbid/_td_to_si.c: Likewise.
7261         * config/libbid/_td_to_tf.c: Likewise.
7262         * config/libbid/_td_to_udi.c: Likewise.
7263         * config/libbid/_td_to_usi.c: Likewise.
7264         * config/libbid/_td_to_xf.c: Likewise.
7265         * config/libbid/_tf_to_dd.c: Likewise.
7266         * config/libbid/_tf_to_sd.c: Likewise.
7267         * config/libbid/_tf_to_td.c: Likewise.
7268         * config/libbid/_udi_to_dd.c: Likewise.
7269         * config/libbid/_udi_to_sd.c: Likewise.
7270         * config/libbid/_udi_to_td.c: Likewise.
7271         * config/libbid/_unord_dd.c: Likewise.
7272         * config/libbid/_unord_sd.c: Likewise.
7273         * config/libbid/_unord_td.c: Likewise.
7274         * config/libbid/_usi_to_dd.c: Likewise.
7275         * config/libbid/_usi_to_sd.c: Likewise.
7276         * config/libbid/_usi_to_td.c: Likewise.
7277         * config/libbid/_xf_to_dd.c: Likewise.
7278         * config/libbid/_xf_to_sd.c: Likewise.
7279         * config/libbid/_xf_to_td.c: Likewise.
7280         * config/libbid/bid128.c: Likewise.
7281         * config/libbid/bid128_2_str.h: Likewise.
7282         * config/libbid/bid128_2_str_macros.h: Likewise.
7283         * config/libbid/bid128_2_str_tables.c: Likewise.
7284         * config/libbid/bid128_add.c: Likewise.
7285         * config/libbid/bid128_compare.c: Likewise.
7286         * config/libbid/bid128_div.c: Likewise.
7287         * config/libbid/bid128_fma.c: Likewise.
7288         * config/libbid/bid128_logb.c: Likewise.
7289         * config/libbid/bid128_minmax.c: Likewise.
7290         * config/libbid/bid128_mul.c: Likewise.
7291         * config/libbid/bid128_next.c: Likewise.
7292         * config/libbid/bid128_noncomp.c: Likewise.
7293         * config/libbid/bid128_quantize.c: Likewise.
7294         * config/libbid/bid128_rem.c: Likewise.
7295         * config/libbid/bid128_round_integral.c: Likewise.
7296         * config/libbid/bid128_scalb.c: Likewise.
7297         * config/libbid/bid128_sqrt.c: Likewise.
7298         * config/libbid/bid128_string.c: Likewise.
7299         * config/libbid/bid128_to_int16.c: Likewise.
7300         * config/libbid/bid128_to_int32.c: Likewise.
7301         * config/libbid/bid128_to_int64.c: Likewise.
7302         * config/libbid/bid128_to_int8.c: Likewise.
7303         * config/libbid/bid128_to_uint16.c: Likewise.
7304         * config/libbid/bid128_to_uint32.c: Likewise.
7305         * config/libbid/bid128_to_uint64.c: Likewise.
7306         * config/libbid/bid128_to_uint8.c: Likewise.
7307         * config/libbid/bid32_to_bid128.c: Likewise.
7308         * config/libbid/bid32_to_bid64.c: Likewise.
7309         * config/libbid/bid64_add.c: Likewise.
7310         * config/libbid/bid64_compare.c: Likewise.
7311         * config/libbid/bid64_div.c: Likewise.
7312         * config/libbid/bid64_fma.c: Likewise.
7313         * config/libbid/bid64_logb.c: Likewise.
7314         * config/libbid/bid64_minmax.c: Likewise.
7315         * config/libbid/bid64_mul.c: Likewise.
7316         * config/libbid/bid64_next.c: Likewise.
7317         * config/libbid/bid64_noncomp.c: Likewise.
7318         * config/libbid/bid64_quantize.c: Likewise.
7319         * config/libbid/bid64_rem.c: Likewise.
7320         * config/libbid/bid64_round_integral.c: Likewise.
7321         * config/libbid/bid64_scalb.c: Likewise.
7322         * config/libbid/bid64_sqrt.c: Likewise.
7323         * config/libbid/bid64_string.c: Likewise.
7324         * config/libbid/bid64_to_bid128.c: Likewise.
7325         * config/libbid/bid64_to_int16.c: Likewise.
7326         * config/libbid/bid64_to_int32.c: Likewise.
7327         * config/libbid/bid64_to_int64.c: Likewise.
7328         * config/libbid/bid64_to_int8.c: Likewise.
7329         * config/libbid/bid64_to_uint16.c: Likewise.
7330         * config/libbid/bid64_to_uint32.c: Likewise.
7331         * config/libbid/bid64_to_uint64.c: Likewise.
7332         * config/libbid/bid64_to_uint8.c: Likewise.
7333         * config/libbid/bid_b2d.h: Likewise.
7334         * config/libbid/bid_binarydecimal.c: Likewise.
7335         * config/libbid/bid_conf.h: Likewise.
7336         * config/libbid/bid_convert_data.c: Likewise.
7337         * config/libbid/bid_decimal_data.c: Likewise.
7338         * config/libbid/bid_decimal_globals.c: Likewise.
7339         * config/libbid/bid_div_macros.h: Likewise.
7340         * config/libbid/bid_dpd.c: Likewise.
7341         * config/libbid/bid_flag_operations.c: Likewise.
7342         * config/libbid/bid_from_int.c: Likewise.
7343         * config/libbid/bid_functions.h: Likewise.
7344         * config/libbid/bid_gcc_intrinsics.h: Likewise.
7345         * config/libbid/bid_inline_add.h: Likewise.
7346         * config/libbid/bid_internal.h: Likewise.
7347         * config/libbid/bid_round.c: Likewise.
7348         * config/libbid/bid_sqrt_macros.h: Likewise.
7349
7350 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
7351
7352         * Makefile.in: Change copyright header to refer to version
7353         3 of the GNU General Public License and to point readers at the
7354         COPYING3 file and the FSF's license web page.
7355         * config.host: Likewise.
7356
7357 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
7358
7359         * config.host: Reorder and merge to match config.gcc change.
7360
7361 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
7362
7363         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
7364
7365 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
7366
7367         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
7368         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
7369         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
7370         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
7371
7372 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
7373
7374         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
7375         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
7376
7377 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
7378
7379         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
7380         ia64/t-softfp-compat to tmake_file.
7381
7382         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
7383
7384         * config/ia64/__divxf3.asm: New.
7385         * config/ia64/_fixtfdi.asm: Likewise.
7386         * config/ia64/_fixunstfdi.asm: Likewise.
7387         * config/ia64/_floatditf.asm: Likewise.
7388         * config/ia64/t-fprules-softfp: Likewise.
7389         * config/ia64/t-softfp-compat: Likewise.
7390         * config/ia64/tf-signs.c: Likewise.
7391
7392 2009-01-18  Ben Elliston  <bje@au.ibm.com>
7393
7394         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
7395
7396 2009-01-16  Ben Elliston  <bje@au.ibm.com>
7397
7398         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
7399         to tmake_file.
7400
7401 2009-01-13  Ben Elliston  <bje@au.ibm.com>
7402
7403         * config/t-softfp: New file.
7404         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
7405         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
7406
7407 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
7408
7409         * config.host: Add m32r*-*-rtems*.
7410
7411 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
7412
7413         * config.host: Add m32c*-*-rtems*.
7414
7415 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7416
7417         PR bootstrap/33100
7418         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
7419         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
7420         * configure: Regenerate.
7421         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
7422         tmake_file here from gcc/config.gcc.
7423         Move extra_parts here from gcc/config.gcc.
7424         * config/i386/t-sol2: Move here from gcc/config/i386.
7425         Use gcc_srcdir instead of srcdir.
7426
7427 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
7428
7429         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
7430         case.
7431
7432 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
7433
7434         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
7435
7436 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
7437
7438         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
7439
7440 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
7441
7442         Add picoChip port.
7443         * config.host: Add picochip-*-*.
7444
7445 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
7446
7447         * config.host: Match more processor names for Xtensa.
7448
7449 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
7450
7451         * config/i386/64/t-softfp-compat: Update comments.
7452
7453 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7454
7455         * config/i386/64/_divtc3-compat.c: Moved to ...
7456         * config/i386/64/_divtc3.c: Here.
7457
7458         * config/i386/64/_multc3-compat.c: Moved to ...
7459         * config/i386/64/_multc3.c: Here.
7460
7461         * config/i386/64/_powitf2-compat.c: Moved to ...
7462         * config/i386/64/_powitf2.c: Here.
7463
7464         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
7465         .c suffix instead of -compat.c.
7466
7467 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
7468
7469         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
7470         (_FP_MUL_MEAT_D): Ditto.
7471         (_FP_DIV_MEAT_S): Ditto.
7472         (_FP_DIV_MEAT_D): Ditto.
7473
7474 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
7475
7476         * Makefile.in: Add support for __sync_* libgcc functions.
7477
7478 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
7479
7480         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
7481
7482 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
7483
7484         PR boostrap/36702
7485         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
7486         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
7487
7488         * config/i386/64/t-fprules-softfp: Moved to ...
7489         * config/i386/64/t-softfp-compat: This.  New.
7490
7491 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
7492
7493         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
7494         Initialize f with 0.0.
7495
7496 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
7497
7498         PR target/36669
7499         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
7500
7501         * config/i386/64/_divtc3-compat.c: New.
7502         * config/i386/64/_multc3-compat.c: Likewise.
7503         * config/i386/64/_powitf2-compat.c: Likewise.
7504         * config/i386/64/eqtf2.c: Likewise.
7505         * config/i386/64/getf2.c: Likewise.
7506         * config/i386/64/letf2.c: Likewise.
7507         * config/i386/64/t-fprules-softfp: Likewise.
7508
7509 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
7510
7511         * config.host: Add i386/${host_address}/t-fprules-softfp to
7512         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
7513         i[34567]86-*-linux*, x86_64-*-linux*.
7514
7515         * configure.ac: Set host_address to 64 or 32 for x86.
7516         * configure: Regenerated.
7517
7518         * Makefile.in (config.status): Also depend on
7519         $(srcdir)/config.host.
7520
7521         * config/i386/32/t-fprules-softfp: New.
7522         * config/i386/32/tf-signs.c: Likewise.
7523
7524         * config/i386/64/sfp-machine.h: New. Moved from gcc.
7525
7526 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
7527             Uros Bizjak  <ubizjak@gmail.com>
7528
7529         * config/i386/32/sfp-machine.h: New.
7530
7531 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
7532
7533         * config/rs6000/t-ppccomm: Remove rules that conflict with
7534         auto-generated rules.
7535
7536 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7537
7538         * configure.ac: sinclude override.m4.
7539         * configure: Regenerate.
7540
7541 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
7542
7543         * configure: Regenerate.
7544
7545 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
7546
7547         * Makefile.in (DECNUMINC): Remove
7548         -I$(MULTIBUILDTOP)../../libdecnumber.
7549         * gstdint.h: New.
7550
7551 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
7552
7553         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
7554         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
7555         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
7556         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
7557         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
7558         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
7559         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
7560         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
7561         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
7562         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
7563         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
7564         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
7565         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
7566         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
7567
7568 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
7569
7570         * config.host (sh2[lbe]*-*-linux*): Allow target.
7571
7572 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
7573
7574         * config/rs6000/t-ppccomm: Add build rules for new files.
7575         (LIB2ADD_ST): New variable.
7576
7577 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
7578
7579         PR target/34210
7580         PR target/35508
7581         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
7582         * config/t-avr: New file. Build 16bit libgcc functions.
7583
7584 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
7585
7586         PR target/35401
7587         * config/t-slibgcc-darwin: Make install-leaf dependent on
7588         install-darwin-libgcc-stubs instead of install.
7589
7590 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
7591
7592         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
7593         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
7594         sh-*-rtemscoff*): Remove cases.
7595
7596 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
7597
7598         * Makefile.in (all): Use install-leaf rather than install.
7599         (install): Split most of the rule into...
7600         (install-leaf): ...this new one.
7601
7602 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
7603             Paolo Bonzini  <bonzini@gnu.org>
7604
7605         PR target/30572
7606         * Makefile.in: Use @shlib_slibdir@ substitution to get
7607         correct install name on darwin.
7608         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
7609
7610 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
7611
7612         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
7613         cris-*-elf and cris-*-none.
7614         (crisv32-*-linux*): Similar, as cris-*-linux*.
7615
7616 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
7617
7618         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
7619
7620 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
7621
7622         PR regression/33926
7623         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
7624         * configure: Regenerated.
7625
7626 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
7627
7628         * Makefile.in (dfp-filenames): Replace decimal_globals,
7629         decimal_data, binarydecimal and convert_data with
7630         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
7631         and bid_convert_data, respectively.
7632
7633 2007-09-17  Chao-ying Fu  <fu@mips.com>
7634             Nigel Stephens  <nigel@mips.com>
7635
7636         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
7637         * Makefile.in (fixed_point): Define.
7638         Check if fixed_point is yes to build support functions.
7639         * configure.ac: Check for fixed_point support.
7640         * configure: Regenerated.
7641         * gen-fixed.sh: New file to generate lists of fixed-point labels,
7642         funcs, modes, from, to.
7643
7644 2007-09-11  Janis Johnson  <janis187@us.ibm.com
7645
7646         * Makefile.in (dfp-filenames): Add bid128_noncomp.
7647
7648 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
7649
7650         * Makefile.in (dfp-filenames): Remove decUtility, add
7651         decDouble, decPacked, decQuad, decSingle.
7652
7653 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
7654
7655         * config.host : Add x86_64-elf target.
7656
7657 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
7658
7659         * configure.ac (set_have_cc_tls): Add a missing =.
7660         * configure: Regenerated.
7661
7662 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
7663
7664         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
7665         and x86_64-*-linux*.
7666
7667         * config/t-tls: New file.
7668
7669         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
7670
7671         * configure.ac: Include ../config/enable.m4 and
7672         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
7673         supports TLS and substitute set_have_cc_tls.
7674         * configure: Regenerated.
7675
7676 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
7677
7678         * Makefile.in: Use libbid for DFP when BID is enabled.
7679
7680 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
7681
7682         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
7683         extra_parts. Add config/i386/t-cygming to tmake_file.
7684         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
7685
7686 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
7687             Danny Smith  <dannysmith@users.sourceforge.net>
7688
7689         PR target/29498
7690         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
7691         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
7692         * config/i386/t-crtfm: Compile crtfastmath.o with
7693         -minline-all-stringops.
7694
7695 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
7696
7697         * config.host (sparc-wrs-vxworks): New target.
7698
7699 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
7700
7701         * config.host: Recognize fido.
7702
7703 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
7704
7705         * configure: Check host, not target, for decimal float support.
7706
7707 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
7708
7709         * config/i386/t-crtpc: New file.
7710         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
7711         (x86_64-*-linux*): Ditto.
7712
7713 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
7714
7715         * config.host (x86_64-*-mingw*): New target.
7716
7717 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
7718             H.J. Lu  <hongjiu.lu@intel.com>
7719
7720         * Makefile.in (enable_decimal_float): New.
7721         (DECNUMINC): Add
7722         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
7723         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
7724         (decbits-filenames): This.
7725         (decbits-objects): New.
7726         (libgcc-objects): Add $(decbits-objects).
7727
7728         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
7729         Substitute enable_decimal_float.
7730         * configure: Regenerated.
7731
7732 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
7733
7734         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
7735
7736 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
7737
7738         * Makefile.in (install-info): New dummy target.
7739
7740 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
7741
7742         * config.host (bfin*-linux-uclibc*): Set extra_parts.
7743
7744 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
7745
7746         * Makefile.in: Add install-html and install-pdf dummy
7747         targets.
7748
7749 2007-02-05  Roger Sayle  <roger@eyesopen.com>
7750             Daniel Jacobowitz  <dan@codesourcery.com>
7751
7752         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
7753         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
7754         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
7755
7756 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
7757
7758         * Makefile.in (dec-filenames): Add decExcept.
7759
7760 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
7761
7762         PR bootstrap/30469
7763         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
7764         -fprofile-use.
7765
7766 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
7767
7768         * configure.ac: Add --enable-version-specific-runtime-libs.
7769         Correct $slibdir default.
7770         * configure: Regenerated.
7771
7772 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
7773
7774         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
7775
7776 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
7777
7778         PR target/30519
7779         * config.host (alpha*-*-linux*): Set extra_parts.
7780
7781 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
7782
7783         * config/sh/t-linux: New.
7784         * config.host (sh*-*-linux*): Set tmake_file.
7785
7786 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
7787
7788         * Makefile.in (install): Handle multilibs.
7789
7790 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
7791
7792         * Makefile.in: Added .PHONY entry for documentation targets.
7793
7794 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
7795
7796         * Makefile.in: Add empty info, html, dvi, pdf targets.
7797
7798 2007-01-04  Mike Stump  <mrs@apple.com>
7799
7800         * Makefile.in (MAKEINFO): Remove.
7801         (PERL): Likewise.
7802
7803 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
7804
7805         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
7806         * configure: Regenerate.
7807         * Makefile.in (host_subdir): Substitute it.
7808         (gcc_objdir): Use it.
7809
7810 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
7811
7812         * config.host (ia64*-*-linux*): Set tmake_file.
7813
7814 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
7815
7816         * Makefile.in (version): Define.
7817
7818 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
7819             Paolo Bonzini  <bonzini@gnu.org>
7820
7821         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
7822         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
7823         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
7824         config/sparc/t-crtfm, config/t-slibgcc-darwin,
7825         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
7826         shared-object.mk, siditi-object.mk, static-object.mk: New files.
7827         * configure: Generated.
7828 \f
7829 Copyright (C) 2007-2016 Free Software Foundation, Inc.
7830
7831 Copying and distribution of this file, with or without modification,
7832 are permitted in any medium without royalty provided the copyright
7833 notice and this notice are preserved.