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