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