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