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