1 2016-12-12 George Spelvin <linux@sciencehorizons.net>
3 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
5 2016-12-12 George Spelvin <linux@sciencehorizons.net>
7 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
8 R16 instead of push + pop.
9 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
11 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
13 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
16 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
18 * config.host (arc*-*-linux-uclibc*): Use default extra
19 objects. Include linux-android header.
20 * config/arc/crti.S (_init): Declare symbol as function.
23 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
26 * config/i386/cpuinfo.c: Move denums for processor vendors,
27 processor type, processor subtypes and declaration of
28 struct __processor_model into
29 * config/i386/cpuinfo.h: New header file.
31 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
32 Thomas Preud'homme <thomas.preudhomme@arm.com>
34 * config/arm/cmse_nonsecure_call.S: New.
35 * config/arm/t-arm: Compile cmse_nonsecure_call.S
37 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
38 Thomas Preud'homme <thomas.preudhomme@arm.com>
40 * config/arm/t-arm (HAVE_CMSE): New.
41 * config/arm/cmse.c: New.
43 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
46 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
47 use generic linker version information on Blackfin.
50 * libgcc/mkmap-symver.awk: add support for skip_underscore
52 2016-11-27 Iain Sandoe <iain@codesourcery.com>
53 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
56 * config/t-darwin: Default builds to 10.5 codegen.
58 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
60 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
61 (_FP_NANSIGN_H): Likewise.
62 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
63 (softfp_truncations): Add tfhf.
64 (softfp_extras): Add required conversion functions.
66 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
67 Matthew Wahab <matthew.wahab@arm.com>
69 * config/arm/fp16.c (binary64): New.
70 (__gnu_d2h_internal): New.
71 (__gnu_d2h_ieee): New.
72 (__gnu_d2h_alternative): New.
74 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
75 Matthew Wahab <matthew.wahab@arm.com>
77 * config/arm/fp16.c (struct format): New.
79 (__gnu_float2h_internal): New. Body moved from
80 __gnu_f2h_internal and generalize.
81 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
82 Call it with binary32.
84 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
86 * soft-fp/extendhftf2.c: Update from glibc.
87 * soft-fp/fixhfti.c: Likewise.
88 * soft-fp/fixunshfti.c: Likewise.
89 * soft-fp/floattihf.c: Likewise.
90 * soft-fp/floatuntihf.c: Likewise.
91 * soft-fp/half.h: Likewise.
92 * soft-fp/trunctfhf2.c: Likewise.
94 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
97 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
98 __TMC_END__ behind a passthrough asm.
100 2016-11-18 Walter Lee <walt@tilera.com>
102 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
104 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
106 * config/i386/cpuinfo.c (processor_features): Add
107 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
109 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
111 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
112 (__ARC_NORM__): Use instead ARC_OPTFPE.
113 * config/arc/fp-hack.h: Likewise.
114 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
115 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
117 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
119 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
120 * config/nvptx/mgomp.c: New file.
121 * config/nvptx/t-nvptx: Add mgomp.c
123 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
126 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
128 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
130 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
131 of checking for cpus.
132 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
133 (__modsi3, __clzsi2): Likewise.
135 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
137 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
138 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
139 * config/i386/t-cpuinfo-static: New.
141 2016-11-03 Martin Liska <mliska@suse.cz>
143 * libgcov-profiler.c (__gcov_time_profiler): Remove.
144 (__gcov_time_profiler_atomic): Likewise.
146 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
149 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
152 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
154 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
155 * libgcc2.c (__divmoddi4): New function.
156 * libgcc2.h (__divmoddi4): Declare.
157 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
160 2016-10-24 Florian Weimer <fweimer@redhat.com>
163 * unwind-c.c: Include auto-target.h.
165 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
167 * config/pa/pa64-hpux-lib.h: New file.
168 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
169 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
170 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
173 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
175 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
177 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
179 * config/xtensa/t-windowed (LIB2ADDEH): Use
180 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
183 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
185 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
186 __ieee754_sqrt): New functions.
187 (__divdf3): Add implementation with new FPU instructions under
188 #if XCHAL_HAVE_DFP_DIV.
189 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
190 __ieee754_sqrtf): New functions.
191 (__divsf3): Add implementation with new FPU instructions under
192 #if XCHAL_HAVE_FP_DIV.
193 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
194 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
196 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
198 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
200 * config/tilepro/atomic.c: Likewise and stop casting model to
203 2016-10-10 Joseph Myers <joseph@codesourcery.com>
206 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
209 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
211 * config.host: Add support for aarch64-*-freebsd*.
213 2016-10-05 Andreas Schwab <schwab@suse.de>
215 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
216 (.section .init_array): Don't call __do_jv_register_classes.
217 (.section .init): Likewise.
219 2016-10-04 Jakub Jelinek <jakub@redhat.com>
221 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
222 (__JCR_LIST__): Remove.
223 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
224 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
225 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
226 * config/ia64/crtend.S (__JCR_END__): Remove.
227 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
229 (__JCR_LIST__, __JCR_END__): Remove.
230 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
231 (__do_global_ctors_1): Likewise.
233 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
235 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
236 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
238 2016-09-27 Martin Liska <mliska@suse.cz>
241 PR gcov-profile/16855
242 PR gcov-profile/44779
243 * libgcov-driver.c (__gcov_init): Do not register a atexit
245 (__gcov_exit): Rename from gcov_exit.
246 * libgcov.h (__gcov_exit): Declare.
248 2016-09-27 Martin Liska <mliska@suse.cz>
251 * Makefile.in: Remove _gcov_merge_delta.
252 * libgcov-merge.c (void __gcov_merge_delta): Remove.
253 * libgcov-util.c (__gcov_delta_counter_op): Remove.
254 * libgcov.h: Remove declaration of __gcov_merge_delta.
256 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
258 * configure.ac: Do not create links, only substitute the filenames.
259 * configure: Regenerate.
260 * Makefile.in: Assign the substitution results to variables.
261 (LIBGCC_LINKS): Define.
262 (enable-execute-stack.c): New rule.
263 (unwind.h): Likewise.
264 (md-unwind-support.h): Likewise.
265 (sfp-machine.h): Likewise.
266 (gthr-default.h): Likewise.
267 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
268 unwind.h as prerequisite of install-unwind_h-forbuild.
270 2016-09-16 Jakub Jelinek <jakub@redhat.com>
273 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
274 is not the primary registry and atomics are available.
275 (any_objects_registered): New variable.
276 (__register_frame_info_bases, __register_frame_info_table_bases):
277 Atomically store 1 to any_objects_registered after registering first
279 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
281 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
284 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
285 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
288 (__divhc3): Likewise.
289 (__mulhc3): Likewise.
290 * libgcc2.c: Support _mulhc3 and _divhc3.
292 2016-09-07 Joseph Myers <joseph@codesourcery.com>
295 * libgcc2.c (NOTRUNC): Invert settings.
297 2016-09-06 Martin Liska <mliska@suse.cz>
299 PR gcov-profile/77378
300 PR gcov-profile/77466
301 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
302 conditionaly enable/disable *_atomic functions.
304 2016-08-26 Joseph Myers <joseph@codesourcery.com>
306 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
307 where not already enabled.
309 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
311 * config/mips/linux-unwind.h: Use sys/syscall.h.
313 2016-08-16 Joseph Myers <joseph@codesourcery.com>
316 * soft-fp/adddf3.c: Update from glibc.
317 * soft-fp/addsf3.c: Likewise.
318 * soft-fp/addtf3.c: Likewise.
319 * soft-fp/divdf3.c: Likewise.
320 * soft-fp/divsf3.c: Likewise.
321 * soft-fp/divtf3.c: Likewise.
322 * soft-fp/double.h: Likewise.
323 * soft-fp/eqdf2.c: Likewise.
324 * soft-fp/eqsf2.c: Likewise.
325 * soft-fp/eqtf2.c: Likewise.
326 * soft-fp/extenddftf2.c: Likewise.
327 * soft-fp/extended.h: Likewise.
328 * soft-fp/extendsfdf2.c: Likewise.
329 * soft-fp/extendsftf2.c: Likewise.
330 * soft-fp/extendxftf2.c: Likewise.
331 * soft-fp/fixdfdi.c: Likewise.
332 * soft-fp/fixdfsi.c: Likewise.
333 * soft-fp/fixdfti.c: Likewise.
334 * soft-fp/fixsfdi.c: Likewise.
335 * soft-fp/fixsfsi.c: Likewise.
336 * soft-fp/fixsfti.c: Likewise.
337 * soft-fp/fixtfdi.c: Likewise.
338 * soft-fp/fixtfsi.c: Likewise.
339 * soft-fp/fixtfti.c: Likewise.
340 * soft-fp/fixunsdfdi.c: Likewise.
341 * soft-fp/fixunsdfsi.c: Likewise.
342 * soft-fp/fixunsdfti.c: Likewise.
343 * soft-fp/fixunssfdi.c: Likewise.
344 * soft-fp/fixunssfsi.c: Likewise.
345 * soft-fp/fixunssfti.c: Likewise.
346 * soft-fp/fixunstfdi.c: Likewise.
347 * soft-fp/fixunstfsi.c: Likewise.
348 * soft-fp/fixunstfti.c: Likewise.
349 * soft-fp/floatdidf.c: Likewise.
350 * soft-fp/floatdisf.c: Likewise.
351 * soft-fp/floatditf.c: Likewise.
352 * soft-fp/floatsidf.c: Likewise.
353 * soft-fp/floatsisf.c: Likewise.
354 * soft-fp/floatsitf.c: Likewise.
355 * soft-fp/floattidf.c: Likewise.
356 * soft-fp/floattisf.c: Likewise.
357 * soft-fp/floattitf.c: Likewise.
358 * soft-fp/floatundidf.c: Likewise.
359 * soft-fp/floatundisf.c: Likewise.
360 * soft-fp/floatunditf.c: Likewise.
361 * soft-fp/floatunsidf.c: Likewise.
362 * soft-fp/floatunsisf.c: Likewise.
363 * soft-fp/floatunsitf.c: Likewise.
364 * soft-fp/floatuntidf.c: Likewise.
365 * soft-fp/floatuntisf.c: Likewise.
366 * soft-fp/floatuntitf.c: Likewise.
367 * soft-fp/gedf2.c: Likewise.
368 * soft-fp/gesf2.c: Likewise.
369 * soft-fp/getf2.c: Likewise.
370 * soft-fp/ledf2.c: Likewise.
371 * soft-fp/lesf2.c: Likewise.
372 * soft-fp/letf2.c: Likewise.
373 * soft-fp/muldf3.c: Likewise.
374 * soft-fp/mulsf3.c: Likewise.
375 * soft-fp/multf3.c: Likewise.
376 * soft-fp/negdf2.c: Likewise.
377 * soft-fp/negsf2.c: Likewise.
378 * soft-fp/negtf2.c: Likewise.
379 * soft-fp/op-1.h: Likewise.
380 * soft-fp/op-2.h: Likewise.
381 * soft-fp/op-4.h: Likewise.
382 * soft-fp/op-8.h: Likewise.
383 * soft-fp/op-common.h: Likewise.
384 * soft-fp/quad.h: Likewise.
385 * soft-fp/single.h: Likewise.
386 * soft-fp/soft-fp.h: Likewise.
387 * soft-fp/subdf3.c: Likewise.
388 * soft-fp/subsf3.c: Likewise.
389 * soft-fp/subtf3.c: Likewise.
390 * soft-fp/truncdfsf2.c: Likewise.
391 * soft-fp/trunctfdf2.c: Likewise.
392 * soft-fp/trunctfsf2.c: Likewise.
393 * soft-fp/trunctfxf2.c: Likewise.
394 * soft-fp/unorddf2.c: Likewise.
395 * soft-fp/unordsf2.c: Likewise.
396 * soft-fp/unordtf2.c: Likewise.
398 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
400 PR gcov-profile/67097
401 * libgcov-util.c (gcov_profile_merge): Skip missing files.
403 2016-08-10 Martin Liska <mliska@suse.cz>
405 PR gcov-profile/58306
406 * Makefile.in: New functions (modules) are added.
407 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
409 (__gcov_pow2_profiler_atomic): New function.
410 (__gcov_one_value_profiler_body): New argument is instroduced.
411 (__gcov_one_value_profiler): Call with the new argument.
412 (__gcov_one_value_profiler_atomic): Likewise.
413 (__gcov_indirect_call_profiler_v2): Likewise.
414 (__gcov_time_profiler_atomic): New function.
415 (__gcov_average_profiler_atomic): Likewise.
416 (__gcov_ior_profiler_atomic): Likewise.
417 * libgcov.h: Declare the aforementioned functions.
419 2016-08-09 Martin Liska <mliska@suse.cz>
421 * libgcov-util.c: Fix typo and GNU coding style.
423 2016-08-09 Martin Liska <mliska@suse.cz>
425 * Makefile.in: Remove __gcov_indirect_call_profiler.
426 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
428 * libgcov.h: And the declaration of the function.
430 2016-08-09 Martin Liska <mliska@suse.cz>
432 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
435 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
437 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
438 * config/rs6000/_mulkc3.c: Likewise.
440 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
442 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
443 zero_reg as previous call to __umulhisi3 already cleared it.
445 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
448 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
450 2016-07-19 Nick Clifton <nickc@redhat.com>
452 * config.host (m32r): Add m32r/t-m32r to tmake_file.
453 Add crtinit.o and crtfini.o to extra_parts.
455 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
457 * config/rs6000/_divkc3.c: New.
458 * config/rs6000/_mulkc3.c: New.
459 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
461 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
464 2016-07-11 Hale Wang <hale.wang@arm.com>
465 Andre Vieira <andre.simoesdiasvieira@arm.com>
467 * config/arm/lib1funcs.S: Add new wrapper.
469 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
471 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
473 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
475 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
476 and ARMv5t* rather than for a fixed list of architectures.
478 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
480 * config/arm/bpabi-v6m.S: Clarify what architectures is the
481 implementation suitable for.
482 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
483 for all Thumb-1 only targets.
484 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
485 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
488 (ARM_FUNC_ALIAS): Likewise.
489 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
492 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
495 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
496 __ARM_ARCH_6M__ in guard for checking whether it is defined.
497 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
498 __ARM_ARCH_6M__ and add comment to indicate the connection between
499 this condition and the one in gcc/config/arm/elf.h.
500 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
501 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
502 * config/arm/t-softfp: Likewise.
504 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
506 * libgcc2.c (SYMBOL__MAIN): Remove checks for
507 CTOR_LISTS_DEFINED_EXTERNALLY.
509 2016-06-28 Walter Lee <walt@tilera.com>
511 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
513 (SPR_CMPEXCH_VALUE): Define for tilegx.
514 (__NR_FAST_cmpxchg): Define for tilepro.
515 (__NR_FAST_atomic_update): Define for tilepro.
516 (__NR_FAST_cmpxchg64): Define for tilepro.
518 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
520 * config.host: Add suport for arm*-*-phoenix* targets.
522 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
524 * config.host: Remove support for mep-*.
525 * config/mep/lib1funcs.S: Remove.
526 * config/mep/lib2funcs.c: Remove.
527 * config/mep/t-mep: Remove.
528 * config/mep/tramp.c: Remove.
530 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
532 * config.host: Remove support for avr-rtems.
533 * config/avr/t-rtems: Remove.
535 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
537 * config.host: Remove m32r-rtems support.
539 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
541 * config.host: Remove h8300-rtems support.
543 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
545 * config.host: Remove support for knetbsd.
547 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
549 * config.host: Remove support for openbsd 2 and 3.
551 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
553 * config.host: Remove interix support.
554 * config/i386/t-interix: Remove.
556 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
558 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
559 least-significant bit in function pointer for fixup.
561 2016-06-05 Aaron Conole <aconole@redhat.com>
562 Nathan Sidwell <nathan@acm.org>
565 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
566 (get_gcov_error_file): Check __gcov_error_file before trying to
568 (gcov_error): Always use get_gcov_error_file.
570 2016-06-02 Aaron Conole <aconole@redhat.com>
572 * libgcov-driver-system.c (__gcov_error_file): New.
573 (get_gcov_error_file): New.
574 (gcov_error): Use and set __gcov_error_file.
575 (gcov_error_exit): New.
576 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
578 2016-05-26 Nathan Sidwell <nathan@acm.org>
580 * config/nvptx/free.asm: Delete.
581 * config/nvptx/malloc.asm: Delete.
582 * config/nvptx/realloc.c: Delete.
585 2016-05-25 Nathan Sidwell <nathan@acm.org>
587 * config/nvptx/crt0.s: Delete.
588 * config/nvptx/crt0.c: New.
591 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
593 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
594 dw2/seh configuration.
595 [x86_64-*-mingw*]: Likewise.
597 2016-05-10 Joel Sherrill <joel@rtems.org>
600 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
601 targets so the same extra_parts are built. Also have tmake_file add
602 on to its value rather than override.
604 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
606 * config.host: Remove SH5 support.
607 * configure: Likewise.
609 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
611 * config/sh/crt1.S: Remove SH5 support.
612 * config/sh/crti.S: Likewise.
613 * config/sh/crtn.S: Likewise.
614 * config/sh/lib1funcs-4-300.S: Likewise.
615 * config/sh/lib1funcs-Os-4-200.S: Likewise.
616 * config/sh/lib1funcs.S: Likewise.
617 * config/sh/linux-unwind.h: Likewise.
618 * config/sh/t-sh64: Delete.
620 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
622 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
624 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
625 Joern Rennecke <joern.rennecke@embecosm.com>
627 * config/arc/crttls.S: New file.
628 * config/arc/t-arc: New rule.
629 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
631 2016-04-25 Nick Clifton <nickc@redhat.com>
633 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
634 (__mspabi_cmpd): Likewise.
635 * config/msp430/floathidf.c (__floathidf): Likewise.
636 * config/msp430/floathisf.c (__floathisf): Likewise
637 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
638 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
639 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
641 (__ashrsi3): Likewise.
643 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
645 * config/m68k/linux-atomic.c: Do not include unistd.h
647 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
649 * config/arm/ieee754-df.S: Fix typos in comments.
651 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
654 * configure.ac (powerpc*-*-linux*): Rework tests to build
655 __float128 emulation routines to not depend on using #pragma GCC
656 target to enable -mfloat128.
657 * configure: Regnerate.
659 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
662 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
663 __MINGW32__ is defined.
665 2016-03-28 James Bowman <james.bowman@ftdichip.com>
667 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
669 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
672 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
673 built with an assembler that does not support ISA 3.0
674 instructions, rename __extendkftf2_sw to __extendkftf2.
676 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
679 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
680 call-clobbered registers.
681 (internal_mcount): Remove __i386__ handling.
683 2016-02-26 Joel Sherrill <joel@rtems.org>
685 * config.host: Add x86_64-*-rtems*.
687 2016-02-26 Joel Sherrill <joel@rtems.org>
689 * libgcc/config.host: Add aarch64-*-rtems*.
691 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
692 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
694 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
695 union of u64 and double.
696 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
697 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
699 (FP_ROUNDMODE): Update the usage of _fpscr.
701 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
704 * Makefile.in (crtoffloadtable$(objext)): New rule.
705 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
706 enable_offload_targets is not empty.
707 * configure: Regenerate.
708 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
711 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
713 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
714 .literal_position before the function.
715 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
718 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
720 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
721 * config/s390/morestack.S: New file.
722 * config/s390/t-stack-s390: New file.
723 * generic-morestack.c (__splitstack_find): Add s390-specific code.
725 2016-02-12 Walter Lee <walt@tilera.com>
727 * config.host (tilegx*-*-linux*): remove ti from
728 softfp_int_modes for 32-bit configs.
730 2016-02-10 Ian Lance Taylor <iant@google.com>
733 * config/i386/morestack.S (__stack_split_initialize): Align
736 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
739 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
740 __FLOAT128__ to compile only for __float128 capable targets.
742 2016-01-25 Jakub Jelinek <jakub@redhat.com>
745 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
746 instead of ___NO_FPRS__.
748 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
749 Steven Munroe <munroesj@linux.vnet.ibm.com>
750 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
752 * config/rs6000/float128-sed: New files to convert TF names to KF
753 names for PowerPC IEEE 128-bit floating point support.
754 * config/rs6000/float128-sed-hw: Likewise.
756 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
757 floating point hardware support.
759 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
760 128-bit floating point software emulation or use ISA 3.0 hardware
761 support if it is available.
763 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
766 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
767 floating point to IBM extended double.
769 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
770 double to IEEE 128-bit floating point.
772 * config/rs6000/t-float128: New Makefile fragments to enable
773 building __float128 emulation support.
774 * config/rs6000/t-float128-hw: Likewise.
776 * config/rs6000/sfp-exceptions.c: New file to provide exception
777 support for IEEE 128-bit floating point.
779 * config/rs6000/floattikf.c: New files for converting between IEEE
780 128-bit floating point and signed/unsigned 128-bit integers.
781 * config/rs6000/fixunskfti.c: Likewise.
782 * config/rs6000/fixkfti.c: Likewise.
783 * config/rs6000/floatuntikf.c: Likewise.
785 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
786 when building on 64-bit systems, or when VSX is enabled.
787 (_FP_W_TYPE): Likewise.
788 (_FP_WS_TYPE): Likewise.
789 (_FP_I_TYPE): Likewise.
790 (TItype): Define on 64-bit systems.
793 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
794 (_FP_MUL_MEAT_Q): Likewise.
795 (_FP_DIV_MEAT_D): Likewise.
796 (_FP_DIV_MEAT_Q): Likewise.
797 (_FP_NANFRAC_D): Likewise.
798 (_FP_NANFRAC_Q): Likewise.
799 (ISA_BIT): Add exception support if we are being compiled on a
800 machine with hardware floating point support to build the IEEE
801 128-bit emulation functions.
802 (FP_EX_INVALID): Likewise.
803 (FP_EX_OVERFLOW): Likewise.
804 (FP_EX_UNDERFLOW): Likewise.
805 (FP_EX_DIVZERO): Likewise.
806 (FP_EX_INEXACT): Likewise.
807 (FP_EX_ALL): Likewise.
808 (__sfp_handle_exceptions): Likewise.
809 (FP_HANDLE_EXCEPTIONS): Likewise.
810 (FP_RND_NEAREST): Likewise.
811 (FP_RND_ZERO): Likewise.
812 (FP_RND_PINF): Likewise.
813 (FP_RND_MINF): Likewise.
814 (FP_RND_MASK): Likewise.
815 (_FP_DECL_EX): Likewise.
816 (FP_INIT_ROUNDMODE): Likewise.
817 (FP_ROUNDMODE): Likewise.
819 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
820 VSX code, enable IEEE 128-bit floating point. If the compiler can
821 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
822 floating point hardware instructions and it supports declaring
823 functions with the ifunc attribute, enable ifunc functions to
824 switch between software and hardware support.
825 * configure.ac (powerpc*-*-linux*): Likewise.
826 * configure: Regenerate.
828 2016-01-15 Nick Clifton <nickc@redhat.com>
830 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
831 dependency as the source file to be compiled.
832 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
833 (lib2hw_mul_f5.o): Likewise.
835 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
837 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
838 * libgcc/config/rs6000/fixkfti.c: Likewise.
839 * libgcc/config/rs6000/fixunskfti.c: Likewise.
840 * libgcc/config/rs6000/float128-hw.c: Likewise.
841 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
842 * libgcc/config/rs6000/float128-sed: Likewise.
843 * libgcc/config/rs6000/floattikf.c: Likewise.
844 * libgcc/config/rs6000/floatuntikf.c: Likewise.
845 * libgcc/config/rs6000/quad-float128.h: Likewise.
846 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
847 * libgcc/config/rs6000/sfp-machine.h: Likewise.
848 * libgcc/config/rs6000/t-float128: Likewise.
849 * libgcc/config/rs6000/t-float128-hw: Likewise.
850 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
851 * libgcc/config.host: Likewise.
852 * libgcc/configure: Likewise.
853 * libgcc/configure.ac: Likewise.
855 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
856 Steven Munroe <munroesj@linux.vnet.ibm.com>
857 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
859 * config/rs6000/sfp-exceptions.c: New file to provide exception
860 support for IEEE 128-bit floating point.
862 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
863 floating point hardware support.
865 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
867 * config/rs6000/fixunskfti.c: Likewise.
868 * config/rs6000/fixkfti.c: Likewise.
869 * config/rs6000/floatuntikf.c: Likewise.
870 * config/rs6000/extendkftf2-sw.c: Likewise.
871 * config/rs6000/trunctfkf2-sw.c: Likewise.
873 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
874 128-bit floating point software emulation or use ISA 3.0 hardware
875 support if it is available.
877 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
880 * config/rs6000/t-float128: New Makefile fragments to enable
881 building __float128 emulation support.
882 * config/rs6000/t-float128-hw: Likewise.
884 * config/rs6000/float128-sed: New file to convert TF names to KF
885 names for PowerPC IEEE 128-bit floating point support.
887 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
888 when building on 64-bit systems, or when VSX is enabled.
889 (_FP_W_TYPE): Likewise.
890 (_FP_WS_TYPE): Likewise.
891 (_FP_I_TYPE): Likewise.
892 (TItype): Define on 64-bit systems.
895 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
896 (_FP_MUL_MEAT_Q): Likewise.
897 (_FP_DIV_MEAT_D): Likewise.
898 (_FP_DIV_MEAT_Q): Likewise.
899 (_FP_NANFRAC_D): Likewise.
900 (_FP_NANFRAC_Q): Likewise.
901 (ISA_BIT): Add exception support if we are being compiled on a
902 machine with hardware floating point support to build the IEEE
903 128-bit emulation functions.
904 (FP_EX_INVALID): Likewise.
905 (FP_EX_OVERFLOW): Likewise.
906 (FP_EX_UNDERFLOW): Likewise.
907 (FP_EX_DIVZERO): Likewise.
908 (FP_EX_INEXACT): Likewise.
909 (FP_EX_ALL): Likewise.
910 (__sfp_handle_exceptions): Likewise.
911 (FP_HANDLE_EXCEPTIONS): Likewise.
912 (FP_RND_NEAREST): Likewise.
913 (FP_RND_ZERO): Likewise.
914 (FP_RND_PINF): Likewise.
915 (FP_RND_MINF): Likewise.
916 (FP_RND_MASK): Likewise.
917 (_FP_DECL_EX): Likewise.
918 (FP_INIT_ROUNDMODE): Likewise.
919 (FP_ROUNDMODE): Likewise.
921 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
922 compiler can do __float128.
923 * configure: Regenerate.
925 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
926 VSX code, enable IEEE 128-bit floating point.
928 2016-01-05 Olivier Hainque <hainque@adacore.com>
930 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
933 2016-01-04 Jakub Jelinek <jakub@redhat.com>
935 Update copyright years.
937 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
939 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
942 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
944 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
945 instead of abort to avoid dependency on stdlib.h.
947 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
949 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
950 to initialize call to __dl_fixup once.
952 2015-12-04 Nick Clifton <nickc@redhat.com>
954 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
955 Allow for the second argument being negative.
956 * config.host (extra_parts): Define for MSP430. Create separate
957 libraries for each of the hardware multiply formats.
958 * config/msp430/lib2hw_mul.S: Build only the multiply routines
960 * config/msp430/lib2mul.c: Likewise.
961 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
962 Add rules to build hardware multiply libraries.
963 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
964 __mspabi_divul function.
965 (__mspabi_divllu): New stub function.
967 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
969 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
970 fixup values if saved GOT address doesn't match runtime address.
971 (fixup_branch_offset): Reorder list.
973 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
975 * Makefile.in (VTV_CFLAGS): New variable.
976 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
977 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
978 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
979 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
980 to extra_parts if $enable_vtable_verify = yes.
982 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
985 * config/arm/linux-atomic-64bit.c (__write): Rename to...
986 (write): ...this and fix the return type.
988 2015-11-19 DJ Delorie <dj@redhat.com>
990 * config/msp430/lib2hw_mul.S: Fix alignment.
992 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
994 * config/nvptx/reduction.c: New.
995 * config/nvptx/t-nvptx (LIB2ADD): Add it.
997 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
999 * config/rs6000/on_exit.c: New file.
1000 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
1001 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
1003 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
1005 * config/arc/dp-hack.h: Add support for ARCHS.
1006 * config/arc/ieee-754/divdf3.S: Likewise.
1007 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1008 * config/arc/ieee-754/muldf3.S: Likewise.
1009 * config/arc/ieee-754/mulsf3.S: Likewise
1010 * config/arc/lib1funcs.S: Likewise
1011 * config/arc/gmon/dcache_linesz.S: Don't read the build register
1013 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
1015 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
1016 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
1019 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1021 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
1023 * config/ia64/crtend.S: Likewise.
1025 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1027 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
1028 __CHAR_BIT__ instead of BITS_PER_UNIT.
1029 * fixed-bit.h: Likewise.
1030 * fp-bit.h: Likewise.
1031 * libgcc2.c (__popcountSI2): Likewise.
1032 (__popcountDI2): Likewise.
1033 * libgcc2.h: Likewise.
1034 * libgcov.h: Likewise.
1036 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
1038 * config/rs6000/atexit.c: New file.
1039 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
1040 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
1041 * config/rs6000/cxa_finalize.c
1042 (catomic_compare_and_exchange_bool_acq): Negate return value.
1044 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
1046 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
1047 (processor_subtypes): Add znver1.
1048 (get_amd_cpu): Detect znver1.
1050 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
1052 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
1053 Include crtfastmath.o.
1055 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
1058 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1060 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
1062 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
1063 * config/rl78/divmodsi.S: Update return register to r8.
1064 * config/rl78/divmodhi.S: Update return register to r8,r9.
1065 Branch to main_loop_done_himode to pop registers before return.
1067 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
1069 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
1070 (__cpu_indicator_init): Fix model selection for AMD CPUs.
1072 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
1074 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
1076 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
1078 * config.host (xtensa*-*-uclinux*): New configuration.
1080 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
1082 * config/i386/cpuinfo.c (processor_features): Add
1083 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
1085 2015-09-28 Joseph Myers <joseph@codesourcery.com>
1087 * soft-fp/adddf3.c: Update from glibc.
1088 * soft-fp/addsf3.c: Likewise.
1089 * soft-fp/addtf3.c: Likewise.
1090 * soft-fp/divdf3.c: Likewise.
1091 * soft-fp/divsf3.c: Likewise.
1092 * soft-fp/divtf3.c: Likewise.
1093 * soft-fp/double.h: Likewise.
1094 * soft-fp/eqdf2.c: Likewise.
1095 * soft-fp/eqsf2.c: Likewise.
1096 * soft-fp/eqtf2.c: Likewise.
1097 * soft-fp/extenddftf2.c: Likewise.
1098 * soft-fp/extended.h: Likewise.
1099 * soft-fp/extendsfdf2.c: Likewise.
1100 * soft-fp/extendsftf2.c: Likewise.
1101 * soft-fp/extendxftf2.c: Likewise.
1102 * soft-fp/fixdfdi.c: Likewise.
1103 * soft-fp/fixdfsi.c: Likewise.
1104 * soft-fp/fixdfti.c: Likewise.
1105 * soft-fp/fixsfdi.c: Likewise.
1106 * soft-fp/fixsfsi.c: Likewise.
1107 * soft-fp/fixsfti.c: Likewise.
1108 * soft-fp/fixtfdi.c: Likewise.
1109 * soft-fp/fixtfsi.c: Likewise.
1110 * soft-fp/fixtfti.c: Likewise.
1111 * soft-fp/fixunsdfdi.c: Likewise.
1112 * soft-fp/fixunsdfsi.c: Likewise.
1113 * soft-fp/fixunsdfti.c: Likewise.
1114 * soft-fp/fixunssfdi.c: Likewise.
1115 * soft-fp/fixunssfsi.c: Likewise.
1116 * soft-fp/fixunssfti.c: Likewise.
1117 * soft-fp/fixunstfdi.c: Likewise.
1118 * soft-fp/fixunstfsi.c: Likewise.
1119 * soft-fp/fixunstfti.c: Likewise.
1120 * soft-fp/floatdidf.c: Likewise.
1121 * soft-fp/floatdisf.c: Likewise.
1122 * soft-fp/floatditf.c: Likewise.
1123 * soft-fp/floatsidf.c: Likewise.
1124 * soft-fp/floatsisf.c: Likewise.
1125 * soft-fp/floatsitf.c: Likewise.
1126 * soft-fp/floattidf.c: Likewise.
1127 * soft-fp/floattisf.c: Likewise.
1128 * soft-fp/floattitf.c: Likewise.
1129 * soft-fp/floatundidf.c: Likewise.
1130 * soft-fp/floatundisf.c: Likewise.
1131 * soft-fp/floatunditf.c: Likewise.
1132 * soft-fp/floatunsidf.c: Likewise.
1133 * soft-fp/floatunsisf.c: Likewise.
1134 * soft-fp/floatunsitf.c: Likewise.
1135 * soft-fp/floatuntidf.c: Likewise.
1136 * soft-fp/floatuntisf.c: Likewise.
1137 * soft-fp/floatuntitf.c: Likewise.
1138 * soft-fp/gedf2.c: Likewise.
1139 * soft-fp/gesf2.c: Likewise.
1140 * soft-fp/getf2.c: Likewise.
1141 * soft-fp/ledf2.c: Likewise.
1142 * soft-fp/lesf2.c: Likewise.
1143 * soft-fp/letf2.c: Likewise.
1144 * soft-fp/muldf3.c: Likewise.
1145 * soft-fp/mulsf3.c: Likewise.
1146 * soft-fp/multf3.c: Likewise.
1147 * soft-fp/negdf2.c: Likewise.
1148 * soft-fp/negsf2.c: Likewise.
1149 * soft-fp/negtf2.c: Likewise.
1150 * soft-fp/op-1.h: Likewise.
1151 * soft-fp/op-2.h: Likewise.
1152 * soft-fp/op-4.h: Likewise.
1153 * soft-fp/op-8.h: Likewise.
1154 * soft-fp/op-common.h: Likewise.
1155 * soft-fp/quad.h: Likewise.
1156 * soft-fp/single.h: Likewise.
1157 * soft-fp/soft-fp.h: Likewise.
1158 * soft-fp/subdf3.c: Likewise.
1159 * soft-fp/subsf3.c: Likewise.
1160 * soft-fp/subtf3.c: Likewise.
1161 * soft-fp/truncdfsf2.c: Likewise.
1162 * soft-fp/trunctfdf2.c: Likewise.
1163 * soft-fp/trunctfsf2.c: Likewise.
1164 * soft-fp/trunctfxf2.c: Likewise.
1165 * soft-fp/unorddf2.c: Likewise.
1166 * soft-fp/unordsf2.c: Likewise.
1167 * soft-fp/unordtf2.c: Likewise.
1169 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
1172 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
1174 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1176 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1177 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
1178 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
1180 (internal_mcount): Likewise.
1181 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
1182 crt_compile, add CRTSTUFF_T_CFLAGS_S.
1184 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1186 * configure.ac (libgcc_cv_solaris_crts): New test.
1187 * configure: Regenerate.
1188 * config.in: Regenerate.
1189 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
1190 * config/gmon-sol2.c: Rename to ...
1191 * config/sol2/gmon.c: ... this.
1192 Include auto-target.h.
1193 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
1194 * config/t-sol2: Rename to ...
1195 * config/sol2/t-sol2: ... this.
1196 (gmon.o): Reflect renaming.
1197 (crtp.o, crtpg.o): New rules.
1198 * config.host (*-*-solaris2*): Reflect renaming.
1199 Use system CRTs if present.
1200 Remove default CRT case.
1202 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
1204 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
1205 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
1207 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
1208 (__sync_val_compare_and_swap_##WIDTH): Likewise.
1209 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
1210 (__sync_lock_test_and_set_##WIDTH): Likewise.
1211 (__sync_lock_release_##WIDTH): Likewise.
1212 (__sync_fetch_and_##OP##_4): Change result to match type of
1214 (__sync_##OP##_and_fetch_4): Likewise.
1215 (__sync_val_compare_and_swap_4): Likewise.
1216 (__sync_bool_compare_and_swap_4): likewise.
1217 (__sync_lock_test_and_set_4): Likewise.
1218 (__sync_lock_release_4): Likewise.
1219 (FETCH_AND_OP_2): Add long long variants.
1220 (OP_AND_FETCH_2): Likewise.
1221 (COMPARE_AND_SWAP_2 ): Likewise.
1222 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1223 (SYNC_LOCK_RELEASE_2): Likewise.
1224 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
1226 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
1228 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
1229 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
1230 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
1231 (get_available_features): Habdle new features.
1233 2015-09-21 James Bowman <james.bowman@ftdichip.com>
1235 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
1236 memory layout. Deal correctly with BSS region larger than 32K.
1237 Handle a watchdog reset like a power-on reset. Clean up unused
1240 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
1241 David Edelsohn <dje.gcc@gmail.com>
1243 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
1244 * config/rs6000/crtdbase.S: New file.
1245 * config/rs6000/t-aix-cxa: Build crtdbase.o.
1247 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
1249 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1250 Add support for call0 ABI.
1252 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
1254 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
1256 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
1258 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
1259 (__GTHREAD_HAS_COND): Likewise.
1260 (__gthread_t): Likewise.
1261 (__gthread_cond_t): Likewise.
1262 (__gthread_time_t): Likewise.
1263 (__GTHREAD_MUTEX_INIT): Likewise.
1264 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
1265 (__GTHREAD_COND_INIT): Likewise.
1266 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
1267 (__GTHREAD_TIME_INIT): Likewise.
1268 (__gthread_create): Likewise.
1269 (__gthread_join): Likewise.
1270 (__gthread_detach): Likewise.
1271 (__gthread_equal): Likewise.
1272 (__gthread_self): Likewise.
1273 (__gthread_yield): Likewise.
1274 (__gthread_cond_broadcast): Likewise.
1275 (__gthread_cond_signal): Likewise.
1276 (__gthread_cond_wait): Likewise.
1277 (__gthread_cond_timedwait): Likewise.
1278 (__gthread_cond_wait_recursive): Likewise.
1279 (__gthread_cond_destroy): Likewise.
1280 (rtems_gxx_once): Delete.
1281 (rtems_gxx_key_create): Likewise.
1282 (rtems_gxx_key_delete): Likewise.
1283 (rtems_gxx_getspecific): Likewise.
1284 (rtems_gxx_setspecific): Likewise.
1285 (rtems_gxx_mutex_init): Likewise.
1286 (rtems_gxx_mutex_destroy): Likewise.
1287 (rtems_gxx_mutex_lock): Likewise.
1288 (rtems_gxx_mutex_trylock): Likewise.
1289 (rtems_gxx_mutex_unlock): Likewise.
1290 (rtems_gxx_recursive_mutex_init): Likewise.
1291 (rtems_gxx_recursive_mutex_lock): Likewise.
1292 (rtems_gxx_recursive_mutex_trylock): Likewise.
1293 (rtems_gxx_recursive_mutex_unlock): Likewise.
1294 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
1295 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
1296 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
1297 (__gthread_once): Likewise.
1298 (__gthread_key_create): Likewise.
1299 (__gthread_key_delete): Likewise.
1300 (__gthread_getspecific): Likewise.
1301 (__gthread_setspecific): Likewise.
1302 (__gthread_key_t): Use <pthread.h> type.
1303 (__gthread_once_t): Likewise
1304 (__gthread_mutex_t): Use <sys/lock.h> type.
1305 (__gthread_recursive_mutex_t): Likewise
1306 (__gthread_mutex_lock): Use <sys/lock.h> function.
1307 (__gthread_mutex_trylock): Likewise.
1308 (__gthread_mutex_timedlock): Likewise.
1309 (__gthread_mutex_unlock): Likewise.
1310 (__gthread_mutex_destroy): Likewise.
1311 (__gthread_recursive_mutex_lock): Likewise.
1312 (__gthread_recursive_mutex_trylock): Likewise.
1313 (__gthread_recursive_mutex_timedlock): Likewise.
1314 (__gthread_recursive_mutex_unlock): Likewise.
1315 (__gthread_recursive_mutex_destroy): Likewise.
1317 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1319 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
1320 context->sp instead of context->cfa.
1322 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1324 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
1325 with unwind-dw2-fde-dip.
1327 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1329 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
1330 CALL12 followed by series of ENTRY to spill windowed registers.
1331 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
1332 instead of making linux spill syscall.
1334 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
1336 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
1337 (get_intel_cpu): Likewise.
1339 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
1341 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
1342 (get_intel_cpu): Add Knights Landing support.
1344 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
1347 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
1348 (get_available_features): Handle FEATURE_PCLMUL.
1350 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
1352 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
1355 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
1358 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
1359 (get_available_features): Handle FEATURE_AES.
1361 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
1363 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
1364 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
1366 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
1368 * offloadstuff.c: Constify host data.
1370 2015-07-17 Jan Beulich <jbeulich@suse.com>
1372 * config/t-softfp: Split up "else ifneq".
1374 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
1375 Cesar Philippidis <cesar@codesourcery.com>
1376 Chung-Lin Tang <cltang@codesourcery.com>
1378 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
1379 for __nios2_arch__ level.
1381 2015-07-13 John Marino <gnugcc@marino.st>
1383 * config/i386/t-dragonfly: New.
1385 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
1387 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
1388 better match light-weight syscall argument order.
1389 (__kernel_cmpxchg2): Likewise.
1392 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
1394 * config.host: Support i[34567]86-*-elfiamcu target.
1395 * config/t-softfp-sfdftf: New file.
1396 * config/i386/32/t-iamcu: Likewise.
1397 * configure: Regenerated.
1399 2015-06-23 James Lemke <jwlemke@codesourcery.com>
1402 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
1404 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
1406 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
1408 2015-05-27 John Marino <gnugcc@marino.st>
1410 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
1412 * config/i386/freebsd-unwind.h: New.
1414 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
1416 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
1417 i386/t-crtfm to tmake_file.
1418 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
1419 (set_fast_math): Use set_fast_math_sse for SSE targets.
1420 * config/i386/t-crtfm: Remove.
1422 2015-05-21 Alan Modra <amodra@gmail.com>
1425 * config/rs6000/morestack.S: Remove ".abiversion 1".
1427 2015-05-20 Alan Modra <amodra@gmail.com>
1429 * config/rs6000/morestack.S: New.
1430 * config/rs6000/t-stack-rs6000: New.
1431 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
1433 * generic-morestack.c: Don't build for powerpc 32-bit.
1435 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
1437 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
1438 Remove useless endif/ifneq ($(enable_shared),yes) pair.
1440 2015-05-16 James Bowman <james.bowman@ftdichip.com>
1442 * config.host: FT32 target added.
1443 * config/ft32/*: New files for FT32 target.
1445 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
1447 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
1449 * config/arm/ieee754-df.S: Add CFI directives.
1450 * config/arm/ieee754-sf.S: Add CFI directives.
1452 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
1454 * configure.ac: Include config/sjlj.m4.
1455 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
1456 * config.in: Regenerate.
1457 * configure: Likewise.
1458 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
1460 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
1462 * libgcov-util.c: Add space between string literal and macro name.
1464 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
1465 Chris Jones <chrisj@nvidia.com>
1466 Joshua Conner <jconner@nvidia.com>
1468 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
1469 (arm*-*-uclinux*): Likewise.
1470 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
1471 * config/arm/crtfastmath.c: New file.
1473 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
1475 * Makefile.in (real_host_noncanonical): New variable.
1476 (libsubdir): Use it.
1477 * configure.ac (real_host_noncanonical): Compute. Remove special
1478 case for intelmicemul.
1479 * configure: Regenerate.
1481 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
1483 * config/frv/elf-lib.h: New file.
1484 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
1485 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
1488 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
1490 * config/frv/frvbengin.c: Do not include defaults.h
1491 * config/frv/frvend.c: Ditto.
1493 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
1495 * config.host: Add h8300-*-linux
1496 * config/h8300/t-linux: New file.
1497 * config/h8300/lib1funs.s: Change symbol prefix.
1498 * config/h8300/sfp-machine.h: 64bit double support.
1500 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
1501 Szabolcs Nagy <szabolcs.nagy@arm.com>
1503 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
1504 Linux if target provides dl_iterate_phdr.
1506 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
1509 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
1510 * config/i386/cpuinfo.c (__cpu_model): Initialize.
1511 (__cpu_indicator_init@GCC_4.8.0): New.
1512 (__cpu_model@GCC_4.8.0): Likewise.
1513 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
1516 2015-04-16 Nick Clifton <nickc@redhat.com>
1518 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
1519 and __modhi3 functions.
1520 * config/rl78/divmodso.S: Add G14 and G13 versions of the
1521 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
1523 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
1525 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
1526 do-while loop as macro body to avoid warnings.
1528 2015-04-10 Jakub Jelinek <jakub@redhat.com>
1529 Iain Sandoe <iain@codesourcery.com>
1532 * configure: Regenerate.
1534 2015-04-07 Jakub Jelinek <jakub@redhat.com>
1535 Iain Sandoe <iain@codesourcery.com>
1538 * configure: Regenerate.
1540 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
1542 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
1544 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
1546 Implement call0 ABI for xtensa
1547 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
1548 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
1549 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
1550 use ret in call0 ABI.
1551 * config/xtensa/t-windowed: New file.
1552 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
1553 * libgcc/configure: Regenerated.
1554 * libgcc/configure.ac: Check if xtensa target is configured for
1555 windowed ABI and thus needs to use custom unwind code.
1557 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
1560 * gthr-single.h: Use __unused__ attribute instead of unused.
1561 * config/gthr-vxworks.h: Likewise.
1562 * config/i386/gthr-win32.h: Likewise.
1564 2015-02-27 Kai Tietz <ktietz@redhat.com>
1567 * config.in: Regenerated.
1568 * configure: Likewise.
1569 * configure.ac (AC_HEADER_STDC): Added explicit.
1570 (AC_CHECK_HEADERS): Check for default headers plus
1572 * libgcov-util.c (gcov_read_profile_dir): Disable use
1573 of ftw-function, if header is not found.
1574 (ftw_read_file): Likewise.
1576 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
1579 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
1582 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
1584 * config/arm/bpabi.S (test_div_by_zero): Make label names
1585 consistent between thumb2 and arm mode cases. Separate the
1586 signed comparison on the high word of the numerator from the
1587 unsigned comparison on the low word.
1588 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
1591 2015-02-17 Joseph Myers <joseph@codesourcery.com>
1593 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
1595 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
1597 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
1599 PR gcov-profile/61889
1600 * libgcov-driver-system.c: undefine clashing macro for mkdir.
1602 2015-02-02 Nick Clifton <nickc@redhat.com>
1604 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
1605 rounding up the fraction.
1607 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
1609 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
1610 oldval and newval to const void *. Fix typo.
1611 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
1612 (FETCH_AND_OP_WORD): Likewise.
1613 (OP_AND_FETCH_WORD): Likewise.
1614 (COMPARE_AND_SWAP_2): Likewise.
1615 (__sync_val_compare_and_swap_4): Likewise.
1616 (__sync_lock_test_and_set_4): Likewise.
1617 (SYNC_LOCK_RELEASE_2): Likewise.
1618 Remove support for long long atomic operations.
1620 2015-01-27 Caroline Tice <cmtice@google.com>
1622 Committing VTV Cywin/Ming patch for Patrick Wollgast
1623 * Makefile.in: Move rules to build vtv_*.o out of the check
1624 for CUSTOM_CRTSTUFF.
1625 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
1626 i[34567]86-*-mingw*)
1627 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
1628 enable_vtable_verify.
1630 2015-01-27 Nick Clifton <nickc@redhat.com>
1632 * config/rl78/cmpsi2.S: Use function start and end macros.
1633 (__gcc_bcmp): New function.
1634 * config/rl78/lshrsi3.S: Use function start and end macros.
1635 * config/rl78/mulsi3.S: Add support for G10.
1636 (__mulqi3): New function for G10.
1637 * config/rl78/signbit.S: Use function start and end macros.
1638 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
1640 (LIB2FUNCS_EXCLUDE): Define.
1641 (LIB2FUNCS_ST): Define.
1642 * config/rl78/trampoline.S: Use function start and end macros.
1643 * config/rl78/vregs.h (START_FUNC): New macro.
1644 (START_ANOTHER_FUNC): New macro.
1645 (END_FUNC): New macro.
1646 (END_ANOTHER_FUNC): New macro.
1647 * config/rl78/bit-count.S: New file. Contains assembler
1648 implementations of the bit counting functions: ___clzhi2,
1649 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
1650 __paritysi2, __popcounthi2 and __popcountsi2.
1651 * config/rl78/fpbit-sf.S: New file. Contains assembler
1652 implementationas of the math functions: __negsf2, __cmpsf2,
1653 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
1654 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
1655 * config/rl78/fpmath-sf.S: New file. Contains assembler
1656 implementations of the math functions: __subsf3, __addsf3,
1657 __mulsf3 and __divsf3
1659 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1661 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
1662 Add i386/elf-lib.h to tm_file.
1663 * config/i386/elf-lib.h: Fix comment.
1664 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
1665 && __sun__ && __svr4__]: Remove workaround.
1667 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
1669 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
1671 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
1673 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
1675 * config/i386/cpuinfo.c (processor_subtypes): Add
1676 INTEL_COREI7_BROADWELL.
1677 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
1680 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
1682 * config/i386/elf-lib.h: New file.
1683 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
1684 Wrap definition in #ifdef __i386__.
1685 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
1686 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
1687 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
1688 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
1691 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
1693 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
1694 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
1696 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
1698 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
1699 Update rt_sigframe format and address for current Nios II
1702 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
1704 * config.host (arm*-*-freebsd*): Add new configuration for
1706 * config/arm/freebsd-atomic.c: New file.
1707 * config/arm/t-freebsd: Likewise.
1708 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
1709 'PC-relative indirect' OS's.
1711 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
1713 * config.host: Add Visium support.
1714 * config/visium: New directory.
1716 2015-01-05 Jakub Jelinek <jakub@redhat.com>
1718 Update copyright years.
1720 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
1722 * config.host: Support mipsisa32r6 and mipsisa64r6.
1723 * config/mips/mips16.S: Do not build for R6.
1725 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
1727 * config/sh/crt.h: New.
1728 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
1730 * config/sh/crt1.S: Likewise.
1732 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
1735 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
1736 func_ptr *dtor_list temporary variable to avoid "array subscript
1737 is above array bounds" warnings.
1739 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
1741 * Makefile.in (with_aix_soname): Define.
1742 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
1743 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
1744 * configure: Recreate.
1746 2014-12-05 Olivier Hainque <hainque@adacore.com>
1748 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
1749 now provided by defaults.h.
1751 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
1754 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
1755 whether it's defined.
1757 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
1759 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
1760 * config/i386/cpuinfo.c (get_available_features): Detect it.
1762 2014-11-27 Tony Wang <tony.wang@arm.com>
1764 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
1765 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
1766 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
1768 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
1770 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
1772 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
1774 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
1777 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
1778 John David Anglin <danglin@gcc.gnu.org>
1780 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
1781 (FETCH_AND_OP_2): New. Use for subword and double word operations.
1782 (OP_AND_FETCH_2): Likewise.
1783 (COMPARE_AND_SWAP_2): Likewise.
1784 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1785 (SYNC_LOCK_RELEASE_2): Likewise.
1786 (SUBWORD_SYNC_OP): Remove.
1787 (SUBWORD_VAL_CAS): Likewise.
1788 (SUBWORD_BOOL_CAS): Likewise.
1789 (FETCH_AND_OP_WORD): Update.
1790 Consistently use signed types.
1792 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
1793 Thomas Schwinge <thomas@codesourcery.com>
1794 Ilya Verbin <ilya.verbin@intel.com>
1795 Andrey Turetskiy <andrey.turetskiy@intel.com>
1797 * Makefile.in (crtoffloadbegin$(objext)): New rule.
1798 (crtoffloadend$(objext)): Likewise.
1799 * configure: Regenerate.
1800 * configure.ac (accel_dir_suffix): Compute new variable.
1801 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
1802 if enable_offload_targets is not empty.
1803 * offloadstuff.c: New file.
1805 2014-11-13 Nick Clifton <nickc@redhat.com>
1807 * config/rl78/divmodhi.S: Add support for the G10 architecture.
1808 Use START_FUNC and END_FUNC macros to enable linker garbage
1810 * config/rl78/divmodqi.S: Likewise.
1811 * config/rl78/divmodsi.S: Likewise.
1812 * config/rl78/mulsi3.S: Likewise.
1813 * config/rl78/lib2div.c: Remove G10 functions.
1814 * config/rl78/lib2muls.c: Likewise.
1815 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
1816 * config/rl78/vregs.h (START_FUNC): New macro.
1817 (END_FUNC): New macro.
1819 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
1821 * config/mips/mips16.S: Set .module when supported. Update O32
1822 FP64 calling convention and use for FPXX when possible. Add FPXX
1823 calling convention fallback case.
1825 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
1827 * config.host: Handle nvptx-*-*.
1828 * shared-object.mk (as-flags-$o): Define.
1829 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
1830 -xassembler-with-cpp.
1831 * static-object.mk: Identical changes.
1832 * config/nvptx/t-nvptx: New file.
1833 * config/nvptx/crt0.s: New file.
1834 * config/nvptx/free.asm: New file.
1835 * config/nvptx/malloc.asm: New file.
1836 * config/nvptx/realloc.c: New file.
1838 2014-10-30 Joseph Myers <joseph@codesourcery.com>
1840 * Makefile.in (libgcc.map.in): New target.
1841 (libgcc.map): Use libgcc.map.in.
1842 * config/t-softfp (softfp_compat): New variable to be set by
1844 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
1846 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
1848 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
1849 that use compat symbols and disable all code unless [SHARED].
1850 * config/t-softfp-compat: New file.
1851 * find-symver.awk: New file.
1852 * configure.ac (--with-glibc-version): New configure option.
1853 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
1854 * configure: Regenerate.
1855 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
1856 soft-float and e500.
1858 2014-10-29 Joseph Myers <joseph@codesourcery.com>
1860 * config/t-hardfp (hardfp_exclusions): Document new variable for
1862 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
1863 * config/t-softfp (softfp_extras): Document new variable for user
1865 (softfp_func_list): Add functions from $(softfp_extras).
1866 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
1867 * config.host (powerpc*-*-linux*): For e500v1, use
1868 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
1869 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
1870 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
1872 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
1874 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
1875 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
1876 memory read accesses are ok.
1878 2014-10-25 Joseph Myers <joseph@codesourcery.com>
1880 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
1881 * configure: Regenerate.
1882 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
1883 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
1884 of soft-fp for 32-bit classic hard float. Do not use
1885 t-softfp-excl for soft float.
1887 2014-10-22 Joseph Myers <joseph@codesourcery.com>
1889 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
1891 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
1894 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
1896 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
1897 introduced with 2014-10-21 trunk r216525.
1899 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
1900 Vidya Praveen <vidya.praveen@atmel.com>
1901 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
1902 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
1903 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
1905 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
1908 Updated library functions for AVRTINY arch.
1909 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
1910 Replaced occurrences of r0/r1 with tmp/zero reg macros.
1911 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
1912 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
1914 (__mulsi3_helper): Update stack, preserve callee saved regs and
1915 argument from stack. Restore callee save registers.
1916 (__mulpsi3): Likewise.
1917 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
1918 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
1919 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
1921 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
1922 (__do_copy_data): Added new definition for AVRTINY.
1923 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
1924 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
1925 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
1926 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
1927 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
1929 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
1932 Fix broken long multiplication on tiny arch.
1934 2014-10-09 Joseph Myers <joseph@codesourcery.com>
1936 * soft-fp/double.h: Update from glibc.
1937 * soft-fp/eqdf2.c: Likewise.
1938 * soft-fp/eqsf2.c: Likewise.
1939 * soft-fp/eqtf2.c: Likewise.
1940 * soft-fp/extenddftf2.c: Likewise.
1941 * soft-fp/extended.h: Likewise.
1942 * soft-fp/extendsfdf2.c: Likewise.
1943 * soft-fp/extendsftf2.c: Likewise.
1944 * soft-fp/extendxftf2.c: Likewise.
1945 * soft-fp/gedf2.c: Likewise.
1946 * soft-fp/gesf2.c: Likewise.
1947 * soft-fp/getf2.c: Likewise.
1948 * soft-fp/ledf2.c: Likewise.
1949 * soft-fp/lesf2.c: Likewise.
1950 * soft-fp/letf2.c: Likewise.
1951 * soft-fp/op-1.h: Likewise.
1952 * soft-fp/op-2.h: Likewise.
1953 * soft-fp/op-4.h: Likewise.
1954 * soft-fp/op-8.h: Likewise.
1955 * soft-fp/op-common.h: Likewise.
1956 * soft-fp/quad.h: Likewise.
1957 * soft-fp/single.h: Likewise.
1958 * soft-fp/soft-fp.h: Likewise.
1959 * soft-fp/unorddf2.c: Likewise.
1960 * soft-fp/unordsf2.c: Likewise.
1961 * soft-fp/unordtf2.c: Likewise.
1962 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
1963 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
1964 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
1965 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
1966 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
1967 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
1968 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
1969 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
1970 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
1971 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
1973 2014-10-08 Rong Xu <xur@google.com>
1975 * libgcov-util.c (read_gcda_file): Fix format.
1976 (find_match_gcov_info): Ditto.
1977 (calculate_2_entries): New.
1978 (compute_one_gcov): Ditto.
1979 (gcov_info_count_all_cold): Ditto.
1980 (gcov_info_count_all_zero): Ditto.
1981 (extract_file_basename): Ditto.
1982 (get_file_basename): Ditto.
1984 (matched_gcov_info): Ditto.
1985 (calculate_overlap): Ditto.
1986 (gcov_profile_overlap): Ditto.
1987 * libgcov-driver.c (compute_summary): Make
1988 it avavilable for external calls.
1990 2014-10-06 Rong Xu <xur@google.com>
1992 * Makefile.in: Ditto.
1993 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
1994 (gcov_sort_icall_topn_counter): Ditto.
1995 (gcov_sort_topn_counter_arrays): Ditto.
1996 (dump_one_gcov): Sort indirect_call topn counters.
1997 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
1999 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
2001 (__gcov_indirect_call_topn_profiler): New profiler function.
2002 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
2003 * libgcov.h: New decls.
2005 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
2007 * config.host: Remove support for score-*.
2009 2014-09-22 Joseph Myers <joseph@codesourcery.com>
2011 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2012 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
2013 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
2014 __LIBGCC_XF_MANT_DIG__.
2015 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
2016 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
2017 __LIBGCC_TF_MANT_DIG__.
2018 * libgcc2.c (NOTRUNC): Define in terms of
2019 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
2020 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2022 2014-09-22 Joseph Myers <joseph@codesourcery.com>
2025 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
2028 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
2030 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
2031 override USE_PT_GNU_EH_FRAME.
2032 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
2033 check USE_EH_FRAME_REGISTRY_ALWAYS against
2034 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
2035 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
2036 variable for substituted force_explicit_eh_registry.
2037 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
2038 * configure.ac (explicit-exception-frame-registration):
2040 * configure: Regenerate.
2042 2014-09-19 Olivier Hainque <hainque@adacore.com>
2044 * config.host (powerpc-wrs-vxworksmils): New configuration,
2047 2014-09-18 Joseph Myers <joseph@codesourcery.com>
2049 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
2051 2014-09-18 Joseph Myers <joseph@codesourcery.com>
2053 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
2054 bits not set bits as indicating trapping exceptions.
2056 2014-09-17 Nathan sidwell <nathan@acm.org>
2058 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
2059 (LIBGCOV_DRIVER): ... here.
2060 * libgcov-driver.c (gcov_master): New.
2061 (gcov_exit): Remove from master chain.
2062 (__gcov_init): Add to master chain if version compatible. Don't
2064 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
2065 (gcov_reset_int): Clear master chain, if compatible.
2066 (gcov_dump_int): New internal interface. Dump master chain, if
2068 (gcov_dump): Alias for gcov_dump_int.
2069 * libgcov.h (struct gcov_root): Add next and prev fields.
2070 (struct gcov_master): New struct.
2071 (__gcov_master): New.
2072 (gcov_dump_int): Declare.
2074 2014-09-17 Olivier Hainque <hainque@adacore.com>
2076 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
2077 and crtbegin.o + crtend.o to extra_parts.
2079 2014-09-12 Joseph Myers <joseph@codesourcery.com>
2081 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
2082 __LIBGCC_HAS_SF_MODE__.
2083 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2084 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2085 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2086 * config/libbid/bid_gcc_intrinsics.h
2087 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2088 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2089 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2090 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2091 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
2092 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2094 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
2097 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
2098 and R24 as needed. Make work for all devices and .text locations.
2099 (__do_global_ctors, __do_global_dtors): Use word addresses.
2100 (__tablejump__, __tablejump_elpm__): Remove functions.
2101 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
2103 (XICALL, XIJMP): New macros.
2105 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
2106 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2108 * config.host (aarch64*): Include crtfastmath.o and
2110 * config/aarch64/crtfastmath.c: New file.
2112 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
2114 * config.host: Remove picochip support.
2115 * config/picochip/adddi3.S: Remove.
2116 * config/picochip/ashlsi3.S: Remove.
2117 * config/picochip/ashlsi3.c: Remove.
2118 * config/picochip/ashrsi3.S: Remove.
2119 * config/picochip/ashrsi3.c: Remove.
2120 * config/picochip/clzsi2.S: Remove.
2121 * config/picochip/cmpsi2.S: Remove.
2122 * config/picochip/divmod15.S: Remove.
2123 * config/picochip/divmodhi4.S: Remove.
2124 * config/picochip/divmodsi4.S: Remove.
2125 * config/picochip/lib1funcs.S: Remove.
2126 * config/picochip/longjmp.S: Remove.
2127 * config/picochip/lshrsi3.S: Remove.
2128 * config/picochip/lshrsi3.c: Remove.
2129 * config/picochip/parityhi2.S: Remove.
2130 * config/picochip/popcounthi2.S: Remove.
2131 * config/picochip/setjmp.S: Remove.
2132 * config/picochip/subdi3.S: Remove.
2133 * config/picochip/t-picochip: Remove.
2134 * config/picochip/ucmpsi2.S: Remove.
2135 * config/picochip/udivmodhi4.S: Remove.
2136 * config/picochip/udivmodsi4.S: Remove.
2138 2014-09-08 Joseph Myers <joseph@codesourcery.com>
2140 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
2141 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
2142 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
2143 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
2144 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
2145 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
2146 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
2147 defined and LIBGCC2_HAS_DF_MODE is defined.
2148 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
2149 defined and LIBGCC2_HAS_XF_MODE is defined.
2150 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
2151 defined and LIBGCC2_HAS_TF_MODE is defined.
2153 2014-09-08 Joseph Myers <joseph@codesourcery.com>
2155 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
2156 and ROUND_TOWARDS_ZERO conditionals.
2158 2014-09-07 Nathan sidwell <nathan@acm.org>
2160 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
2161 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
2163 2014-09-05 Joseph Myers <joseph@codesourcery.com>
2165 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
2166 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2167 uses to __LIBGCC_STACK_POINTER_REGNUM__.
2168 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2169 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2170 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2171 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2172 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
2173 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
2174 (DWARF_FRAME_REGISTERS): Change all uses to
2175 __LIBGCC_DWARF_FRAME_REGISTERS__.
2176 (EH_RETURN_STACKADJ_RTX): Change all uses to
2177 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2178 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
2179 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
2180 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
2181 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
2182 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
2183 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
2184 to __LIBGCC_EH_FRAME_SECTION_NAME__.
2185 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
2186 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
2187 __LIBGCC_STACK_POINTER_REGNUM__.
2188 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2189 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2190 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2191 to __LIBGCC_STACK_POINTER_REGNUM__.
2192 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2193 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2194 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2195 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2196 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2197 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2198 (STACK_POINTER_REGNUM): Change all uses to
2199 __LIBGCC_STACK_POINTER_REGNUM__.
2200 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
2201 use to __LIBGCC_STACK_POINTER_REGNUM__.
2202 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2203 uses to __LIBGCC_STACK_POINTER_REGNUM__.
2204 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
2205 to __LIBGCC_DWARF_FRAME_REGISTERS__.
2206 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
2207 to __LIBGCC_DWARF_FRAME_REGISTERS__.
2208 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2209 to __LIBGCC_STACK_POINTER_REGNUM__.
2210 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
2211 Remove conditional definition.
2212 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
2213 __LIBGCC_TEXT_SECTION_ASM_OP__.
2214 (EH_FRAME_SECTION_NAME): Change all uses to
2215 __LIBGCC_EH_FRAME_SECTION_NAME__.
2216 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
2217 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
2218 (CTORS_SECTION_ASM_OP): Change all uses to
2219 __LIBGCC_CTORS_SECTION_ASM_OP__.
2220 (DTORS_SECTION_ASM_OP): Change all uses to
2221 __LIBGCC_DTORS_SECTION_ASM_OP__.
2222 (JCR_SECTION_NAME): Change all uses to
2223 __LIBGCC_JCR_SECTION_NAME__.
2224 (INIT_SECTION_ASM_OP): Change all uses to
2225 __LIBGCC_INIT_SECTION_ASM_OP__.
2226 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2227 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2228 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
2229 __LIBGCC_STACK_GROWS_DOWNWARD__.
2230 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
2231 __LIBGCC_INIT_SECTION_ASM_OP__.
2232 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2233 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2234 (EH_FRAME_SECTION_NAME): Change all uses to
2235 __LIBGCC_EH_FRAME_SECTION_NAME__.
2236 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
2237 definitions. Change all uses to
2238 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
2239 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
2240 __LIBGCC_STACK_GROWS_DOWNWARD__.
2241 (DWARF_FRAME_REGISTERS): Change all uses to
2242 __LIBGCC_DWARF_FRAME_REGISTERS__.
2243 (EH_RETURN_STACKADJ_RTX): Change all uses to
2244 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2245 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
2246 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
2247 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
2248 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
2249 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
2251 2014-09-02 Nathan sidwell <nathan@acm.org>
2253 * libgcov-interface.c (STRONG_ALIAS): New.
2254 (__gcov_flush): Call __gcov_reset_int.
2255 (__gcov_reset): Strong alias for ...
2256 (__gcov_reset_ing): ... this renamed hidden version.
2257 * libgcov.h (__gcov_reset_int): New declaration.
2259 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
2261 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
2263 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
2264 (__dso_handle): Define on Cygwin.
2265 * config/i386/t-cygming (crtbeginS.o): New rule.
2266 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
2268 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
2271 2014-08-13 Steve Ellcey <sellcey@mips.com>
2273 * crtstuff.c: Undef caddr_t.
2275 2014-08-12 Steve Ellcey <sellcey@mips.com>
2277 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
2279 2014-08-07 Nathan Sidwell <nathan@acm.org>
2281 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
2282 (LIBGCOV_DRIVER): ... to here.
2283 * libgcov.h (gcov_do_dump): New #define.
2284 (struct gcov_root): New.
2285 (__gcov_root): New declaration.
2286 (__gcov_dump_one): Declare.
2287 * libgcov-driver.c (gcov_list, gcov_dump_complete,
2288 run_accounted): Delete.
2289 (gcov_compute_histogram): Add LIST argument, adjust.
2290 (compute_summary): Adjust gcov_compute_histogram call.
2291 (gcov_do_dump): Not hidden, static in libgcov.
2292 (gcov_clear): Move to interface.c.
2293 (__gcov_dump_one): New, broken out of ...
2294 (gcov_exit): ... here. Make static.
2296 (__gcov_init): Adjust.
2297 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
2299 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
2300 (gcov_clear): Moved from driver.c. Add LIST argument.
2301 (__gcov_reset): Adjust for changed interfaces.
2302 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
2304 2014-08-04 Rohit <rohitarulraj@freescale.com>
2307 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
2308 based on change in SPE high register numbers and 3 HTM registers.
2310 2014-08-01 Nathan Sidwell <nathan@acm.org>
2312 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
2313 LIBGCOV_INTERFACE): Reformat.
2314 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
2316 * libgcov-interface.c: Reformat some comments.
2317 (__gcov_flush_mx): Add declaration. Tidy up definition.
2319 2014-07-31 Alan Modra <amodra@gmail.com>
2320 Peter Bergner <bergner@vnet.ibm.com>
2322 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
2323 (pack_ldouble): New function.
2324 (__gcc_qadd): Use it.
2325 (__gcc_qmul): Likewise.
2326 (__gcc_qdiv): Likewise.
2327 (__gcc_qneg): Likewise.
2328 (__gcc_stoq): Likewise.
2329 (__gcc_dtoq): Likewise.
2331 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
2333 * config/s390/tpf-unwind.h: Include <stdbool.h>.
2334 (__tpf_eh_return): Add original return address as second parameter.
2335 Handle cases where unwinder routines were called directly, instead
2336 of from within the C++ library.
2338 2014-07-29 Nathan Sidwell <nathan@acm.org>
2340 * libgcov.h: Move renaming of entry points to lib gcov specific
2342 (gcov_do_dump): New rename.
2343 (gcov_rewrite): Remove inline, make HIDDEN.
2344 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
2345 (gcov_exit_compute_summary): Rename to ...
2346 (compute_summary): ... here. Add LIST argument.
2347 (gcov_exit_merge_gcda): Rename to ...
2348 (merge_one_data): ... here.
2349 (gcov_exit_write_gcda): Rename to ...
2350 (write_one_data): ... here.
2351 (gcov_exit_merge_summary): Rename to ...
2352 (merge_summary): Add RUN_COUNTED argument.
2353 (gcov_exit_dump_gcov): Rename to ...
2354 (dump_one_gcov): Add RUN_COUNTED argument.
2355 (gcov_do_dump): New function, broken out of ...
2356 (gcov_exit): ... here. Call it.
2358 2014-07-27 Anthony Green <green@moxielogic.com>
2360 * config.host: Add moxiebox configuration suppport.
2362 2014-07-27 Nathan Sidwell <nathan@acm.org>
2364 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
2365 (struct gcov_filename): ... here. Include buffer and max length
2367 (gcov_max_filename): Remove.
2368 (gi_filename): Remove.
2369 (gcov_exit_compute_summary): Compute max filename here.
2370 (gcov_exit_merge_gcda): Add filename parm, adjust.
2371 (gcov_exit_merge_summary): Likewise.
2372 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
2373 (gcov_exit): Likewise.
2374 (__gcov_init): Don't calculate max length here.
2375 * libgcov_util.c (max_filename_len): Remove.
2376 (read_gcda_file): Don't calculate max length here.
2377 (gcov_read_profile_dir): Don't propagate here.
2378 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
2379 struct gcov_filename changes.
2380 (gcov_exit_open_gcda_file): Likewise.
2382 2014-07-25 Nathan Sidwell <nathan@acm.org>
2384 * libgcov-driver.c (set_gcov_dump_complete,
2385 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
2386 functions polluting user's namespace.
2387 (gcov_exit): Set variable directly.
2388 (gcov_clear): Reset variable directly.
2389 * libgcov-interface.c (get_gcov_dymp_complete,
2390 reset_gov_dump_complete): Remove declarations.
2391 (__gcov_reset, __gcov_dump): Don't call them.
2393 2014-07-24 DJ Delorie <dj@redhat.com>
2395 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
2396 (__gcc_deregister_frame): Move logic to detect deregister function
2398 (__gcc_register_frame): here, so it's consistent with the register
2401 2014-07-23 Nathan Sidwell <nathan@acm.org>
2403 * libgcov-driver.c (set_gcov_list): Remove.
2404 (gcov_list): Make non-static in GCOV_TOOL.
2405 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
2407 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
2409 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
2410 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
2411 Don't use SYNC_LOCK_RELEASE for int type.
2413 2014-07-14 Richard Biener <rguenther@suse.de>
2415 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
2417 2014-07-11 Rong Xu <xur@google.com>
2419 * libgcov-util.c (gcov_max_filename): Fix declartion.
2421 2014-07-10 Rong Xu <xur@google.com>
2423 Add gcov-tool: an offline gcda profile processing tool
2425 * libgcov-driver.c (gcov_max_filename): Make available
2427 * libgcov-merge.c (__gcov_merge_add): Replace
2428 gcov_read_counter() with a Macro.
2429 (__gcov_merge_ior): Ditto.
2430 (__gcov_merge_time_profile): Ditto.
2431 (__gcov_merge_single): Ditto.
2432 (__gcov_merge_delta): Ditto.
2433 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
2434 in the utility functions.
2435 (set_fn_ctrs): Utility function for reading gcda files to in-memory
2436 gcov_list object link lists.
2437 (tag_function): Ditto.
2438 (tag_blocks): Ditto.
2441 (tag_counters): Ditto.
2442 (tag_summary): Ditto.
2443 (read_gcda_finalize): Ditto.
2444 (read_gcda_file): Ditto.
2445 (ftw_read_file): Ditto.
2446 (read_profile_dir_init): Ditto.
2447 (gcov_read_profile_dir): Ditto.
2448 (gcov_read_counter_mem): Ditto.
2449 (gcov_get_merge_weight): Ditto.
2450 (merge_wrapper): A wrapper function that calls merging handler.
2451 (gcov_merge): Merge two gcov_info objects with weights.
2452 (find_match_gcov_info): Find the matched gcov_info in the list.
2453 (gcov_profile_merge): Merge two gcov_info object lists.
2454 (__gcov_add_counter_op): Process edge profile counter values.
2455 (__gcov_ior_counter_op): Process IOR profile counter values.
2456 (__gcov_delta_counter_op): Process delta profile counter values.
2457 (__gcov_single_counter_op): Process single profile counter values.
2458 (fp_scale): Callback function for float-point scaling.
2459 (int_scale): Callback function for integer fraction scaling.
2460 (gcov_profile_scale): Scaling profile counters.
2461 (gcov_profile_normalize): Normalize profile counters.
2462 * libgcov.h: Add headers and functions for gcov-tool use.
2463 (gcov_get_counter): New.
2464 (gcov_get_counter_target): Ditto.
2465 (struct gcov_info): Make the functions field mutable in gcov-tool
2468 2014-06-23 Kai Tietz <ktietz@redhat.com>
2471 * unwind-seh.c (_Unwind_GetGR): Check for proper
2473 (_Unwind_SetGR): Likewise.
2475 2014-05-22 Nick Clifton <nickc@redhat.com>
2477 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
2480 2014-05-22 Teresa Johnson <tejohnson@google.com>
2482 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
2485 2014-05-20 John Marino <gnugcc@marino.st>
2487 * config.host (*-*-dragonfly*): New target.
2488 * crtstuff.c: Make dl_iterate_support generic on *bsd.
2489 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
2490 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
2491 * config/i386/dragonfly-unwind.h: New.
2493 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2496 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
2497 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
2499 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
2501 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
2504 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
2506 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
2508 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2511 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
2514 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
2516 Work around for current cygwin32 build problems.
2517 * config/i386/cygming-crtbegin.c (__register_frame_info,
2518 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
2519 functions only for 64-bit systems.
2521 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2523 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
2524 (sigill_caught, sigill_hdlr): Remove.
2526 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2528 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
2530 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2531 Solaris 9 single-threaded support.
2532 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
2533 Solaris 9 single-threaded support. Add call_user_handler code
2535 (sparc_is_sighandler): Likewise.
2537 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2539 * config.host: Append t-floattodi to tmake_file depending on
2542 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
2544 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
2546 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
2549 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2550 variable to avoid "array subscript is above array bounds" warnings.
2551 Use __builtin_expect when checking *jcr_list for NULL.
2553 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2556 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
2557 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
2558 vtv_*.o to extra_parts if enable_vtable_verify.
2560 2014-03-06 Nick Clifton <nickc@redhat.com>
2562 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
2563 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
2565 2014-02-28 Joey Ye <joey.ye@arm.com>
2568 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
2569 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
2572 2014-02-24 Walter Lee <walt@tilera.com>
2574 * config.host: Support "tilegx*" and "tilepro*" triplets.
2575 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
2576 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
2578 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
2579 Chung-Lin Tang <cltang@codesourcery.com>
2581 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
2582 * config/nios2/crti.S: Remove .file directive.
2583 * config/nios2/crtn.S: Likewise.
2585 2014-02-18 Kai Tietz <ktietz@redhat.com>
2586 Jonathan Schleifer <js@webkeks.org>
2589 * unwind-seh.c (_GCC_specific_handler): Pass proper
2590 value to unwind-handler.
2592 2014-02-12 Joseph Myers <joseph@codesourcery.com>
2594 * soft-fp/adddf3.c: Update from glibc.
2595 * soft-fp/addsf3.c: Likewise.
2596 * soft-fp/addtf3.c: Likewise.
2597 * soft-fp/divdf3.c: Likewise.
2598 * soft-fp/divsf3.c: Likewise.
2599 * soft-fp/divtf3.c: Likewise.
2600 * soft-fp/double.h: Likewise.
2601 * soft-fp/eqdf2.c: Likewise.
2602 * soft-fp/eqsf2.c: Likewise.
2603 * soft-fp/eqtf2.c: Likewise.
2604 * soft-fp/extenddftf2.c: Likewise.
2605 * soft-fp/extended.h: Likewise.
2606 * soft-fp/extendsfdf2.c: Likewise.
2607 * soft-fp/extendsftf2.c: Likewise.
2608 * soft-fp/extendxftf2.c: Likewise.
2609 * soft-fp/fixdfdi.c: Likewise.
2610 * soft-fp/fixdfsi.c: Likewise.
2611 * soft-fp/fixdfti.c: Likewise.
2612 * soft-fp/fixsfdi.c: Likewise.
2613 * soft-fp/fixsfsi.c: Likewise.
2614 * soft-fp/fixsfti.c: Likewise.
2615 * soft-fp/fixtfdi.c: Likewise.
2616 * soft-fp/fixtfsi.c: Likewise.
2617 * soft-fp/fixtfti.c: Likewise.
2618 * soft-fp/fixunsdfdi.c: Likewise.
2619 * soft-fp/fixunsdfsi.c: Likewise.
2620 * soft-fp/fixunsdfti.c: Likewise.
2621 * soft-fp/fixunssfdi.c: Likewise.
2622 * soft-fp/fixunssfsi.c: Likewise.
2623 * soft-fp/fixunssfti.c: Likewise.
2624 * soft-fp/fixunstfdi.c: Likewise.
2625 * soft-fp/fixunstfsi.c: Likewise.
2626 * soft-fp/fixunstfti.c: Likewise.
2627 * soft-fp/floatdidf.c: Likewise.
2628 * soft-fp/floatdisf.c: Likewise.
2629 * soft-fp/floatditf.c: Likewise.
2630 * soft-fp/floatsidf.c: Likewise.
2631 * soft-fp/floatsisf.c: Likewise.
2632 * soft-fp/floatsitf.c: Likewise.
2633 * soft-fp/floattidf.c: Likewise.
2634 * soft-fp/floattisf.c: Likewise.
2635 * soft-fp/floattitf.c: Likewise.
2636 * soft-fp/floatundidf.c: Likewise.
2637 * soft-fp/floatundisf.c: Likewise.
2638 * soft-fp/floatunditf.c: Likewise.
2639 * soft-fp/floatunsidf.c: Likewise.
2640 * soft-fp/floatunsisf.c: Likewise.
2641 * soft-fp/floatunsitf.c: Likewise.
2642 * soft-fp/floatuntidf.c: Likewise.
2643 * soft-fp/floatuntisf.c: Likewise.
2644 * soft-fp/floatuntitf.c: Likewise.
2645 * soft-fp/gedf2.c: Likewise.
2646 * soft-fp/gesf2.c: Likewise.
2647 * soft-fp/getf2.c: Likewise.
2648 * soft-fp/ledf2.c: Likewise.
2649 * soft-fp/lesf2.c: Likewise.
2650 * soft-fp/letf2.c: Likewise.
2651 * soft-fp/muldf3.c: Likewise.
2652 * soft-fp/mulsf3.c: Likewise.
2653 * soft-fp/multf3.c: Likewise.
2654 * soft-fp/negdf2.c: Likewise.
2655 * soft-fp/negsf2.c: Likewise.
2656 * soft-fp/negtf2.c: Likewise.
2657 * soft-fp/op-1.h: Likewise.
2658 * soft-fp/op-2.h: Likewise.
2659 * soft-fp/op-4.h: Likewise.
2660 * soft-fp/op-8.h: Likewise.
2661 * soft-fp/op-common.h: Likewise.
2662 * soft-fp/quad.h: Likewise.
2663 * soft-fp/single.h: Likewise.
2664 * soft-fp/soft-fp.h: Likewise.
2665 * soft-fp/subdf3.c: Likewise.
2666 * soft-fp/subsf3.c: Likewise.
2667 * soft-fp/subtf3.c: Likewise.
2668 * soft-fp/truncdfsf2.c: Likewise.
2669 * soft-fp/trunctfdf2.c: Likewise.
2670 * soft-fp/trunctfsf2.c: Likewise.
2671 * soft-fp/trunctfxf2.c: Likewise.
2672 * soft-fp/unorddf2.c: Likewise.
2673 * soft-fp/unordsf2.c: Likewise.
2674 * soft-fp/unordtf2.c: Likewise.
2675 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
2677 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2679 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2681 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2683 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2685 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2687 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2689 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2691 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2693 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2695 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2697 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2699 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2701 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
2703 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
2705 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2708 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2710 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
2711 cannot be represented.
2712 * config/s390/32/_fixsfdi.c: Likewise.
2713 * config/s390/32/_fixtfdi.c: Likewise.
2714 * config/s390/32/_fixunsdfdi.c: Likewise.
2715 * config/s390/32/_fixunssfdi.c: Likewise.
2716 * config/s390/32/_fixunstfdi.c: Likewise.
2718 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
2720 * configure.ac (libgcc_cv_mips_hard_float): New.
2721 * configure: Regenerate.
2722 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
2723 t-softfp-sfdf for hard-float targets.
2724 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
2725 (softfp_float_modes, softfp_int_modes, softfp_extensions)
2726 (softfp_truncations, softfp_exclude_libgcc2): New.
2727 * config/t-hardfp: New file.
2728 * config/t-hardfp-sfdf: Likewise.
2729 * config/hardfp.c: Likewise.
2731 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2733 * config.host: Include t-floattodi also for s390x.
2734 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
2735 * config/s390/32/_fixsfdi.c: Likewise.
2736 * config/s390/32/_fixtfdi.c: Likewise.
2737 * config/s390/32/_fixunsdfdi.c: Likewise.
2738 * config/s390/32/_fixunssfdi.c: Likewise.
2739 * config/s390/32/_fixunstfdi.c: Likewise.
2741 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2744 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
2745 (install-libgcc-unwind-map-forbuild): New target.
2746 (all): Depend on install-libgcc-unwind-map-forbuild.
2747 (install-libgcc-unwind-map): New target.
2748 (install): Depend on install-libgcc-unwind-map.
2750 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
2752 * config/nios2/crti.S (_init): Initialize GOT pointer from
2753 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
2755 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
2757 * configure.ac: Check __mips64 when setting host_address.
2758 * configure: Regenerate.
2759 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
2760 mips/t-mips64 and t-softfp.
2761 (mips*-*-linux*): Don't add mips/t-tpbit.
2762 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
2763 (DPBIT, DPBIT_CFLAGS): Delete.
2764 * config/mips/sfp-machine.h: New file.
2765 * config/mips/t-mips64: Likewise.
2766 * config/mips/t-softfp-tf: Likewise.
2767 * config/mips/t-tpbit: Delete.
2769 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
2771 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
2774 2014-01-25 Walter Lee <walt@tilera.com>
2776 * config/tilepro/atomic.c: Include tconfig.h. Don't include
2777 config.h or system.h.
2780 2014-01-25 Walter Lee <walt@tilera.com>
2782 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
2783 (post_atomic_barrier): Ditto.
2784 (__fetch_and_do): New macro.
2785 (__atomic_fetch_and_do): Use __fetch_and_do.
2786 (__sync_fetch_and_do): New macro.
2787 (__sync_fetch_and_add_4): New function.
2788 (__sync_fetch_and_sub_4): New function.
2789 (__sync_fetch_and_or_4): New function.
2790 (__sync_fetch_and_and_4): New function.
2791 (__sync_fetch_and_xor_4): New function.
2792 (__sync_fetch_and_nand_4): New function.
2793 (__sync_fetch_and_add_8): New function.
2794 (__sync_fetch_and_sub_8): New function.
2795 (__sync_fetch_and_or_8): New function.
2796 (__sync_fetch_and_and_8): New function.
2797 (__sync_fetch_and_xor_8): New function.
2798 (__sync_fetch_and_nand_8): New function.
2799 (__do_and_fetch): New macro.
2800 (__atomic_do_and_fetch): Use __do_and_fetch.
2801 (__sync_do_and_fetch): New macro.
2802 (__sync_add_and_fetch_4): New function.
2803 (__sync_sub_and_fetch_4): New function.
2804 (__sync_or_and_fetch_4): New function.
2805 (__sync_and_and_fetch_4): New function.
2806 (__sync_xor_and_fetch_4): New function.
2807 (__sync_nand_and_fetch_4): New function.
2808 (__sync_add_and_fetch_8): New function.
2809 (__sync_sub_and_fetch_8): New function.
2810 (__sync_or_and_fetch_8): New function.
2811 (__sync_and_and_fetch_8): New function.
2812 (__sync_xor_and_fetch_8): New function.
2813 (__sync_nand_and_fetch_8): New function.
2814 (__sync_exchange_methods): New macro.
2815 (__sync_val_compare_and_swap_4): New function.
2816 (__sync_bool_compare_and_swap_4): New function.
2817 (__sync_lock_test_and_test_4): New function.
2818 (__sync_val_compare_and_swap_8): New function.
2819 (__sync_bool_compare_and_swap_8): New function.
2820 (__sync_lock_test_and_test_8): New function.
2821 (__subword_cmpxchg_body): New macro.
2822 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
2823 (__atomic_compare_exchange_2): Ditto.
2824 (__sync_subword_cmpxchg): New macro.
2825 (__sync_val_compare_and_swap_1): New function.
2826 (__sync_bool_compare_and_swap_1): New function.
2827 (__sync_val_compare_and_swap_2): New function.
2828 (__sync_bool_compare_and_swap_2): New function.
2829 (__atomic_subword): Rename to ...
2830 (__subword): ... New name.
2831 (__atomic_subword_fetch): Use __subword.
2832 (__sync_subword_fetch): New macro.
2833 (__sync_fetch_and_add_1): New function.
2834 (__sync_fetch_and_sub_1): New function.
2835 (__sync_fetch_and_or_1): New function.
2836 (__sync_fetch_and_and_1): New function.
2837 (__sync_fetch_and_xor_1): New function.
2838 (__sync_fetch_and_nand_1): New function.
2839 (__sync_fetch_and_add_2): New function.
2840 (__sync_fetch_and_sub_2): New function.
2841 (__sync_fetch_and_or_2): New function.
2842 (__sync_fetch_and_and_2): New function.
2843 (__sync_fetch_and_xor_2): New function.
2844 (__sync_fetch_and_nand_2): New function.
2845 (__sync_add_and_fetch_1): New function.
2846 (__sync_sub_and_fetch_1): New function.
2847 (__sync_or_and_fetch_1): New function.
2848 (__sync_and_and_fetch_1): New function.
2849 (__sync_xor_and_fetch_1): New function.
2850 (__sync_nand_and_fetch_1): New function.
2851 (__sync_add_and_fetch_2): New function.
2852 (__sync_sub_and_fetch_2): New function.
2853 (__sync_or_and_fetch_2): New function.
2854 (__sync_and_and_fetch_2): New function.
2855 (__sync_xor_and_fetch_2): New function.
2856 (__sync_nand_and_fetch_2): New function.
2857 (__atomic_subword_lock): Use __subword.
2858 (__sync_subword_lock): New macro.
2859 (__sync_lock_test_and_set_1): New function.
2860 (__sync_lock_test_and_set_2): New function.
2862 2014-01-25 Walter Lee <walt@tilera.com>
2864 * config/tilepro/atomic.c (BIT_OFFSET): Define.
2865 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
2866 (__atomic_subword): Ditto.
2868 2014-01-25 Walter Lee <walt@tilera.com>
2870 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
2871 a prefix op argument.
2872 (__atomic_nand_fetch_4): Add prefix op.
2873 (__atomic_nand_fetch_8): Ditto.
2875 2014-01-21 Baruch Siach <barch@tkos.co.il>
2877 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
2879 2014-01-09 Rong Xu <xur@google.com>
2881 * libgcov-driver.c (this_prg): make it local to save
2883 (gcov_exit_compute_summary): Ditto.
2884 (gcov_exit_merge_gcda): Ditto.
2885 (gcov_exit_merge_summary): Ditto.
2886 (gcov_exit_dump_gcov): Ditto.
2888 2014-01-08 Rong Xu <xur@google.com>
2890 * libgcov-driver.c: Use libgcov.h.
2891 (buffer_fn_data): Use xmalloc instead of malloc.
2892 (gcov_exit_merge_gcda): Ditto.
2893 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
2894 * libgcov.h: New common header files for libgcov-*.h.
2895 * libgcov-interface.c: Use libgcov.h
2896 * libgcov-merge.c: Ditto.
2897 * libgcov-profiler.c: Ditto.
2898 * Makefile.in: Add dependence to libgcov.h
2900 2014-01-02 Joseph Myers <joseph@codesourcery.com>
2902 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
2903 case of small numerator and finite nonzero result.
2905 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
2907 Update copyright years
2909 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
2911 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
2912 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
2913 config/arc/dp-hack.h, config/arc/fp-hack.h,
2914 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
2915 config/arc/ieee-754/arc600-dsp/divdf3.S,
2916 config/arc/ieee-754/arc600-dsp/divsf3.S,
2917 config/arc/ieee-754/arc600-dsp/muldf3.S,
2918 config/arc/ieee-754/arc600-dsp/mulsf3.S,
2919 config/arc/ieee-754/arc600-mul64/divdf3.S,
2920 config/arc/ieee-754/arc600-mul64/divsf3.S,
2921 config/arc/ieee-754/arc600-mul64/muldf3.S,
2922 config/arc/ieee-754/arc600-mul64/mulsf3.S,
2923 config/arc/ieee-754/arc600/divsf3.S,
2924 config/arc/ieee-754/arc600/mulsf3.S,
2925 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
2926 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
2927 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
2928 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
2929 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
2930 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
2931 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
2932 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
2933 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
2934 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
2935 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
2936 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
2937 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
2938 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
2939 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
2940 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
2941 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
2942 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
2943 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
2944 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
2945 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
2946 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
2947 vtv_start_preinit.c: Use the standard form for the copyright notice.
2949 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
2950 Chung-Lin Tang <cltang@codesourcery.com>
2951 Based on patches from Altera Corporation
2953 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
2954 * config/nios2/lib2-nios2.h: New file.
2955 * config/nios2/lib2-divmod-hi.c: New file.
2956 * config/nios2/linux-unwind.h: New file.
2957 * config/nios2/lib2-divmod.c: New file.
2958 * config/nios2/linux-atomic.c: New file.
2959 * config/nios2/t-nios2: New file.
2960 * config/nios2/crti.asm: New file.
2961 * config/nios2/t-linux: New file.
2962 * config/nios2/lib2-divtable.c: New file.
2963 * config/nios2/lib2-mul.c: New file.
2964 * config/nios2/tramp.c: New file.
2965 * config/nios2/crtn.asm: New file.
2967 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
2969 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
2970 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
2971 from cpuid.h to check vendor signatures.
2973 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
2975 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
2976 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
2977 (get_amd_cpu): Likewise.
2979 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
2981 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
2984 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
2985 H.J. Lu <hongjiu.lu@intel.com>
2988 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
2990 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
2991 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
2992 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
2993 FEATURE_XOP and FEATURE_FMA.
2994 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
2996 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
2997 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
2998 FEATURE_FMA4 and FEATURE_XOP.
3000 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
3002 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
3003 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
3004 (get_intel_cpu): Updated.
3006 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
3008 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
3010 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
3012 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
3013 instructions when __SSE_MATH__ is defined.
3015 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
3017 * config.host (microblaze-*-rtems*): New.
3019 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
3021 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
3022 architectures that do not have hardware divide instruction.
3023 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
3025 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
3027 * longlong.h: Delete (moved to include/).
3029 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3031 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
3032 of normal number and qNaN to not raise an inexact exception.
3034 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
3036 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
3038 2013-11-28 Matthew Leach <matthew.leach@arm.com>
3040 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
3041 for correct opcodes on BE.
3043 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
3045 * soft-fp/op-4.h: Update from glibc.
3047 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
3049 * libgcc2.c (__udivmoddi4): Define new implementation when
3050 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
3051 divide instructions.
3053 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
3055 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
3057 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3059 * config/t-softfp (soft-fp-objects-base): New variable.
3060 (soft-fp-objects): Use it.
3062 2013-11-23 David Edelson <dje.gcc@gmail.com>
3063 Andrew Dixie <andrewd@gentrack.com>
3066 * config/rs6000/aixinitfini.c: New file.
3067 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
3068 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
3071 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
3073 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
3075 2013-11-18 Jan Hubicka <jh@suse.cz>
3077 * libgcov-driver.c (run_accounted): Make global level static.
3078 (gcov_exit_merge_summary): Silence warning; do not clear
3080 (gcov_exit): Clear it here.
3082 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
3085 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
3086 (all_prg, crc32): Remove static vars.
3087 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
3089 (gcov_exit_merge_gcda): Add crc32 parameter.
3090 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
3091 do not account run if it was already accounted.
3092 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
3093 (gcov_exit): Initialize all_prg; update.
3095 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
3097 * configure: Regenerate.
3099 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3100 Alan Modra <amodra@gmail.com>
3102 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
3103 (frob_update_context): Use it.
3105 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3106 Alan Modra <amodra@gmail.com>
3108 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
3109 (trampoline_initial): Provide ELFv2 variant.
3110 (__trampoline_setup): Likewise.
3112 * config/rs6000/linux-unwind.h (frob_update_context): Do not
3113 check for AIX indirect function call sequence if _CALL_ELF == 2.
3115 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3116 Alan Modra <amodra@gmail.com>
3118 * config/rs6000/linux-unwind.h (get_regs): Do not support
3119 old kernel versions if _CALL_ELF == 2.
3120 (frob_update_context): Do not support PLT stub variants only
3121 generated by old linkers if _CALL_ELF == 2.
3123 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3124 Alan Modra <amodra@gmail.com>
3126 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
3127 location of CR save area for 64-bit little-endian systems.
3129 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
3131 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
3133 * config/arm/t-vxworks: Delete.
3135 2013-11-10 Kai Tietz <ktietz@redhat.com>
3137 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
3138 Increment load-count on use of LIBGCC_SONAME DLL.
3139 (hmod_libgcc): New static variable to hold handle of
3141 (__gcc_deregister_frame): Decrement load-count of
3144 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3146 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
3148 * configure: Regenerate
3150 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
3152 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
3153 FP_EX_DENORM. Store result to volatile location after SSE division
3154 to close interrupt window. Remove unneeded fwait after x87
3155 division since interrupt window will be closed by emitted fstp.
3156 Rewrite FP_EX_INEXACT handling.
3158 2013-11-06 Joseph Myers <joseph@codesourcery.com>
3160 * soft-fp/README: Update.
3161 * soft-fp/adddf3.c: Update from glibc.
3162 * soft-fp/addsf3.c: Likewise.
3163 * soft-fp/addtf3.c: Likewise.
3164 * soft-fp/divdf3.c: Likewise.
3165 * soft-fp/divsf3.c: Likewise.
3166 * soft-fp/divtf3.c: Likewise.
3167 * soft-fp/double.h: Likewise.
3168 * soft-fp/eqdf2.c: Likewise.
3169 * soft-fp/eqsf2.c: Likewise.
3170 * soft-fp/eqtf2.c: Likewise.
3171 * soft-fp/extenddftf2.c: Likewise.
3172 * soft-fp/extended.h: Likewise.
3173 * soft-fp/extendsfdf2.c: Likewise.
3174 * soft-fp/extendsftf2.c: Likewise.
3175 * soft-fp/extendxftf2.c: Likewise.
3176 * soft-fp/fixdfdi.c: Likewise.
3177 * soft-fp/fixdfsi.c: Likewise.
3178 * soft-fp/fixdfti.c: Likewise.
3179 * soft-fp/fixsfdi.c: Likewise.
3180 * soft-fp/fixsfsi.c: Likewise.
3181 * soft-fp/fixsfti.c: Likewise.
3182 * soft-fp/fixtfdi.c: Likewise.
3183 * soft-fp/fixtfsi.c: Likewise.
3184 * soft-fp/fixtfti.c: Likewise.
3185 * soft-fp/fixunsdfdi.c: Likewise.
3186 * soft-fp/fixunsdfsi.c: Likewise.
3187 * soft-fp/fixunsdfti.c: Likewise.
3188 * soft-fp/fixunssfdi.c: Likewise.
3189 * soft-fp/fixunssfsi.c: Likewise.
3190 * soft-fp/fixunssfti.c: Likewise.
3191 * soft-fp/fixunstfdi.c: Likewise.
3192 * soft-fp/fixunstfsi.c: Likewise.
3193 * soft-fp/fixunstfti.c: Likewise.
3194 * soft-fp/floatdidf.c: Likewise.
3195 * soft-fp/floatdisf.c: Likewise.
3196 * soft-fp/floatditf.c: Likewise.
3197 * soft-fp/floatsidf.c: Likewise.
3198 * soft-fp/floatsisf.c: Likewise.
3199 * soft-fp/floatsitf.c: Likewise.
3200 * soft-fp/floattidf.c: Likewise.
3201 * soft-fp/floattisf.c: Likewise.
3202 * soft-fp/floattitf.c: Likewise.
3203 * soft-fp/floatundidf.c: Likewise.
3204 * soft-fp/floatundisf.c: Likewise.
3205 * soft-fp/floatunditf.c: Likewise.
3206 * soft-fp/floatunsidf.c: Likewise.
3207 * soft-fp/floatunsisf.c: Likewise.
3208 * soft-fp/floatunsitf.c: Likewise.
3209 * soft-fp/floatuntidf.c: Likewise.
3210 * soft-fp/floatuntisf.c: Likewise.
3211 * soft-fp/floatuntitf.c: Likewise.
3212 * soft-fp/gedf2.c: Likewise.
3213 * soft-fp/gesf2.c: Likewise.
3214 * soft-fp/getf2.c: Likewise.
3215 * soft-fp/ledf2.c: Likewise.
3216 * soft-fp/lesf2.c: Likewise.
3217 * soft-fp/letf2.c: Likewise.
3218 * soft-fp/muldf3.c: Likewise.
3219 * soft-fp/mulsf3.c: Likewise.
3220 * soft-fp/multf3.c: Likewise.
3221 * soft-fp/negdf2.c: Likewise.
3222 * soft-fp/negsf2.c: Likewise.
3223 * soft-fp/negtf2.c: Likewise.
3224 * soft-fp/op-1.h: Likewise.
3225 * soft-fp/op-2.h: Likewise.
3226 * soft-fp/op-4.h: Likewise.
3227 * soft-fp/op-8.h: Likewise.
3228 * soft-fp/op-common.h: Likewise.
3229 * soft-fp/quad.h: Likewise.
3230 * soft-fp/single.h: Likewise.
3231 * soft-fp/soft-fp.h: Likewise.
3232 * soft-fp/subdf3.c: Likewise.
3233 * soft-fp/subsf3.c: Likewise.
3234 * soft-fp/subtf3.c: Likewise.
3235 * soft-fp/truncdfsf2.c: Likewise.
3236 * soft-fp/trunctfdf2.c: Likewise.
3237 * soft-fp/trunctfsf2.c: Likewise.
3238 * soft-fp/trunctfxf2.c: Likewise.
3239 * soft-fp/unorddf2.c: Likewise.
3240 * soft-fp/unordsf2.c: Likewise.
3241 * soft-fp/unordtf2.c: Likewise.
3243 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
3245 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
3246 (_FP_MUL_MEAT_D): Ditto.
3247 (_FP_DIV_MEAT_S): Ditto.
3248 (_FP_DIV_MEAT_D): Ditto.
3249 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
3250 t-softfp-sfdf and t-softfp to tmake_file.
3252 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
3254 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
3255 * config/i386/crtprec.c: Ditto.
3257 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
3258 Shiva Chen <shiva0217@gmail.com>
3260 * config.host (nds32*-elf*): Add nds32 target.
3261 * config/nds32 : New directory and files.
3263 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
3265 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
3266 * config.host (cpu_type) <Setting default>: Add entry for
3268 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
3269 <crisv32-*-linux*>: Adjust.
3270 * longlong.h: Wrap the whole CRIS section in a single
3271 defined(__CRIS__) conditional. Add comment about add_ssaaaa
3273 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
3275 [__CRIS__] (__umulsidi3): Define.
3276 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
3277 * config/cris/sfp-machine.h: New file.
3278 * config/cris/umulsidi3.S: New file.
3279 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
3280 * config/cris/arit.c (SIGNMULT): New macro.
3281 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
3282 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
3283 saving 3 out of originally 33 cycles from the fastest
3284 path, 3 out of 54 from the medium path and one from the longest
3285 path. Improve comments.
3287 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
3289 * sync.c: Remove static aliases and define each function directly
3290 under its real name.
3292 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
3294 * config.host (hppa*64*-*-linux*): Define extra_parts.
3295 (hppa*-*-linux*): Likewise.
3297 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
3299 * config/arc/crtgend.S: Add 2013 to Copyright years.
3300 * config/arc/gmon/atomic.h: Likewise.
3301 * config/arc/gmon/auxreg.h: Likewise.
3302 * config/arc/gmon/sys/gmon_out.h: Likewise.
3303 * config/arc/gmon/sys/gmon.h: Likewise.
3304 * config/arc/gmon/prof-freq.c: Likewise.
3305 * config/arc/gmon/mcount.c: Likewise.
3306 * config/arc/gmon/prof-freq-stub.S: Likewise.
3307 * config/arc/gmon/gmon.c: Likewise.
3308 * config/arc/gmon/machine-gmon.h: Likewise.
3309 * config/arc/gmon/profil.S: Likewise.
3310 * config/arc/gmon/dcache_linesz.S: Likewise.
3311 * config/arc/crtg.S: Likewise.
3312 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
3313 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
3314 * config/arc/ieee-754/adddf3.S: Likewise.
3315 * config/arc/ieee-754/truncdfsf2.S: Likewise.
3316 * config/arc/ieee-754/fixsfsi.S: Likewise.
3317 * config/arc/ieee-754/gtsf2.S: Likewise.
3318 * config/arc/ieee-754/floatsisf.S: Likewise.
3319 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
3320 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
3321 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
3322 * config/arc/ieee-754/fixdfsi.S: Likewise.
3323 * config/arc/ieee-754/addsf3.S: Likewise.
3324 * config/arc/ieee-754/gesf2.S: Likewise.
3325 * config/arc/ieee-754/floatsidf.S: Likewise.
3326 * config/arc/ieee-754/extendsfdf2.S: Likewise.
3327 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
3328 * config/arc/ieee-754/gtdf2.S: Likewise.
3329 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
3330 * config/arc/ieee-754/uneqdf2.S: Likewise.
3331 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3332 * config/arc/ieee-754/uneqsf2.S: Likewise.
3333 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
3334 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
3335 * config/arc/ieee-754/eqdf2.S: Likewise.
3336 * config/arc/ieee-754/ordsf2.S: Likewise.
3337 * config/arc/ieee-754/divsf3.S: Likewise.
3338 * config/arc/ieee-754/divdf3.S: Likewise.
3339 * config/arc/ieee-754/floatunsidf.S: Likewise.
3340 * config/arc/ieee-754/orddf2.S: Likewise.
3341 * config/arc/ieee-754/eqsf2.S: Likewise.
3342 * config/arc/ieee-754/gedf2.S: Likewise.
3343 * config/arc/crtn.S: Likewise.
3344 * config/arc/crti.S: Likewise.
3345 * config/arc/t-arc700-uClibc: Likewise.
3346 * config/arc/asm.h: Likewise.
3347 * config/arc/libgcc-excl.ver: Likewise.
3348 * config/arc/t-arc-newlib: Likewise.
3349 * config/arc/divtab-arc700.c: Likewise.
3350 * config/arc/initfini.c: Likewise.
3351 * config/arc/fp-hack.h: Likewise.
3353 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
3354 Diego Novillo <dnovillo@google.com>
3356 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
3357 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
3358 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
3359 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
3361 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
3362 Brendan Kehoe <brendan@zen.org>
3363 Simon Cook <simon.cook@embecosm.com>
3365 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
3366 * config/arc: New directory.
3367 * longlong.h [__arc__] (umul_ppmm): Remove.
3368 [__arc__] (__umulsidi3): Define.
3369 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
3370 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
3372 2013-09-17 Jacek Caban <jacek@codeweavers.com>
3374 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
3376 * config/i386/gthr-win32.h: Likewise.
3378 2013-09-16 DJ Delorie <dj@redhat.com>
3380 * config/rl78/vregs.h: Add G10 register definitions.
3381 * config/rl78/lib2mul.c: Enable for RL78/G10.
3382 * config/rl78/lib2div.c: Likewise.
3383 * config/rl78/lshrsi3.S: Use vregs.h.
3384 * config/rl78/cmpsi2.S: Likewise.
3385 * config/rl78/trampoline.S: Likewise.
3386 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
3388 2013-09-14 DJ Delorie <dj@redhat.com>
3389 Nick Clifton <nickc@redhat.com>
3391 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
3392 * config/rl78/vregs.h: New.
3393 * config/rl78/signbit.S: New file. Implements signbit function.
3394 * config/rl78/divmodsi.S: New.
3395 * config/rl78/divmodhi.S: New.
3396 * config/rl78/divmodqi.S: New.
3397 * config/rl78/t-rl78: Build them here...
3398 * config/rl78/lib2div.c: ...but not here.
3400 2013-09-12 DJ Delorie <dj@redhat.com>
3402 * config.host (msp*-*-elf): New.
3403 * config/msp430/: New port.
3405 2013-08-18 Iain Sandoe <iain@codesourcery.com>
3407 PR gcov-profile/58127
3408 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
3409 __thread var for emulated TLS.
3410 (__gcov_indirect_call_counters): Likewise.
3412 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
3413 Catherine Moore <clm@codesourcery.com>
3414 Richard Sandiford <rdsandiford@googlemail.com>
3416 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
3417 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
3418 (CALL_STUB_NO_RET): Likewise.
3419 (CALL_STUB_RET): Likewise.
3420 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
3421 __mips16_ret call/return stub symbols.
3422 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
3425 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
3427 * config.host <mips*-*-linux*>: Remove a stray comment.
3429 2013-08-10 Jan Hubicka <jh@suse.cz>
3431 Work around binutils PR14342
3432 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
3433 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
3434 (L_gcov_indirect_call_profiler_v2): New.
3436 2013-08-06 Jan Hubicka <jh@suse.cz>
3438 * libgcov.c (__gcov_indirect_call_callee,
3439 __gcov_indirect_call_counters): New global vars.
3440 (__gcov_indirect_call_profiler): replace by ...
3441 (__gcov_indirect_call_profiler_v2) ... this one.
3443 2013-08-06 Caroline Tice <cmtice@google.com>
3445 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
3446 vtv_start_preinit.o and vtv_end_preinit.o.
3447 * configure.ac: Add code to check/set enable_vtable_verify.
3448 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
3450 * vtv_start_preinit.c: New file.
3451 * vtv_end_preinit.c: New file.
3452 * vtv_start.c: New file.
3453 * vtv_end.c: New file.
3454 * configure: Regenerated.
3456 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
3458 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
3459 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
3460 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
3461 GPL-3.0-with-GCC-exception.
3463 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
3465 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
3468 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3470 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
3471 mapping for FPRs when creating the fallback framestate.
3473 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
3476 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
3477 (__round_s2_const, __round_u2_const)
3478 (__round_s4_const, __round_u4_const, __round_x8):
3479 Saturate result if addition result cannot be represented.
3481 2013-07-15 Matthias Klose <doko@ubuntu.com>
3483 * libgcc2.c: Don't include <limits.h>.
3485 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
3487 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
3489 2013-07-06 Jakub Jelinek <jakub@redhat.com>
3492 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
3494 2013-06-28 Jakub Jelinek <jakub@redhat.com>
3497 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
3499 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
3500 instead of table lookups.
3501 (__popcountDI2): Likewise.
3503 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
3505 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
3508 2013-06-21 Joseph Myers <joseph@codesourcery.com>
3511 * soft-fp/adddf3.c: Update from glibc.
3512 * soft-fp/addsf3.c: Likewise.
3513 * soft-fp/addtf3.c: Likewise.
3514 * soft-fp/divdf3.c: Likewise.
3515 * soft-fp/divsf3.c: Likewise.
3516 * soft-fp/divtf3.c: Likewise.
3517 * soft-fp/double.h: Likewise.
3518 * soft-fp/eqdf2.c: Likewise.
3519 * soft-fp/eqsf2.c: Likewise.
3520 * soft-fp/eqtf2.c: Likewise.
3521 * soft-fp/extenddftf2.c: Likewise.
3522 * soft-fp/extended.h: Likewise.
3523 * soft-fp/extendsfdf2.c: Likewise.
3524 * soft-fp/extendsftf2.c: Likewise.
3525 * soft-fp/fixdfdi.c: Likewise.
3526 * soft-fp/fixdfsi.c: Likewise.
3527 * soft-fp/fixsfdi.c: Likewise.
3528 * soft-fp/fixsfsi.c: Likewise.
3529 * soft-fp/fixtfdi.c: Likewise.
3530 * soft-fp/fixtfsi.c: Likewise.
3531 * soft-fp/fixunsdfdi.c: Likewise.
3532 * soft-fp/fixunsdfsi.c: Likewise.
3533 * soft-fp/fixunssfdi.c: Likewise.
3534 * soft-fp/fixunssfsi.c: Likewise.
3535 * soft-fp/fixunstfdi.c: Likewise.
3536 * soft-fp/fixunstfsi.c: Likewise.
3537 * soft-fp/floatdidf.c: Likewise.
3538 * soft-fp/floatdisf.c: Likewise.
3539 * soft-fp/floatditf.c: Likewise.
3540 * soft-fp/floatsidf.c: Likewise.
3541 * soft-fp/floatsisf.c: Likewise.
3542 * soft-fp/floatsitf.c: Likewise.
3543 * soft-fp/floatundidf.c: Likewise.
3544 * soft-fp/floatundisf.c: Likewise.
3545 * soft-fp/floatunditf.c: Likewise.
3546 * soft-fp/floatunsidf.c: Likewise.
3547 * soft-fp/floatunsisf.c: Likewise.
3548 * soft-fp/floatunsitf.c: Likewise.
3549 * soft-fp/gedf2.c: Likewise.
3550 * soft-fp/gesf2.c: Likewise.
3551 * soft-fp/getf2.c: Likewise.
3552 * soft-fp/ledf2.c: Likewise.
3553 * soft-fp/lesf2.c: Likewise.
3554 * soft-fp/letf2.c: Likewise.
3555 * soft-fp/muldf3.c: Likewise.
3556 * soft-fp/mulsf3.c: Likewise.
3557 * soft-fp/multf3.c: Likewise.
3558 * soft-fp/negdf2.c: Likewise.
3559 * soft-fp/negsf2.c: Likewise.
3560 * soft-fp/negtf2.c: Likewise.
3561 * soft-fp/op-1.h: Likewise.
3562 * soft-fp/op-2.h: Likewise.
3563 * soft-fp/op-4.h: Likewise.
3564 * soft-fp/op-8.h: Likewise.
3565 * soft-fp/op-common.h: Likewise.
3566 * soft-fp/quad.h: Likewise.
3567 * soft-fp/single.h: Likewise.
3568 * soft-fp/soft-fp.h: Likewise.
3569 * soft-fp/subdf3.c: Likewise.
3570 * soft-fp/subsf3.c: Likewise.
3571 * soft-fp/subtf3.c: Likewise.
3572 * soft-fp/truncdfsf2.c: Likewise.
3573 * soft-fp/trunctfdf2.c: Likewise.
3574 * soft-fp/trunctfsf2.c: Likewise.
3575 * soft-fp/unorddf2.c: Likewise.
3576 * soft-fp/unordsf2.c: Likewise.
3577 * soft-fp/unordtf2.c: Likewise.
3578 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
3579 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3580 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3581 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3582 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3583 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3584 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3585 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3586 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3587 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
3588 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
3589 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3591 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
3593 * config/mips/lib2funcs.c: New file.
3594 * config/mips/t-mips (LIB2ADD_ST): Add it.
3596 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
3599 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
3600 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
3602 2013-06-08 Walter Lee <walt@tilera.com>
3604 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
3605 Replace int64_t with long long. Add __extension__ where
3607 * config/tilepro/atomic.c: Include config.h.
3609 2013-06-06 Douglas B Rupp <rupp@adacore.com>
3611 * config.host (arm-wrs-vxworks): Configure with other soft float.
3613 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
3615 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
3616 (mips64r5900el-*-elf*): New configurations.
3618 2013-06-04 Alan Modra <amodra@gmail.com>
3620 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
3622 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
3624 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
3626 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
3628 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
3629 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
3630 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
3632 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
3634 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
3635 (powerpc-wrs-vxworks): Likewise.
3637 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
3639 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
3640 signal frames as well.
3641 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
3642 STACK_BIAS to the CFA offset.
3644 2013-05-17 Richard Henderson <rth@redhat.com>
3647 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
3648 (execute_cfa_program): Use it when storing to fs->regs.
3650 2013-05-08 Kai Tietz <ktietz@redhat.com>
3652 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
3653 (__deregister_frame_info): Likewise.
3655 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
3657 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
3660 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
3662 2013-04-25 Alan Modra <amodra@gmail.com>
3664 * config.host: Match little-endian powerpc-linux.
3666 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
3668 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
3669 as 'unsigned long long' instead of 'unsigned long'.
3670 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
3673 2013-04-10 Julian Brown <julian@codesourcery.com>
3675 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
3676 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
3677 unsigned char/unsigned short.
3678 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
3680 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3683 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
3685 2013-04-04 Meador Inge <meadori@codesourcery.com>
3687 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
3688 computing the location of the link register.
3689 (aeabi_uldivmod): Ditto.
3691 2013-03-27 Kai Tietz <ktietz@redhat.com>
3693 * config.host: Add support for cygwin x64 target.
3694 * configure: Regenerated.
3696 2013-03-26 Walter Lee <walt@tilera.com>
3698 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
3699 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
3701 2013-03-25 Kai Tietz <ktietz@redhat.com>
3703 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
3705 2013-03-20 Robert Mason <rbmj@verizon.net>
3707 * config/vxlib-tls.c (__gthread_get_tsd_data,)
3708 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
3709 (__gthread_leave_tsd_dtor_context): Add prototypes.
3710 (tls_delete_hook): Update.
3712 2013-03-20 Catherine Moore <clm@codesourcery.com>
3713 Joseph Myers <joseph@codesourcery.com>
3714 Chao-ying Fu <fu@mips.com>
3716 * config/mips/mips16.S: Don't build for microMIPS.
3717 * config/mips/linux-unwind.h: Handle microMIPS frame.
3718 * config/mips/crtn.S (fini, init): New labels.
3720 2013-03-14 Jakub Jelinek <jakub@redhat.com>
3722 PR tree-optimization/53265
3723 * unwind-dw2.c (execute_cfa_program): Avoid
3724 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
3725 on targets with DWARF_FRAME_REGISTERS < 32.
3727 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
3730 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
3731 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
3733 2013-03-07 Sriraman Tallam <tmsriram@google.com>
3735 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
3736 sandybridge processors.
3738 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
3741 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
3744 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
3746 * config/microblaze/crti.S: Setup stack protection at entry
3748 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
3750 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
3751 (__rotldi3): Shift bytewise if applicable.
3753 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
3755 * config/aarch64/sync-cache.c
3756 (__aarch64_sync_cache_range): Silence warnings.
3758 2013-02-25 Catherine Moore <clm@codesourcery.com>
3761 2013-02-24 Catherine Moore <clm@codesourcery.com>
3762 Joseph Myers <joseph@codesourcery.com>
3763 Chao-ying Fu <fu@mips.com>
3765 * config/mips/mips16.S: Don't build for microMIPS.
3766 * config/mips/linux-unwind.h: Handle microMIPS frame.
3767 * config/mips/crtn.S (fini, init): New labels.
3769 2013-02-24 Catherine Moore <clm@codesourcery.com>
3770 Joseph Myers <joseph@codesourcery.com>
3771 Chao-ying Fu <fu@mips.com>
3773 * config/mips/mips16.S: Don't build for microMIPS.
3774 * config/mips/linux-unwind.h: Handle microMIPS frame.
3775 * config/mips/crtn.S (fini, init): New labels.
3777 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
3778 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
3781 2013-02-16 Alan Modra <amodra@gmail.com>
3784 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
3785 (ppc_fallback_frame_state): Always set up save locations for fp
3786 and altivec. Don't bother with non-callee-saved regs, r0-r13
3787 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
3789 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
3792 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
3794 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
3795 _ssmulha3, _usmulusa3, _ssmulsa3.
3796 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
3797 (__muldi3): XCALL __muldi3_6 instead of rcall.
3798 (__umulsidi3, __mulsidi3): New functions.
3799 (do_prologue_saves, do_epilogue_restores): New .macros.
3800 (__divdi3_moddi3): Use them.
3801 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
3802 (__usmulusa3, __ssmulsa3): New functions.
3804 2013-02-11 Iain Sandoe <iain@codesourcery.com>
3805 Jack Howarth <howarth@bromo.med.uc.edu>
3806 Patrick Marlier <patrick.marlier@gmail.com>
3809 * config/darwin-crt-tm.c: Remove dummy functions hack.
3811 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
3814 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
3815 * config/avr/lib2-object.mk: New iterator to build objects from it.
3816 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
3818 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
3819 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
3820 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
3821 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
3822 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
3823 * config/avr/lib1funcs-fixed.S: Implement them.
3825 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
3827 Update copyright years.
3829 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
3832 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
3833 Add crtcxa to extra_parts.
3834 * config/rs6000/exit.h: New file.
3835 * config/rs6000/cxa_atexit.c: New file.
3836 * config/rs6000/cxa_finalize.c: New file.
3837 * config/rs6000/crtcxa.c: New file.
3838 * config/rs6000/t-aix-cxa: New file.
3839 * config/rs6000/libgcc-aix-cxa.ver: New file.
3841 2013-01-31 Nick Clifton <nickc@redhat.com>
3843 * config/v850/lib1funcs.S: Add support for e3v5 architecture
3846 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
3849 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
3850 _mulQQ, _mulHQ, _mulHA, _mulSA,
3851 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
3852 _divQQ, _divHQ, _divHA, _divSA,
3853 _divUQQ, _divUHQ, _divUHA, _divUSA.
3855 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
3857 * config.host(microblaze*-linux*): tmake_file: Remove
3858 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
3859 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
3860 to exclude functions from being built with libgcc.c and use
3861 the microblaze assembly.
3863 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
3865 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
3868 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
3870 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
3871 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
3872 __UINTPTR_TYPE__; also cast 'base' to the same type before the
3873 alignment operation.
3875 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
3877 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
3878 loop start address for cache clearing.
3880 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
3882 * config/avr/lib1funcs.S: Remove trailing blanks.
3883 * config/avr/lib1funcs-fixed.S: Ditto.
3885 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
3887 * config/avr/avr-lib.h: Add GPL copyright notice.
3889 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
3891 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
3892 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
3893 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
3894 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
3896 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
3898 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
3899 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
3901 2013-01-04 Nick Clifton <nickc@redhat.com>
3903 * config/v850/lib1funcs.S: Only provide CALLT support functions if
3904 the CALLT instruction is supported.
3906 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
3908 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
3909 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
3911 2012-12-13 John Tytgat <John@bass-software.com>
3913 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
3916 2012-12-12 Jakub Jelinek <jakub@redhat.com>
3919 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
3920 undefined signed overflows.
3922 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
3925 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
3927 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
3929 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
3930 (FP_TRAPPING_EXCEPTIONS): Define.
3931 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
3932 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
3934 2012-12-04 Richard Henderson <rth@redhat.com>
3937 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
3939 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
3941 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
3942 (FP_EX_SHIFT): Define.
3943 (FP_TRAPPING_EXCEPTIONS): Define.
3945 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
3947 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
3948 (FP_ROUNDMODE): Use FP_RND_MASK.
3949 * config/aarch64/sfp-exceptions.c: New.
3950 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3951 Use __sfp_handle_exceptions.
3953 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
3955 * config.host: (arm*-*-freebsd*): Remove.
3956 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
3957 (arm*-*-elf*): Remove.
3958 (arm*-*-wince-pe*): Remove.
3959 * arm/unwind-arm.c (struct fpa_reg): Delete.
3960 (struct fpa_regs): Delete.
3961 (phase1_vrs): Remove fpa element.
3962 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
3963 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
3964 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
3965 * ieee754-sf.S (floatundisf): Remove FPA support.
3966 (floatdisf): Likewise.
3967 * ieee75f-df.S (floatundidf): Likewise.
3968 (floatdidf): Likewise.
3970 2012-11-29 Kai Tietz <ktietz@redhat.com>
3973 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
3974 * unwind-generic.h: Likewise.
3975 * unwind-seh.c: Likewise.
3977 2012-11-28 Richard Henderson <rth@redhat.com>
3980 * emutls.c (__emutls_get_address): Avoid race condition between
3981 obj->loc.offset read and emutls_key initialization.
3983 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
3985 Adjust decimal point of signed accum mode to GCC default.
3988 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
3990 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
3991 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
3992 (__mulha3, __mulsa3)
3993 (__divqq3, __divha3, __divsa3): Adjust to new position of
3994 decimal point of signed accum types.
3996 (__mulusa3_round): New function.
3997 (__mulusa3): Use it.
3998 (__divqq_helper): New function.
3999 (__udivuqq3): Use it.
4001 2012-11-20 Jakub Jelinek <jakub@redhat.com>
4004 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
4006 2012-11-18 Teresa Johnson <tejohnson@google.com>
4009 * libgcov.c (gcov_exit): Remove merged program summary
4010 comparison unless !GCOV_LOCKED.
4012 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
4014 * soft-fp: Updated from glibc upstream.
4016 2012-11-06 Ian Lance Taylor <iant@google.com>
4018 * generic-morestack.c (__generic_morestack): Align the returned
4019 stack pointer to a 32 byte boundary.
4020 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
4021 increment the return address until we have decided that we don't
4022 have a varargs function.
4023 (__morestack) [32-bit]: Align stack correctly when calling C
4025 (__morestack) [64-bit]: Likewise.
4027 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4029 * configure: Regenerate.
4031 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
4034 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
4035 * config/i386/sfp-machine.h: Guard exception handling
4036 code with _SOFT_FLOAT.
4037 * config/i386/32/sfp-machine.h: Guard rounding handling
4038 code with _SOFT_FLOAT.
4039 * config/i386/64/sfp-machine.h: Ditto.
4041 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
4043 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
4046 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
4048 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
4049 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
4050 when appropriate. Correct structure element types.
4051 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
4052 -minline-all-stringops from compile flags.
4054 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
4056 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
4058 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
4060 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
4062 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
4064 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
4067 2012-10-23 Ian Bolton <ian.bolton@arm.com>
4068 Jim MacArthur <jim.macarthur@arm.com>
4069 Marcus Shawcroft <marcus.shawcroft@arm.com>
4070 Nigel Stephens <nigel.stephens@arm.com>
4071 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4072 Richard Earnshaw <rearnsha@arm.com>
4073 Sofiane Naci <sofiane.naci@arm.com>
4074 Stephen Thomas <stephen.thomas@arm.com>
4075 Tejas Belagod <tejas.belagod@arm.com>
4076 Yufeng Zhang <yufeng.zhang@arm.com>
4078 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
4079 * config/aarch64/crti.S: New file.
4080 * config/aarch64/crtn.S: New file.
4081 * config/aarch64/linux-unwind.h: New file.
4082 * config/aarch64/sfp-machine.h: New file.
4083 * config/aarch64/sync-cache.c: New file.
4084 * config/aarch64/t-aarch64: New file.
4085 * config/aarch64/t-softfp: New file.
4087 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
4089 * config/mmix/crti.S: Mark program and data addresses using PRELD.
4090 Remove typo'd and unnecessary alignment-LOC for .data. Remove
4091 no-longer-needed LDBU insns.
4093 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
4096 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
4097 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
4099 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
4101 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
4103 2012-10-15 Matthias Klose <doko@ubuntu.com>
4105 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
4107 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
4109 * configure: Regenerate.
4110 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
4112 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
4114 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4115 instructions for 64bit targets only.
4117 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
4119 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4120 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
4121 * config/i386/32/sfp-machine.h: ... here.
4122 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
4123 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
4126 2012-10-07 Matthias Klose <doko@ubuntu.com>
4128 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
4130 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
4132 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
4134 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
4135 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
4136 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
4139 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
4142 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4143 Fix parameter names.
4145 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
4148 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
4149 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
4150 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
4152 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
4155 * config/sh/linux-atomic.S: Delete.
4156 * config/sh/linux-atomic.c: New.
4157 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
4158 linux-atomic.c. Add cflags to disable warnings.
4160 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
4163 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
4165 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
4166 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
4167 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
4168 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
4169 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
4171 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4173 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
4175 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
4176 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
4178 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
4180 * config.host (hppa-*-openbsd*): New target.
4181 * config/pa/t-openbsd: New file.
4183 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
4186 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
4187 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
4188 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
4189 (__divsa3): Use __negsi2 to negate r_quoL.
4190 * config/avr/lib1funcs.S (FALIAS): New macro.
4191 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
4192 (__negsi2): ...this new function.
4193 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
4194 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
4195 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
4196 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
4197 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
4198 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
4200 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
4203 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
4204 (lshrsi3): Reimplement as lshrsi3_r0.
4206 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
4209 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
4212 2012-09-07 Teresa Johnson <tejohnson@google.com>
4214 PR gcov-profile/54487
4215 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
4218 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
4221 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
4222 not configured --with-avrlibc=no.
4223 * config/avr/t-avrlibc: New file.
4224 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
4225 (DPBIT_FUNCS): Ditto.
4226 (TPBIT_FUNCS): Ditto.
4228 2012-09-04 Teresa Johnson <tejohnson@google.com>
4230 * libgcov.c (struct gcov_summary_buffer): New structure.
4231 (gcov_histogram_insert): New function.
4232 (gcov_compute_histogram): Ditto.
4233 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
4234 histograms during summary merging.
4236 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
4238 * config.host (x86_64-*-openbsd*): New target.
4240 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
4242 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
4245 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
4248 * config/avr/t-avr (conv_X): Rename to func_X.
4250 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
4253 * config/avr/lib1funcs-fixed.S: New file.
4254 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
4255 after they are used.
4256 (neg2, neg4): New macros.
4257 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
4258 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
4259 (__umulhisi3): Speed up MUL variant if there is enough flash.
4260 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
4262 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
4263 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
4264 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
4265 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
4266 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
4267 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
4268 (LIB2FUNCS_EXCLUDE): Add supported functions.
4270 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
4272 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
4273 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
4275 * fixed-obj.mk: Only expand dependency if $o is not in
4278 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
4280 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
4282 2012-08-22 Joseph Myers <joseph@codesourcery.com>
4284 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
4285 depend on --enable-shared.
4286 ($(lib1asmfuncs-o)): Use %.vis files independent of
4288 * static-object.mk ($(base)$(objext), $(base).vis)
4289 ($(base)_s$(objext)): Use same rules for visibility handling as in
4292 2012-08-21 Ian Lance Taylor <iant@google.com>
4294 * config/i386/morestack.S (__morestack_non_split): Increase amount
4295 of space allocated for non-split code stack.
4297 2012-08-19 Joseph Myers <joseph@codesourcery.com>
4299 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
4300 even if inhibit_libc.
4302 2012-08-17 Julian Brown <julian@codesourcery.com>
4304 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
4305 -fexceptions -fnon-call-exceptions if not defined.
4306 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
4307 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
4309 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
4311 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
4314 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
4316 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
4317 rs6000/t-slibgcc-aix.
4319 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
4321 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
4323 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
4325 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
4327 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
4330 * Makefile.in (version): Replace top_srcdir with srcdir.
4332 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
4334 * Makefile.in (version): set to BASE-VER file from gcc directory.
4336 2012-08-01 Nick Clifton <nickc@redhat.com>
4338 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
4339 Implements __clrsb for an HImode argument.
4341 2012-07-31 Nick Clifton <nickc@redhat.com>
4343 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
4344 Implements __clrsb for an HImode argument.
4345 * config/stormy16/clrsbhi2.c: New file:
4346 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
4348 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
4350 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
4352 2012-07-19 Tristan Gingold <gingold@adacore.com>
4353 Richard Henderson <rth@redhat.com>
4355 * unwind-seh.c: New file.
4356 * unwind-generic.h: Include windows.h for SEH.
4357 (_Unwind_Exception): Use 6 private fields for SEH.
4358 (_GCC_specific_handler): Declare.
4359 * unwind-c.c (__gcc_personality_seh0): New function.
4361 * config/i386/libgcc-cygming.ver: New file.
4362 * config/i386/t-seh-eh: New file.
4363 * config.host (x86_64-*-mingw*): Default to seh.
4365 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
4367 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
4369 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
4371 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
4372 __builtin_expect when checking for exceptions.
4373 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
4375 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
4377 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
4378 function declaration.
4379 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4381 * config/ia64/sfp-exceptions.c: New.
4382 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
4384 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
4386 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
4387 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
4388 * config/i386/64/sfp-machine: ... (delete here) ...
4389 * config/i386/sfp-machine.h: ... to here.
4390 (FP_EX_MASK): Remove.
4392 (FP_INIT_ROUNDMODE): Declare asm as volatile.
4394 2012-06-11 Sriraman Tallam <tmsriram@google.com>
4396 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
4397 * config/i386/libgcc-sol2.ver: Ditto.
4398 * config/i386/libgcc-glibc.ver: Ditto.
4400 2012-06-11 Roland McGrath <mcgrathr@google.com>
4402 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
4403 If __GLIBC__ is defined, refer to __pthread_key_create instead of
4406 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
4408 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
4409 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
4410 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
4411 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4412 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
4413 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
4414 * config/i386/64/sfp-machine: ... (delete here) ...
4415 * config/i386/sfp-machine.h: ... to here.
4417 (__sfp_handle_exceptions): New function declaration.
4418 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4419 * config/i386/sfp-exceptions.c: New.
4420 * config/i386/t-softfp: New.
4421 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
4422 i386/t-softfp to tmake_file.
4424 2012-06-03 David S. Miller <davem@davemloft.net>
4426 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
4429 2012-05-31 David S. Miller <davem@davemloft.net>
4431 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
4432 multiply and divide instructions on 32-bit when V9.
4433 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
4435 2012-05-29 Joseph Myers <joseph@codesourcery.com>
4437 * config/arm/ieee754-df.S: Fix typos.
4438 * config/arm/ieee754-sf.S: Fix typos.
4439 * config/c6x/libunwind.S: Fix typos.
4440 * config/epiphany/udivsi3-float.c: Fix typos.
4441 * config/microblaze/muldi3_hard.S: Fix typos.
4442 * config/picochip/adddi3.S: Fix typos.
4443 * config/picochip/ashlsi3.S: Fix typos.
4444 * config/picochip/ashrsi3.S: Fix typos.
4445 * config/picochip/clzsi2.S: Fix typos.
4446 * config/picochip/cmpsi2.S: Fix typos.
4447 * config/picochip/divmod15.S: Fix typos.
4448 * config/picochip/divmodhi4.S: Fix typos.
4449 * config/picochip/divmodsi4.S: Fix typos.
4450 * config/picochip/longjmp.S: Fix typos.
4451 * config/picochip/lshrsi3.S: Fix typos.
4452 * config/picochip/parityhi2.S: Fix typos.
4453 * config/picochip/popcounthi2.S: Fix typos.
4454 * config/picochip/setjmp.S: Fix typos.
4455 * config/picochip/subdi3.S: Fix typos.
4456 * config/picochip/ucmpsi2.S: Fix typos.
4457 * config/picochip/udivmodhi4.S: Fix typos.
4458 * config/picochip/udivmodsi4.S: Fix typos.
4459 * config/spu/divv2df3.c: Fix typos.
4460 * config/spu/mfc_multi_tag_release.c: Fix typos.
4461 * config/spu/mfc_tag_release.c: Fix typos.
4462 * configure.ac: Fix typos.
4463 * configure: Regenerate.
4465 2012-05-25 Ian Lance Taylor <iant@google.com>
4467 * config/i386/morestack.S (__morestack_non_split): Check whether
4468 caller is varargs and needs %bp to hold the stack frame on return.
4470 2012-05-25 Olivier Hainque <hainque@adacore.com>
4472 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
4473 sequence in the non pic case on VxWorks.
4475 2012-05-24 Olivier Hainque <hainque@adacore.com>
4477 * Makefile.in: Move dependency on install-unwind_h from
4478 "install-leaf" to "install".
4480 2012-05-24 Olivier Hainque <hainque@adacore.com>
4482 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
4483 Use a separate command for stamp removals.
4485 2012-05-21 Andrew Pinski <apinski@cavium.com>
4488 * configure.ac: Define the default includes to being none.
4489 * configure: Regenerate.
4491 2012-05-16 Olivier Hainque <hainque@adacore.com>
4493 * Makefile.in (install-unwind_h): Rename into ...
4494 (install-unwind_h-forbuild): New target.
4495 (all): Use it instead of the former install-unwind_h.
4496 (install-unwind_h): Reinstate, copy to user install destination
4497 for include files, not to the internal gcc object directory one.
4498 (install-leaf): Depend on it.
4500 2012-05-15 Olivier Hainque <hainque@adacore.com>
4502 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
4503 register numbers. LR_REGNO replaces R_LR.
4504 (ucontext_for): New, helper for ...
4505 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
4507 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
4509 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4511 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
4512 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
4513 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
4515 (i[34567]86-*-*, x86_64-*-*): ... here.
4517 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
4518 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
4520 * config/i386/i386-cpuinfo.c: Rename to ...
4521 * config/i386/cpuinfo.c: ... this.
4522 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
4524 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
4525 (libgcc_cv_init_priority): New test.
4526 * configure: Regenerate.
4527 * config.in: New file.
4528 * Makefile.in (clean): Rename config.h to auto-target.h.
4529 (config.h): Likewise.
4530 (stamp-h): Likewise.
4532 * config/i386/cpuinfo.c (auto-target.h): Include.
4533 (CONSTRUCTOR_PRIORITY): Define.
4534 (__cpu_indicator_init): Use it.
4536 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4538 * longlong.h: Use a URL instead of an FSF postal address.
4539 Replace spaces with tab.
4541 2012-05-08 Teresa Johnson <tejohnson@google.com>
4543 * libgcov.c (gcov_clear, __gcov_reset): New functions.
4544 (__gcov_dump): Ditto.
4545 (gcov_dump_complete): New global variable.
4546 (gcov_exit): Export hidden to enable use in L_gcov_dump.
4547 (__gcov_flush): Outline functionality now in gcov_clear.
4548 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
4550 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
4552 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
4553 (mips*-*-linux*): Include mips/t-tpbit when long double is
4556 2012-04-25 Sriraman Tallam <tmsriram@google.com>
4558 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
4559 (get_available_features): New argument. Check for AVX2.
4560 (__cpu_indicator_init): Modify call to get_available_features.
4562 2012-04-25 Alan Modra <amodra@gmail.com>
4564 * config/rs6000/crtsavevr.S: New file.
4565 * config/rs6000/crtrestvr.S: New file.
4566 * config/rs6000/t-savresfgpr: Build the above.
4567 * config/rs6000/t-netbsd: Likewise.
4569 2012-04-24 Sriraman Tallam <tmsriram@google.com>
4571 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
4573 2012-04-24 Sriraman Tallam <tmsriram@google.com>
4575 * libgcc/config/i386/i386-cpuinfo.c: New file.
4576 * libgcc/config/i386/t-cpuinfo: New file.
4577 * libgcc/config.host: Include t-cpuinfo.
4578 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
4580 2012-04-24 Chao-ying Fu <fu@mips.com>
4582 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
4584 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
4586 struct siginfo vs. siginfo_t
4588 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
4589 siginfo_t instead of struct siginfo.
4590 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
4591 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
4592 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
4593 (ia64_handle_unwabi): Likewise.
4594 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
4595 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
4596 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
4597 (sh_fallback_frame_state): Likewise.
4598 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
4599 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
4601 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
4603 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
4606 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
4608 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
4609 if it hasn't been previously saved.
4611 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
4613 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
4616 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
4619 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
4620 instead of __AVR_HAVE_8BIT_SP__.
4622 2012-03-26 Tristan Gingold <gingold@adacore.com>
4624 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
4625 (unw_table_entry): Use unw_word instead of unsigned long.
4626 (_Unwind_FindTableEntry): Likewise.
4627 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
4628 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
4629 (_Unwind_FindTableEntry): Likewise.
4630 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
4631 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
4632 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
4633 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
4634 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
4635 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
4636 (uw_init_context_1, uw_install_context): Likewise.
4637 (unw_word): Move to unwind-ia64.h
4639 2012-03-26 Tristan Gingold <gingold@adacore.com>
4641 * config/vms/vms-ucrt0.c: Update copyright years.
4643 (___gcc_main_flags): Declare.
4644 (__main): Check flags to remap argv and exit code.
4645 * config.host (*-*-*vms*): Adjust extra_parts.
4646 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
4649 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
4651 * arm/lib1funcs.asm (ctzsi2): New function.
4652 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
4653 * arm/t-linux (LIB1ASMFUNCS): Likewise.
4654 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
4655 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
4656 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
4657 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
4659 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
4661 * config.host: Add bits to support powerpc64-*-freebsd*.
4662 * config/rs6000/freebsd-unwind.h: New file.
4663 * config/rs6000/t-freebsd64: New file.
4665 2012-03-20 Richard Guenther <rguenther@suse.de>
4667 PR gcov-profile/52627
4668 * libgcov.c (init_mx): Fix mutex name.
4670 2012-03-16 Tristan Gingold <gingold@adacore.com>
4672 * config/ia64/vms-unwind.h: Remove ulong (and replace
4673 it by unw_reg where used). Define unw_reg with __int64.
4675 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4677 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4679 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4681 (sparc_is_sighandler): Likewise.
4683 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
4685 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
4688 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4690 * config/arm/crtn.S: Fix typo.
4692 2012-03-13 Richard Guenther <rguenther@suse.de>
4694 * libgcov.c: Remove stdio.h include and NULL un-define.
4696 2012-03-13 Richard Guenther <rguenther@suse.de>
4699 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
4701 2012-03-13 Richard Guenther <rguenther@suse.de>
4703 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
4705 2012-03-13 Richard Guenther <rguenther@suse.de>
4707 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
4708 and __gthread_mutex_init_function definitions.
4710 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4712 * config.host (mips*-*-openbsd*): Remove.
4714 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4716 * config.host: Remove alpha*-dec-osf5.1* handling.
4717 * config/alpha/gthr-posix.c: Remove.
4718 * config/alpha/libgcc-osf5.ver: Remove.
4719 * config/alpha/osf5-unwind.h: Remove.
4720 * config/alpha/t-osf-pthread: Remove.
4721 * config/alpha/t-slibgcc-osf: Remove.
4722 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
4723 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
4724 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
4725 * mkmap-flat.awk: Remove osf_export handling.
4727 2012-03-12 Richard Guenther <rguenther@suse.de>
4729 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
4730 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
4731 (__gthread_mutex_init_function): New function.
4732 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
4735 * libgcov.c: Include gthr.h.
4736 (__gcov_flush_mx): New global variable.
4737 (init_mx, init_mx_once): New functions.
4738 (__gcov_flush): Protect self with a mutex.
4739 (__gcov_fork): Re-initialize mutex after forking.
4740 * unwind-dw2-fde.c: Change condition under which to use
4741 __GTHREAD_MUTEX_INIT_FUNCTION.
4743 2012-03-12 Tristan Gingold <gingold@adacore.com>
4745 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
4746 * config/ia64/t-vms: Likewise.
4748 2012-03-11 Michael Hope <michael.hope@linaro.org>
4750 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
4753 2012-03-07 Walter Lee <walt@tilera.com>
4755 * config/tilepro/atomic.c: Rename "atomic_" prefix to
4757 (atomic_xor): Rename and move definition to
4758 config/tilepro/atomic.h.
4759 (atomic_nand): Ditto.
4760 * config/tilepro/atomic.h: Rename "atomic_" prefix to
4762 (arch_atomic_xor): Move from config/tilepro/atomic.c.
4763 (arch_atomic_nand): Ditto.
4765 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
4768 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
4770 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
4773 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
4776 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
4780 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
4781 if RAMPZ affects reading from RAM.
4782 (__tablejump_elpm__): Ditto.
4784 (__movmemx_hi): Ditto.
4785 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
4786 (__do_global_dtors): Ditto.
4787 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
4788 (__movmemx_hi): Ditto.
4790 2012-03-05 Richard Henderson <rth@redhat.com>
4792 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
4793 [ARM] (count_trailing_zeros): Use the builtin.
4795 2012-03-01 Kai Tietz <ktietz@redhat.com>
4797 * soft-fp: Imported from glibc upstream.
4799 2012-02-28 Kai Tietz <ktietz@redhat.com>
4801 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
4802 for mingw-targets as attribute gcc_struct.
4804 2012-02-28 Ian Lance Taylor <iant@google.com>
4806 * generic-morestack.c (__splitstack_releasecontext): Correct call
4807 to __morestack_release_segments.
4809 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4812 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
4813 for __linux__ when removing signals from __morestack_fullmask.
4815 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
4818 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
4820 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4822 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
4823 instead of HAVE_INITFINI_ARRAY.
4824 * config/ia64/crtend.S: Likewise.
4826 2012-02-20 Kai Tietz <ktietz@redhat.com>
4829 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
4831 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
4832 to w32-unwind.h header.
4834 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
4836 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
4837 (mips*-*-linux*): Remove t-slibgcc-libgcc.
4838 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
4839 * config/mips/mips16.S (__mips16_rdhwr): Delete.
4841 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
4843 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
4845 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
4848 * config/darwin-crt-tm.c: Correct typo.
4850 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
4851 Patrick Marlier <patrick.marlier@gmail.com>
4854 * config/darwin-crt-tm.c: Generate dummy functions.
4856 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
4857 Patrick Marlier <patrick.marlier@gmail.com>
4860 * config/darwin-crt-tm.c (getTMCloneTable): New function.
4861 (__doTMRegistrations): Call it.
4862 (__doTMdeRegistrations): Likewise.
4864 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
4865 Anatoly Sokolov <aesok@post.ru>
4866 Eric Weddington <eric.weddington@atmel.com>
4869 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
4870 (__epilogue_restores__): Ditto.
4872 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
4876 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
4877 Solaris 11 and slightly reformat.
4878 (sparc_is_sighandler): Likewise.
4880 2012-02-14 Walter Lee <walt@tilera.com>
4882 * config.host: Handle tilegx and tilepro.
4883 * config/tilegx/sfp-machine.h: New file.
4884 * config/tilegx/sfp-machine32.h: New file.
4885 * config/tilegx/sfp-machine64.h: New file.
4886 * config/tilegx/t-crtstuff: New file.
4887 * config/tilegx/t-softfp: New file.
4888 * config/tilegx/t-tilegx: New file.
4889 * config/tilepro/atomic.c: New file.
4890 * config/tilepro/atomic.h: New file.
4891 * config/tilepro/linux-unwind.h: New file.
4892 * config/tilepro/sfp-machine.h: New file.
4893 * config/tilepro/softdivide.c: New file.
4894 * config/tilepro/softmpy.S: New file.
4895 * config/tilepro/t-crtstuff: New file.
4896 * config/tilepro/t-tilepro: New file.
4898 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
4902 * gthr-posix.h: Allow static initializer macros to be disabled.
4903 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
4905 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
4907 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
4908 Add t-slibgcc-libgcc to tmake_file.
4909 * config/mips/libgcc-mips16.ver: Revert previous patch.
4910 * config/mips/mips16.S (__mips16_rdhwr): Hide.
4912 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
4913 Jayant R Sonar <jayant.sonar@kpitcummins.com>
4915 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
4916 * config/cr16/crti.S: New file.
4917 * config/cr16/crtlibid.S: New file.
4918 * config/cr16/crtn.S: New file.
4919 * config/cr16/lib1funcs.S: New file.
4920 * config/cr16/t-cr16: New file.
4921 * config/cr16/t-crtlibid: New file.
4922 * config/cr16/unwind-dw2.h: New file.
4923 * config/cr16/unwind-cr16.c: New file.
4924 * config/cr16/divmodhi3.c: New file.
4926 2012-01-25 Alan Modra <amodra@gmail.com>
4928 * config/rs6000/t-linux64: Delete. Move..
4929 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
4930 * config/rs6000/t-linux: ..and libgcc flags to here.
4932 2012-01-22 Douglas B Rupp <rupp@gnat.com>
4934 * config.host (i[34567]86-*-interix3*):
4935 Change triplet to i[34567]86-*-interix[3-9]*.
4936 * configure: Regenerate.
4938 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
4939 Richard Sandiford <rdsandiford@googlemail.com>
4941 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
4942 * config/mips/mips16.S (__mips16_rdhwr): New function.
4943 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
4945 2012-01-11 Nathan Sidwell <nathan@acm.org>
4947 * libgcov.c (__gcov_init): Ignore objects with no functions.
4949 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
4952 Extend __pgmx semantics to linearize memory.
4953 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
4954 * config/avr/lib1funcs.S (__xload_1): New function.
4955 (__movmemx_qi, __movmemx_hi): New functions.
4956 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
4959 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
4961 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
4962 purported sigacthandler address isn't null before dereferencing it.
4963 (sparc_is_sighandler): Likewise.
4965 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
4968 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
4969 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
4970 (sparc_is_sighandler): Likewise.
4971 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
4973 2012-01-06 Tristan Gingold <gingold@adacore.com>
4975 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
4976 compatibility thunks...
4977 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
4978 (crtbeginS.o, crtendS.o): ... and these to ...
4979 * config/ia64/t-ia64-elf: ... this new file.
4980 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
4981 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
4983 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4985 * configure: Regenerate.
4986 * config/s390/t-crtstuff: Remove -fPIC.
4988 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
4991 * enable-execute-stack-mprotect.c (getpagesize): Do not define
4994 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
4997 * config/avr/lib1funcs.S: Remove FIXME comments.
4998 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
5000 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
5002 Implement light-weight DImode support.
5003 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
5004 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
5005 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
5006 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
5008 2011-12-30 Nathan Sidwell <nathan@acm.org>
5010 * libgcov.c (gcov_crc32): Remove global var.
5011 (free_fn_data): New function.
5012 (buffer_fn_data): Pass in filename, more robust error recovery.
5013 (crc32_unsigned): New function.
5014 (gcov_exit): More robust detection of new program. More robust
5016 (__gcov_init): Do not update program's crc here.
5018 2011-12-21 Tristan Gingold <gingold@adacore.com>
5020 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
5022 2011-12-21 Ian Lance Taylor <iant@google.com>
5024 * config/i386/morestack.S: Simplify CFI opcodes throughout.
5026 2011-12-20 Ian Lance Taylor <iant@google.com>
5028 * config/i386/morestack.S (__morestack_non_split): If there is
5029 enough stack space already, don't split. Ask for more stack space
5032 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
5034 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
5036 (_Unwind_DebugHook): New function.
5037 (uw_restore_core_regs): New define.
5038 (unwind_phase2): Use uw_restore_core_regs instead of
5040 (unwind_phase2_forced): Likewise.
5041 (__gnu_Unwind_Resume): Likewise.
5043 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
5045 * config/alpha/linux-unwind.h: Update copyright years.
5046 (MD_FROB_UPDATE_CONTEXT): New define.
5047 (alpha_frob_update_context): New function.
5049 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
5051 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
5052 tmake_file rather replacing it.
5054 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
5056 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
5057 function is not used for PPC64.
5058 (save_world): Amend comments. Update the VRsave mask to reflect the
5060 (rest_world): Update comments, do not clobber r10, do not use r8.
5061 (eh_rest_world_r10): Amend comments, do not use r8.
5062 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
5063 no longer used, move restore of CR and target address to the end of
5066 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
5068 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
5069 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
5071 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
5074 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
5075 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
5077 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
5079 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
5081 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
5084 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
5085 * config/avr/lib1funcs.S (__muldi3): New function.
5087 2011-12-06 Andrew Pinski <apinski@cavium.com>
5089 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
5091 (__frame_dummy_init_array_entry): Likewise.
5093 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
5095 Forward-port from gcc-4_6-branch r181936 2011-12-02.
5099 * config/avr/lib1funcs.S (__prologue_saves__,
5100 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
5101 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
5103 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
5105 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
5107 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5110 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
5111 (_ITM_deregisterTMCloneTable): Likewise.
5112 (__register_frame_info): Fix unused warning.
5113 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
5114 pthread_default_stacksize_np): Likewise.
5115 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
5117 2011-11-29 DJ Delorie <dj@redhat.com>
5119 * config.host (rl78-*-elf): New case.
5120 * config/rl78: New directory for the Renesas RL78.
5122 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
5124 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
5127 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5130 * config/rs6000/t-savresfgpr: New file.
5131 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
5132 $(srcdir)/config/rs6000/eabi.S.
5133 * config/rs6000/t-ppccomm-ldbl: Remove.
5134 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
5136 (powerpc-*-eabispe*): Likewise.
5137 (powerpc-*-eabi*): Likewise.
5138 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5139 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
5140 to tmake_file, remove rs6000/t-ppccomm-ldbl.
5141 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
5143 (powerpc-*-eabisim*): Likewise.
5144 (powerpc-*-elf*): Likewise.
5145 (powerpc-*-eabialtivec*): Likewise.
5146 (powerpc-xilinx-eabi*): Likewise.
5147 (powerpc-*-rtems*): Likewise.
5148 (powerpcle-*-elf*): Likewise.
5149 (powerpcle-*-eabisim*): Likewise.
5150 (powerpcle-*-eabi*): Likewise.
5152 2011-11-27 Ian Lance Taylor <iant@google.com>
5154 * generic-morestack.c (__splitstack_find): Check for NULL old
5156 (__splitstack_resetcontext): New function.
5157 (__splitstack_releasecontext): New function.
5158 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5160 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
5162 * config/darwin-crt-tm.c: Correct comments, use correct licence.
5164 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
5166 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
5168 2011-11-26 Richard Henderson <rth@redhat.com>
5170 * config/m68k/linux-atomic.c: New file.
5171 * config/m68k/t-linux: New file.
5172 * config.host (m68k-uclinux, m68k-linux): Use it.
5174 2011-11-26 Richard Henderson <rth@redhat.com>
5176 * crtstuff.c (__TMC_LIST__): Mark used not unused.
5177 (__TMC_END__): Only declare if hidden is available; in the definition,
5178 if hidden is unavailable add a null record.
5179 (deregister_tm_clones, register_tm_clones): New.
5180 (__do_global_dtors_aux, frame_dummy): Use them.
5181 (__do_global_dtors, __do_global_ctors_1): Likewise.
5183 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
5185 * config/darwin-crt-tm.c: New file.
5186 * config.host (darwin): Build crttms.o crttme.o to provide
5187 startup and shutdown for tm clones.
5188 * config/t-darwin (crttms.o): New build rule.
5189 (crttme.o): Likewise.
5191 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
5193 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
5196 2011-11-21 Richard Henderson <rth@redhat.com>
5198 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
5199 (__TMC_LIST__, __TMC_END__): New.
5200 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
5201 (__do_global_dtors): Likewise.
5202 (frame_dummy): Call _ITM_registerTMCloneTable.
5203 (__do_global_ctors_1): Likewise.
5205 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5207 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
5208 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5209 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
5210 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
5211 * config/i386/t-darwin64: Remove.
5212 * config/sh/t-netbsd (LIB2ADD): Remove.
5214 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
5217 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
5218 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
5219 * config/avr/lib1funcs.S (wmov): New assembler macro.
5220 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
5221 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
5222 (__udivmod64): New function.
5223 (__negdi2): New function.
5225 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
5227 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
5228 *-*-freebsd*aout*): Remove.
5230 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
5232 * static-object.mk (c_flags-$o): Save c_flags.
5233 ($(base)$(objext)): Use it.
5235 2011-11-18 Steve Ellcey <sje@cup.hp.com>
5237 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
5239 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
5242 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
5243 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
5246 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5248 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
5250 (aeabi_uidivmod): Likewise.
5251 (umodsi3): Likewise.
5253 (aeabi_idivmod): Likewise.
5256 2011-11-16 Tristan Gingold <gingold@adacore.com>
5258 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
5260 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
5263 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
5264 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
5266 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5268 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
5270 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
5271 * config/pa/t-stublib64: Delete.
5273 2011-11-12 Richard Henderson <rth@redhat.com>
5275 * config/rs6000/linux-unwind.h (frob_update_context): Properly
5276 cast the pointer argument to _Unwind_SetGRPtr.
5278 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5280 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
5282 2011-11-09 Ian Lance Taylor <iant@google.com>
5284 * generic-morestack.c: Include <string.h>.
5285 (uintptr_type): Define.
5286 (struct initial_sp): Add dont_block_signals field. Reduce size of
5288 (allocate_segment): Set prev field to NULL. Don't set
5289 __morestack_current_segment or __morestack_segments.
5290 (__generic_morestack): Update current->prev and *pp after calling
5292 (__morestack_block_signals): Don't do anything if
5293 dont_block_signals is set.
5294 (__morestack_unblock_signals): Likewise.
5295 (__generic_findstack): Check for initial_sp == NULL. Add casts to
5297 (__splitstack_block_signals): New function.
5298 (enum __splitstack_content_offsets): Define.
5299 (__splitstack_getcontext, __splitstack_setcontext): New functions.
5300 (__splitstack_makecontext): New function.
5301 (__splitstack_block_signals_context): New function.
5302 (__splitstack_find_context): New function.
5303 * config/i386/morestack.S (__morestack_get_guard): New function.
5304 (__morestack_set_guard, __morestack_make_guard): New functions.
5305 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5307 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5309 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
5310 (i[34567]86-*-mingw*): ... here.
5311 (x86_64-*-mingw*): ... here.
5313 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5315 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
5317 2011-11-07 Nathan Sidwell <nathan@acm.org>
5319 * libgcov.c (struct gcov_fn_buffer): New struct.
5320 (buffer_fn_data): New helper.
5321 (gcov_exit): Rework for new gcov data structures.
5323 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
5326 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
5328 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5330 * config.host (tmake_file): Correct comment.
5331 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
5333 (bfin*-uclinux*): Likewise.
5334 (bfin*-linux-uclibc*): Likewise.
5335 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
5337 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
5339 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5340 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
5341 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5342 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
5343 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5344 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
5345 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
5346 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5347 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
5348 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
5349 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
5350 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
5351 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
5353 * config/bfin/t-elf: Remove.
5354 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
5356 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5358 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
5359 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
5360 (lm32-*-elf*, lm32-*-rtems*): Split into ...
5361 (lm32-*-elf*): ... this.
5362 (lm32-*-rtems*): ... and this.
5364 (m32r-*-rtems*): Add to tmake_file.
5365 (moxie-*-rtems*): Likewise.
5366 (sparc-*-rtems*): Likewise.
5367 Remove t-rtems from tmake_file.
5368 (sparc64-*-rtems*): Likewise.
5369 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
5372 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5375 * config/gthr-posix.h: Move ...
5376 * gthr-posix.h: ... here.
5377 * config/gthr-lynx.h: Reflect this.
5378 * config/gthr-vxworks.h: Likewise.
5379 * config/rs6000/gthr-aix.h: Likewise.
5380 * configure.ac (target_thread_file): Likewise.
5381 * configure: Regenerate.
5383 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
5385 * config.host (arm*-*-rtemseabi*): New target.
5387 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5390 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
5393 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
5395 * config.host (epiphany-*-elf*): New configuration.
5396 * config/epiphany: New Directory.
5398 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
5400 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
5401 * config/avr/t-rtems: New.
5402 Filter out _exit from LIB1ASMFUNCS.
5404 2011-11-04 David S. Miller <davem@davemloft.net>
5406 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
5407 * configure: Rebuild.
5409 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5411 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
5414 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
5417 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
5418 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
5420 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
5423 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
5425 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5427 * config/c6x/t-elf (LIB2ADDEH): Set.
5428 * config/c6x/t-c6x-elf: Remove.
5430 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5432 * config/i386/sol2-ci.S: Rename to ...
5433 * config/i386/crti.S: ... this.
5434 * config/i386/sol2-cn.S: Rename to ...
5435 * config/i386/crtn.S: ... this.
5436 * config/sparc/sol2-ci.S: Rename to ...
5437 * config/sparc/crti.S: ... this.
5438 * config/sparc/sol2-cn.S: Rename to ...
5439 * config/sparc/crtn.S: ... this.
5440 * config/t-sol2 (CUSTOM_CRTIN): Remove.
5441 (crti.o, crtn.o): Remove.
5443 2011-11-04 Tristan Gingold <gingold@adacore.com>
5445 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
5447 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
5449 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
5451 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
5453 * config.host (crisv32-*-none, cris-*-none): Remove.
5454 (crisv32-*-elf): Append to tmake_file, don't just set it.
5455 (cris-*-elf): Add missing t-fdpbit to tmake_file.
5457 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5459 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
5460 (ecrtn$(objext)): Likewise.
5461 (ncrti$(objext)): Likewise.
5462 (ncrtn$(objext)): Likewise.
5464 2011-11-03 Andreas Schwab <schwab@redhat.com>
5466 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
5468 2011-11-02 David S. Miller <davem@davemloft.net>
5470 * configure.ac: Set host_address on sparc too.
5471 * configure: Regenerate.
5472 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
5473 based upon host_address.
5474 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
5476 2011-11-02 Jason Merrill <jason@redhat.com>
5478 * config/rs6000/t-ppccomm: Add missing \.
5480 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5482 * gthr-single.h, gthr.h: New files.
5483 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
5484 config/gthr-vxworks.h, config/i386/gthr-win32.h,
5485 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
5486 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
5487 * config/i386/gthr-win32.c: Include "gthr-win32.h".
5488 * configure.ac (thread_header): New variable.
5489 Set it depending on target_thread_file.
5490 (gthr-default.h): Link from $thread_header.
5491 * configure: Regenerate.
5492 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
5494 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5496 * configure.ac (tm_file_): New variable.
5497 Determine from tm_file.
5498 (tm_file, tm_defines): Substitute.
5499 * configure: Regenerate.
5500 * mkheader.sh: New file.
5501 * Makefile.in (clean): Remove libgcc_tm.h.
5502 ($(objects)): Depend on libgcc_tm.h.
5503 (libgcc_tm_defines, libgcc_tm_file): New variables.
5504 (libgcc_tm.h, libgcc_tm.stamp): New targets.
5505 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
5506 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
5507 ($(extra-parts)): Depend on libgcc_tm.h.
5508 * config.host (tm_defines, tm_file): New variable.
5509 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
5510 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
5511 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
5512 (avr-*-rtems*): Likewise.
5513 (avr-*-*): Likewise.
5514 (frv-*-elf): Likewise.
5515 (frv-*-*linux*): Likewise.
5516 (h8300-*-rtems*): Likewise.
5517 (h8300-*-elf*): Likewise.
5518 (i[34567]86-*-darwin*): Likewise.
5519 (x86_64-*-darwin*): Likewise.
5520 (rx-*-elf): Likewise.
5521 (tic6x-*-uclinux): Likewise.
5522 (tic6x-*-elf): Likewise.
5523 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
5524 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
5525 * config/i386/cygming-crtbegin.c: Likewise.
5526 * config/i386/cygming-crtend.c: Likewise.
5527 * config/ia64/fde-vms.c: Likewise.
5528 * config/ia64/unwind-ia64.c: Likewise.
5529 * config/libbid/bid_gcc_intrinsics.h: Likewise.
5530 * config/rs6000/darwin-fallback.c: Likewise.
5531 * config/stormy16/lib2funcs.c: Likewise.
5532 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
5533 * crtstuff.c: Likewise.
5534 * dfp-bit.h: Likewise.
5535 * emutls.c: Likewise.
5536 * fixed-bit.c: Likewise.
5537 * fp-bit.c: Likewise.
5538 * generic-morestack-thread.c: Likewise.
5539 * generic-morestack.c: Likewise.
5540 * libgcc2.c: Likewise.
5541 * libgcov.c: Likewise.
5542 * unwind-dw2-fde-dip.c: Likewise.
5543 * unwind-dw2-fde.c: Likewise.
5544 * unwind-dw2.c: Likewise.
5545 * unwind-sjlj.c: Likewise.
5547 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5549 * configure.ac: Include ../config/picflag.m4.
5550 (GCC_PICFLAG): Call it.
5552 * configure: Regenerate.
5553 * Makefile.in (gcc_srcdir): Remove.
5554 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
5555 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
5556 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
5557 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
5558 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
5561 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
5562 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
5563 to refer to libgcc2.c.
5565 * config/darwin-64.c: New file.
5566 * config/darwin-crt3.c: Remove comment.
5567 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
5568 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
5569 config/udivmodsi4.c: New files.
5570 * config/memcmp.c, config/memcpy.c, config/memmove.c,
5571 config/memset.c: New files.
5572 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
5573 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
5574 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
5575 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
5576 * config/t-openbsd-thread: New file.
5577 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
5578 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
5579 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
5580 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
5583 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
5584 to refer to gthr-posix.c.
5585 * config/alpha/t-vms (LIB2ADD): Set.
5586 * config/alpha/vms-gcc_shell_handler.c: New file.
5587 * config/arm/bpabi.c, config/arm/fp16.c,
5588 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
5589 config/arm/unaligned-funcs.c: New files.
5590 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
5591 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5592 * config/arm/t-linux: Likewise.
5593 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
5594 * config/arm/t-netbsd: New file.
5595 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
5596 * config/arm/t-symbian (LIB2ADD_ST): Set.
5597 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
5598 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5599 * config/bfin/t-elf: New file.
5600 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
5601 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
5602 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
5603 config/c6x/ltf.c: New files.
5604 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
5605 (HOST_LIBGCC2_CFLAGS): Set.
5606 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
5607 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5608 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
5610 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
5611 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
5612 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
5613 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
5614 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
5616 * config/frv/t-frv (LIB2ADD): Set.
5617 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5618 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
5619 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
5620 config/h8300/popcounthi2.c: New files.
5621 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5622 * config/i386/gthr-win32.c: New file.
5623 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
5624 * config/i386/t-cygwin: Likewise.
5625 * config/i386/t-darwin, config/i386/t-darwin64,
5626 config/i386/t-gthr-win32, config/i386/t-interix: New files.
5627 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
5628 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5629 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5630 * config/ia64/quadlib.c: New file.
5631 * config/ia64/t-hpux (LIB2ADD): Set.
5632 * config/ia64/t-ia64: Add comment.
5633 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
5634 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5635 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
5636 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
5637 * config/m32c/t-m32c (LIB2ADD): Set.
5638 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5639 * config/m32r/t-m32r: Likewise.
5640 * config/m68k/fpgnulib.c: New file.
5641 * config/m68k/t-floatlib (LIB2ADD): Set.
5642 (xfgnulib.c): New target.
5643 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
5644 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
5645 * config/mep/t-mep (LIB2ADD): Set.
5646 * config/microblaze/divsi3.asm: Rename to divsi3.S.
5647 * config/microblaze/moddi3.asm: Rename to moddi3.S.
5648 * config/microblaze/modsi3.asm: Rename to modsi3.S.
5649 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
5650 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
5651 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
5652 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
5653 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
5654 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
5655 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
5657 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
5658 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
5659 * config/pa/fptr.c, config/pa/lib2funcs.S,
5660 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
5661 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5662 (LIB2ADD, LIB2ADD_ST): Set.
5663 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
5664 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
5666 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
5667 * config/pdp11/t-pdp11: New file.
5668 * config/picochip/libgccExtras/adddi3.S,
5669 config/picochip/libgccExtras/ashlsi3.S,
5670 config/picochip/libgccExtras/ashrsi3.S,
5671 config/picochip/libgccExtras/clzsi2.S,
5672 config/picochip/libgccExtras/cmpsi2.S,
5673 config/picochip/libgccExtras/divmod15.S,
5674 config/picochip/libgccExtras/divmodhi4.S,
5675 config/picochip/libgccExtras/divmodsi4.S,
5676 config/picochip/libgccExtras/lshrsi3.S,
5677 config/picochip/libgccExtras/parityhi2.S,
5678 config/picochip/libgccExtras/popcounthi2.S,
5679 config/picochip/libgccExtras/subdi3.S,
5680 config/picochip/libgccExtras/ucmpsi2.S,
5681 config/picochip/libgccExtras/udivmodhi4.S,
5682 config/picochip/libgccExtras/udivmodsi4.S: New files.
5683 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
5684 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
5685 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
5686 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
5687 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
5688 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
5689 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
5690 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
5692 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
5693 (HOST_LIBGCC2_CFLAGS): Set.
5694 * config/rs6000/t-darwin64: New file.
5695 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
5696 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
5697 * config/rs6000/t-ppccomm (LIB2ADD): Add
5698 $(srcdir)/config/rs6000/tramp.S.
5699 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
5700 Add $(srcdir)/config/rs6000/eabi.S.
5701 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
5702 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
5703 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
5704 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
5705 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
5706 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
5707 * config/rs6000/tramp.S: New file.
5708 * config/s390/t-tpf: Remove.
5709 * config/sh/linux-atomic.S: New file.
5710 * config/sh/t-linux (LIB2ADD): Set.
5711 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
5712 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5713 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
5715 (HOST_LIBGCC2_CFLAGS): Set.
5716 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5717 * config/spu/divmodti4.c, config/spu/divv2df3.c,
5718 config/spu/float_disf.c, config/spu/float_unsdidf.c,
5719 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
5720 config/spu/mfc_multi_tag_release.c,
5721 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
5722 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
5723 config/spu/multi3.c: New files.
5724 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
5725 (HOST_LIBGCC2_CFLAGS): Set.
5726 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
5727 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
5728 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
5729 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
5730 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
5731 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
5732 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
5733 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
5734 config/stormy16/umodsi3.c: New files.
5735 * config/xtensa/lib2funcs.S: New file.
5736 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5737 * config/xtensa/t-xtensa (LIB2ADD): Set.
5738 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
5739 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
5740 Add t-freebsd-thread to tmake_file for posix threads.
5741 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
5742 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
5743 (*-*-lynxos*): Likewise.
5744 (*-*-netbsd*): Likewise.
5745 (*-*-openbsd*): Likewise.
5746 Add t-openbsd-thread to tmake_file for posix threads.
5747 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
5748 (*-*-vxworks*): Set tmake_file.
5749 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
5750 (alpha*-*-freebsd*): Likewise.
5751 (alpha*-*-netbsd*): Likewise.
5752 (alpha*-*-openbsd*): Likewise.
5753 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
5754 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
5755 (alpha*-dec-*vms*): Likewise.
5756 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
5757 (bfin*-elf*): Add bfin/t-elf to tmake_file.
5758 (bfin*-uclinux*): Likewise.
5759 (bfin*-linux-uclibc*): Likewise.
5760 (crisv32-*-elf): Add cris/t-cris to tmake_file.
5761 (crisv32-*-none): Likewise.
5762 (cris-*-elf): Likewise.
5763 (cris-*-none): Likewise.
5764 (cris-*-linux*, crisv32-*-linux*): Likewise.
5765 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
5767 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
5769 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
5770 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
5771 (x86_64-*-elf*): Likewise.
5772 (i[34567]86-*-nto-qnx*): Likewise.
5773 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
5775 (x86_64-*-mingw*): Likewise.
5776 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
5777 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
5778 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
5779 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
5780 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
5782 (mipsisa64sr71k-*-elf*): Likewise.
5783 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
5784 (mips-*-elf*, mipsel-*-elf*): Likewise.
5785 (mips64-*-elf*, mips64el-*-elf*): Likewise.
5786 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
5787 (mips*-*-rtems*): Likewise.
5788 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
5790 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
5791 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
5792 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
5793 (spu-*-elf*): Likewise.
5794 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
5796 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5798 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
5799 $(srcdir) to refer to $(LIB1ASMSRC).
5801 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
5802 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
5803 config/arm/lib1funcs.S: New files.
5804 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
5805 * config/arm/t-arm: New file.
5806 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
5807 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
5808 config/arm/t-strongarm-elf: New files.
5809 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
5810 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
5811 * config/avr/lib1funcs.S: New file.
5812 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5813 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
5814 * config/c6x/lib1funcs.S: New file.
5815 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5816 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
5817 * config/frv/lib1funcs.S: New file.
5818 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5819 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
5820 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
5821 * config/ia64/__divxf3.asm: Rename to ...
5822 * config/ia64/__divxf3.S: ... this.
5823 Adapt lib1funcs.asm filename.
5824 * config/ia64/_fixtfdi.asm: Rename to ...
5825 * config/ia64/_fixtfdi.S: ... this.
5826 Adapt lib1funcs.asm filename.
5827 * config/ia64/_fixunstfdi.asm: Rename to ...
5828 * config/ia64/_fixunstfdi.S: ... this.
5829 Adapt lib1funcs.asm filename.
5830 * config/ia64/_floatditf.asm: Rename to ...
5831 * config/ia64/_floatditf.S: ... this.
5832 Adapt lib1funcs.asm filename.
5833 * config/ia64/lib1funcs.S: New file.
5834 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
5835 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5836 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
5837 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
5838 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
5839 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
5840 * config/mep/lib1funcs.S: New file.
5841 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5842 * config/mips/mips16.S: New file.
5843 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5844 * config/pa/milli64.S: New file.
5845 * config/pa/t-linux, config/pa/t-linux64: New files.
5846 * config/picochip/lib1funcs.S: New file.
5847 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5848 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
5849 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
5850 * config/sh/t-netbsd: New file.
5851 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
5852 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
5853 * config/sh/t-sh64: New file.
5854 * config/sparc/lb1spc.S: New file.
5855 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
5857 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
5858 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
5859 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
5860 config/xtensa/lib1funcs.S: New files.
5861 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5862 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
5864 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
5865 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
5866 (arm*-*-linux*): Likewise.
5867 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
5868 arm*-*-linux-*eabi, add arm/t-linux otherwise.
5869 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
5870 (arm*-*-ecos-elf): Likewise.
5871 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
5872 (arm*-*-rtems*): Likewise.
5873 (arm*-*-elf): Likewise.
5874 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
5875 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
5876 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
5877 (bfin*-uclinux*): Likewise.
5878 (bfin*-linux-uclibc*): Likewise.
5879 (bfin*-rtems*): Likewise.
5880 (bfin*-*): Likewise.
5881 (fido-*-elf): Merge into m68k-*-elf*.
5882 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
5883 (frv-*-*linux*): Add frv/t-frv to tmake_file.
5884 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
5885 (h8300-*-elf*): Likewise.
5886 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
5887 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
5888 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
5889 (i[34567]86-*-mingw*): Likewise.
5890 (x86_64-*-mingw*): Likewise.
5891 (i[34567]86-*-interix3*): Likewise.
5892 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
5893 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
5894 (m68k-*-elf*): Also handle fido-*-elf.
5895 Add m68k/t-floatlib to tmake_file.
5896 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
5897 (m68k-*-linux*): Likewise.
5898 (m68k-*-rtems*): Likewise.
5899 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
5900 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
5902 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
5903 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
5904 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
5905 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
5906 sh/t-netbsd to tmake_file.
5907 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
5908 (sh-*-rtems*): Add sh/t-sh to tmake_file.
5909 (sh-wrs-vxworks): Likewise.
5910 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
5912 (v850*-*-*): Add v850/t-v850 to tmake_file.
5913 (vax-*-linux*): Add vax/t-linux to tmake_file.
5914 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
5916 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5918 * crtstuff.c: New file.
5919 * Makefile.in (CRTSTUFF_CFLAGS): Define.
5920 (CRTSTUFF_T_CFLAGS): Define.
5921 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
5922 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
5923 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
5926 (crtbeginT.o): Use $(objext).
5927 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
5928 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
5929 (gcc-extra-parts): Remove.
5930 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
5932 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5933 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
5934 Add t-crtstuff-pic to tmake_file.
5935 (*-*-lynxos*): New case.
5936 Set tmake_file, extra_parts.
5937 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
5938 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
5939 *-*-netbsdelf[2-9]*.
5940 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
5941 (*-*-rtems*): Set extra_parts.
5942 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
5943 (*-*-uclinux*): New case.
5945 (*-*-vms*): New case.
5946 Set tmake_file, extra_parts.
5947 (*-*-elf): Set extra_parts.
5948 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
5949 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
5952 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
5954 (arm*-*-freebsd*): Add t-crtin to tmake_file.
5955 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
5956 (arm-wrs-vxworks): Append to tmake_file.
5958 (arm*-*-uclinux*): Set extra_parts.
5959 (arm*-*-ecos-elf): Likewise.
5960 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
5962 (arm*-*-rtems*): Set extra_parts.
5963 (arm*-*-elf): Likewise.
5964 (avr-*-rtems*): Clear extra_parts.
5965 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
5967 (bfin*-uclinux*): Likewise.
5968 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
5969 (bfin*-rtems*): Append to tmake_file.
5971 (bfin*-*): Likewise.
5972 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
5973 (crisv32-*-elf): ... this.
5974 (crisv32-*-none): ... this.
5975 (cris-*-elf, cris-*-none): New cases.
5976 Add cris/t-elfmulti to tmake_file.
5977 (fr30-*-elf): Append to tmake_file.
5979 (frv-*-elf): Append to tmake_file, add frv/t-frv.
5981 (h8300-*-rtems*): Append to tmake_file.
5983 (h8300-*-elf*): Likewise.
5984 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
5986 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
5988 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
5989 (x86_64-*-elf*): Likewise.
5990 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
5991 (x86_64-*-freebsd*): Likewise.
5992 (x86_64-*-netbsd*): Likewise.
5993 (i[34567]86-*-linux*): Likewise.
5994 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
5995 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
5996 (x86_64-*-linux*): Likewise.
5997 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
5998 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
6001 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
6002 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
6003 Append to extra_parts, remove crtbegin.o, crtend.o.
6004 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
6005 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
6006 crtend.o, crtbeginS.o, crtendS.o.
6007 (ia64*-*-linux*): Comment extra_parts.
6008 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
6010 (iq2000*-*-elf*): Clear extra_parts.
6011 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
6012 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
6013 (m32r-*-elf*, m32r-*-rtems*): Split off ...
6014 (m32r-*-rtems*): ... this.
6015 Add m32r/t-m32r to tmake_file.
6016 (m68k-*-elf*): Add t-crtin to tmake_file.
6017 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
6018 (mcore-*-elf): Likewise.
6019 (microblaze*-*-*): Set extra_parts.
6020 (mips*-sde-elf*): New case.
6021 Set tmake_file, extra_parts.
6022 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6023 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6024 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
6027 (mipsisa64sr71k-*-elf*): Likewise.
6028 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6029 (mips-*-elf*, mipsel-*-elf*): Likewise.
6030 (mips64-*-elf*, mips64el-*-elf*): Likewise.
6031 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
6032 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6033 (mips*-*-rtems*): Likewise.
6034 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
6035 (moxie-*-*): Split into ...
6036 (moxie-*-elf, moxie-*-uclinux*): ... this.
6037 Add to extra_parts, remove crtbegin.o, crtend.o.
6038 (moxie-*-rtems*): New case.
6041 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
6043 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6044 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
6047 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
6048 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
6050 (powerpc-*-eabisim*): Likewise.
6051 (powerpc-*-elf*): Likewise.
6052 (powerpc-*-eabialtivec*): Likewise.
6053 (powerpc-xilinx-eabi*): Likewise.
6054 (powerpc-*-eabi*): Likewise.
6055 (powerpc-*-rtems*): Likewise.
6056 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
6059 (powerpc-*-lynxos*): Add to tmake_file.
6060 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
6061 rs6000/t-crtstuff, t-crtstuff-pic.
6063 (powerpcle-*-eabisim*): Likewise.
6064 (powerpcle-*-eabi*): Likewise.
6065 (rx-*-elf): Remove extra_parts.
6066 (s390x-ibm-tpf*): Set extra_parts.
6067 (score-*-elf): Set extra_parts.
6068 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6069 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6070 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6071 (sh64l*-*-netbsd*): Split into ...
6072 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
6073 Add t-crtstuff-pic to tmake_file.
6075 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
6077 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
6078 (sparc-*-elf*): Remove t-crtin from tmake_file.
6079 Add to extra_parts, remove crtbegin.o, crtend.o.
6080 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
6081 (sparc64-*-linux*): Likewise.
6082 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
6083 Add to extra_parts, remove crtbegin.o, crtend.o.
6084 (sparc64-*-elf*): Remove t-crtin from tmake_file.
6085 Add to extra_parts, remove crtbegin.o, crtend.o.
6086 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
6087 Add to extra_parts, remove crtbegin.o, crtend.o.
6088 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
6089 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
6090 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
6092 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
6094 (tic6x-*-*): Change to ...
6095 (tic6x-*-elf): ... this.
6097 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
6099 (am33_2.0-*-linux*): Add comment.
6100 (mep*-*-*): Add mep/t-mep to tmake_file.
6102 * config/alpha/t-vms: New file.
6103 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
6104 * config/arm/crti.S, config/arm/crtn.S: New files.
6105 * config/bfin/crti.S, config/bfin/crtn.S: New files.
6106 * config/bfin/crtlibid.S: New file.
6107 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
6108 * config/c6x/crti.S, config/c6x/crtn.S: New files.
6109 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
6110 (crti.o, crtin.o): New rules.
6111 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6112 * config/c6x/t-uclinux: New file.
6113 * config/cris/t-elfmulti: New file.
6114 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
6115 * config/fr30/crti.S, config/fr30/crtn.S: New files.
6116 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
6117 * config/frv/t-frv: New file.
6118 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
6119 * config/h8300/crti.S, config/h8300/crtn.S: New files.
6120 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
6122 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
6123 refer to cygming-crtbegin.c, cygming-crtend.c.
6125 * config/i386/t-nto: New file.
6126 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
6127 * config/ia64/crti.S, config/ia64/crtn.S: New files.
6128 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
6129 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
6132 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6133 (crtinitS.o): New rule.
6134 * config/ia64/vms-crtinit.S: New file.
6135 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
6136 * config/m32r/initfini.c: New file.
6137 * config/m32r/t-linux, config/m32r/t-m32r: New files.
6138 * config/m68k/crti.S, config/m68k/crtn.S: New files.
6139 * config/mcore/crti.S, config/mcore/crtn.S: New files.
6140 * config/mep/t-mep: New file.
6141 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
6142 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
6143 * config/mips/crti.S, config/mips/crtn.S: New files.
6144 * config/mips/t-crtstuff: New file.
6145 * config/mmix/crti.S, config/mmix/crtn.S: New files.
6146 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
6147 (CUSTOM_CRTIN): Set.
6148 ($(T)crti.o, $(T)crtn.o): Remove $(T),
6150 Use $(srcdir) to refer to crti.S, crtn.S.
6151 Use .S extension, $<.
6152 * config/moxie/crti.asm: Rename to ...
6153 * config/moxie/crti.S: ... this.
6154 * config/moxie/crtn.asm: Rename to ...
6155 * config/moxie/crtn.S: ... this.
6156 * config/moxie/t-moxie: Remove.
6157 * config/pa/stublib.c: New file.
6158 * config/pa/t-stublib, config/pa/t-stublib64: New files.
6159 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
6160 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
6161 * config/rs6000/t-crtstuff: New file.
6162 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
6163 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
6164 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
6165 Make output file explicit.
6166 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
6167 Make output file explicit.
6168 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
6169 Make output file explicit.
6170 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
6171 Make output file explicit.
6172 * config/score/crti.S, config/score/crtn.S: New files.
6173 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
6174 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
6176 * config/sh/t-sh, config/sh/t-superh: New files.
6177 * config/sparc/t-linux64: New file.
6178 * config/spu/cache.S, config/spu/cachemgr.c: New files.
6179 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
6180 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
6181 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
6182 * config/t-crtin: Remove.
6183 * config/t-crtstuff-pic: New file.
6184 * config/t-sol2 (CUSTOM_CRTIN): Set.
6185 (crti.o, crtn.o): New rules.
6186 * config/vms/t-vms: New file.
6187 * config/vms/vms-ucrt0.c: New file.
6188 * config/xtensa/t-elf: New file.
6190 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6192 * Makefile.in (SHLIB_NM_FLAGS): Set.
6193 * mkmap-flat.awk, mkmap-symver.awk: New files.
6194 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
6196 * configure: Regenerate.
6197 * config/libgcc-glibc.ver: New file.
6198 * config/libgcc-libsystem.ver: New file.
6199 * config/t-libunwind (SHLIB_LC): Set.
6200 * config/t-linux: New file.
6201 * config/t-slibgcc (INSTALL_SHLIB): New.
6202 (SHLIB_INSTALL): Use it.
6203 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
6204 to mkmap-symver.awk.
6205 (SHLIB_MAPFILES): Don't append, adapt pathname.
6206 (SHLIB_VERPFX): Set.
6207 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
6208 to mkmap-symver.awk.
6209 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
6210 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
6211 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
6212 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
6214 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
6215 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
6216 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
6217 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
6218 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
6219 * config/i386/libgcc-darwin.10.4.ver,
6220 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
6222 * config/i386/t-darwin: Remove.
6223 * config/i386/t-darwin64: Likewise.
6224 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
6225 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
6226 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
6227 * config/i386/t-linux: New file.
6228 * config/i386/t-mingw32: New file.
6229 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
6230 * config/ia64/t-glibc: Rename to ...
6231 * config/ia64/t-linux: ... this.
6232 (SHLIB_MAPFILES): Set.
6233 * config/ia64/t-glibc-libunwind: Rename to ...
6234 * config/ia64/t-linux-libunwind: ... this.
6235 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
6236 * config/ia64/t-slibgcc-hpux: New file.
6237 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
6238 * config/m68k/t-slibgcc-elf-ver: New file.
6239 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
6240 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
6242 * config/pa/t-slibgcc-hpux: New file.
6243 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
6245 * config/rs6000/libgcc-darwin.10.4.ver,
6246 config/rs6000/libgcc-darwin.10.5.ver: New files.
6247 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
6248 config/rs6000/libgcc-glibc.ver.
6249 * config/rs6000/libgcc-ppc64.ver: Rename to
6250 config/rs6000/libgcc-ibm-ldouble.ver.
6251 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
6252 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
6253 * config/rs6000/t-ldbl128: Rename to ...
6254 * config/rs6000/t-linux: ... this.
6255 (SHLIB_MAPFILES): Adapt filename.
6256 * config/rs6000/t-slibgcc-aix: New file.
6257 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
6258 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
6259 libgcc-excl.ver, libgcc-glibc.ver.
6260 (SHLIB_LINK, SHLIB_INSTALL): Remove.
6261 * config/sparc/libgcc-glibc.ver: New file.
6262 * config/sparc/t-linux: New file.
6263 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
6264 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
6265 t-slibgcc-elf-ver to tmake_file.
6266 Add t-slibgcc-nolc-override to tmake_file for posix threads on
6268 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6269 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
6270 t-slibgcc-elf-ver, t-linux to tmake_file.
6271 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
6273 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
6274 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
6275 (alpha*-dec-*vms*): Likewise.
6276 (arm*-*-freebsd*): Append to tmake_file.
6277 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
6278 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
6280 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
6281 tmake_file for arm*-*-symbianelf*.
6282 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
6283 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
6285 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
6286 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
6287 pa/t-slibgcc-dwarf-ver to tmake_file.
6288 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
6289 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
6290 (hppa*64*-*-hpux11*): Likewise.
6291 (hppa[12]*-*-hpux11*): Likewise.
6292 (x86_64-*-darwin*): Don't override tmake_file, but only keep
6293 i386/t-crtpc, i386/t-crtfm.
6294 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
6295 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6297 Add i386/t-cygwin to tmake_file.
6298 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
6299 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
6300 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6302 Add i386/t-mingw32 to tmake_file.
6303 (x86_64-*-mingw*): Likewise.
6304 (ia64*-*-freebsd*): Append to tmake_file.
6305 (ia64*-*-linux*): Append to tmake_file.
6306 Replace ia64/t-glibc by ia64/t-linux.
6307 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
6309 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
6310 t-slibgcc-hpux to tmake_file.
6311 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
6312 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
6313 (m32rle-*-linux*): Likewise.
6314 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
6316 (microblaze*-linux*): New case.
6317 Append to tmake_file, add t-slibgcc-nolc-override.
6318 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
6319 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6320 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
6321 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6322 rs6000/t-slibgcc-aix to tmake_file.
6323 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6324 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6325 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6326 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6327 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6328 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
6330 (sparc-*-linux*): Append to tmake_file for *-leon*.
6331 Add sparc/t-linux to tmake_file for non-Leon targets.
6332 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
6333 (tic6x-*-uclinux): New case.
6334 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
6335 (tic6x-*-*): Add c6x/t-elf to tmake_file.
6336 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
6337 (am33_2.0-*-linux*): Append to tmake_file.
6338 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6339 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
6340 x86_64-*-kfreebsd*-gnu.
6341 Add i386/t-linux to tmake_file.
6343 2011-10-28 Ian Lance Taylor <iant@google.com>
6345 * config/i386/morestack.S: Correct CFI information to do proper
6346 returns throughout function. In 32-bit mode, save %ebx so that it
6347 is restored on unwind.
6349 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
6351 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
6352 case where B3 isn't the return register.
6354 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
6355 logic for doubleword pops.
6357 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
6359 * config/rs6000/t-freebsd: Add wildcard.
6361 2011-10-21 Paul Brook <paul@codesourcery.com>
6363 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
6365 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
6366 Eric Botcazou <ebotcazou@adacore.com>
6369 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
6370 fs->signal_frame to 1.
6372 2011-10-07 Ian Lance Taylor <iant@google.com>
6374 * generic-morestack-thread.c: #include <errno.h>.
6376 2011-10-07 Ian Lance Taylor <iant@google.com>
6379 * generic-morestack.c (__generic_morestack): Make sure the segment
6380 is large enough for both the stack frame and the copied
6383 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6386 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
6389 2011-09-28 Nick Clifton <nickc@redhat.com>
6391 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
6392 64-bit doubles are not enabled.
6393 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
6394 and floatunsisf functions.
6396 2011-09-13 Paul Brook <paul@codesourcery.com>
6398 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
6399 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
6400 * unwind-arm-common.inc: New file.
6401 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
6402 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
6403 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
6404 * config/c6x/libunwind.S: New file.
6405 * config/c6x/pr-support.c: New file.
6406 * config/c6x/unwind-c6x.c: New file.
6407 * config/c6x/unwind-c6x.h: New file.
6408 * config/c6x/t-c6x-elf: New file.
6410 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
6412 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
6413 (ASM_DIVZERO): Ditto.
6414 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
6416 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
6418 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
6420 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
6423 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
6424 instead of an assembly one.
6426 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
6429 * Makefile.in (install-unwind_h): Create
6430 $(gcc_objdir)/include/unwind.h atomically.
6432 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6434 * Makefile.in (install-unwind_h): Remove destination file first.
6436 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6439 * config/mips/t-mips16: New file.
6440 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
6441 (mips*-*-linux*): Likewise.
6442 (mips*-sde-elf*): Likewise.
6443 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
6444 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
6445 Add mips/t-mips16 to tmake_file.
6446 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
6447 (mips-*-elf*): Likewise.
6448 (mips64-*-elf*): Likewise.
6449 (mips64orion-*-elf*): Likewise.
6450 (mips*-*-rtems*): Likewise.
6451 (mipstx39-*-elf*): Likewise.
6452 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
6453 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
6455 Use $(srcdir) to refer to sync.c.
6457 ($(libgcc-sync-funcs-o)): Likewise.
6458 ($(libgcc-sync-size-funcs-s-o)): Likewise.
6459 ($(libgcc-sync-funcs-s-o)): Likewise.
6461 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
6463 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
6466 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
6469 * config/i386/value-unwind.h: New.
6471 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
6473 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
6474 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
6475 Add to tmake_file rather than overriding it.
6477 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6479 * config/t-softfp: Remove.
6480 * soft-fp: Moved from ../gcc/config.
6481 * soft-fp/README: Remove t-softfp reference.
6482 * soft-fp/t-softfp: Move to config/t-softfp.
6483 (softfp_machine_header): Remove.
6484 (softfp_file_list): Remove config subdir.
6485 (soft-fp-objects): New variable.
6486 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
6487 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
6488 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
6489 * config/t-softfp-excl: New file.
6490 * config/t-softfp-sfdf: New file.
6491 * config/t-softfp-tf: New file.
6492 * config/no-sfp-machine.h: New file.
6493 * config/arm/sfp-machine.h: New file.
6494 * config/arm/t-softfp: New file.
6495 * config/c6x/sfp-machine.h: New file.
6496 * config/i386/32/t-fprules-softfp: Rename to ...
6497 * config/i386/32/t-softfp: ... this.
6498 (tifunctions, LIB2ADD): Remove.
6499 (softfp_int_modes): Override.
6500 * config/i386/64/t-softfp-compat (tf-functions): Remove config
6502 * config/i386/64/eqtf2.c: Likewise.
6503 * config/i386/64/getf2.c: Likewise.
6504 * config/i386/64/letf2.c: Likewise.
6505 * config/ia64/sft-machine.h: New file.
6506 * config/ia64/t-fprules-softfp: Rename to ...
6507 * config/ia64/t-softfp: ... this.
6508 * config/lm32/sfp-machine.h: New file.
6509 * config/moxie/t-moxie-softfp: Remove.
6510 * config/rs6000/ibm-ldouble-format: New file.
6511 * config/rs6000/ibm-ldouble.c: New file.
6512 * config/rs6000/libgcc-ppc-glibc.ver: New file
6513 * config/rs6000/libgcc-ppc64.ver: New file
6514 * config/rs6000/sfp-machine.h: New file.
6515 * config/rs6000/t-freebsd: New file.
6516 * config/rs6000/t-ibm-ldouble: New file.
6517 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
6518 libgcc-ppc-glibc.ver.
6519 * config/rs6000/t-linux64: New file.
6520 * config/rs6000/t-ppccomm (LIB2ADD): Add
6521 $(srcdir)/config/rs6000/ibm-ldouble.c.
6522 * config/rs6000/t-ppccomm-ldbl: New file.
6523 * config/score/sfp-machine.h: New file.
6524 * config.host (sfp_machine_header): Explain.
6525 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
6526 t-softfp to tmake_file.
6527 (arm*-*-uclinux*): Likewise.
6528 (arm*-*-ecos-elf): Likewise.
6529 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6530 (arm*-*-rtems*): Likewise.
6531 (arm*-*-elf): Likewise.
6532 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
6534 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
6535 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
6536 (lm32-*-uclinux*): Likewise.
6537 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
6538 t-softfp-excl, t-softfp.
6539 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
6540 (powerpc64-*-darwin*): Likewise.
6541 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
6543 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
6545 (powerpc-*-eabisim*): Likewise.
6546 (powerpc-*-elf*): Likewise.
6547 (powerpc-*-eabialtivec*): Likewise.
6548 (powerpc-xilinx-eabi*): Likewise.
6549 (powerpc-*-rtems*): Likewise.
6550 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
6551 t-softfp-excl, t-softfp to tmake_file.
6552 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
6553 rs6000/t-ppccomm-ldbl to tmake_file.
6554 (powerpcle-*-elf*): Likewise.
6555 (powerpcle-*-eabisim*): Likewise.
6556 (powerpcle-*-eabi*): Likewise.
6557 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6558 rs6000/t-ibm-ldouble to tmake_file.
6559 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6560 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6561 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
6562 (tic6x-*-*): Likewise.
6563 (i[34567]86-*-darwin*, x86_64-*-darwin*,
6564 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
6565 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
6566 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
6567 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
6568 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
6569 t-softfp to tmake_file.
6570 * configure.ac (sfp_machine_header): Provide default if unset.
6572 Link sfp-machine.h to config/$sfp_machine_header.
6573 * configure: Regenerate.
6575 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6577 * Makefile.in (double_type_size, long_double_type_size): Set.
6578 Remove $(fpbit-in-libgcc) support.
6579 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
6580 (fpbit-src): New variable.
6581 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
6582 Compile with -DFLOAT $(FPBIT_CFLAGS).
6584 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
6585 Compile with $(FPBIT_CFLAGS).
6587 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
6588 Compile with -DFLOAT $(TPBIT_CFLAGS).
6590 * configure.ac (double_type_size, long_double_type_size):
6591 Determine and substitute.
6592 * configure: Regenerate.
6593 * fp-bit.c, fp-bit.h: New files.
6594 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
6595 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
6596 * config/mips/t-mips: New file.
6597 * config/mips/t-sdemtk: New file.
6598 * config/rs6000/ppc64-fp.c: New file.
6599 * config/rs6000/t-darwin (LIB2ADD): Add
6600 $(srcdir)/config/rs6000/ppc64-fp.c.
6601 * config/rs6000/t-ppc64-fp: New file.
6602 * config/rx/rx-lib.h: New file.
6603 * config/rx/t-rx (FPBIT): Set to true.
6604 ($(gcc_objdir)/fp-bit.c): Remove.
6605 (DPBIT): Set to true only with -m64bit-doubles.
6606 ($(gcc_objdir)/dp-bit.c): Remove.
6607 * config/sparc/t-softfp: Remove.
6608 * config/spu/t-elf: New file.
6609 * config/t-fdpbit, config/t-fpbit: New files.
6610 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
6611 (mips*-*-*): Likewise.
6612 (arm-wrs-vxworks): Likewise.
6613 (arm*-*-freebsd*): Likewise.
6614 (avr-*-rtems*): Add t-fpbit to tmake_file.
6615 (avr-*-*): Likewise.
6616 (bfin*-elf*): Add t-fdpbit to tmake_file.
6617 (bfin*-uclinux*): Likewise.
6618 (bfin*-linux-uclibc*): Likewise.
6619 (bfin*-rtems*): New case.
6620 Add t-fdpbit to tmake_file.
6621 (bfin*-*): Add t-fdpbit to tmake_file.
6622 (crisv32-*-elf): Likewise.
6623 (cris-*-linux*): Likewise.
6624 (fr30-*-elf): Likewise.
6625 (frv-*-elf, frv-*-*linux*): Likewise.
6626 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
6627 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
6628 (m32r-*-elf*): Likewise.
6629 (m32rle-*-elf*): Likewise.
6630 (m32r-*-linux*): Likewise.
6631 (m32rle-*-linux*): Likewise.
6632 (mcore-*-elf): Add t-fdpbit to tmake_file.
6633 (microblaze*-*-*): Likewise.
6634 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
6635 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
6636 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
6638 Add mips/t-tpbit to tmake-file.
6639 (mips*-*-linux*): Fix typo.
6640 (mips*-sde-elf*): New case
6641 Add mips/t-sdemtk unless using newlib.
6642 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
6643 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
6644 (mn10300-*-*): Likewise.
6645 (pdp11-*-*): Likewise.
6646 (picochip-*-*): Add t-fpbit to tmake_file.
6647 (powerpc-*-eabisimaltivec*): Likewise.
6648 (powerpc-*-eabisim*): Likewise.
6649 (powerpc-*-elf*): Likewise.
6650 (powerpc-*-eabialtivec*): Likewise.
6651 (powerpc-xilinx-eabi*): New case.
6652 Add t-fdpbit to tmake_file.
6653 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
6654 (powerpc-*-rtems*): Likewise.
6655 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
6657 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
6659 (powerpc-*-lynxos*): Likewise.
6660 (powerpcle-*-elf*): Likewise.
6661 (powerpcle-*-eabisim*): Likewise.
6662 (powerpcle-*-eabi*): Likewise.
6663 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6664 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
6665 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6666 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6667 (rx-*-elf): Add t-fdpbit to tmake_file.
6668 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6669 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6670 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6671 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
6673 (sh-*-rtems*): Add t-fdpbit to tmake_file.
6674 (sh-wrs-vxworks): Likewise.
6675 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
6676 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
6677 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
6678 (sparc64-*-rtems*): ... new case.
6679 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
6680 (spu-*-elf*): Likewise.
6681 Add spu/t-elf to tmake_file.
6682 (v850*-*-*): Add t-fdpbit to tmake_file.
6683 (xstormy16-*-elf): Likewise.
6684 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
6685 (mep*-*-*): Likewise.
6687 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6689 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
6691 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
6692 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
6693 (install-unwind_h): New target.
6694 (all): Depend on it.
6695 * config.host (unwind_header): New variable.
6696 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
6697 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6698 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
6699 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
6700 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
6702 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
6704 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
6706 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
6708 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
6709 (ia64*-*-freebsd*): Likewise.
6710 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
6712 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
6713 $with_system_libunwind.
6714 (ia64*-*-hpux*): Set tmake_file.
6715 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
6716 (picochip-*-*): Set tmake_file.
6717 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
6719 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6720 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6721 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
6722 (xtensa*-*-elf*): Set tmake_file.
6723 (xtensa*-*-linux*): Likewise.
6724 * configure.ac: Include ../config/unwind_ipinfo.m4.
6725 Call GCC_CHECK_UNWIND_GETIPINFO.
6726 Link unwind.h to $unwind_header.
6727 * configure: Regenerate.
6728 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
6729 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
6730 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
6731 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
6732 * config/unwind-dw2-fde-darwin.c: New file.
6733 * config/arm/libunwind.S, config/arm/pr-support.c,
6734 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
6735 config/arm/unwind-arm.h,: New files.
6736 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
6737 config/ia64/t-eh-ia64, config/ia64/t-glibc,
6738 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
6739 config/ia64/t-vms, config/ia64/unwind-ia64.c,
6740 config/ia64/unwind-ia64.h: New files.
6741 * config/picochip/t-picochip: New file.
6742 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
6744 * config/rs6000/t-darwin (LIB2ADDEH): Set.
6745 * config/s390/t-tpf (LIB2ADDEH): Remove.
6746 * config/t-darwin (LIB2ADDEH): Set.
6747 * config/t-eh-dw2-dip: New file.
6748 * config/t-libunwind, config/t-libunwind-elf: New files.
6749 * config/t-sol2 (LIB2ADDEH): Remove.
6750 * config/xtensa/t-xtensa: New file.
6752 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
6754 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
6755 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
6756 long long to check rt_sigreturn syscall.
6758 2011-08-02 Alan Modra <amodra@gmail.com>
6760 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
6761 Restore for indirect call bcrtl from correct stack slot, and only
6762 if cfa+40 isn't valid.
6764 2011-08-01 Julian Brown <julian@codesourcery.com>
6766 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
6767 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
6768 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
6770 2011-08-01 Julian Brown <julian@codesourcery.com>
6772 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
6773 (libgcc-std.ver.in): Use above.
6774 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
6775 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
6777 * config/t-fixedpoint-gnu-prefix: New file.
6778 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
6779 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
6782 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
6784 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
6785 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
6786 for x86-64. Properly check __x86_64__ and __LP64__.
6788 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
6790 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
6792 (_FP_WS_TYPE): Likewise.
6793 (_FP_I_TYPE): Likewise.
6795 2011-07-28 Alan Modra <amodra@gmail.com>
6797 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
6798 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
6799 in a plt call stub. Do restore r2 if stopped on bctrl.
6801 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6803 * config.host (i[3456x]86-*-netware*): Remove.
6804 * config/i386/netware-crt0.c, config/i386/t-nwld,
6805 config/i386/t-slibgcc-nwld: Remove.
6807 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
6809 * config.host: Handle tic6x-*-*.
6810 * config/c6x/c6x-abi.h: New file.
6812 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6814 * config/i386/crtprec.c: New file.
6815 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
6816 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
6817 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
6818 (x86_64-*-darwin*): Likewise.
6819 (i[34567]86-*-solaris2*: Likewise.
6821 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6823 * config/alpha/crtfastmath.c: New file.
6824 * config/i386/crtfastmath.c: New file.
6825 * config/ia64/crtfastmath.c: New file.
6826 * config/mips/crtfastmath.c: New file.
6827 * config/sparc/crtfastmath.c: New file.
6829 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
6831 Add -frandom-seed=gcc-crtfastmath.
6832 * config/alpha/t-crtfm: Remove.
6833 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
6834 * config/ia64/t-ia64 (crtfastmath.o): Remove.
6836 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
6837 (alpha*-dec-osf5.1*): Likewise.
6838 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
6839 Add crtfastmath.o to extra_parts.
6840 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
6841 Add crtfastmath.o to extra_parts.
6842 (x86_64-*-darwin*): Likewise.
6843 (x86_64-*-mingw*): Likewise.
6844 (ia64*-*-elf*): Add t-crtfm to tmake_file.
6845 (ia64*-*-freebsd*): Likewise.
6846 (ia64*-*-linux*): Likewise.
6847 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
6848 Add crtfastmath.o to extra_parts.
6850 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6852 * config/darwin-crt3.o: New file.
6853 * config/rs6000/darwin-crt2.c: New file.
6854 * config/t-darwin: New file.
6855 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
6857 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
6858 (powerpc-*-darwin*): Add crt2.o to extra_parts.
6859 (powerpc64-*-darwin*): Likewise.
6861 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6863 * config/i386/netware-crt0.c: New file.
6864 * config/i386/t-nwld: Rename to ...
6865 * config/i386/t-slibgcc-nwld: ... this.
6866 * config/i386/t-nwld: New file.
6867 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
6869 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
6872 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6874 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
6876 * configure: Regenerate.
6878 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6880 * dfp-bit.c, dfp-bit.h: New files.
6881 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
6883 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
6884 ($(d64pbit-o)): Likewise.
6885 ($(d128pbit-o)): Likewise.
6886 * config/t-dfprules: New file.
6887 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
6888 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
6889 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6890 (x86_64-*-linux*): Likewise.
6891 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6892 (i[34567]86-*-cygwin*): Likewise.
6893 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
6894 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6896 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6898 * Makfile.in (LIBGCOV): New variable.
6899 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
6900 * libgcov.c: New file.
6902 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6904 * fixed-bit.c, fixed-bit.h: New files.
6905 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
6906 refer to fixed-bit.c.
6908 2011-07-07 Joseph Myers <joseph@codesourcery.com>
6910 * config.host (*local*): Remove.
6912 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6915 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
6916 like i?86-*-solaris2.1[0-9]*.
6917 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
6918 * configure.ac (i?86-*-solaris2*): Likewise.
6919 * configure: Regenerate.
6921 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
6923 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6924 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
6925 md_unwind_header by splitting out of...
6926 (i[34567]86-*-linux*): ... this.
6927 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
6928 Remove md_unwind_header by splitting out of...
6929 (x86_64-*-linux*): ... this.
6931 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
6933 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
6935 2011-06-28 Nick Clifton <nickc@redhat.com>
6937 * config.host: Recognize all V850 variants.
6939 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
6941 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
6943 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6945 * shared-object.mk (c_flags-$o): Save c_flags.
6946 ($(base)$(objext)): Use it.
6947 ($(base)_s$(objext)): Likewise.
6949 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
6951 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
6952 * libgcc-std.ver.in (GCC_4.7.0): New section.
6954 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
6958 * config/avr/t-avr: Fix line endings.
6959 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
6962 2011-06-14 Olivier Hainque <hainque@adacore.com>
6963 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6965 * config/mips/irix6-unwind.h: New file.
6966 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
6968 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
6970 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
6971 (sparc64_fallback_frame_state): Use it.
6972 (sparc64_frob_update_context): Further adjust context.
6973 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
6974 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
6975 * config/sparc/sol2-cn.S: Likewise.
6977 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6979 * enable-execute-stack-empty.c: New file.
6980 * enable-execute-stack-mprotect.c: New file.
6981 * config/i386/enable-execute-stack-mingw32.c: New file.
6982 * config.host (enable_execute_stack): New variable.
6983 Select appropriate variants.
6984 * configure.ac: Link enable-execute-stack.c to
6985 $enable_execute_stack.
6986 * configure: Regenerate.
6987 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
6988 (lib2funcs): Remove _enable_execute_stack.
6990 2011-06-09 David S. Miller <davem@davemloft.net>
6991 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6993 * config.host (sparc-*-linux*): Correct md_unwind_header
6995 (s390x-ibm-tpf*): Fix typo.
6997 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6999 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
7000 Add crtfastmath.o to extra_parts.
7001 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
7003 * config/mips/t-crtfm: Remove.
7005 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7007 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
7009 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
7011 * config.host (sh*-*-linux*): Fix typo.
7013 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7015 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
7016 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
7017 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
7018 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
7019 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
7020 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
7021 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
7022 Wrap in !__MINGW64__.
7023 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
7024 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
7025 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
7026 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
7027 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
7028 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
7029 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
7031 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
7032 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
7033 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
7034 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
7035 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
7036 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
7037 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
7038 * config/no-unwind.h: New file.
7039 * config.host (md_unwind_header): Document.
7041 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
7042 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
7043 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
7044 hppa[12]*-*-hpux11*): Set md_unwind_header.
7045 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
7046 Set md_unwind_header.
7047 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
7048 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
7049 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
7050 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
7051 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
7052 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
7053 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
7055 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
7056 * configure: Regenerate.
7058 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7060 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
7061 Set tmake_file, extra_parts.
7062 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
7064 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
7066 * config/mips/t-irix6: New file.
7067 * config/mips/t-slibgcc-irix: New file.
7069 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7071 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
7072 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
7074 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7076 * configure.ac (target_thread_file): Determine thread model.
7077 * configure: Regenerate.
7078 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
7079 * config/alpha/t-alpha: New file.
7080 * config/alpha/t-crtfm: Use $<.
7081 * config/alpha/t-ieee: New file.
7082 * config/alpha/t-osf-pthread: New file.
7083 * config/alpha/t-slibgcc-osf: New file.
7084 * config/alpha/libgcc-osf5.ver: New file.
7086 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7088 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
7090 Add crtfastmath.o to extra_parts.
7092 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7094 * config/gmon-sol2.c: Reindent.
7096 Remove, correct casts.
7097 Use STDERR_FILENO, NULL.
7098 (BASEADDRESS): Remove.
7100 (errno, sbrk): Remove declarations.
7101 (monstartup) [hp300]: Remove.
7104 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7106 * Makefile.in (cpu_type): Define.
7107 * config.host (i[34567]86-*-rtems*): Handle it.
7108 (i[34567]86-*-solaris2*): Move body ...
7109 (*-*-solaris2*): ... here.
7110 New case, generalize.
7111 (sparc-*-elf*): Handle it.
7112 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
7113 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
7114 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
7116 (sparc*-*-solaris2*): ... this.
7118 (sparc64-*-elf*): Handle it.
7119 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
7120 Merge ../gcc/config/i386/gmon-sol2.c.
7121 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
7123 Merge ../gcc/config/i386/sol2-gc1.asm.
7124 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
7126 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
7128 * config/i386/t-crtfm (crtfastmath.o): Use $<.
7129 * config/i386/t-crtstuff: New file.
7130 * config/i386/t-softfp: New file.
7131 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
7132 $(T)crti.o, $(T)crtn.o): Remove.
7133 (gcrt1.o): New rule.
7134 (TARGET_LIBGCC2_CFLAGS): Remove.
7135 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
7136 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
7137 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
7138 * config/sparc/t-sol2: New file.
7139 * config/sparc/t-crtfm: Move to ...
7140 * config/t-crtfm: ... this.
7141 Use $(cpu_type), $<.
7142 * config/t-crtin: New file.
7143 * config/sparc/t-softfp: New file.
7144 * config/sparc/t-softmul: New file.
7145 * config/t-rtems: New file.
7146 * config/t-slibgcc: New file.
7147 * config/t-slibgcc-elf-ver: New file.
7148 * config/t-slibgcc-gld: New file.
7149 * config/t-slibgcc-sld: New file.
7150 * config/t-sol2: New file.
7151 * configure.ac: Include ../config/lib-ld.m4.
7152 Call AC_LIB_PROG_LD_GNU.
7153 Substitute cpu_type.
7154 * configure: Regenerate.
7156 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
7159 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
7160 libgcc-std.ver in the build directory.
7161 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
7162 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
7164 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
7166 * libgcc-std.ver.in: New file.
7167 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
7169 (libgcc-std.ver): New rule.
7170 * config/t-gnu-prefix: New file.
7172 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7174 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
7176 2011-05-10 Joseph Myers <joseph@codesourcery.com>
7178 * config/i386/darwin-lib.h: New file.
7180 2011-05-10 Joseph Myers <joseph@codesourcery.com>
7182 * config/arm/symbian-lib.h: New.
7184 2011-05-04 Chris Demetriou <cgd@google.com>
7186 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
7187 (__x86.get_pc_thunk.bx): ...this.
7188 (__morestack): Adjust for rename, remove undef of __i686.
7190 2011-05-03 Chris Demetriou <cgd@google.com>
7192 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
7194 2011-03-22 Joseph Myers <joseph@codesourcery.com>
7196 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
7197 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
7198 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
7199 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
7200 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
7203 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
7205 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
7206 Adjust copyright year.
7208 2011-03-07 Ian Lance Taylor <iant@google.com>
7210 * generic-morestack.c (__splitstack_find): Adjust returned stack
7211 pointer to include all registers pushed by __morestack.
7213 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
7216 * configure.ac: Call ACX_NONCANONICAL_TARGET.
7217 (toolexecdir): Calculate and AC_SUBST.
7218 (toolexeclibdir): Likewise.
7219 * Makefile.in (target_noncanonical): Import.
7220 (toolexecdir): Likewise.
7221 (toolexeclibdir): Likewise.
7222 * configure: Regenerate.
7224 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
7227 * config/arm/bpabi.h: Rename to...
7228 * config/arm/bpabi-lib.h: ...this.
7230 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7232 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
7234 * configure: Regenerate.
7236 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
7238 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
7239 __FLOAT_WORD_ORDER__.
7240 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
7243 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7246 * Makefile.in (install-strip): New phony target.
7248 2010-11-07 Ian Lance Taylor <iant@google.com>
7251 * config/i386/morestack.S (__morestack_large_model): New
7254 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
7256 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
7258 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
7260 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
7262 * config/arm/bpabi.h: New file.
7263 * config/frv/frv-abi.h: New file.
7265 2010-10-01 Ian Lance Taylor <iant@google.com>
7267 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
7268 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
7270 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
7273 * config.host: Add the missing `$'.
7275 2010-09-30 Michael Eager <eager@eagercon.com>
7277 * config.host: Add microblaze*-*-*.
7278 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
7279 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
7280 udivsi3.asm,umodsi3.asm}: New.
7282 2010-09-28 Ian Lance Taylor <iant@google.com>
7284 * configure.ac: Adjust CFI test to test assembler directly rather
7285 than checking gcc preprocessor macro.
7286 * configure: Rebuild.
7288 2010-09-27 Ian Lance Taylor <iant@google.com>
7290 * configure.ac: Test whether assembler supports CFI directives.
7291 * config.host: Only add t-stack and i386/t-stack-i386 to
7292 tmake_file if libgcc_cv_cfi is "yes".
7293 * configure: Rebuild.
7295 2010-09-27 Ian Lance Taylor <iant@google.com>
7297 * generic-morestack.h: New file.
7298 * generic-morestack.c: New file.
7299 * generic-morestack-thread.c: New file.
7300 * config/i386/morestack.S: New file.
7301 * config/t-stack: New file.
7302 * config/i386/t-stack-i386: New file.
7303 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
7304 i386/t-stack-i386 to tmake_file.
7306 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
7308 * Makefile.in (libgcc-extra-parts): Check for static archives and
7309 invoke ranlib after installing them.
7310 (gcc-extra-parts): Likewise.
7311 (install-leaf): Likewise.
7313 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
7315 * configure: Regenerated.
7317 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
7319 * configure: Regenerated.
7321 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
7322 Andrew Pinski <pinskia@gmail.com>
7325 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
7327 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
7330 * configure: Regenerated.
7332 2010-09-06 Andreas Schwab <schwab@redhat.com>
7334 * configure: Regenerate.
7336 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
7338 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
7340 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
7343 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
7344 Iain Sandoe <iains@gcc.gnu.org>
7347 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
7348 LIB2FUNCS_EXCLUDE functions.
7350 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7352 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
7354 * configure: Regenerate.
7356 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
7358 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
7359 i386/t-freebsd to tmake_file.
7360 * config/i386/t-freebsd: New file.
7361 * config/i386/libgcc-bsd.ver: New file.
7363 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
7365 * config.host (powerpc*-eabispe*): Set tmake_file.
7366 (powerpc*-eabi*): Likewise.
7367 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
7368 crtbeginS, crtendS, crtbeginT.
7370 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
7372 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
7373 to tmake_file. Add crtfastmath.o to extra_parts.
7374 * config/mips/t-crtfm: New.
7376 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
7378 * config.host (sparc64-*-rtems*): New target.
7380 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7382 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7385 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
7387 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
7389 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7391 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
7392 alpha-dec-osf5.0* support.
7394 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
7396 * config.host: Add lm32-*-rtems*.
7398 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7399 Uros Bizjak <ubizjak@gmail.com>
7402 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
7403 like other remaining 32-bit x86 OSes.
7404 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7406 * config/i386/libgcc-sol2.ver: New file.
7407 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
7409 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
7412 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
7413 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
7414 is used and substitute set_use_emutls.
7415 * configure: Regenerated.
7417 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
7419 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
7421 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7424 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
7426 ($(T)gcrt1.o): Likewise.
7427 ($(T)crt1.o): Likewise.
7428 ($(T)crti.o): Likewise.
7429 ($(T)crtn.o): Likewise.
7431 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7434 * Makefile.in (install): Use $(MAKE) string in rule, for
7437 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
7439 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
7440 * config/mmix/t-mmix: New file.
7441 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
7443 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
7446 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
7449 2010-01-04 Anthony Green <green@moxielogic.com>
7451 * config/moxie/crti.asm, config/moxie/crtn.asm,
7452 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
7453 config/moxie/t-moxie: New files.
7454 * config.host: Add t-moxie-softfp reference.
7456 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
7459 * config/t-slibgcc-darwin: Fix embedded rpaths for
7460 --enable-version-specific-runtime-libs, build extension stub
7461 libs exposing features available from current libgcc_s.
7463 2009-11-11 Jon Beniston <jon@beniston.com>
7465 * config.host: Add lm32 targets.
7466 * config/lm32: New directory.
7467 * config/lm32/libgcc_lm32.h: New file.
7468 * config/lm32/_mulsi3.c: New file.
7469 * config/lm32/_udivmodsi4.c: New file.
7470 * config/lm32/_divsi3.c: New file.
7471 * config/lm32/_modsi3.c: New file.
7472 * config/lm32/_udivsi3.c: New file.
7473 * config/lm32/_umodsi3.c: New file.
7474 * config/lm32/_lshrsi3.S: New file.
7475 * config/lm32/_ashrsi3.S: New file.
7476 * config/lm32/_ashlsi3.S: New file.
7477 * config/lm32/crti.S: New file.
7478 * config/lm32/crtn.S: New file.
7479 * config/lm32/t-lm32: New file.
7480 * config/lm32/t-elf: New file.
7481 * config/lm32/t-uclinux: New file.
7483 2009-10-26 Nick Clifton <nickc@redhat.com>
7485 * config.host: Add support for RX target.
7486 * config/rx: New directory.
7487 * config/rx/rx-abi-functions.c: New file. Supplementary
7488 functions for libgcc to support the RX ABI.
7489 * config/rx/rx-abi.h: New file. Supplementary header file for
7490 libgcc RX ABI functions.
7491 * config/rx/t-rx: New file: Makefile fragment for building
7494 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
7496 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
7497 constraint of y0 to "g".
7499 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7501 * config.host: Include the s390 makefile fragments.
7502 * config/s390/32/_fixdfdi.c: New file.
7503 * config/s390/32/_fixsfdi.c: New file.
7504 * config/s390/32/_fixtfdi.c: New file.
7505 * config/s390/32/_fixunsdfdi.c: New file.
7506 * config/s390/32/_fixunssfdi.c: New file.
7507 * config/s390/32/_fixunstfdi.c: New file.
7508 * config/s390/32/t-floattodi: New file.
7509 * config/s390/libgcc-glibc.ver: New file.
7510 * config/s390/t-crtstuff: New file.
7511 * config/s390/t-linux: New file.
7512 * config/s390/t-tpf: New file.
7514 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7516 * configure.ac (AC_PREREQ): Bump to 2.64.
7518 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
7520 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
7522 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7524 * configure: Regenerate.
7526 2009-08-09 Douglas B Rupp <rupp@gnat.com>
7528 * config.host (ia64-hp-*vms*): New target.
7529 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
7532 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7534 * configure.ac: Add snippet for maintainer-mode.
7535 * configure: Regenerate.
7536 * Makefile.in (AUTOCONF, configure_deps): New variables.
7537 ($(srcdir)/configure)): New rule, active only with maintainer
7540 2009-06-23 DJ Delorie <dj@redhat.com>
7543 * config.host: Add mep support.
7545 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
7547 * config.host: Add i386/${host_address}/t-fprules-softfp and
7548 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
7550 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
7552 * config/i386/64/_multc3.c: Likewise.
7553 * config/i386/64/_powitf2.c: Likewise.
7554 * config/i386/64/eqtf2.c: Likewise.
7555 * config/i386/64/getf2.c: Likewise.
7556 * config/i386/64/letf2.c: Likewise.
7557 * config/i386/64/letf2.c: Likewise.
7558 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
7559 unsigned long long for x64 mingw targets.
7560 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
7561 (_FP_I_TYPE): Define as long long for x64 mingw target.
7563 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
7565 * config.host (vax-*-linux*): New.
7567 2009-05-31 Anthony Green <green@moxielogic.com>
7569 * config.host: Add moxie support.
7570 * config/moxie/t-moxie: New file.
7572 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
7574 * config.host: Add i386/${host_address}/t-fprules-softfp and
7575 t-softfp to tmake_file for i[34567]86-*-cygwin*.
7577 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
7579 * config.host: Add i386/${host_address}/t-fprules-softfp to
7580 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
7582 2009-04-09 Nick Clifton <nickc@redhat.com>
7584 * config/ia64/tf-signs.c: Change copyright header to refer to
7585 version 3 of the GNU General Public License with version 3.1
7586 of the GCC Runtime Library Exception and to point readers at
7587 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
7589 * config/i386/32/tf-signs.c: Likewise.
7590 * config/libbid/_addsub_dd.c: Likewise.
7591 * config/libbid/_addsub_sd.c: Likewise.
7592 * config/libbid/_addsub_td.c: Likewise.
7593 * config/libbid/_dd_to_df.c: Likewise.
7594 * config/libbid/_dd_to_di.c: Likewise.
7595 * config/libbid/_dd_to_sd.c: Likewise.
7596 * config/libbid/_dd_to_sf.c: Likewise.
7597 * config/libbid/_dd_to_si.c: Likewise.
7598 * config/libbid/_dd_to_td.c: Likewise.
7599 * config/libbid/_dd_to_tf.c: Likewise.
7600 * config/libbid/_dd_to_udi.c: Likewise.
7601 * config/libbid/_dd_to_usi.c: Likewise.
7602 * config/libbid/_dd_to_xf.c: Likewise.
7603 * config/libbid/_df_to_dd.c: Likewise.
7604 * config/libbid/_df_to_sd.c: Likewise.
7605 * config/libbid/_df_to_td.c: Likewise.
7606 * config/libbid/_di_to_dd.c: Likewise.
7607 * config/libbid/_di_to_sd.c: Likewise.
7608 * config/libbid/_di_to_td.c: Likewise.
7609 * config/libbid/_div_dd.c: Likewise.
7610 * config/libbid/_div_sd.c: Likewise.
7611 * config/libbid/_div_td.c: Likewise.
7612 * config/libbid/_eq_dd.c: Likewise.
7613 * config/libbid/_eq_sd.c: Likewise.
7614 * config/libbid/_eq_td.c: Likewise.
7615 * config/libbid/_ge_dd.c: Likewise.
7616 * config/libbid/_ge_sd.c: Likewise.
7617 * config/libbid/_ge_td.c: Likewise.
7618 * config/libbid/_gt_dd.c: Likewise.
7619 * config/libbid/_gt_sd.c: Likewise.
7620 * config/libbid/_gt_td.c: Likewise.
7621 * config/libbid/_isinfd128.c: Likewise.
7622 * config/libbid/_isinfd32.c: Likewise.
7623 * config/libbid/_isinfd64.c: Likewise.
7624 * config/libbid/_le_dd.c: Likewise.
7625 * config/libbid/_le_sd.c: Likewise.
7626 * config/libbid/_le_td.c: Likewise.
7627 * config/libbid/_lt_dd.c: Likewise.
7628 * config/libbid/_lt_sd.c: Likewise.
7629 * config/libbid/_lt_td.c: Likewise.
7630 * config/libbid/_mul_dd.c: Likewise.
7631 * config/libbid/_mul_sd.c: Likewise.
7632 * config/libbid/_mul_td.c: Likewise.
7633 * config/libbid/_ne_dd.c: Likewise.
7634 * config/libbid/_ne_sd.c: Likewise.
7635 * config/libbid/_ne_td.c: Likewise.
7636 * config/libbid/_sd_to_dd.c: Likewise.
7637 * config/libbid/_sd_to_df.c: Likewise.
7638 * config/libbid/_sd_to_di.c: Likewise.
7639 * config/libbid/_sd_to_sf.c: Likewise.
7640 * config/libbid/_sd_to_si.c: Likewise.
7641 * config/libbid/_sd_to_td.c: Likewise.
7642 * config/libbid/_sd_to_tf.c: Likewise.
7643 * config/libbid/_sd_to_udi.c: Likewise.
7644 * config/libbid/_sd_to_usi.c: Likewise.
7645 * config/libbid/_sd_to_xf.c: Likewise.
7646 * config/libbid/_sf_to_dd.c: Likewise.
7647 * config/libbid/_sf_to_sd.c: Likewise.
7648 * config/libbid/_sf_to_td.c: Likewise.
7649 * config/libbid/_si_to_dd.c: Likewise.
7650 * config/libbid/_si_to_sd.c: Likewise.
7651 * config/libbid/_si_to_td.c: Likewise.
7652 * config/libbid/_td_to_dd.c: Likewise.
7653 * config/libbid/_td_to_df.c: Likewise.
7654 * config/libbid/_td_to_di.c: Likewise.
7655 * config/libbid/_td_to_sd.c: Likewise.
7656 * config/libbid/_td_to_sf.c: Likewise.
7657 * config/libbid/_td_to_si.c: Likewise.
7658 * config/libbid/_td_to_tf.c: Likewise.
7659 * config/libbid/_td_to_udi.c: Likewise.
7660 * config/libbid/_td_to_usi.c: Likewise.
7661 * config/libbid/_td_to_xf.c: Likewise.
7662 * config/libbid/_tf_to_dd.c: Likewise.
7663 * config/libbid/_tf_to_sd.c: Likewise.
7664 * config/libbid/_tf_to_td.c: Likewise.
7665 * config/libbid/_udi_to_dd.c: Likewise.
7666 * config/libbid/_udi_to_sd.c: Likewise.
7667 * config/libbid/_udi_to_td.c: Likewise.
7668 * config/libbid/_unord_dd.c: Likewise.
7669 * config/libbid/_unord_sd.c: Likewise.
7670 * config/libbid/_unord_td.c: Likewise.
7671 * config/libbid/_usi_to_dd.c: Likewise.
7672 * config/libbid/_usi_to_sd.c: Likewise.
7673 * config/libbid/_usi_to_td.c: Likewise.
7674 * config/libbid/_xf_to_dd.c: Likewise.
7675 * config/libbid/_xf_to_sd.c: Likewise.
7676 * config/libbid/_xf_to_td.c: Likewise.
7677 * config/libbid/bid128.c: Likewise.
7678 * config/libbid/bid128_2_str.h: Likewise.
7679 * config/libbid/bid128_2_str_macros.h: Likewise.
7680 * config/libbid/bid128_2_str_tables.c: Likewise.
7681 * config/libbid/bid128_add.c: Likewise.
7682 * config/libbid/bid128_compare.c: Likewise.
7683 * config/libbid/bid128_div.c: Likewise.
7684 * config/libbid/bid128_fma.c: Likewise.
7685 * config/libbid/bid128_logb.c: Likewise.
7686 * config/libbid/bid128_minmax.c: Likewise.
7687 * config/libbid/bid128_mul.c: Likewise.
7688 * config/libbid/bid128_next.c: Likewise.
7689 * config/libbid/bid128_noncomp.c: Likewise.
7690 * config/libbid/bid128_quantize.c: Likewise.
7691 * config/libbid/bid128_rem.c: Likewise.
7692 * config/libbid/bid128_round_integral.c: Likewise.
7693 * config/libbid/bid128_scalb.c: Likewise.
7694 * config/libbid/bid128_sqrt.c: Likewise.
7695 * config/libbid/bid128_string.c: Likewise.
7696 * config/libbid/bid128_to_int16.c: Likewise.
7697 * config/libbid/bid128_to_int32.c: Likewise.
7698 * config/libbid/bid128_to_int64.c: Likewise.
7699 * config/libbid/bid128_to_int8.c: Likewise.
7700 * config/libbid/bid128_to_uint16.c: Likewise.
7701 * config/libbid/bid128_to_uint32.c: Likewise.
7702 * config/libbid/bid128_to_uint64.c: Likewise.
7703 * config/libbid/bid128_to_uint8.c: Likewise.
7704 * config/libbid/bid32_to_bid128.c: Likewise.
7705 * config/libbid/bid32_to_bid64.c: Likewise.
7706 * config/libbid/bid64_add.c: Likewise.
7707 * config/libbid/bid64_compare.c: Likewise.
7708 * config/libbid/bid64_div.c: Likewise.
7709 * config/libbid/bid64_fma.c: Likewise.
7710 * config/libbid/bid64_logb.c: Likewise.
7711 * config/libbid/bid64_minmax.c: Likewise.
7712 * config/libbid/bid64_mul.c: Likewise.
7713 * config/libbid/bid64_next.c: Likewise.
7714 * config/libbid/bid64_noncomp.c: Likewise.
7715 * config/libbid/bid64_quantize.c: Likewise.
7716 * config/libbid/bid64_rem.c: Likewise.
7717 * config/libbid/bid64_round_integral.c: Likewise.
7718 * config/libbid/bid64_scalb.c: Likewise.
7719 * config/libbid/bid64_sqrt.c: Likewise.
7720 * config/libbid/bid64_string.c: Likewise.
7721 * config/libbid/bid64_to_bid128.c: Likewise.
7722 * config/libbid/bid64_to_int16.c: Likewise.
7723 * config/libbid/bid64_to_int32.c: Likewise.
7724 * config/libbid/bid64_to_int64.c: Likewise.
7725 * config/libbid/bid64_to_int8.c: Likewise.
7726 * config/libbid/bid64_to_uint16.c: Likewise.
7727 * config/libbid/bid64_to_uint32.c: Likewise.
7728 * config/libbid/bid64_to_uint64.c: Likewise.
7729 * config/libbid/bid64_to_uint8.c: Likewise.
7730 * config/libbid/bid_b2d.h: Likewise.
7731 * config/libbid/bid_binarydecimal.c: Likewise.
7732 * config/libbid/bid_conf.h: Likewise.
7733 * config/libbid/bid_convert_data.c: Likewise.
7734 * config/libbid/bid_decimal_data.c: Likewise.
7735 * config/libbid/bid_decimal_globals.c: Likewise.
7736 * config/libbid/bid_div_macros.h: Likewise.
7737 * config/libbid/bid_dpd.c: Likewise.
7738 * config/libbid/bid_flag_operations.c: Likewise.
7739 * config/libbid/bid_from_int.c: Likewise.
7740 * config/libbid/bid_functions.h: Likewise.
7741 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7742 * config/libbid/bid_inline_add.h: Likewise.
7743 * config/libbid/bid_internal.h: Likewise.
7744 * config/libbid/bid_round.c: Likewise.
7745 * config/libbid/bid_sqrt_macros.h: Likewise.
7747 2009-04-09 Jakub Jelinek <jakub@redhat.com>
7749 * Makefile.in: Change copyright header to refer to version
7750 3 of the GNU General Public License and to point readers at the
7751 COPYING3 file and the FSF's license web page.
7752 * config.host: Likewise.
7754 2009-04-07 Alan Modra <amodra@bigpond.net.au>
7756 * config.host: Reorder and merge to match config.gcc change.
7758 2009-04-03 Alan Modra <amodra@bigpond.net.au>
7760 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
7762 2009-03-28 Joseph Myers <joseph@codesourcery.com>
7764 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
7765 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
7766 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
7767 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
7769 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
7771 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
7772 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
7774 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
7776 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
7777 ia64/t-softfp-compat to tmake_file.
7779 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
7781 * config/ia64/__divxf3.asm: New.
7782 * config/ia64/_fixtfdi.asm: Likewise.
7783 * config/ia64/_fixunstfdi.asm: Likewise.
7784 * config/ia64/_floatditf.asm: Likewise.
7785 * config/ia64/t-fprules-softfp: Likewise.
7786 * config/ia64/t-softfp-compat: Likewise.
7787 * config/ia64/tf-signs.c: Likewise.
7789 2009-01-18 Ben Elliston <bje@au.ibm.com>
7791 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
7793 2009-01-16 Ben Elliston <bje@au.ibm.com>
7795 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
7798 2009-01-13 Ben Elliston <bje@au.ibm.com>
7800 * config/t-softfp: New file.
7801 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
7802 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
7804 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
7806 * config.host: Add m32r*-*-rtems*.
7808 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
7810 * config.host: Add m32c*-*-rtems*.
7812 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7815 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
7816 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
7817 * configure: Regenerate.
7818 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
7819 tmake_file here from gcc/config.gcc.
7820 Move extra_parts here from gcc/config.gcc.
7821 * config/i386/t-sol2: Move here from gcc/config/i386.
7822 Use gcc_srcdir instead of srcdir.
7824 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
7826 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
7829 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
7831 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
7833 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
7835 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
7837 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
7840 * config.host: Add picochip-*-*.
7842 2008-08-06 Bob Wilson <bob.wilson@acm.org>
7844 * config.host: Match more processor names for Xtensa.
7846 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
7848 * config/i386/64/t-softfp-compat: Update comments.
7850 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
7852 * config/i386/64/_divtc3-compat.c: Moved to ...
7853 * config/i386/64/_divtc3.c: Here.
7855 * config/i386/64/_multc3-compat.c: Moved to ...
7856 * config/i386/64/_multc3.c: Here.
7858 * config/i386/64/_powitf2-compat.c: Moved to ...
7859 * config/i386/64/_powitf2.c: Here.
7861 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
7862 .c suffix instead of -compat.c.
7864 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
7866 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
7867 (_FP_MUL_MEAT_D): Ditto.
7868 (_FP_DIV_MEAT_S): Ditto.
7869 (_FP_DIV_MEAT_D): Ditto.
7871 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
7873 * Makefile.in: Add support for __sync_* libgcc functions.
7875 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
7877 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
7879 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
7882 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
7883 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
7885 * config/i386/64/t-fprules-softfp: Moved to ...
7886 * config/i386/64/t-softfp-compat: This. New.
7888 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
7890 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
7891 Initialize f with 0.0.
7893 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
7896 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
7898 * config/i386/64/_divtc3-compat.c: New.
7899 * config/i386/64/_multc3-compat.c: Likewise.
7900 * config/i386/64/_powitf2-compat.c: Likewise.
7901 * config/i386/64/eqtf2.c: Likewise.
7902 * config/i386/64/getf2.c: Likewise.
7903 * config/i386/64/letf2.c: Likewise.
7904 * config/i386/64/t-fprules-softfp: Likewise.
7906 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
7908 * config.host: Add i386/${host_address}/t-fprules-softfp to
7909 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
7910 i[34567]86-*-linux*, x86_64-*-linux*.
7912 * configure.ac: Set host_address to 64 or 32 for x86.
7913 * configure: Regenerated.
7915 * Makefile.in (config.status): Also depend on
7916 $(srcdir)/config.host.
7918 * config/i386/32/t-fprules-softfp: New.
7919 * config/i386/32/tf-signs.c: Likewise.
7921 * config/i386/64/sfp-machine.h: New. Moved from gcc.
7923 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
7924 Uros Bizjak <ubizjak@gmail.com>
7926 * config/i386/32/sfp-machine.h: New.
7928 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
7930 * config/rs6000/t-ppccomm: Remove rules that conflict with
7931 auto-generated rules.
7933 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7935 * configure.ac: sinclude override.m4.
7936 * configure: Regenerate.
7938 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
7940 * configure: Regenerate.
7942 2008-06-10 Joseph Myers <joseph@codesourcery.com>
7944 * Makefile.in (DECNUMINC): Remove
7945 -I$(MULTIBUILDTOP)../../libdecnumber.
7948 2008-06-07 Joseph Myers <joseph@codesourcery.com>
7950 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
7951 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
7952 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
7953 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
7954 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
7955 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
7956 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
7957 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
7958 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
7959 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
7960 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
7961 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
7962 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
7963 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
7965 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
7967 * config.host (sh2[lbe]*-*-linux*): Allow target.
7969 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
7971 * config/rs6000/t-ppccomm: Add build rules for new files.
7972 (LIB2ADD_ST): New variable.
7974 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
7978 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
7979 * config/t-avr: New file. Build 16bit libgcc functions.
7981 2008-03-02 Jakub Jelinek <jakub@redhat.com>
7984 * config/t-slibgcc-darwin: Make install-leaf dependent on
7985 install-darwin-libgcc-stubs instead of install.
7987 2008-01-25 Joseph Myers <joseph@codesourcery.com>
7989 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
7990 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
7991 sh-*-rtemscoff*): Remove cases.
7993 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
7995 * Makefile.in (all): Use install-leaf rather than install.
7996 (install): Split most of the rule into...
7997 (install-leaf): ...this new one.
7999 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
8000 Paolo Bonzini <bonzini@gnu.org>
8003 * Makefile.in: Use @shlib_slibdir@ substitution to get
8004 correct install name on darwin.
8005 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
8007 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
8009 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
8010 cris-*-elf and cris-*-none.
8011 (crisv32-*-linux*): Similar, as cris-*-linux*.
8013 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
8015 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
8017 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
8020 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
8021 * configure: Regenerated.
8023 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
8025 * Makefile.in (dfp-filenames): Replace decimal_globals,
8026 decimal_data, binarydecimal and convert_data with
8027 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
8028 and bid_convert_data, respectively.
8030 2007-09-17 Chao-ying Fu <fu@mips.com>
8031 Nigel Stephens <nigel@mips.com>
8033 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
8034 * Makefile.in (fixed_point): Define.
8035 Check if fixed_point is yes to build support functions.
8036 * configure.ac: Check for fixed_point support.
8037 * configure: Regenerated.
8038 * gen-fixed.sh: New file to generate lists of fixed-point labels,
8039 funcs, modes, from, to.
8041 2007-09-11 Janis Johnson <janis187@us.ibm.com
8043 * Makefile.in (dfp-filenames): Add bid128_noncomp.
8045 2007-09-10 Janis Johnson <janis187@us.ibm.com>
8047 * Makefile.in (dfp-filenames): Remove decUtility, add
8048 decDouble, decPacked, decQuad, decSingle.
8050 2007-08-27 Hans Kester <hans.kester@ellips.nl>
8052 * config.host : Add x86_64-elf target.
8054 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
8056 * configure.ac (set_have_cc_tls): Add a missing =.
8057 * configure: Regenerated.
8059 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
8061 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
8062 and x86_64-*-linux*.
8064 * config/t-tls: New file.
8066 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
8068 * configure.ac: Include ../config/enable.m4 and
8069 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
8070 supports TLS and substitute set_have_cc_tls.
8071 * configure: Regenerated.
8073 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
8075 * Makefile.in: Use libbid for DFP when BID is enabled.
8077 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
8079 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
8080 extra_parts. Add config/i386/t-cygming to tmake_file.
8081 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
8083 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
8084 Danny Smith <dannysmith@users.sourceforge.net>
8087 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
8088 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
8089 * config/i386/t-crtfm: Compile crtfastmath.o with
8090 -minline-all-stringops.
8092 2007-05-10 Richard Sandiford <richard@codesourcery.com>
8094 * config.host (sparc-wrs-vxworks): New target.
8096 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
8098 * config.host: Recognize fido.
8100 2007-04-04 Janis Johnson <janis187@us.ibm.com>
8102 * configure: Check host, not target, for decimal float support.
8104 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
8106 * config/i386/t-crtpc: New file.
8107 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
8108 (x86_64-*-linux*): Ditto.
8110 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
8112 * config.host (x86_64-*-mingw*): New target.
8114 2007-03-23 Michael Meissner <michael.meissner@amd.com>
8115 H.J. Lu <hongjiu.lu@intel.com>
8117 * Makefile.in (enable_decimal_float): New.
8119 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
8120 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
8121 (decbits-filenames): This.
8122 (decbits-objects): New.
8123 (libgcc-objects): Add $(decbits-objects).
8125 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
8126 Substitute enable_decimal_float.
8127 * configure: Regenerated.
8129 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
8131 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
8133 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
8135 * Makefile.in (install-info): New dummy target.
8137 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
8139 * config.host (bfin*-linux-uclibc*): Set extra_parts.
8141 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
8143 * Makefile.in: Add install-html and install-pdf dummy
8146 2007-02-05 Roger Sayle <roger@eyesopen.com>
8147 Daniel Jacobowitz <dan@codesourcery.com>
8149 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
8150 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
8151 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
8153 2007-01-29 Janis Johnson <janis187@us.ibm.com>
8155 * Makefile.in (dec-filenames): Add decExcept.
8157 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
8160 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
8163 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
8165 * configure.ac: Add --enable-version-specific-runtime-libs.
8166 Correct $slibdir default.
8167 * configure: Regenerated.
8169 2007-01-23 Joseph Myers <joseph@codesourcery.com>
8171 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
8173 2007-01-21 Andrew Pinski <pinskia@gmail.com>
8176 * config.host (alpha*-*-linux*): Set extra_parts.
8178 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
8180 * config/sh/t-linux: New.
8181 * config.host (sh*-*-linux*): Set tmake_file.
8183 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
8185 * Makefile.in (install): Handle multilibs.
8187 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
8189 * Makefile.in: Added .PHONY entry for documentation targets.
8191 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
8193 * Makefile.in: Add empty info, html, dvi, pdf targets.
8195 2007-01-04 Mike Stump <mrs@apple.com>
8197 * Makefile.in (MAKEINFO): Remove.
8200 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
8202 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
8203 * configure: Regenerate.
8204 * Makefile.in (host_subdir): Substitute it.
8205 (gcc_objdir): Use it.
8207 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8209 * config.host (ia64*-*-linux*): Set tmake_file.
8211 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8213 * Makefile.in (version): Define.
8215 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8216 Paolo Bonzini <bonzini@gnu.org>
8218 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
8219 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
8220 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
8221 config/sparc/t-crtfm, config/t-slibgcc-darwin,
8222 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
8223 shared-object.mk, siditi-object.mk, static-object.mk: New files.
8224 * configure: Generated.
8226 Copyright (C) 2007-2016 Free Software Foundation, Inc.
8228 Copying and distribution of this file, with or without modification,
8229 are permitted in any medium without royalty provided the copyright
8230 notice and this notice are preserved.