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