1 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
4 * configure.ac (PowerPC float128 hardware support): Test whether
5 we can use __builtin_cpu_supports before enabling the ifunc
7 * configure: Regenerate.
9 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
11 * config.host: Remove uclibc from arc target spec.
13 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
15 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
17 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
19 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
20 (have_ieee_hw_p): Delete function.
21 (SW_OR_HW) Use __builtin_cpu_supports().
23 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
25 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
27 2017-07-03 Olivier Hainque <hainque@adacore.com>
29 * config/t-vxworks7: New file, really.
31 2017-06-28 Joseph Myers <joseph@codesourcery.com>
33 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
34 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
35 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
36 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
37 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
38 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
39 config/pa/linux-unwind.h (pa32_fallback_frame_state),
40 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
41 config/sh/linux-unwind.h (sh_fallback_frame_state),
42 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
43 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
44 ucontext_t instead of struct ucontext.
46 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
48 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
49 (x86_64-wrs-vxworks7): Likewise.
51 2017-06-27 Olivier Hainque <hainque@adacore.com>
53 * config/t-vxworks7: New file.
54 * config.host (*-*-vxworks7): Use it.
56 2017-06-22 Matt Turner <mattst88@gmail.com>
58 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
61 2017-06-21 Richard Biener <rguenther@suse.de>
64 * configure.ac: Add AC_SYS_LARGEFILE.
65 * libgcov.h: Include auto-target.h before tsystem.h to pick
66 up _FILE_OFFSET_BITS which might differ for multilibs.
67 * config.in: Regenerate.
68 * configure: Likewise.
70 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
72 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
74 2017-06-09 Martin Liska <mliska@suse.cz>
76 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
77 Reset __gcov_indirect_call_callee to NULL.
79 2017-06-08 Olivier Hainque <hainque@adacore.com>
81 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
82 the set of -I options, support for direct inclusions of net/uio.h
83 by VxWorks header files via ioLib.h.
85 2017-06-07 Tony Reix <tony.reix@atos.net>
86 Matthieu Sarter <matthieu.sarter.external@atos.net>
87 David Edelsohn <dje.gcc@gmail.com>
89 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
91 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
94 2017-06-02 Olivier Hainque <hainque@adacore.com>
96 * config/vxlib.c (__gthread_once): Add missing value to
99 2017-05-30 Olivier Hainque <hainque@adacore.com>
101 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
102 dollar sign before $(MULTIDIR).
104 2017-05-26 Richard Henderson <rth@redhat.com>
107 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
109 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
111 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
112 _Unwind_SetIP available as functions for arm*-*-freebsd*.
113 * config/arm/unwind-arm.c: Implement the above.
115 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
117 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
118 section for a non-executable stack.
120 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
123 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
125 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
127 * config.host: Add i386/t-msabi to i386/t-linux file list.
128 * config/i386/i386-asm.h: New file.
129 * config/i386/resms64.S: New file.
130 * config/i386/resms64f.S: New file.
131 * config/i386/resms64fx.S: New file.
132 * config/i386/resms64x.S: New file.
133 * config/i386/savms64.S: New file.
134 * config/i386/savms64f.S: New file.
135 * config/i386/t-msabi: New file.
137 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
139 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
140 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
142 2017-05-05 Joshua Conner <joshconner@google.com>
144 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
145 pc-relative indirect handling for fuchsia.
146 * config/t-slibgcc-fuchsia: New file.
147 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
148 x86_64-*-fuchsia*): Add definitions.
150 2017-04-19 Martin Liska <mliska@suse.cz>
152 PR gcov-profile/80435
153 * Makefile.in: Install gcov.h.
155 * libgcov.h: Use the header and make __gcov_flush publicly
158 2017-04-18 Martin Liska <mliska@suse.cz>
160 PR gcov-profile/78783
161 * libgcov-driver.c (gcov_get_filename): New function.
163 2017-04-07 Jeff Law <law@redhat.com>
165 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
166 target makefile fragment.
167 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
169 2017-04-07 Alan Modra <amodra@gmail.com>
172 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
174 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
176 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
178 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
180 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
182 2017-03-10 John Marino <gnugcc@marino.st>
184 * config/aarch64/freebsd-unwind.h: New file.
185 * config.host: Add aarch64-*-freebsd unwinder.
187 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
189 * config/rs6000/crtrestvr.s: Use .machine altivec.
190 * config/rs6000/crtsavevr.s: Ditto.
192 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
194 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
195 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
196 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
197 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
198 * configure: Regenerate.
199 * config.in: Regenerate.
201 2017-03-02 Jonathan Yong <10walls@gmail.com>
203 * config/i386/gthr-win32.h: Define NOGDI before
204 windows.h include to prevent w32api CC_NONE macro
205 clash with libgfortran.
207 2017-03-02 Jonathan Yong <10walls@gmail.com>
209 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
211 2017-02-16 Andrew Pinski <apinski@cavium.com>
213 * config/aarch64/value-unwind.h: New file.
214 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
217 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
219 * config.host: Add RISC-V tuples.
220 * config/riscv/atomic.c: New file.
221 * config/riscv/crti.S: Likewise.
222 * config/riscv/crtn.S: Likewise.
223 * config/riscv/div.S: Likewise.
224 * config/riscv/linux-unwind.h: Likewise.
225 * config/riscv/muldi3.S: Likewise.
226 * config/riscv/multi3.S: Likewise.
227 * config/riscv/save-restore.S: Likewise.
228 * config/riscv/sfp-machine.h: Likewise.
229 * config/riscv/t-elf: Likewise.
230 * config/riscv/t-elf32: Likewise.
231 * config/riscv/t-elf64: Likewise.
232 * config/riscv/t-softfp32: Likewise.
233 * config/riscv/t-softfp64: Likewise.
235 2017-01-24 Jakub Jelinek <jakub@redhat.com>
237 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
238 /* FALLTHRU */ comments.
240 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
242 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
244 2017-01-20 Jiong Wang <jiong.wang@arm.com>
246 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
247 * unwind-dw2.c (execute_cfa_program): Only multiplexing
248 DW_CFA_GNU_window_save for AArch64 and LP64.
250 2017-01-20 Jiong Wang <jiong.wang@arm.com>
252 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
254 2017-01-19 Jiong Wang <jiong.wang@arm.com>
256 * config/aarch64/aarch64-unwind.h: New file.
257 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
258 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
259 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
260 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
261 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
262 (aarch64_post_extract_frame_addr): New function.
263 (aarch64_post_frob_eh_handler_addr): New function.
264 (aarch64_frob_update_context): New function.
265 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
266 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
267 aarch64*-*-freebsd*):
268 Initialize md_unwind_header to include aarch64-unwind.h.
269 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
270 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
272 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
273 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
274 (uw_frob_return_addr): New function.
275 (uw_install_context): Use uw_frob_return_addr.
277 2017-01-17 Jakub Jelinek <jakub@redhat.com>
280 * configure.ac: Add GCC_BASE_VER.
281 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
282 version from BASE-VER file.
283 * configure: Regenerated.
285 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
287 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
288 libmul_f5.a): Filter archived prerequisites.
290 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
292 * config/i386/cpuinfo.h (processor_features): Add
293 FEATURE_AVX512VPOPCNTDQ.
294 * config/i386/cpuinfo.c (get_available_features): Habdle new
297 2017-01-04 Joseph Myers <joseph@codesourcery.com>
299 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
300 payload if [__mips_nan2008].
302 2017-01-04 Alan Modra <amodra@gmail.com>
304 * Makefile.in (configure_deps): Update.
305 * configure: Regenerate.
307 2017-01-01 Jakub Jelinek <jakub@redhat.com>
309 Update copyright years.
311 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
313 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
314 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
315 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
317 2016-12-17 Matthias Klose <doko@ubuntu.com>
319 * config/arc/gmon: Remove empty directory.
321 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
323 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
325 (arc*-*-elf*): Likewise.
326 * config/arc/t-arc: Remove old gmon lib targets.
327 * config/arc/crtg.S: Remove.
328 * config/arc/crtgend.S: Likewise.
329 * config/arc/gmon/atomic.h: Likewise.
330 * config/arc/gmon/auxreg.h: Likewise.
331 * config/arc/gmon/dcache_linesz.S: Likewise.
332 * config/arc/gmon/gmon.c: Likewise.
333 * config/arc/gmon/machine-gmon.h: Likewise.
334 * config/arc/gmon/mcount.c: Likewise.
335 * config/arc/gmon/prof-freq-stub.S: Likewise.
336 * config/arc/gmon/prof-freq.c: Likewise.
337 * config/arc/gmon/profil.S: Likewise.
338 * config/arc/gmon/sys/gmon.h: Likewise.
339 * config/arc/gmon/sys/gmon_out.h: Likewise.
340 * config/arc/t-arc-newlib: Likewise.
341 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
343 2016-12-12 George Spelvin <linux@sciencehorizons.net>
345 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
347 2016-12-12 George Spelvin <linux@sciencehorizons.net>
349 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
350 R16 instead of push + pop.
351 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
353 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
355 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
358 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
360 * config.host (arc*-*-linux-uclibc*): Use default extra
361 objects. Include linux-android header.
362 * config/arc/crti.S (_init): Declare symbol as function.
365 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
368 * config/i386/cpuinfo.c: Move denums for processor vendors,
369 processor type, processor subtypes and declaration of
370 struct __processor_model into
371 * config/i386/cpuinfo.h: New header file.
373 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
374 Thomas Preud'homme <thomas.preudhomme@arm.com>
376 * config/arm/cmse_nonsecure_call.S: New.
377 * config/arm/t-arm: Compile cmse_nonsecure_call.S
379 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
380 Thomas Preud'homme <thomas.preudhomme@arm.com>
382 * config/arm/t-arm (HAVE_CMSE): New.
383 * config/arm/cmse.c: New.
385 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
388 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
389 use generic linker version information on Blackfin.
392 * libgcc/mkmap-symver.awk: add support for skip_underscore
394 2016-11-27 Iain Sandoe <iain@codesourcery.com>
395 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
398 * config/t-darwin: Default builds to 10.5 codegen.
400 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
402 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
403 (_FP_NANSIGN_H): Likewise.
404 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
405 (softfp_truncations): Add tfhf.
406 (softfp_extras): Add required conversion functions.
408 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
409 Matthew Wahab <matthew.wahab@arm.com>
411 * config/arm/fp16.c (binary64): New.
412 (__gnu_d2h_internal): New.
413 (__gnu_d2h_ieee): New.
414 (__gnu_d2h_alternative): New.
416 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
417 Matthew Wahab <matthew.wahab@arm.com>
419 * config/arm/fp16.c (struct format): New.
421 (__gnu_float2h_internal): New. Body moved from
422 __gnu_f2h_internal and generalize.
423 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
424 Call it with binary32.
426 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
428 * soft-fp/extendhftf2.c: Update from glibc.
429 * soft-fp/fixhfti.c: Likewise.
430 * soft-fp/fixunshfti.c: Likewise.
431 * soft-fp/floattihf.c: Likewise.
432 * soft-fp/floatuntihf.c: Likewise.
433 * soft-fp/half.h: Likewise.
434 * soft-fp/trunctfhf2.c: Likewise.
436 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
439 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
440 __TMC_END__ behind a passthrough asm.
442 2016-11-18 Walter Lee <walt@tilera.com>
444 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
446 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
448 * config/i386/cpuinfo.c (processor_features): Add
449 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
451 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
453 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
454 (__ARC_NORM__): Use instead ARC_OPTFPE.
455 * config/arc/fp-hack.h: Likewise.
456 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
457 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
459 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
461 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
462 * config/nvptx/mgomp.c: New file.
463 * config/nvptx/t-nvptx: Add mgomp.c
465 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
468 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
470 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
472 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
473 of checking for cpus.
474 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
475 (__modsi3, __clzsi2): Likewise.
477 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
479 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
480 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
481 * config/i386/t-cpuinfo-static: New.
483 2016-11-03 Martin Liska <mliska@suse.cz>
485 * libgcov-profiler.c (__gcov_time_profiler): Remove.
486 (__gcov_time_profiler_atomic): Likewise.
488 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
491 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
494 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
496 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
497 * libgcc2.c (__divmoddi4): New function.
498 * libgcc2.h (__divmoddi4): Declare.
499 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
502 2016-10-24 Florian Weimer <fweimer@redhat.com>
505 * unwind-c.c: Include auto-target.h.
507 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
509 * config/pa/pa64-hpux-lib.h: New file.
510 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
511 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
512 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
515 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
517 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
519 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
521 * config/xtensa/t-windowed (LIB2ADDEH): Use
522 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
525 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
527 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
528 __ieee754_sqrt): New functions.
529 (__divdf3): Add implementation with new FPU instructions under
530 #if XCHAL_HAVE_DFP_DIV.
531 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
532 __ieee754_sqrtf): New functions.
533 (__divsf3): Add implementation with new FPU instructions under
534 #if XCHAL_HAVE_FP_DIV.
535 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
536 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
538 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
540 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
542 * config/tilepro/atomic.c: Likewise and stop casting model to
545 2016-10-10 Joseph Myers <joseph@codesourcery.com>
548 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
551 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
553 * config.host: Add support for aarch64-*-freebsd*.
555 2016-10-05 Andreas Schwab <schwab@suse.de>
557 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
558 (.section .init_array): Don't call __do_jv_register_classes.
559 (.section .init): Likewise.
561 2016-10-04 Jakub Jelinek <jakub@redhat.com>
563 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
564 (__JCR_LIST__): Remove.
565 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
566 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
567 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
568 * config/ia64/crtend.S (__JCR_END__): Remove.
569 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
571 (__JCR_LIST__, __JCR_END__): Remove.
572 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
573 (__do_global_ctors_1): Likewise.
575 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
577 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
578 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
580 2016-09-27 Martin Liska <mliska@suse.cz>
583 PR gcov-profile/16855
584 PR gcov-profile/44779
585 * libgcov-driver.c (__gcov_init): Do not register a atexit
587 (__gcov_exit): Rename from gcov_exit.
588 * libgcov.h (__gcov_exit): Declare.
590 2016-09-27 Martin Liska <mliska@suse.cz>
593 * Makefile.in: Remove _gcov_merge_delta.
594 * libgcov-merge.c (void __gcov_merge_delta): Remove.
595 * libgcov-util.c (__gcov_delta_counter_op): Remove.
596 * libgcov.h: Remove declaration of __gcov_merge_delta.
598 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
600 * configure.ac: Do not create links, only substitute the filenames.
601 * configure: Regenerate.
602 * Makefile.in: Assign the substitution results to variables.
603 (LIBGCC_LINKS): Define.
604 (enable-execute-stack.c): New rule.
605 (unwind.h): Likewise.
606 (md-unwind-support.h): Likewise.
607 (sfp-machine.h): Likewise.
608 (gthr-default.h): Likewise.
609 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
610 unwind.h as prerequisite of install-unwind_h-forbuild.
612 2016-09-16 Jakub Jelinek <jakub@redhat.com>
615 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
616 is not the primary registry and atomics are available.
617 (any_objects_registered): New variable.
618 (__register_frame_info_bases, __register_frame_info_table_bases):
619 Atomically store 1 to any_objects_registered after registering first
621 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
623 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
626 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
627 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
630 (__divhc3): Likewise.
631 (__mulhc3): Likewise.
632 * libgcc2.c: Support _mulhc3 and _divhc3.
634 2016-09-07 Joseph Myers <joseph@codesourcery.com>
637 * libgcc2.c (NOTRUNC): Invert settings.
639 2016-09-06 Martin Liska <mliska@suse.cz>
641 PR gcov-profile/77378
642 PR gcov-profile/77466
643 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
644 conditionaly enable/disable *_atomic functions.
646 2016-08-26 Joseph Myers <joseph@codesourcery.com>
648 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
649 where not already enabled.
651 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
653 * config/mips/linux-unwind.h: Use sys/syscall.h.
655 2016-08-16 Joseph Myers <joseph@codesourcery.com>
658 * soft-fp/adddf3.c: Update from glibc.
659 * soft-fp/addsf3.c: Likewise.
660 * soft-fp/addtf3.c: Likewise.
661 * soft-fp/divdf3.c: Likewise.
662 * soft-fp/divsf3.c: Likewise.
663 * soft-fp/divtf3.c: Likewise.
664 * soft-fp/double.h: Likewise.
665 * soft-fp/eqdf2.c: Likewise.
666 * soft-fp/eqsf2.c: Likewise.
667 * soft-fp/eqtf2.c: Likewise.
668 * soft-fp/extenddftf2.c: Likewise.
669 * soft-fp/extended.h: Likewise.
670 * soft-fp/extendsfdf2.c: Likewise.
671 * soft-fp/extendsftf2.c: Likewise.
672 * soft-fp/extendxftf2.c: Likewise.
673 * soft-fp/fixdfdi.c: Likewise.
674 * soft-fp/fixdfsi.c: Likewise.
675 * soft-fp/fixdfti.c: Likewise.
676 * soft-fp/fixsfdi.c: Likewise.
677 * soft-fp/fixsfsi.c: Likewise.
678 * soft-fp/fixsfti.c: Likewise.
679 * soft-fp/fixtfdi.c: Likewise.
680 * soft-fp/fixtfsi.c: Likewise.
681 * soft-fp/fixtfti.c: Likewise.
682 * soft-fp/fixunsdfdi.c: Likewise.
683 * soft-fp/fixunsdfsi.c: Likewise.
684 * soft-fp/fixunsdfti.c: Likewise.
685 * soft-fp/fixunssfdi.c: Likewise.
686 * soft-fp/fixunssfsi.c: Likewise.
687 * soft-fp/fixunssfti.c: Likewise.
688 * soft-fp/fixunstfdi.c: Likewise.
689 * soft-fp/fixunstfsi.c: Likewise.
690 * soft-fp/fixunstfti.c: Likewise.
691 * soft-fp/floatdidf.c: Likewise.
692 * soft-fp/floatdisf.c: Likewise.
693 * soft-fp/floatditf.c: Likewise.
694 * soft-fp/floatsidf.c: Likewise.
695 * soft-fp/floatsisf.c: Likewise.
696 * soft-fp/floatsitf.c: Likewise.
697 * soft-fp/floattidf.c: Likewise.
698 * soft-fp/floattisf.c: Likewise.
699 * soft-fp/floattitf.c: Likewise.
700 * soft-fp/floatundidf.c: Likewise.
701 * soft-fp/floatundisf.c: Likewise.
702 * soft-fp/floatunditf.c: Likewise.
703 * soft-fp/floatunsidf.c: Likewise.
704 * soft-fp/floatunsisf.c: Likewise.
705 * soft-fp/floatunsitf.c: Likewise.
706 * soft-fp/floatuntidf.c: Likewise.
707 * soft-fp/floatuntisf.c: Likewise.
708 * soft-fp/floatuntitf.c: Likewise.
709 * soft-fp/gedf2.c: Likewise.
710 * soft-fp/gesf2.c: Likewise.
711 * soft-fp/getf2.c: Likewise.
712 * soft-fp/ledf2.c: Likewise.
713 * soft-fp/lesf2.c: Likewise.
714 * soft-fp/letf2.c: Likewise.
715 * soft-fp/muldf3.c: Likewise.
716 * soft-fp/mulsf3.c: Likewise.
717 * soft-fp/multf3.c: Likewise.
718 * soft-fp/negdf2.c: Likewise.
719 * soft-fp/negsf2.c: Likewise.
720 * soft-fp/negtf2.c: Likewise.
721 * soft-fp/op-1.h: Likewise.
722 * soft-fp/op-2.h: Likewise.
723 * soft-fp/op-4.h: Likewise.
724 * soft-fp/op-8.h: Likewise.
725 * soft-fp/op-common.h: Likewise.
726 * soft-fp/quad.h: Likewise.
727 * soft-fp/single.h: Likewise.
728 * soft-fp/soft-fp.h: Likewise.
729 * soft-fp/subdf3.c: Likewise.
730 * soft-fp/subsf3.c: Likewise.
731 * soft-fp/subtf3.c: Likewise.
732 * soft-fp/truncdfsf2.c: Likewise.
733 * soft-fp/trunctfdf2.c: Likewise.
734 * soft-fp/trunctfsf2.c: Likewise.
735 * soft-fp/trunctfxf2.c: Likewise.
736 * soft-fp/unorddf2.c: Likewise.
737 * soft-fp/unordsf2.c: Likewise.
738 * soft-fp/unordtf2.c: Likewise.
740 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
742 PR gcov-profile/67097
743 * libgcov-util.c (gcov_profile_merge): Skip missing files.
745 2016-08-10 Martin Liska <mliska@suse.cz>
747 PR gcov-profile/58306
748 * Makefile.in: New functions (modules) are added.
749 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
751 (__gcov_pow2_profiler_atomic): New function.
752 (__gcov_one_value_profiler_body): New argument is instroduced.
753 (__gcov_one_value_profiler): Call with the new argument.
754 (__gcov_one_value_profiler_atomic): Likewise.
755 (__gcov_indirect_call_profiler_v2): Likewise.
756 (__gcov_time_profiler_atomic): New function.
757 (__gcov_average_profiler_atomic): Likewise.
758 (__gcov_ior_profiler_atomic): Likewise.
759 * libgcov.h: Declare the aforementioned functions.
761 2016-08-09 Martin Liska <mliska@suse.cz>
763 * libgcov-util.c: Fix typo and GNU coding style.
765 2016-08-09 Martin Liska <mliska@suse.cz>
767 * Makefile.in: Remove __gcov_indirect_call_profiler.
768 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
770 * libgcov.h: And the declaration of the function.
772 2016-08-09 Martin Liska <mliska@suse.cz>
774 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
777 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
779 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
780 * config/rs6000/_mulkc3.c: Likewise.
782 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
784 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
785 zero_reg as previous call to __umulhisi3 already cleared it.
787 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
790 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
792 2016-07-19 Nick Clifton <nickc@redhat.com>
794 * config.host (m32r): Add m32r/t-m32r to tmake_file.
795 Add crtinit.o and crtfini.o to extra_parts.
797 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
799 * config/rs6000/_divkc3.c: New.
800 * config/rs6000/_mulkc3.c: New.
801 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
803 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
806 2016-07-11 Hale Wang <hale.wang@arm.com>
807 Andre Vieira <andre.simoesdiasvieira@arm.com>
809 * config/arm/lib1funcs.S: Add new wrapper.
811 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
813 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
815 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
817 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
818 and ARMv5t* rather than for a fixed list of architectures.
820 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
822 * config/arm/bpabi-v6m.S: Clarify what architectures is the
823 implementation suitable for.
824 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
825 for all Thumb-1 only targets.
826 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
827 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
830 (ARM_FUNC_ALIAS): Likewise.
831 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
834 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
837 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
838 __ARM_ARCH_6M__ in guard for checking whether it is defined.
839 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
840 __ARM_ARCH_6M__ and add comment to indicate the connection between
841 this condition and the one in gcc/config/arm/elf.h.
842 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
843 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
844 * config/arm/t-softfp: Likewise.
846 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
848 * libgcc2.c (SYMBOL__MAIN): Remove checks for
849 CTOR_LISTS_DEFINED_EXTERNALLY.
851 2016-06-28 Walter Lee <walt@tilera.com>
853 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
855 (SPR_CMPEXCH_VALUE): Define for tilegx.
856 (__NR_FAST_cmpxchg): Define for tilepro.
857 (__NR_FAST_atomic_update): Define for tilepro.
858 (__NR_FAST_cmpxchg64): Define for tilepro.
860 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
862 * config.host: Add suport for arm*-*-phoenix* targets.
864 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
866 * config.host: Remove support for mep-*.
867 * config/mep/lib1funcs.S: Remove.
868 * config/mep/lib2funcs.c: Remove.
869 * config/mep/t-mep: Remove.
870 * config/mep/tramp.c: Remove.
872 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
874 * config.host: Remove support for avr-rtems.
875 * config/avr/t-rtems: Remove.
877 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
879 * config.host: Remove m32r-rtems support.
881 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
883 * config.host: Remove h8300-rtems support.
885 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
887 * config.host: Remove support for knetbsd.
889 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
891 * config.host: Remove support for openbsd 2 and 3.
893 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
895 * config.host: Remove interix support.
896 * config/i386/t-interix: Remove.
898 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
900 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
901 least-significant bit in function pointer for fixup.
903 2016-06-05 Aaron Conole <aconole@redhat.com>
904 Nathan Sidwell <nathan@acm.org>
907 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
908 (get_gcov_error_file): Check __gcov_error_file before trying to
910 (gcov_error): Always use get_gcov_error_file.
912 2016-06-02 Aaron Conole <aconole@redhat.com>
914 * libgcov-driver-system.c (__gcov_error_file): New.
915 (get_gcov_error_file): New.
916 (gcov_error): Use and set __gcov_error_file.
917 (gcov_error_exit): New.
918 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
920 2016-05-26 Nathan Sidwell <nathan@acm.org>
922 * config/nvptx/free.asm: Delete.
923 * config/nvptx/malloc.asm: Delete.
924 * config/nvptx/realloc.c: Delete.
927 2016-05-25 Nathan Sidwell <nathan@acm.org>
929 * config/nvptx/crt0.s: Delete.
930 * config/nvptx/crt0.c: New.
933 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
935 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
936 dw2/seh configuration.
937 [x86_64-*-mingw*]: Likewise.
939 2016-05-10 Joel Sherrill <joel@rtems.org>
942 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
943 targets so the same extra_parts are built. Also have tmake_file add
944 on to its value rather than override.
946 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
948 * config.host: Remove SH5 support.
949 * configure: Likewise.
951 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
953 * config/sh/crt1.S: Remove SH5 support.
954 * config/sh/crti.S: Likewise.
955 * config/sh/crtn.S: Likewise.
956 * config/sh/lib1funcs-4-300.S: Likewise.
957 * config/sh/lib1funcs-Os-4-200.S: Likewise.
958 * config/sh/lib1funcs.S: Likewise.
959 * config/sh/linux-unwind.h: Likewise.
960 * config/sh/t-sh64: Delete.
962 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
964 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
966 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
967 Joern Rennecke <joern.rennecke@embecosm.com>
969 * config/arc/crttls.S: New file.
970 * config/arc/t-arc: New rule.
971 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
973 2016-04-25 Nick Clifton <nickc@redhat.com>
975 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
976 (__mspabi_cmpd): Likewise.
977 * config/msp430/floathidf.c (__floathidf): Likewise.
978 * config/msp430/floathisf.c (__floathisf): Likewise
979 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
980 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
981 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
983 (__ashrsi3): Likewise.
985 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
987 * config/m68k/linux-atomic.c: Do not include unistd.h
989 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
991 * config/arm/ieee754-df.S: Fix typos in comments.
993 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
996 * configure.ac (powerpc*-*-linux*): Rework tests to build
997 __float128 emulation routines to not depend on using #pragma GCC
998 target to enable -mfloat128.
999 * configure: Regnerate.
1001 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
1004 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1005 __MINGW32__ is defined.
1007 2016-03-28 James Bowman <james.bowman@ftdichip.com>
1009 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
1011 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
1014 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1015 built with an assembler that does not support ISA 3.0
1016 instructions, rename __extendkftf2_sw to __extendkftf2.
1018 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1021 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1022 call-clobbered registers.
1023 (internal_mcount): Remove __i386__ handling.
1025 2016-02-26 Joel Sherrill <joel@rtems.org>
1027 * config.host: Add x86_64-*-rtems*.
1029 2016-02-26 Joel Sherrill <joel@rtems.org>
1031 * libgcc/config.host: Add aarch64-*-rtems*.
1033 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1034 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1036 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1037 union of u64 and double.
1038 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1039 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1041 (FP_ROUNDMODE): Update the usage of _fpscr.
1043 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
1046 * Makefile.in (crtoffloadtable$(objext)): New rule.
1047 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1048 enable_offload_targets is not empty.
1049 * configure: Regenerate.
1050 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1053 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
1055 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
1056 .literal_position before the function.
1057 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
1060 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
1062 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
1063 * config/s390/morestack.S: New file.
1064 * config/s390/t-stack-s390: New file.
1065 * generic-morestack.c (__splitstack_find): Add s390-specific code.
1067 2016-02-12 Walter Lee <walt@tilera.com>
1069 * config.host (tilegx*-*-linux*): remove ti from
1070 softfp_int_modes for 32-bit configs.
1072 2016-02-10 Ian Lance Taylor <iant@google.com>
1075 * config/i386/morestack.S (__stack_split_initialize): Align
1078 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
1081 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
1082 __FLOAT128__ to compile only for __float128 capable targets.
1084 2016-01-25 Jakub Jelinek <jakub@redhat.com>
1087 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
1088 instead of ___NO_FPRS__.
1090 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
1091 Steven Munroe <munroesj@linux.vnet.ibm.com>
1092 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
1094 * config/rs6000/float128-sed: New files to convert TF names to KF
1095 names for PowerPC IEEE 128-bit floating point support.
1096 * config/rs6000/float128-sed-hw: Likewise.
1098 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1099 floating point hardware support.
1101 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1102 128-bit floating point software emulation or use ISA 3.0 hardware
1103 support if it is available.
1105 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1108 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
1109 floating point to IBM extended double.
1111 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
1112 double to IEEE 128-bit floating point.
1114 * config/rs6000/t-float128: New Makefile fragments to enable
1115 building __float128 emulation support.
1116 * config/rs6000/t-float128-hw: Likewise.
1118 * config/rs6000/sfp-exceptions.c: New file to provide exception
1119 support for IEEE 128-bit floating point.
1121 * config/rs6000/floattikf.c: New files for converting between IEEE
1122 128-bit floating point and signed/unsigned 128-bit integers.
1123 * config/rs6000/fixunskfti.c: Likewise.
1124 * config/rs6000/fixkfti.c: Likewise.
1125 * config/rs6000/floatuntikf.c: Likewise.
1127 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1128 when building on 64-bit systems, or when VSX is enabled.
1129 (_FP_W_TYPE): Likewise.
1130 (_FP_WS_TYPE): Likewise.
1131 (_FP_I_TYPE): Likewise.
1132 (TItype): Define on 64-bit systems.
1133 (UTItype): Likewise.
1134 (TI_BITS): Likewise.
1135 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1136 (_FP_MUL_MEAT_Q): Likewise.
1137 (_FP_DIV_MEAT_D): Likewise.
1138 (_FP_DIV_MEAT_Q): Likewise.
1139 (_FP_NANFRAC_D): Likewise.
1140 (_FP_NANFRAC_Q): Likewise.
1141 (ISA_BIT): Add exception support if we are being compiled on a
1142 machine with hardware floating point support to build the IEEE
1143 128-bit emulation functions.
1144 (FP_EX_INVALID): Likewise.
1145 (FP_EX_OVERFLOW): Likewise.
1146 (FP_EX_UNDERFLOW): Likewise.
1147 (FP_EX_DIVZERO): Likewise.
1148 (FP_EX_INEXACT): Likewise.
1149 (FP_EX_ALL): Likewise.
1150 (__sfp_handle_exceptions): Likewise.
1151 (FP_HANDLE_EXCEPTIONS): Likewise.
1152 (FP_RND_NEAREST): Likewise.
1153 (FP_RND_ZERO): Likewise.
1154 (FP_RND_PINF): Likewise.
1155 (FP_RND_MINF): Likewise.
1156 (FP_RND_MASK): Likewise.
1157 (_FP_DECL_EX): Likewise.
1158 (FP_INIT_ROUNDMODE): Likewise.
1159 (FP_ROUNDMODE): Likewise.
1161 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1162 VSX code, enable IEEE 128-bit floating point. If the compiler can
1163 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
1164 floating point hardware instructions and it supports declaring
1165 functions with the ifunc attribute, enable ifunc functions to
1166 switch between software and hardware support.
1167 * configure.ac (powerpc*-*-linux*): Likewise.
1168 * configure: Regenerate.
1170 2016-01-15 Nick Clifton <nickc@redhat.com>
1172 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
1173 dependency as the source file to be compiled.
1174 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
1175 (lib2hw_mul_f5.o): Likewise.
1177 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
1179 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
1180 * libgcc/config/rs6000/fixkfti.c: Likewise.
1181 * libgcc/config/rs6000/fixunskfti.c: Likewise.
1182 * libgcc/config/rs6000/float128-hw.c: Likewise.
1183 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
1184 * libgcc/config/rs6000/float128-sed: Likewise.
1185 * libgcc/config/rs6000/floattikf.c: Likewise.
1186 * libgcc/config/rs6000/floatuntikf.c: Likewise.
1187 * libgcc/config/rs6000/quad-float128.h: Likewise.
1188 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
1189 * libgcc/config/rs6000/sfp-machine.h: Likewise.
1190 * libgcc/config/rs6000/t-float128: Likewise.
1191 * libgcc/config/rs6000/t-float128-hw: Likewise.
1192 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
1193 * libgcc/config.host: Likewise.
1194 * libgcc/configure: Likewise.
1195 * libgcc/configure.ac: Likewise.
1197 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
1198 Steven Munroe <munroesj@linux.vnet.ibm.com>
1199 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
1201 * config/rs6000/sfp-exceptions.c: New file to provide exception
1202 support for IEEE 128-bit floating point.
1204 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1205 floating point hardware support.
1207 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
1209 * config/rs6000/fixunskfti.c: Likewise.
1210 * config/rs6000/fixkfti.c: Likewise.
1211 * config/rs6000/floatuntikf.c: Likewise.
1212 * config/rs6000/extendkftf2-sw.c: Likewise.
1213 * config/rs6000/trunctfkf2-sw.c: Likewise.
1215 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1216 128-bit floating point software emulation or use ISA 3.0 hardware
1217 support if it is available.
1219 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1222 * config/rs6000/t-float128: New Makefile fragments to enable
1223 building __float128 emulation support.
1224 * config/rs6000/t-float128-hw: Likewise.
1226 * config/rs6000/float128-sed: New file to convert TF names to KF
1227 names for PowerPC IEEE 128-bit floating point support.
1229 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1230 when building on 64-bit systems, or when VSX is enabled.
1231 (_FP_W_TYPE): Likewise.
1232 (_FP_WS_TYPE): Likewise.
1233 (_FP_I_TYPE): Likewise.
1234 (TItype): Define on 64-bit systems.
1235 (UTItype): Likewise.
1236 (TI_BITS): Likewise.
1237 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1238 (_FP_MUL_MEAT_Q): Likewise.
1239 (_FP_DIV_MEAT_D): Likewise.
1240 (_FP_DIV_MEAT_Q): Likewise.
1241 (_FP_NANFRAC_D): Likewise.
1242 (_FP_NANFRAC_Q): Likewise.
1243 (ISA_BIT): Add exception support if we are being compiled on a
1244 machine with hardware floating point support to build the IEEE
1245 128-bit emulation functions.
1246 (FP_EX_INVALID): Likewise.
1247 (FP_EX_OVERFLOW): Likewise.
1248 (FP_EX_UNDERFLOW): Likewise.
1249 (FP_EX_DIVZERO): Likewise.
1250 (FP_EX_INEXACT): Likewise.
1251 (FP_EX_ALL): Likewise.
1252 (__sfp_handle_exceptions): Likewise.
1253 (FP_HANDLE_EXCEPTIONS): Likewise.
1254 (FP_RND_NEAREST): Likewise.
1255 (FP_RND_ZERO): Likewise.
1256 (FP_RND_PINF): Likewise.
1257 (FP_RND_MINF): Likewise.
1258 (FP_RND_MASK): Likewise.
1259 (_FP_DECL_EX): Likewise.
1260 (FP_INIT_ROUNDMODE): Likewise.
1261 (FP_ROUNDMODE): Likewise.
1263 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
1264 compiler can do __float128.
1265 * configure: Regenerate.
1267 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1268 VSX code, enable IEEE 128-bit floating point.
1270 2016-01-05 Olivier Hainque <hainque@adacore.com>
1272 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
1275 2016-01-04 Jakub Jelinek <jakub@redhat.com>
1277 Update copyright years.
1279 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
1281 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
1284 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
1286 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
1287 instead of abort to avoid dependency on stdlib.h.
1289 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
1291 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
1292 to initialize call to __dl_fixup once.
1294 2015-12-04 Nick Clifton <nickc@redhat.com>
1296 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
1297 Allow for the second argument being negative.
1298 * config.host (extra_parts): Define for MSP430. Create separate
1299 libraries for each of the hardware multiply formats.
1300 * config/msp430/lib2hw_mul.S: Build only the multiply routines
1302 * config/msp430/lib2mul.c: Likewise.
1303 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
1304 Add rules to build hardware multiply libraries.
1305 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
1306 __mspabi_divul function.
1307 (__mspabi_divllu): New stub function.
1309 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
1311 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
1312 fixup values if saved GOT address doesn't match runtime address.
1313 (fixup_branch_offset): Reorder list.
1315 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1317 * Makefile.in (VTV_CFLAGS): New variable.
1318 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
1319 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
1320 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1321 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
1322 to extra_parts if $enable_vtable_verify = yes.
1324 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
1327 * config/arm/linux-atomic-64bit.c (__write): Rename to...
1328 (write): ...this and fix the return type.
1330 2015-11-19 DJ Delorie <dj@redhat.com>
1332 * config/msp430/lib2hw_mul.S: Fix alignment.
1334 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
1336 * config/nvptx/reduction.c: New.
1337 * config/nvptx/t-nvptx (LIB2ADD): Add it.
1339 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
1341 * config/rs6000/on_exit.c: New file.
1342 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
1343 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
1345 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
1347 * config/arc/dp-hack.h: Add support for ARCHS.
1348 * config/arc/ieee-754/divdf3.S: Likewise.
1349 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1350 * config/arc/ieee-754/muldf3.S: Likewise.
1351 * config/arc/ieee-754/mulsf3.S: Likewise
1352 * config/arc/lib1funcs.S: Likewise
1353 * config/arc/gmon/dcache_linesz.S: Don't read the build register
1355 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
1357 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
1358 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
1361 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1363 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
1365 * config/ia64/crtend.S: Likewise.
1367 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1369 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
1370 __CHAR_BIT__ instead of BITS_PER_UNIT.
1371 * fixed-bit.h: Likewise.
1372 * fp-bit.h: Likewise.
1373 * libgcc2.c (__popcountSI2): Likewise.
1374 (__popcountDI2): Likewise.
1375 * libgcc2.h: Likewise.
1376 * libgcov.h: Likewise.
1378 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
1380 * config/rs6000/atexit.c: New file.
1381 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
1382 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
1383 * config/rs6000/cxa_finalize.c
1384 (catomic_compare_and_exchange_bool_acq): Negate return value.
1386 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
1388 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
1389 (processor_subtypes): Add znver1.
1390 (get_amd_cpu): Detect znver1.
1392 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
1394 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
1395 Include crtfastmath.o.
1397 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
1400 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1402 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
1404 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
1405 * config/rl78/divmodsi.S: Update return register to r8.
1406 * config/rl78/divmodhi.S: Update return register to r8,r9.
1407 Branch to main_loop_done_himode to pop registers before return.
1409 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
1411 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
1412 (__cpu_indicator_init): Fix model selection for AMD CPUs.
1414 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
1416 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
1418 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
1420 * config.host (xtensa*-*-uclinux*): New configuration.
1422 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
1424 * config/i386/cpuinfo.c (processor_features): Add
1425 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
1427 2015-09-28 Joseph Myers <joseph@codesourcery.com>
1429 * soft-fp/adddf3.c: Update from glibc.
1430 * soft-fp/addsf3.c: Likewise.
1431 * soft-fp/addtf3.c: Likewise.
1432 * soft-fp/divdf3.c: Likewise.
1433 * soft-fp/divsf3.c: Likewise.
1434 * soft-fp/divtf3.c: Likewise.
1435 * soft-fp/double.h: Likewise.
1436 * soft-fp/eqdf2.c: Likewise.
1437 * soft-fp/eqsf2.c: Likewise.
1438 * soft-fp/eqtf2.c: Likewise.
1439 * soft-fp/extenddftf2.c: Likewise.
1440 * soft-fp/extended.h: Likewise.
1441 * soft-fp/extendsfdf2.c: Likewise.
1442 * soft-fp/extendsftf2.c: Likewise.
1443 * soft-fp/extendxftf2.c: Likewise.
1444 * soft-fp/fixdfdi.c: Likewise.
1445 * soft-fp/fixdfsi.c: Likewise.
1446 * soft-fp/fixdfti.c: Likewise.
1447 * soft-fp/fixsfdi.c: Likewise.
1448 * soft-fp/fixsfsi.c: Likewise.
1449 * soft-fp/fixsfti.c: Likewise.
1450 * soft-fp/fixtfdi.c: Likewise.
1451 * soft-fp/fixtfsi.c: Likewise.
1452 * soft-fp/fixtfti.c: Likewise.
1453 * soft-fp/fixunsdfdi.c: Likewise.
1454 * soft-fp/fixunsdfsi.c: Likewise.
1455 * soft-fp/fixunsdfti.c: Likewise.
1456 * soft-fp/fixunssfdi.c: Likewise.
1457 * soft-fp/fixunssfsi.c: Likewise.
1458 * soft-fp/fixunssfti.c: Likewise.
1459 * soft-fp/fixunstfdi.c: Likewise.
1460 * soft-fp/fixunstfsi.c: Likewise.
1461 * soft-fp/fixunstfti.c: Likewise.
1462 * soft-fp/floatdidf.c: Likewise.
1463 * soft-fp/floatdisf.c: Likewise.
1464 * soft-fp/floatditf.c: Likewise.
1465 * soft-fp/floatsidf.c: Likewise.
1466 * soft-fp/floatsisf.c: Likewise.
1467 * soft-fp/floatsitf.c: Likewise.
1468 * soft-fp/floattidf.c: Likewise.
1469 * soft-fp/floattisf.c: Likewise.
1470 * soft-fp/floattitf.c: Likewise.
1471 * soft-fp/floatundidf.c: Likewise.
1472 * soft-fp/floatundisf.c: Likewise.
1473 * soft-fp/floatunditf.c: Likewise.
1474 * soft-fp/floatunsidf.c: Likewise.
1475 * soft-fp/floatunsisf.c: Likewise.
1476 * soft-fp/floatunsitf.c: Likewise.
1477 * soft-fp/floatuntidf.c: Likewise.
1478 * soft-fp/floatuntisf.c: Likewise.
1479 * soft-fp/floatuntitf.c: Likewise.
1480 * soft-fp/gedf2.c: Likewise.
1481 * soft-fp/gesf2.c: Likewise.
1482 * soft-fp/getf2.c: Likewise.
1483 * soft-fp/ledf2.c: Likewise.
1484 * soft-fp/lesf2.c: Likewise.
1485 * soft-fp/letf2.c: Likewise.
1486 * soft-fp/muldf3.c: Likewise.
1487 * soft-fp/mulsf3.c: Likewise.
1488 * soft-fp/multf3.c: Likewise.
1489 * soft-fp/negdf2.c: Likewise.
1490 * soft-fp/negsf2.c: Likewise.
1491 * soft-fp/negtf2.c: Likewise.
1492 * soft-fp/op-1.h: Likewise.
1493 * soft-fp/op-2.h: Likewise.
1494 * soft-fp/op-4.h: Likewise.
1495 * soft-fp/op-8.h: Likewise.
1496 * soft-fp/op-common.h: Likewise.
1497 * soft-fp/quad.h: Likewise.
1498 * soft-fp/single.h: Likewise.
1499 * soft-fp/soft-fp.h: Likewise.
1500 * soft-fp/subdf3.c: Likewise.
1501 * soft-fp/subsf3.c: Likewise.
1502 * soft-fp/subtf3.c: Likewise.
1503 * soft-fp/truncdfsf2.c: Likewise.
1504 * soft-fp/trunctfdf2.c: Likewise.
1505 * soft-fp/trunctfsf2.c: Likewise.
1506 * soft-fp/trunctfxf2.c: Likewise.
1507 * soft-fp/unorddf2.c: Likewise.
1508 * soft-fp/unordsf2.c: Likewise.
1509 * soft-fp/unordtf2.c: Likewise.
1511 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
1514 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
1516 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1518 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1519 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
1520 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
1522 (internal_mcount): Likewise.
1523 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
1524 crt_compile, add CRTSTUFF_T_CFLAGS_S.
1526 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1528 * configure.ac (libgcc_cv_solaris_crts): New test.
1529 * configure: Regenerate.
1530 * config.in: Regenerate.
1531 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
1532 * config/gmon-sol2.c: Rename to ...
1533 * config/sol2/gmon.c: ... this.
1534 Include auto-target.h.
1535 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
1536 * config/t-sol2: Rename to ...
1537 * config/sol2/t-sol2: ... this.
1538 (gmon.o): Reflect renaming.
1539 (crtp.o, crtpg.o): New rules.
1540 * config.host (*-*-solaris2*): Reflect renaming.
1541 Use system CRTs if present.
1542 Remove default CRT case.
1544 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
1546 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
1547 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
1549 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
1550 (__sync_val_compare_and_swap_##WIDTH): Likewise.
1551 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
1552 (__sync_lock_test_and_set_##WIDTH): Likewise.
1553 (__sync_lock_release_##WIDTH): Likewise.
1554 (__sync_fetch_and_##OP##_4): Change result to match type of
1556 (__sync_##OP##_and_fetch_4): Likewise.
1557 (__sync_val_compare_and_swap_4): Likewise.
1558 (__sync_bool_compare_and_swap_4): likewise.
1559 (__sync_lock_test_and_set_4): Likewise.
1560 (__sync_lock_release_4): Likewise.
1561 (FETCH_AND_OP_2): Add long long variants.
1562 (OP_AND_FETCH_2): Likewise.
1563 (COMPARE_AND_SWAP_2 ): Likewise.
1564 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1565 (SYNC_LOCK_RELEASE_2): Likewise.
1566 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
1568 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
1570 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
1571 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
1572 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
1573 (get_available_features): Habdle new features.
1575 2015-09-21 James Bowman <james.bowman@ftdichip.com>
1577 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
1578 memory layout. Deal correctly with BSS region larger than 32K.
1579 Handle a watchdog reset like a power-on reset. Clean up unused
1582 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
1583 David Edelsohn <dje.gcc@gmail.com>
1585 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
1586 * config/rs6000/crtdbase.S: New file.
1587 * config/rs6000/t-aix-cxa: Build crtdbase.o.
1589 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
1591 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1592 Add support for call0 ABI.
1594 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
1596 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
1598 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
1600 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
1601 (__GTHREAD_HAS_COND): Likewise.
1602 (__gthread_t): Likewise.
1603 (__gthread_cond_t): Likewise.
1604 (__gthread_time_t): Likewise.
1605 (__GTHREAD_MUTEX_INIT): Likewise.
1606 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
1607 (__GTHREAD_COND_INIT): Likewise.
1608 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
1609 (__GTHREAD_TIME_INIT): Likewise.
1610 (__gthread_create): Likewise.
1611 (__gthread_join): Likewise.
1612 (__gthread_detach): Likewise.
1613 (__gthread_equal): Likewise.
1614 (__gthread_self): Likewise.
1615 (__gthread_yield): Likewise.
1616 (__gthread_cond_broadcast): Likewise.
1617 (__gthread_cond_signal): Likewise.
1618 (__gthread_cond_wait): Likewise.
1619 (__gthread_cond_timedwait): Likewise.
1620 (__gthread_cond_wait_recursive): Likewise.
1621 (__gthread_cond_destroy): Likewise.
1622 (rtems_gxx_once): Delete.
1623 (rtems_gxx_key_create): Likewise.
1624 (rtems_gxx_key_delete): Likewise.
1625 (rtems_gxx_getspecific): Likewise.
1626 (rtems_gxx_setspecific): Likewise.
1627 (rtems_gxx_mutex_init): Likewise.
1628 (rtems_gxx_mutex_destroy): Likewise.
1629 (rtems_gxx_mutex_lock): Likewise.
1630 (rtems_gxx_mutex_trylock): Likewise.
1631 (rtems_gxx_mutex_unlock): Likewise.
1632 (rtems_gxx_recursive_mutex_init): Likewise.
1633 (rtems_gxx_recursive_mutex_lock): Likewise.
1634 (rtems_gxx_recursive_mutex_trylock): Likewise.
1635 (rtems_gxx_recursive_mutex_unlock): Likewise.
1636 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
1637 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
1638 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
1639 (__gthread_once): Likewise.
1640 (__gthread_key_create): Likewise.
1641 (__gthread_key_delete): Likewise.
1642 (__gthread_getspecific): Likewise.
1643 (__gthread_setspecific): Likewise.
1644 (__gthread_key_t): Use <pthread.h> type.
1645 (__gthread_once_t): Likewise
1646 (__gthread_mutex_t): Use <sys/lock.h> type.
1647 (__gthread_recursive_mutex_t): Likewise
1648 (__gthread_mutex_lock): Use <sys/lock.h> function.
1649 (__gthread_mutex_trylock): Likewise.
1650 (__gthread_mutex_timedlock): Likewise.
1651 (__gthread_mutex_unlock): Likewise.
1652 (__gthread_mutex_destroy): Likewise.
1653 (__gthread_recursive_mutex_lock): Likewise.
1654 (__gthread_recursive_mutex_trylock): Likewise.
1655 (__gthread_recursive_mutex_timedlock): Likewise.
1656 (__gthread_recursive_mutex_unlock): Likewise.
1657 (__gthread_recursive_mutex_destroy): Likewise.
1659 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1661 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
1662 context->sp instead of context->cfa.
1664 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1666 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
1667 with unwind-dw2-fde-dip.
1669 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1671 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
1672 CALL12 followed by series of ENTRY to spill windowed registers.
1673 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
1674 instead of making linux spill syscall.
1676 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
1678 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
1679 (get_intel_cpu): Likewise.
1681 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
1683 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
1684 (get_intel_cpu): Add Knights Landing support.
1686 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
1689 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
1690 (get_available_features): Handle FEATURE_PCLMUL.
1692 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
1694 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
1697 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
1700 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
1701 (get_available_features): Handle FEATURE_AES.
1703 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
1705 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
1706 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
1708 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
1710 * offloadstuff.c: Constify host data.
1712 2015-07-17 Jan Beulich <jbeulich@suse.com>
1714 * config/t-softfp: Split up "else ifneq".
1716 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
1717 Cesar Philippidis <cesar@codesourcery.com>
1718 Chung-Lin Tang <cltang@codesourcery.com>
1720 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
1721 for __nios2_arch__ level.
1723 2015-07-13 John Marino <gnugcc@marino.st>
1725 * config/i386/t-dragonfly: New.
1727 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
1729 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
1730 better match light-weight syscall argument order.
1731 (__kernel_cmpxchg2): Likewise.
1734 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
1736 * config.host: Support i[34567]86-*-elfiamcu target.
1737 * config/t-softfp-sfdftf: New file.
1738 * config/i386/32/t-iamcu: Likewise.
1739 * configure: Regenerated.
1741 2015-06-23 James Lemke <jwlemke@codesourcery.com>
1744 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
1746 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
1748 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
1750 2015-05-27 John Marino <gnugcc@marino.st>
1752 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
1754 * config/i386/freebsd-unwind.h: New.
1756 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
1758 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
1759 i386/t-crtfm to tmake_file.
1760 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
1761 (set_fast_math): Use set_fast_math_sse for SSE targets.
1762 * config/i386/t-crtfm: Remove.
1764 2015-05-21 Alan Modra <amodra@gmail.com>
1767 * config/rs6000/morestack.S: Remove ".abiversion 1".
1769 2015-05-20 Alan Modra <amodra@gmail.com>
1771 * config/rs6000/morestack.S: New.
1772 * config/rs6000/t-stack-rs6000: New.
1773 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
1775 * generic-morestack.c: Don't build for powerpc 32-bit.
1777 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
1779 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
1780 Remove useless endif/ifneq ($(enable_shared),yes) pair.
1782 2015-05-16 James Bowman <james.bowman@ftdichip.com>
1784 * config.host: FT32 target added.
1785 * config/ft32/*: New files for FT32 target.
1787 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
1789 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
1791 * config/arm/ieee754-df.S: Add CFI directives.
1792 * config/arm/ieee754-sf.S: Add CFI directives.
1794 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
1796 * configure.ac: Include config/sjlj.m4.
1797 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
1798 * config.in: Regenerate.
1799 * configure: Likewise.
1800 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
1802 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
1804 * libgcov-util.c: Add space between string literal and macro name.
1806 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
1807 Chris Jones <chrisj@nvidia.com>
1808 Joshua Conner <jconner@nvidia.com>
1810 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
1811 (arm*-*-uclinux*): Likewise.
1812 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
1813 * config/arm/crtfastmath.c: New file.
1815 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
1817 * Makefile.in (real_host_noncanonical): New variable.
1818 (libsubdir): Use it.
1819 * configure.ac (real_host_noncanonical): Compute. Remove special
1820 case for intelmicemul.
1821 * configure: Regenerate.
1823 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
1825 * config/frv/elf-lib.h: New file.
1826 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
1827 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
1830 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
1832 * config/frv/frvbengin.c: Do not include defaults.h
1833 * config/frv/frvend.c: Ditto.
1835 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
1837 * config.host: Add h8300-*-linux
1838 * config/h8300/t-linux: New file.
1839 * config/h8300/lib1funs.s: Change symbol prefix.
1840 * config/h8300/sfp-machine.h: 64bit double support.
1842 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
1843 Szabolcs Nagy <szabolcs.nagy@arm.com>
1845 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
1846 Linux if target provides dl_iterate_phdr.
1848 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
1851 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
1852 * config/i386/cpuinfo.c (__cpu_model): Initialize.
1853 (__cpu_indicator_init@GCC_4.8.0): New.
1854 (__cpu_model@GCC_4.8.0): Likewise.
1855 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
1858 2015-04-16 Nick Clifton <nickc@redhat.com>
1860 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
1861 and __modhi3 functions.
1862 * config/rl78/divmodso.S: Add G14 and G13 versions of the
1863 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
1865 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
1867 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
1868 do-while loop as macro body to avoid warnings.
1870 2015-04-10 Jakub Jelinek <jakub@redhat.com>
1871 Iain Sandoe <iain@codesourcery.com>
1874 * configure: Regenerate.
1876 2015-04-07 Jakub Jelinek <jakub@redhat.com>
1877 Iain Sandoe <iain@codesourcery.com>
1880 * configure: Regenerate.
1882 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
1884 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
1886 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
1888 Implement call0 ABI for xtensa
1889 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
1890 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
1891 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
1892 use ret in call0 ABI.
1893 * config/xtensa/t-windowed: New file.
1894 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
1895 * libgcc/configure: Regenerated.
1896 * libgcc/configure.ac: Check if xtensa target is configured for
1897 windowed ABI and thus needs to use custom unwind code.
1899 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
1902 * gthr-single.h: Use __unused__ attribute instead of unused.
1903 * config/gthr-vxworks.h: Likewise.
1904 * config/i386/gthr-win32.h: Likewise.
1906 2015-02-27 Kai Tietz <ktietz@redhat.com>
1909 * config.in: Regenerated.
1910 * configure: Likewise.
1911 * configure.ac (AC_HEADER_STDC): Added explicit.
1912 (AC_CHECK_HEADERS): Check for default headers plus
1914 * libgcov-util.c (gcov_read_profile_dir): Disable use
1915 of ftw-function, if header is not found.
1916 (ftw_read_file): Likewise.
1918 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
1921 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
1924 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
1926 * config/arm/bpabi.S (test_div_by_zero): Make label names
1927 consistent between thumb2 and arm mode cases. Separate the
1928 signed comparison on the high word of the numerator from the
1929 unsigned comparison on the low word.
1930 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
1933 2015-02-17 Joseph Myers <joseph@codesourcery.com>
1935 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
1937 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
1939 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
1941 PR gcov-profile/61889
1942 * libgcov-driver-system.c: undefine clashing macro for mkdir.
1944 2015-02-02 Nick Clifton <nickc@redhat.com>
1946 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
1947 rounding up the fraction.
1949 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
1951 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
1952 oldval and newval to const void *. Fix typo.
1953 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
1954 (FETCH_AND_OP_WORD): Likewise.
1955 (OP_AND_FETCH_WORD): Likewise.
1956 (COMPARE_AND_SWAP_2): Likewise.
1957 (__sync_val_compare_and_swap_4): Likewise.
1958 (__sync_lock_test_and_set_4): Likewise.
1959 (SYNC_LOCK_RELEASE_2): Likewise.
1960 Remove support for long long atomic operations.
1962 2015-01-27 Caroline Tice <cmtice@google.com>
1964 Committing VTV Cywin/Ming patch for Patrick Wollgast
1965 * Makefile.in: Move rules to build vtv_*.o out of the check
1966 for CUSTOM_CRTSTUFF.
1967 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
1968 i[34567]86-*-mingw*)
1969 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
1970 enable_vtable_verify.
1972 2015-01-27 Nick Clifton <nickc@redhat.com>
1974 * config/rl78/cmpsi2.S: Use function start and end macros.
1975 (__gcc_bcmp): New function.
1976 * config/rl78/lshrsi3.S: Use function start and end macros.
1977 * config/rl78/mulsi3.S: Add support for G10.
1978 (__mulqi3): New function for G10.
1979 * config/rl78/signbit.S: Use function start and end macros.
1980 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
1982 (LIB2FUNCS_EXCLUDE): Define.
1983 (LIB2FUNCS_ST): Define.
1984 * config/rl78/trampoline.S: Use function start and end macros.
1985 * config/rl78/vregs.h (START_FUNC): New macro.
1986 (START_ANOTHER_FUNC): New macro.
1987 (END_FUNC): New macro.
1988 (END_ANOTHER_FUNC): New macro.
1989 * config/rl78/bit-count.S: New file. Contains assembler
1990 implementations of the bit counting functions: ___clzhi2,
1991 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
1992 __paritysi2, __popcounthi2 and __popcountsi2.
1993 * config/rl78/fpbit-sf.S: New file. Contains assembler
1994 implementationas of the math functions: __negsf2, __cmpsf2,
1995 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
1996 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
1997 * config/rl78/fpmath-sf.S: New file. Contains assembler
1998 implementations of the math functions: __subsf3, __addsf3,
1999 __mulsf3 and __divsf3
2001 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2003 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2004 Add i386/elf-lib.h to tm_file.
2005 * config/i386/elf-lib.h: Fix comment.
2006 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2007 && __sun__ && __svr4__]: Remove workaround.
2009 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
2011 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2013 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2015 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
2017 * config/i386/cpuinfo.c (processor_subtypes): Add
2018 INTEL_COREI7_BROADWELL.
2019 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2022 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
2024 * config/i386/elf-lib.h: New file.
2025 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2026 Wrap definition in #ifdef __i386__.
2027 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2028 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2029 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2030 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2033 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
2035 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2036 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2038 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
2040 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2041 Update rt_sigframe format and address for current Nios II
2044 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2046 * config.host (arm*-*-freebsd*): Add new configuration for
2048 * config/arm/freebsd-atomic.c: New file.
2049 * config/arm/t-freebsd: Likewise.
2050 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2051 'PC-relative indirect' OS's.
2053 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
2055 * config.host: Add Visium support.
2056 * config/visium: New directory.
2058 2015-01-05 Jakub Jelinek <jakub@redhat.com>
2060 Update copyright years.
2062 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
2064 * config.host: Support mipsisa32r6 and mipsisa64r6.
2065 * config/mips/mips16.S: Do not build for R6.
2067 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
2069 * config/sh/crt.h: New.
2070 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2072 * config/sh/crt1.S: Likewise.
2074 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
2077 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
2078 func_ptr *dtor_list temporary variable to avoid "array subscript
2079 is above array bounds" warnings.
2081 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
2083 * Makefile.in (with_aix_soname): Define.
2084 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
2085 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
2086 * configure: Recreate.
2088 2014-12-05 Olivier Hainque <hainque@adacore.com>
2090 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
2091 now provided by defaults.h.
2093 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
2096 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
2097 whether it's defined.
2099 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
2101 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
2102 * config/i386/cpuinfo.c (get_available_features): Detect it.
2104 2014-11-27 Tony Wang <tony.wang@arm.com>
2106 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
2107 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
2108 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
2110 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
2112 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
2114 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
2116 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
2119 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
2120 John David Anglin <danglin@gcc.gnu.org>
2122 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
2123 (FETCH_AND_OP_2): New. Use for subword and double word operations.
2124 (OP_AND_FETCH_2): Likewise.
2125 (COMPARE_AND_SWAP_2): Likewise.
2126 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2127 (SYNC_LOCK_RELEASE_2): Likewise.
2128 (SUBWORD_SYNC_OP): Remove.
2129 (SUBWORD_VAL_CAS): Likewise.
2130 (SUBWORD_BOOL_CAS): Likewise.
2131 (FETCH_AND_OP_WORD): Update.
2132 Consistently use signed types.
2134 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
2135 Thomas Schwinge <thomas@codesourcery.com>
2136 Ilya Verbin <ilya.verbin@intel.com>
2137 Andrey Turetskiy <andrey.turetskiy@intel.com>
2139 * Makefile.in (crtoffloadbegin$(objext)): New rule.
2140 (crtoffloadend$(objext)): Likewise.
2141 * configure: Regenerate.
2142 * configure.ac (accel_dir_suffix): Compute new variable.
2143 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
2144 if enable_offload_targets is not empty.
2145 * offloadstuff.c: New file.
2147 2014-11-13 Nick Clifton <nickc@redhat.com>
2149 * config/rl78/divmodhi.S: Add support for the G10 architecture.
2150 Use START_FUNC and END_FUNC macros to enable linker garbage
2152 * config/rl78/divmodqi.S: Likewise.
2153 * config/rl78/divmodsi.S: Likewise.
2154 * config/rl78/mulsi3.S: Likewise.
2155 * config/rl78/lib2div.c: Remove G10 functions.
2156 * config/rl78/lib2muls.c: Likewise.
2157 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
2158 * config/rl78/vregs.h (START_FUNC): New macro.
2159 (END_FUNC): New macro.
2161 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
2163 * config/mips/mips16.S: Set .module when supported. Update O32
2164 FP64 calling convention and use for FPXX when possible. Add FPXX
2165 calling convention fallback case.
2167 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
2169 * config.host: Handle nvptx-*-*.
2170 * shared-object.mk (as-flags-$o): Define.
2171 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
2172 -xassembler-with-cpp.
2173 * static-object.mk: Identical changes.
2174 * config/nvptx/t-nvptx: New file.
2175 * config/nvptx/crt0.s: New file.
2176 * config/nvptx/free.asm: New file.
2177 * config/nvptx/malloc.asm: New file.
2178 * config/nvptx/realloc.c: New file.
2180 2014-10-30 Joseph Myers <joseph@codesourcery.com>
2182 * Makefile.in (libgcc.map.in): New target.
2183 (libgcc.map): Use libgcc.map.in.
2184 * config/t-softfp (softfp_compat): New variable to be set by
2186 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
2188 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
2190 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
2191 that use compat symbols and disable all code unless [SHARED].
2192 * config/t-softfp-compat: New file.
2193 * find-symver.awk: New file.
2194 * configure.ac (--with-glibc-version): New configure option.
2195 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
2196 * configure: Regenerate.
2197 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
2198 soft-float and e500.
2200 2014-10-29 Joseph Myers <joseph@codesourcery.com>
2202 * config/t-hardfp (hardfp_exclusions): Document new variable for
2204 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
2205 * config/t-softfp (softfp_extras): Document new variable for user
2207 (softfp_func_list): Add functions from $(softfp_extras).
2208 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
2209 * config.host (powerpc*-*-linux*): For e500v1, use
2210 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
2211 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
2212 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
2214 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
2216 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
2217 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
2218 memory read accesses are ok.
2220 2014-10-25 Joseph Myers <joseph@codesourcery.com>
2222 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
2223 * configure: Regenerate.
2224 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
2225 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
2226 of soft-fp for 32-bit classic hard float. Do not use
2227 t-softfp-excl for soft float.
2229 2014-10-22 Joseph Myers <joseph@codesourcery.com>
2231 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
2233 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
2236 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
2238 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
2239 introduced with 2014-10-21 trunk r216525.
2241 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
2242 Vidya Praveen <vidya.praveen@atmel.com>
2243 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
2244 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
2245 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
2247 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
2250 Updated library functions for AVRTINY arch.
2251 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
2252 Replaced occurrences of r0/r1 with tmp/zero reg macros.
2253 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
2254 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
2256 (__mulsi3_helper): Update stack, preserve callee saved regs and
2257 argument from stack. Restore callee save registers.
2258 (__mulpsi3): Likewise.
2259 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
2260 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
2261 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
2263 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
2264 (__do_copy_data): Added new definition for AVRTINY.
2265 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
2266 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
2267 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
2268 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
2269 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
2271 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
2274 Fix broken long multiplication on tiny arch.
2276 2014-10-09 Joseph Myers <joseph@codesourcery.com>
2278 * soft-fp/double.h: Update from glibc.
2279 * soft-fp/eqdf2.c: Likewise.
2280 * soft-fp/eqsf2.c: Likewise.
2281 * soft-fp/eqtf2.c: Likewise.
2282 * soft-fp/extenddftf2.c: Likewise.
2283 * soft-fp/extended.h: Likewise.
2284 * soft-fp/extendsfdf2.c: Likewise.
2285 * soft-fp/extendsftf2.c: Likewise.
2286 * soft-fp/extendxftf2.c: Likewise.
2287 * soft-fp/gedf2.c: Likewise.
2288 * soft-fp/gesf2.c: Likewise.
2289 * soft-fp/getf2.c: Likewise.
2290 * soft-fp/ledf2.c: Likewise.
2291 * soft-fp/lesf2.c: Likewise.
2292 * soft-fp/letf2.c: Likewise.
2293 * soft-fp/op-1.h: Likewise.
2294 * soft-fp/op-2.h: Likewise.
2295 * soft-fp/op-4.h: Likewise.
2296 * soft-fp/op-8.h: Likewise.
2297 * soft-fp/op-common.h: Likewise.
2298 * soft-fp/quad.h: Likewise.
2299 * soft-fp/single.h: Likewise.
2300 * soft-fp/soft-fp.h: Likewise.
2301 * soft-fp/unorddf2.c: Likewise.
2302 * soft-fp/unordsf2.c: Likewise.
2303 * soft-fp/unordtf2.c: Likewise.
2304 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
2305 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
2306 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
2307 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
2308 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
2309 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
2310 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
2311 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
2312 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
2313 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
2315 2014-10-08 Rong Xu <xur@google.com>
2317 * libgcov-util.c (read_gcda_file): Fix format.
2318 (find_match_gcov_info): Ditto.
2319 (calculate_2_entries): New.
2320 (compute_one_gcov): Ditto.
2321 (gcov_info_count_all_cold): Ditto.
2322 (gcov_info_count_all_zero): Ditto.
2323 (extract_file_basename): Ditto.
2324 (get_file_basename): Ditto.
2326 (matched_gcov_info): Ditto.
2327 (calculate_overlap): Ditto.
2328 (gcov_profile_overlap): Ditto.
2329 * libgcov-driver.c (compute_summary): Make
2330 it avavilable for external calls.
2332 2014-10-06 Rong Xu <xur@google.com>
2334 * Makefile.in: Ditto.
2335 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
2336 (gcov_sort_icall_topn_counter): Ditto.
2337 (gcov_sort_topn_counter_arrays): Ditto.
2338 (dump_one_gcov): Sort indirect_call topn counters.
2339 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
2341 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
2343 (__gcov_indirect_call_topn_profiler): New profiler function.
2344 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
2345 * libgcov.h: New decls.
2347 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
2349 * config.host: Remove support for score-*.
2351 2014-09-22 Joseph Myers <joseph@codesourcery.com>
2353 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2354 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
2355 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
2356 __LIBGCC_XF_MANT_DIG__.
2357 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
2358 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
2359 __LIBGCC_TF_MANT_DIG__.
2360 * libgcc2.c (NOTRUNC): Define in terms of
2361 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
2362 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2364 2014-09-22 Joseph Myers <joseph@codesourcery.com>
2367 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
2370 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
2372 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
2373 override USE_PT_GNU_EH_FRAME.
2374 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
2375 check USE_EH_FRAME_REGISTRY_ALWAYS against
2376 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
2377 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
2378 variable for substituted force_explicit_eh_registry.
2379 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
2380 * configure.ac (explicit-exception-frame-registration):
2382 * configure: Regenerate.
2384 2014-09-19 Olivier Hainque <hainque@adacore.com>
2386 * config.host (powerpc-wrs-vxworksmils): New configuration,
2389 2014-09-18 Joseph Myers <joseph@codesourcery.com>
2391 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
2393 2014-09-18 Joseph Myers <joseph@codesourcery.com>
2395 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
2396 bits not set bits as indicating trapping exceptions.
2398 2014-09-17 Nathan sidwell <nathan@acm.org>
2400 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
2401 (LIBGCOV_DRIVER): ... here.
2402 * libgcov-driver.c (gcov_master): New.
2403 (gcov_exit): Remove from master chain.
2404 (__gcov_init): Add to master chain if version compatible. Don't
2406 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
2407 (gcov_reset_int): Clear master chain, if compatible.
2408 (gcov_dump_int): New internal interface. Dump master chain, if
2410 (gcov_dump): Alias for gcov_dump_int.
2411 * libgcov.h (struct gcov_root): Add next and prev fields.
2412 (struct gcov_master): New struct.
2413 (__gcov_master): New.
2414 (gcov_dump_int): Declare.
2416 2014-09-17 Olivier Hainque <hainque@adacore.com>
2418 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
2419 and crtbegin.o + crtend.o to extra_parts.
2421 2014-09-12 Joseph Myers <joseph@codesourcery.com>
2423 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
2424 __LIBGCC_HAS_SF_MODE__.
2425 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2426 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2427 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2428 * config/libbid/bid_gcc_intrinsics.h
2429 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2430 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2431 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2432 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2433 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
2434 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2436 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
2439 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
2440 and R24 as needed. Make work for all devices and .text locations.
2441 (__do_global_ctors, __do_global_dtors): Use word addresses.
2442 (__tablejump__, __tablejump_elpm__): Remove functions.
2443 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
2445 (XICALL, XIJMP): New macros.
2447 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
2448 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2450 * config.host (aarch64*): Include crtfastmath.o and
2452 * config/aarch64/crtfastmath.c: New file.
2454 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
2456 * config.host: Remove picochip support.
2457 * config/picochip/adddi3.S: Remove.
2458 * config/picochip/ashlsi3.S: Remove.
2459 * config/picochip/ashlsi3.c: Remove.
2460 * config/picochip/ashrsi3.S: Remove.
2461 * config/picochip/ashrsi3.c: Remove.
2462 * config/picochip/clzsi2.S: Remove.
2463 * config/picochip/cmpsi2.S: Remove.
2464 * config/picochip/divmod15.S: Remove.
2465 * config/picochip/divmodhi4.S: Remove.
2466 * config/picochip/divmodsi4.S: Remove.
2467 * config/picochip/lib1funcs.S: Remove.
2468 * config/picochip/longjmp.S: Remove.
2469 * config/picochip/lshrsi3.S: Remove.
2470 * config/picochip/lshrsi3.c: Remove.
2471 * config/picochip/parityhi2.S: Remove.
2472 * config/picochip/popcounthi2.S: Remove.
2473 * config/picochip/setjmp.S: Remove.
2474 * config/picochip/subdi3.S: Remove.
2475 * config/picochip/t-picochip: Remove.
2476 * config/picochip/ucmpsi2.S: Remove.
2477 * config/picochip/udivmodhi4.S: Remove.
2478 * config/picochip/udivmodsi4.S: Remove.
2480 2014-09-08 Joseph Myers <joseph@codesourcery.com>
2482 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
2483 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
2484 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
2485 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
2486 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
2487 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
2488 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
2489 defined and LIBGCC2_HAS_DF_MODE is defined.
2490 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
2491 defined and LIBGCC2_HAS_XF_MODE is defined.
2492 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
2493 defined and LIBGCC2_HAS_TF_MODE is defined.
2495 2014-09-08 Joseph Myers <joseph@codesourcery.com>
2497 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
2498 and ROUND_TOWARDS_ZERO conditionals.
2500 2014-09-07 Nathan sidwell <nathan@acm.org>
2502 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
2503 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
2505 2014-09-05 Joseph Myers <joseph@codesourcery.com>
2507 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
2508 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2509 uses to __LIBGCC_STACK_POINTER_REGNUM__.
2510 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2511 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2512 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2513 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2514 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
2515 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
2516 (DWARF_FRAME_REGISTERS): Change all uses to
2517 __LIBGCC_DWARF_FRAME_REGISTERS__.
2518 (EH_RETURN_STACKADJ_RTX): Change all uses to
2519 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2520 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
2521 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
2522 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
2523 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
2524 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
2525 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
2526 to __LIBGCC_EH_FRAME_SECTION_NAME__.
2527 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
2528 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
2529 __LIBGCC_STACK_POINTER_REGNUM__.
2530 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2531 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2532 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2533 to __LIBGCC_STACK_POINTER_REGNUM__.
2534 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2535 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2536 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2537 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2538 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2539 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2540 (STACK_POINTER_REGNUM): Change all uses to
2541 __LIBGCC_STACK_POINTER_REGNUM__.
2542 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
2543 use to __LIBGCC_STACK_POINTER_REGNUM__.
2544 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2545 uses to __LIBGCC_STACK_POINTER_REGNUM__.
2546 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
2547 to __LIBGCC_DWARF_FRAME_REGISTERS__.
2548 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
2549 to __LIBGCC_DWARF_FRAME_REGISTERS__.
2550 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2551 to __LIBGCC_STACK_POINTER_REGNUM__.
2552 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
2553 Remove conditional definition.
2554 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
2555 __LIBGCC_TEXT_SECTION_ASM_OP__.
2556 (EH_FRAME_SECTION_NAME): Change all uses to
2557 __LIBGCC_EH_FRAME_SECTION_NAME__.
2558 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
2559 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
2560 (CTORS_SECTION_ASM_OP): Change all uses to
2561 __LIBGCC_CTORS_SECTION_ASM_OP__.
2562 (DTORS_SECTION_ASM_OP): Change all uses to
2563 __LIBGCC_DTORS_SECTION_ASM_OP__.
2564 (JCR_SECTION_NAME): Change all uses to
2565 __LIBGCC_JCR_SECTION_NAME__.
2566 (INIT_SECTION_ASM_OP): Change all uses to
2567 __LIBGCC_INIT_SECTION_ASM_OP__.
2568 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2569 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2570 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
2571 __LIBGCC_STACK_GROWS_DOWNWARD__.
2572 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
2573 __LIBGCC_INIT_SECTION_ASM_OP__.
2574 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2575 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2576 (EH_FRAME_SECTION_NAME): Change all uses to
2577 __LIBGCC_EH_FRAME_SECTION_NAME__.
2578 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
2579 definitions. Change all uses to
2580 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
2581 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
2582 __LIBGCC_STACK_GROWS_DOWNWARD__.
2583 (DWARF_FRAME_REGISTERS): Change all uses to
2584 __LIBGCC_DWARF_FRAME_REGISTERS__.
2585 (EH_RETURN_STACKADJ_RTX): Change all uses to
2586 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2587 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
2588 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
2589 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
2590 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
2591 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
2593 2014-09-02 Nathan sidwell <nathan@acm.org>
2595 * libgcov-interface.c (STRONG_ALIAS): New.
2596 (__gcov_flush): Call __gcov_reset_int.
2597 (__gcov_reset): Strong alias for ...
2598 (__gcov_reset_ing): ... this renamed hidden version.
2599 * libgcov.h (__gcov_reset_int): New declaration.
2601 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
2603 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
2605 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
2606 (__dso_handle): Define on Cygwin.
2607 * config/i386/t-cygming (crtbeginS.o): New rule.
2608 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
2610 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
2613 2014-08-13 Steve Ellcey <sellcey@mips.com>
2615 * crtstuff.c: Undef caddr_t.
2617 2014-08-12 Steve Ellcey <sellcey@mips.com>
2619 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
2621 2014-08-07 Nathan Sidwell <nathan@acm.org>
2623 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
2624 (LIBGCOV_DRIVER): ... to here.
2625 * libgcov.h (gcov_do_dump): New #define.
2626 (struct gcov_root): New.
2627 (__gcov_root): New declaration.
2628 (__gcov_dump_one): Declare.
2629 * libgcov-driver.c (gcov_list, gcov_dump_complete,
2630 run_accounted): Delete.
2631 (gcov_compute_histogram): Add LIST argument, adjust.
2632 (compute_summary): Adjust gcov_compute_histogram call.
2633 (gcov_do_dump): Not hidden, static in libgcov.
2634 (gcov_clear): Move to interface.c.
2635 (__gcov_dump_one): New, broken out of ...
2636 (gcov_exit): ... here. Make static.
2638 (__gcov_init): Adjust.
2639 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
2641 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
2642 (gcov_clear): Moved from driver.c. Add LIST argument.
2643 (__gcov_reset): Adjust for changed interfaces.
2644 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
2646 2014-08-04 Rohit <rohitarulraj@freescale.com>
2649 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
2650 based on change in SPE high register numbers and 3 HTM registers.
2652 2014-08-01 Nathan Sidwell <nathan@acm.org>
2654 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
2655 LIBGCOV_INTERFACE): Reformat.
2656 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
2658 * libgcov-interface.c: Reformat some comments.
2659 (__gcov_flush_mx): Add declaration. Tidy up definition.
2661 2014-07-31 Alan Modra <amodra@gmail.com>
2662 Peter Bergner <bergner@vnet.ibm.com>
2664 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
2665 (pack_ldouble): New function.
2666 (__gcc_qadd): Use it.
2667 (__gcc_qmul): Likewise.
2668 (__gcc_qdiv): Likewise.
2669 (__gcc_qneg): Likewise.
2670 (__gcc_stoq): Likewise.
2671 (__gcc_dtoq): Likewise.
2673 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
2675 * config/s390/tpf-unwind.h: Include <stdbool.h>.
2676 (__tpf_eh_return): Add original return address as second parameter.
2677 Handle cases where unwinder routines were called directly, instead
2678 of from within the C++ library.
2680 2014-07-29 Nathan Sidwell <nathan@acm.org>
2682 * libgcov.h: Move renaming of entry points to lib gcov specific
2684 (gcov_do_dump): New rename.
2685 (gcov_rewrite): Remove inline, make HIDDEN.
2686 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
2687 (gcov_exit_compute_summary): Rename to ...
2688 (compute_summary): ... here. Add LIST argument.
2689 (gcov_exit_merge_gcda): Rename to ...
2690 (merge_one_data): ... here.
2691 (gcov_exit_write_gcda): Rename to ...
2692 (write_one_data): ... here.
2693 (gcov_exit_merge_summary): Rename to ...
2694 (merge_summary): Add RUN_COUNTED argument.
2695 (gcov_exit_dump_gcov): Rename to ...
2696 (dump_one_gcov): Add RUN_COUNTED argument.
2697 (gcov_do_dump): New function, broken out of ...
2698 (gcov_exit): ... here. Call it.
2700 2014-07-27 Anthony Green <green@moxielogic.com>
2702 * config.host: Add moxiebox configuration suppport.
2704 2014-07-27 Nathan Sidwell <nathan@acm.org>
2706 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
2707 (struct gcov_filename): ... here. Include buffer and max length
2709 (gcov_max_filename): Remove.
2710 (gi_filename): Remove.
2711 (gcov_exit_compute_summary): Compute max filename here.
2712 (gcov_exit_merge_gcda): Add filename parm, adjust.
2713 (gcov_exit_merge_summary): Likewise.
2714 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
2715 (gcov_exit): Likewise.
2716 (__gcov_init): Don't calculate max length here.
2717 * libgcov_util.c (max_filename_len): Remove.
2718 (read_gcda_file): Don't calculate max length here.
2719 (gcov_read_profile_dir): Don't propagate here.
2720 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
2721 struct gcov_filename changes.
2722 (gcov_exit_open_gcda_file): Likewise.
2724 2014-07-25 Nathan Sidwell <nathan@acm.org>
2726 * libgcov-driver.c (set_gcov_dump_complete,
2727 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
2728 functions polluting user's namespace.
2729 (gcov_exit): Set variable directly.
2730 (gcov_clear): Reset variable directly.
2731 * libgcov-interface.c (get_gcov_dymp_complete,
2732 reset_gov_dump_complete): Remove declarations.
2733 (__gcov_reset, __gcov_dump): Don't call them.
2735 2014-07-24 DJ Delorie <dj@redhat.com>
2737 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
2738 (__gcc_deregister_frame): Move logic to detect deregister function
2740 (__gcc_register_frame): here, so it's consistent with the register
2743 2014-07-23 Nathan Sidwell <nathan@acm.org>
2745 * libgcov-driver.c (set_gcov_list): Remove.
2746 (gcov_list): Make non-static in GCOV_TOOL.
2747 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
2749 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
2751 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
2752 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
2753 Don't use SYNC_LOCK_RELEASE for int type.
2755 2014-07-14 Richard Biener <rguenther@suse.de>
2757 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
2759 2014-07-11 Rong Xu <xur@google.com>
2761 * libgcov-util.c (gcov_max_filename): Fix declartion.
2763 2014-07-10 Rong Xu <xur@google.com>
2765 Add gcov-tool: an offline gcda profile processing tool
2767 * libgcov-driver.c (gcov_max_filename): Make available
2769 * libgcov-merge.c (__gcov_merge_add): Replace
2770 gcov_read_counter() with a Macro.
2771 (__gcov_merge_ior): Ditto.
2772 (__gcov_merge_time_profile): Ditto.
2773 (__gcov_merge_single): Ditto.
2774 (__gcov_merge_delta): Ditto.
2775 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
2776 in the utility functions.
2777 (set_fn_ctrs): Utility function for reading gcda files to in-memory
2778 gcov_list object link lists.
2779 (tag_function): Ditto.
2780 (tag_blocks): Ditto.
2783 (tag_counters): Ditto.
2784 (tag_summary): Ditto.
2785 (read_gcda_finalize): Ditto.
2786 (read_gcda_file): Ditto.
2787 (ftw_read_file): Ditto.
2788 (read_profile_dir_init): Ditto.
2789 (gcov_read_profile_dir): Ditto.
2790 (gcov_read_counter_mem): Ditto.
2791 (gcov_get_merge_weight): Ditto.
2792 (merge_wrapper): A wrapper function that calls merging handler.
2793 (gcov_merge): Merge two gcov_info objects with weights.
2794 (find_match_gcov_info): Find the matched gcov_info in the list.
2795 (gcov_profile_merge): Merge two gcov_info object lists.
2796 (__gcov_add_counter_op): Process edge profile counter values.
2797 (__gcov_ior_counter_op): Process IOR profile counter values.
2798 (__gcov_delta_counter_op): Process delta profile counter values.
2799 (__gcov_single_counter_op): Process single profile counter values.
2800 (fp_scale): Callback function for float-point scaling.
2801 (int_scale): Callback function for integer fraction scaling.
2802 (gcov_profile_scale): Scaling profile counters.
2803 (gcov_profile_normalize): Normalize profile counters.
2804 * libgcov.h: Add headers and functions for gcov-tool use.
2805 (gcov_get_counter): New.
2806 (gcov_get_counter_target): Ditto.
2807 (struct gcov_info): Make the functions field mutable in gcov-tool
2810 2014-06-23 Kai Tietz <ktietz@redhat.com>
2813 * unwind-seh.c (_Unwind_GetGR): Check for proper
2815 (_Unwind_SetGR): Likewise.
2817 2014-05-22 Nick Clifton <nickc@redhat.com>
2819 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
2822 2014-05-22 Teresa Johnson <tejohnson@google.com>
2824 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
2827 2014-05-20 John Marino <gnugcc@marino.st>
2829 * config.host (*-*-dragonfly*): New target.
2830 * crtstuff.c: Make dl_iterate_support generic on *bsd.
2831 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
2832 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
2833 * config/i386/dragonfly-unwind.h: New.
2835 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2838 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
2839 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
2841 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
2843 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
2846 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
2848 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
2850 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2853 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
2856 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
2858 Work around for current cygwin32 build problems.
2859 * config/i386/cygming-crtbegin.c (__register_frame_info,
2860 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
2861 functions only for 64-bit systems.
2863 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2865 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
2866 (sigill_caught, sigill_hdlr): Remove.
2868 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2870 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
2872 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2873 Solaris 9 single-threaded support.
2874 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
2875 Solaris 9 single-threaded support. Add call_user_handler code
2877 (sparc_is_sighandler): Likewise.
2879 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2881 * config.host: Append t-floattodi to tmake_file depending on
2884 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
2886 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
2888 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
2891 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2892 variable to avoid "array subscript is above array bounds" warnings.
2893 Use __builtin_expect when checking *jcr_list for NULL.
2895 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2898 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
2899 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
2900 vtv_*.o to extra_parts if enable_vtable_verify.
2902 2014-03-06 Nick Clifton <nickc@redhat.com>
2904 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
2905 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
2907 2014-02-28 Joey Ye <joey.ye@arm.com>
2910 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
2911 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
2914 2014-02-24 Walter Lee <walt@tilera.com>
2916 * config.host: Support "tilegx*" and "tilepro*" triplets.
2917 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
2918 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
2920 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
2921 Chung-Lin Tang <cltang@codesourcery.com>
2923 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
2924 * config/nios2/crti.S: Remove .file directive.
2925 * config/nios2/crtn.S: Likewise.
2927 2014-02-18 Kai Tietz <ktietz@redhat.com>
2928 Jonathan Schleifer <js@webkeks.org>
2931 * unwind-seh.c (_GCC_specific_handler): Pass proper
2932 value to unwind-handler.
2934 2014-02-12 Joseph Myers <joseph@codesourcery.com>
2936 * soft-fp/adddf3.c: Update from glibc.
2937 * soft-fp/addsf3.c: Likewise.
2938 * soft-fp/addtf3.c: Likewise.
2939 * soft-fp/divdf3.c: Likewise.
2940 * soft-fp/divsf3.c: Likewise.
2941 * soft-fp/divtf3.c: Likewise.
2942 * soft-fp/double.h: Likewise.
2943 * soft-fp/eqdf2.c: Likewise.
2944 * soft-fp/eqsf2.c: Likewise.
2945 * soft-fp/eqtf2.c: Likewise.
2946 * soft-fp/extenddftf2.c: Likewise.
2947 * soft-fp/extended.h: Likewise.
2948 * soft-fp/extendsfdf2.c: Likewise.
2949 * soft-fp/extendsftf2.c: Likewise.
2950 * soft-fp/extendxftf2.c: Likewise.
2951 * soft-fp/fixdfdi.c: Likewise.
2952 * soft-fp/fixdfsi.c: Likewise.
2953 * soft-fp/fixdfti.c: Likewise.
2954 * soft-fp/fixsfdi.c: Likewise.
2955 * soft-fp/fixsfsi.c: Likewise.
2956 * soft-fp/fixsfti.c: Likewise.
2957 * soft-fp/fixtfdi.c: Likewise.
2958 * soft-fp/fixtfsi.c: Likewise.
2959 * soft-fp/fixtfti.c: Likewise.
2960 * soft-fp/fixunsdfdi.c: Likewise.
2961 * soft-fp/fixunsdfsi.c: Likewise.
2962 * soft-fp/fixunsdfti.c: Likewise.
2963 * soft-fp/fixunssfdi.c: Likewise.
2964 * soft-fp/fixunssfsi.c: Likewise.
2965 * soft-fp/fixunssfti.c: Likewise.
2966 * soft-fp/fixunstfdi.c: Likewise.
2967 * soft-fp/fixunstfsi.c: Likewise.
2968 * soft-fp/fixunstfti.c: Likewise.
2969 * soft-fp/floatdidf.c: Likewise.
2970 * soft-fp/floatdisf.c: Likewise.
2971 * soft-fp/floatditf.c: Likewise.
2972 * soft-fp/floatsidf.c: Likewise.
2973 * soft-fp/floatsisf.c: Likewise.
2974 * soft-fp/floatsitf.c: Likewise.
2975 * soft-fp/floattidf.c: Likewise.
2976 * soft-fp/floattisf.c: Likewise.
2977 * soft-fp/floattitf.c: Likewise.
2978 * soft-fp/floatundidf.c: Likewise.
2979 * soft-fp/floatundisf.c: Likewise.
2980 * soft-fp/floatunditf.c: Likewise.
2981 * soft-fp/floatunsidf.c: Likewise.
2982 * soft-fp/floatunsisf.c: Likewise.
2983 * soft-fp/floatunsitf.c: Likewise.
2984 * soft-fp/floatuntidf.c: Likewise.
2985 * soft-fp/floatuntisf.c: Likewise.
2986 * soft-fp/floatuntitf.c: Likewise.
2987 * soft-fp/gedf2.c: Likewise.
2988 * soft-fp/gesf2.c: Likewise.
2989 * soft-fp/getf2.c: Likewise.
2990 * soft-fp/ledf2.c: Likewise.
2991 * soft-fp/lesf2.c: Likewise.
2992 * soft-fp/letf2.c: Likewise.
2993 * soft-fp/muldf3.c: Likewise.
2994 * soft-fp/mulsf3.c: Likewise.
2995 * soft-fp/multf3.c: Likewise.
2996 * soft-fp/negdf2.c: Likewise.
2997 * soft-fp/negsf2.c: Likewise.
2998 * soft-fp/negtf2.c: Likewise.
2999 * soft-fp/op-1.h: Likewise.
3000 * soft-fp/op-2.h: Likewise.
3001 * soft-fp/op-4.h: Likewise.
3002 * soft-fp/op-8.h: Likewise.
3003 * soft-fp/op-common.h: Likewise.
3004 * soft-fp/quad.h: Likewise.
3005 * soft-fp/single.h: Likewise.
3006 * soft-fp/soft-fp.h: Likewise.
3007 * soft-fp/subdf3.c: Likewise.
3008 * soft-fp/subsf3.c: Likewise.
3009 * soft-fp/subtf3.c: Likewise.
3010 * soft-fp/truncdfsf2.c: Likewise.
3011 * soft-fp/trunctfdf2.c: Likewise.
3012 * soft-fp/trunctfsf2.c: Likewise.
3013 * soft-fp/trunctfxf2.c: Likewise.
3014 * soft-fp/unorddf2.c: Likewise.
3015 * soft-fp/unordsf2.c: Likewise.
3016 * soft-fp/unordtf2.c: Likewise.
3017 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3019 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3021 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3023 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3025 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3027 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3029 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3031 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3033 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3035 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3037 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3039 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3041 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3043 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3045 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3047 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3050 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3052 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
3053 cannot be represented.
3054 * config/s390/32/_fixsfdi.c: Likewise.
3055 * config/s390/32/_fixtfdi.c: Likewise.
3056 * config/s390/32/_fixunsdfdi.c: Likewise.
3057 * config/s390/32/_fixunssfdi.c: Likewise.
3058 * config/s390/32/_fixunstfdi.c: Likewise.
3060 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
3062 * configure.ac (libgcc_cv_mips_hard_float): New.
3063 * configure: Regenerate.
3064 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
3065 t-softfp-sfdf for hard-float targets.
3066 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3067 (softfp_float_modes, softfp_int_modes, softfp_extensions)
3068 (softfp_truncations, softfp_exclude_libgcc2): New.
3069 * config/t-hardfp: New file.
3070 * config/t-hardfp-sfdf: Likewise.
3071 * config/hardfp.c: Likewise.
3073 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3075 * config.host: Include t-floattodi also for s390x.
3076 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
3077 * config/s390/32/_fixsfdi.c: Likewise.
3078 * config/s390/32/_fixtfdi.c: Likewise.
3079 * config/s390/32/_fixunsdfdi.c: Likewise.
3080 * config/s390/32/_fixunssfdi.c: Likewise.
3081 * config/s390/32/_fixunstfdi.c: Likewise.
3083 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3086 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
3087 (install-libgcc-unwind-map-forbuild): New target.
3088 (all): Depend on install-libgcc-unwind-map-forbuild.
3089 (install-libgcc-unwind-map): New target.
3090 (install): Depend on install-libgcc-unwind-map.
3092 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
3094 * config/nios2/crti.S (_init): Initialize GOT pointer from
3095 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
3097 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
3099 * configure.ac: Check __mips64 when setting host_address.
3100 * configure: Regenerate.
3101 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
3102 mips/t-mips64 and t-softfp.
3103 (mips*-*-linux*): Don't add mips/t-tpbit.
3104 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
3105 (DPBIT, DPBIT_CFLAGS): Delete.
3106 * config/mips/sfp-machine.h: New file.
3107 * config/mips/t-mips64: Likewise.
3108 * config/mips/t-softfp-tf: Likewise.
3109 * config/mips/t-tpbit: Delete.
3111 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
3113 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
3116 2014-01-25 Walter Lee <walt@tilera.com>
3118 * config/tilepro/atomic.c: Include tconfig.h. Don't include
3119 config.h or system.h.
3122 2014-01-25 Walter Lee <walt@tilera.com>
3124 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
3125 (post_atomic_barrier): Ditto.
3126 (__fetch_and_do): New macro.
3127 (__atomic_fetch_and_do): Use __fetch_and_do.
3128 (__sync_fetch_and_do): New macro.
3129 (__sync_fetch_and_add_4): New function.
3130 (__sync_fetch_and_sub_4): New function.
3131 (__sync_fetch_and_or_4): New function.
3132 (__sync_fetch_and_and_4): New function.
3133 (__sync_fetch_and_xor_4): New function.
3134 (__sync_fetch_and_nand_4): New function.
3135 (__sync_fetch_and_add_8): New function.
3136 (__sync_fetch_and_sub_8): New function.
3137 (__sync_fetch_and_or_8): New function.
3138 (__sync_fetch_and_and_8): New function.
3139 (__sync_fetch_and_xor_8): New function.
3140 (__sync_fetch_and_nand_8): New function.
3141 (__do_and_fetch): New macro.
3142 (__atomic_do_and_fetch): Use __do_and_fetch.
3143 (__sync_do_and_fetch): New macro.
3144 (__sync_add_and_fetch_4): New function.
3145 (__sync_sub_and_fetch_4): New function.
3146 (__sync_or_and_fetch_4): New function.
3147 (__sync_and_and_fetch_4): New function.
3148 (__sync_xor_and_fetch_4): New function.
3149 (__sync_nand_and_fetch_4): New function.
3150 (__sync_add_and_fetch_8): New function.
3151 (__sync_sub_and_fetch_8): New function.
3152 (__sync_or_and_fetch_8): New function.
3153 (__sync_and_and_fetch_8): New function.
3154 (__sync_xor_and_fetch_8): New function.
3155 (__sync_nand_and_fetch_8): New function.
3156 (__sync_exchange_methods): New macro.
3157 (__sync_val_compare_and_swap_4): New function.
3158 (__sync_bool_compare_and_swap_4): New function.
3159 (__sync_lock_test_and_test_4): New function.
3160 (__sync_val_compare_and_swap_8): New function.
3161 (__sync_bool_compare_and_swap_8): New function.
3162 (__sync_lock_test_and_test_8): New function.
3163 (__subword_cmpxchg_body): New macro.
3164 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
3165 (__atomic_compare_exchange_2): Ditto.
3166 (__sync_subword_cmpxchg): New macro.
3167 (__sync_val_compare_and_swap_1): New function.
3168 (__sync_bool_compare_and_swap_1): New function.
3169 (__sync_val_compare_and_swap_2): New function.
3170 (__sync_bool_compare_and_swap_2): New function.
3171 (__atomic_subword): Rename to ...
3172 (__subword): ... New name.
3173 (__atomic_subword_fetch): Use __subword.
3174 (__sync_subword_fetch): New macro.
3175 (__sync_fetch_and_add_1): New function.
3176 (__sync_fetch_and_sub_1): New function.
3177 (__sync_fetch_and_or_1): New function.
3178 (__sync_fetch_and_and_1): New function.
3179 (__sync_fetch_and_xor_1): New function.
3180 (__sync_fetch_and_nand_1): New function.
3181 (__sync_fetch_and_add_2): New function.
3182 (__sync_fetch_and_sub_2): New function.
3183 (__sync_fetch_and_or_2): New function.
3184 (__sync_fetch_and_and_2): New function.
3185 (__sync_fetch_and_xor_2): New function.
3186 (__sync_fetch_and_nand_2): New function.
3187 (__sync_add_and_fetch_1): New function.
3188 (__sync_sub_and_fetch_1): New function.
3189 (__sync_or_and_fetch_1): New function.
3190 (__sync_and_and_fetch_1): New function.
3191 (__sync_xor_and_fetch_1): New function.
3192 (__sync_nand_and_fetch_1): New function.
3193 (__sync_add_and_fetch_2): New function.
3194 (__sync_sub_and_fetch_2): New function.
3195 (__sync_or_and_fetch_2): New function.
3196 (__sync_and_and_fetch_2): New function.
3197 (__sync_xor_and_fetch_2): New function.
3198 (__sync_nand_and_fetch_2): New function.
3199 (__atomic_subword_lock): Use __subword.
3200 (__sync_subword_lock): New macro.
3201 (__sync_lock_test_and_set_1): New function.
3202 (__sync_lock_test_and_set_2): New function.
3204 2014-01-25 Walter Lee <walt@tilera.com>
3206 * config/tilepro/atomic.c (BIT_OFFSET): Define.
3207 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
3208 (__atomic_subword): Ditto.
3210 2014-01-25 Walter Lee <walt@tilera.com>
3212 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
3213 a prefix op argument.
3214 (__atomic_nand_fetch_4): Add prefix op.
3215 (__atomic_nand_fetch_8): Ditto.
3217 2014-01-21 Baruch Siach <barch@tkos.co.il>
3219 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
3221 2014-01-09 Rong Xu <xur@google.com>
3223 * libgcov-driver.c (this_prg): make it local to save
3225 (gcov_exit_compute_summary): Ditto.
3226 (gcov_exit_merge_gcda): Ditto.
3227 (gcov_exit_merge_summary): Ditto.
3228 (gcov_exit_dump_gcov): Ditto.
3230 2014-01-08 Rong Xu <xur@google.com>
3232 * libgcov-driver.c: Use libgcov.h.
3233 (buffer_fn_data): Use xmalloc instead of malloc.
3234 (gcov_exit_merge_gcda): Ditto.
3235 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
3236 * libgcov.h: New common header files for libgcov-*.h.
3237 * libgcov-interface.c: Use libgcov.h
3238 * libgcov-merge.c: Ditto.
3239 * libgcov-profiler.c: Ditto.
3240 * Makefile.in: Add dependence to libgcov.h
3242 2014-01-02 Joseph Myers <joseph@codesourcery.com>
3244 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
3245 case of small numerator and finite nonzero result.
3247 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3249 Update copyright years
3251 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3253 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
3254 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
3255 config/arc/dp-hack.h, config/arc/fp-hack.h,
3256 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
3257 config/arc/ieee-754/arc600-dsp/divdf3.S,
3258 config/arc/ieee-754/arc600-dsp/divsf3.S,
3259 config/arc/ieee-754/arc600-dsp/muldf3.S,
3260 config/arc/ieee-754/arc600-dsp/mulsf3.S,
3261 config/arc/ieee-754/arc600-mul64/divdf3.S,
3262 config/arc/ieee-754/arc600-mul64/divsf3.S,
3263 config/arc/ieee-754/arc600-mul64/muldf3.S,
3264 config/arc/ieee-754/arc600-mul64/mulsf3.S,
3265 config/arc/ieee-754/arc600/divsf3.S,
3266 config/arc/ieee-754/arc600/mulsf3.S,
3267 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
3268 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
3269 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
3270 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
3271 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
3272 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
3273 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
3274 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
3275 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
3276 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
3277 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
3278 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
3279 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
3280 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
3281 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
3282 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
3283 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
3284 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
3285 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
3286 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
3287 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
3288 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
3289 vtv_start_preinit.c: Use the standard form for the copyright notice.
3291 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
3292 Chung-Lin Tang <cltang@codesourcery.com>
3293 Based on patches from Altera Corporation
3295 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
3296 * config/nios2/lib2-nios2.h: New file.
3297 * config/nios2/lib2-divmod-hi.c: New file.
3298 * config/nios2/linux-unwind.h: New file.
3299 * config/nios2/lib2-divmod.c: New file.
3300 * config/nios2/linux-atomic.c: New file.
3301 * config/nios2/t-nios2: New file.
3302 * config/nios2/crti.asm: New file.
3303 * config/nios2/t-linux: New file.
3304 * config/nios2/lib2-divtable.c: New file.
3305 * config/nios2/lib2-mul.c: New file.
3306 * config/nios2/tramp.c: New file.
3307 * config/nios2/crtn.asm: New file.
3309 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
3311 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
3312 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
3313 from cpuid.h to check vendor signatures.
3315 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
3317 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
3318 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
3319 (get_amd_cpu): Likewise.
3321 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
3323 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
3326 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3327 H.J. Lu <hongjiu.lu@intel.com>
3330 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
3332 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
3333 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
3334 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
3335 FEATURE_XOP and FEATURE_FMA.
3336 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
3338 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
3339 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
3340 FEATURE_FMA4 and FEATURE_XOP.
3342 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
3344 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
3345 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
3346 (get_intel_cpu): Updated.
3348 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
3350 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
3352 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
3354 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
3355 instructions when __SSE_MATH__ is defined.
3357 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
3359 * config.host (microblaze-*-rtems*): New.
3361 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
3363 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
3364 architectures that do not have hardware divide instruction.
3365 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
3367 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
3369 * longlong.h: Delete (moved to include/).
3371 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3373 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
3374 of normal number and qNaN to not raise an inexact exception.
3376 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
3378 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
3380 2013-11-28 Matthew Leach <matthew.leach@arm.com>
3382 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
3383 for correct opcodes on BE.
3385 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
3387 * soft-fp/op-4.h: Update from glibc.
3389 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
3391 * libgcc2.c (__udivmoddi4): Define new implementation when
3392 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
3393 divide instructions.
3395 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
3397 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
3399 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3401 * config/t-softfp (soft-fp-objects-base): New variable.
3402 (soft-fp-objects): Use it.
3404 2013-11-23 David Edelson <dje.gcc@gmail.com>
3405 Andrew Dixie <andrewd@gentrack.com>
3408 * config/rs6000/aixinitfini.c: New file.
3409 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
3410 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
3413 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
3415 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
3417 2013-11-18 Jan Hubicka <jh@suse.cz>
3419 * libgcov-driver.c (run_accounted): Make global level static.
3420 (gcov_exit_merge_summary): Silence warning; do not clear
3422 (gcov_exit): Clear it here.
3424 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
3427 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
3428 (all_prg, crc32): Remove static vars.
3429 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
3431 (gcov_exit_merge_gcda): Add crc32 parameter.
3432 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
3433 do not account run if it was already accounted.
3434 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
3435 (gcov_exit): Initialize all_prg; update.
3437 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
3439 * configure: Regenerate.
3441 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3442 Alan Modra <amodra@gmail.com>
3444 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
3445 (frob_update_context): Use it.
3447 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3448 Alan Modra <amodra@gmail.com>
3450 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
3451 (trampoline_initial): Provide ELFv2 variant.
3452 (__trampoline_setup): Likewise.
3454 * config/rs6000/linux-unwind.h (frob_update_context): Do not
3455 check for AIX indirect function call sequence if _CALL_ELF == 2.
3457 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3458 Alan Modra <amodra@gmail.com>
3460 * config/rs6000/linux-unwind.h (get_regs): Do not support
3461 old kernel versions if _CALL_ELF == 2.
3462 (frob_update_context): Do not support PLT stub variants only
3463 generated by old linkers if _CALL_ELF == 2.
3465 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3466 Alan Modra <amodra@gmail.com>
3468 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
3469 location of CR save area for 64-bit little-endian systems.
3471 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
3473 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
3475 * config/arm/t-vxworks: Delete.
3477 2013-11-10 Kai Tietz <ktietz@redhat.com>
3479 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
3480 Increment load-count on use of LIBGCC_SONAME DLL.
3481 (hmod_libgcc): New static variable to hold handle of
3483 (__gcc_deregister_frame): Decrement load-count of
3486 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3488 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
3490 * configure: Regenerate
3492 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
3494 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
3495 FP_EX_DENORM. Store result to volatile location after SSE division
3496 to close interrupt window. Remove unneeded fwait after x87
3497 division since interrupt window will be closed by emitted fstp.
3498 Rewrite FP_EX_INEXACT handling.
3500 2013-11-06 Joseph Myers <joseph@codesourcery.com>
3502 * soft-fp/README: Update.
3503 * soft-fp/adddf3.c: Update from glibc.
3504 * soft-fp/addsf3.c: Likewise.
3505 * soft-fp/addtf3.c: Likewise.
3506 * soft-fp/divdf3.c: Likewise.
3507 * soft-fp/divsf3.c: Likewise.
3508 * soft-fp/divtf3.c: Likewise.
3509 * soft-fp/double.h: Likewise.
3510 * soft-fp/eqdf2.c: Likewise.
3511 * soft-fp/eqsf2.c: Likewise.
3512 * soft-fp/eqtf2.c: Likewise.
3513 * soft-fp/extenddftf2.c: Likewise.
3514 * soft-fp/extended.h: Likewise.
3515 * soft-fp/extendsfdf2.c: Likewise.
3516 * soft-fp/extendsftf2.c: Likewise.
3517 * soft-fp/extendxftf2.c: Likewise.
3518 * soft-fp/fixdfdi.c: Likewise.
3519 * soft-fp/fixdfsi.c: Likewise.
3520 * soft-fp/fixdfti.c: Likewise.
3521 * soft-fp/fixsfdi.c: Likewise.
3522 * soft-fp/fixsfsi.c: Likewise.
3523 * soft-fp/fixsfti.c: Likewise.
3524 * soft-fp/fixtfdi.c: Likewise.
3525 * soft-fp/fixtfsi.c: Likewise.
3526 * soft-fp/fixtfti.c: Likewise.
3527 * soft-fp/fixunsdfdi.c: Likewise.
3528 * soft-fp/fixunsdfsi.c: Likewise.
3529 * soft-fp/fixunsdfti.c: Likewise.
3530 * soft-fp/fixunssfdi.c: Likewise.
3531 * soft-fp/fixunssfsi.c: Likewise.
3532 * soft-fp/fixunssfti.c: Likewise.
3533 * soft-fp/fixunstfdi.c: Likewise.
3534 * soft-fp/fixunstfsi.c: Likewise.
3535 * soft-fp/fixunstfti.c: Likewise.
3536 * soft-fp/floatdidf.c: Likewise.
3537 * soft-fp/floatdisf.c: Likewise.
3538 * soft-fp/floatditf.c: Likewise.
3539 * soft-fp/floatsidf.c: Likewise.
3540 * soft-fp/floatsisf.c: Likewise.
3541 * soft-fp/floatsitf.c: Likewise.
3542 * soft-fp/floattidf.c: Likewise.
3543 * soft-fp/floattisf.c: Likewise.
3544 * soft-fp/floattitf.c: Likewise.
3545 * soft-fp/floatundidf.c: Likewise.
3546 * soft-fp/floatundisf.c: Likewise.
3547 * soft-fp/floatunditf.c: Likewise.
3548 * soft-fp/floatunsidf.c: Likewise.
3549 * soft-fp/floatunsisf.c: Likewise.
3550 * soft-fp/floatunsitf.c: Likewise.
3551 * soft-fp/floatuntidf.c: Likewise.
3552 * soft-fp/floatuntisf.c: Likewise.
3553 * soft-fp/floatuntitf.c: Likewise.
3554 * soft-fp/gedf2.c: Likewise.
3555 * soft-fp/gesf2.c: Likewise.
3556 * soft-fp/getf2.c: Likewise.
3557 * soft-fp/ledf2.c: Likewise.
3558 * soft-fp/lesf2.c: Likewise.
3559 * soft-fp/letf2.c: Likewise.
3560 * soft-fp/muldf3.c: Likewise.
3561 * soft-fp/mulsf3.c: Likewise.
3562 * soft-fp/multf3.c: Likewise.
3563 * soft-fp/negdf2.c: Likewise.
3564 * soft-fp/negsf2.c: Likewise.
3565 * soft-fp/negtf2.c: Likewise.
3566 * soft-fp/op-1.h: Likewise.
3567 * soft-fp/op-2.h: Likewise.
3568 * soft-fp/op-4.h: Likewise.
3569 * soft-fp/op-8.h: Likewise.
3570 * soft-fp/op-common.h: Likewise.
3571 * soft-fp/quad.h: Likewise.
3572 * soft-fp/single.h: Likewise.
3573 * soft-fp/soft-fp.h: Likewise.
3574 * soft-fp/subdf3.c: Likewise.
3575 * soft-fp/subsf3.c: Likewise.
3576 * soft-fp/subtf3.c: Likewise.
3577 * soft-fp/truncdfsf2.c: Likewise.
3578 * soft-fp/trunctfdf2.c: Likewise.
3579 * soft-fp/trunctfsf2.c: Likewise.
3580 * soft-fp/trunctfxf2.c: Likewise.
3581 * soft-fp/unorddf2.c: Likewise.
3582 * soft-fp/unordsf2.c: Likewise.
3583 * soft-fp/unordtf2.c: Likewise.
3585 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
3587 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
3588 (_FP_MUL_MEAT_D): Ditto.
3589 (_FP_DIV_MEAT_S): Ditto.
3590 (_FP_DIV_MEAT_D): Ditto.
3591 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
3592 t-softfp-sfdf and t-softfp to tmake_file.
3594 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
3596 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
3597 * config/i386/crtprec.c: Ditto.
3599 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
3600 Shiva Chen <shiva0217@gmail.com>
3602 * config.host (nds32*-elf*): Add nds32 target.
3603 * config/nds32 : New directory and files.
3605 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
3607 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
3608 * config.host (cpu_type) <Setting default>: Add entry for
3610 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
3611 <crisv32-*-linux*>: Adjust.
3612 * longlong.h: Wrap the whole CRIS section in a single
3613 defined(__CRIS__) conditional. Add comment about add_ssaaaa
3615 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
3617 [__CRIS__] (__umulsidi3): Define.
3618 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
3619 * config/cris/sfp-machine.h: New file.
3620 * config/cris/umulsidi3.S: New file.
3621 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
3622 * config/cris/arit.c (SIGNMULT): New macro.
3623 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
3624 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
3625 saving 3 out of originally 33 cycles from the fastest
3626 path, 3 out of 54 from the medium path and one from the longest
3627 path. Improve comments.
3629 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
3631 * sync.c: Remove static aliases and define each function directly
3632 under its real name.
3634 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
3636 * config.host (hppa*64*-*-linux*): Define extra_parts.
3637 (hppa*-*-linux*): Likewise.
3639 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
3641 * config/arc/crtgend.S: Add 2013 to Copyright years.
3642 * config/arc/gmon/atomic.h: Likewise.
3643 * config/arc/gmon/auxreg.h: Likewise.
3644 * config/arc/gmon/sys/gmon_out.h: Likewise.
3645 * config/arc/gmon/sys/gmon.h: Likewise.
3646 * config/arc/gmon/prof-freq.c: Likewise.
3647 * config/arc/gmon/mcount.c: Likewise.
3648 * config/arc/gmon/prof-freq-stub.S: Likewise.
3649 * config/arc/gmon/gmon.c: Likewise.
3650 * config/arc/gmon/machine-gmon.h: Likewise.
3651 * config/arc/gmon/profil.S: Likewise.
3652 * config/arc/gmon/dcache_linesz.S: Likewise.
3653 * config/arc/crtg.S: Likewise.
3654 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
3655 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
3656 * config/arc/ieee-754/adddf3.S: Likewise.
3657 * config/arc/ieee-754/truncdfsf2.S: Likewise.
3658 * config/arc/ieee-754/fixsfsi.S: Likewise.
3659 * config/arc/ieee-754/gtsf2.S: Likewise.
3660 * config/arc/ieee-754/floatsisf.S: Likewise.
3661 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
3662 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
3663 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
3664 * config/arc/ieee-754/fixdfsi.S: Likewise.
3665 * config/arc/ieee-754/addsf3.S: Likewise.
3666 * config/arc/ieee-754/gesf2.S: Likewise.
3667 * config/arc/ieee-754/floatsidf.S: Likewise.
3668 * config/arc/ieee-754/extendsfdf2.S: Likewise.
3669 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
3670 * config/arc/ieee-754/gtdf2.S: Likewise.
3671 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
3672 * config/arc/ieee-754/uneqdf2.S: Likewise.
3673 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3674 * config/arc/ieee-754/uneqsf2.S: Likewise.
3675 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
3676 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
3677 * config/arc/ieee-754/eqdf2.S: Likewise.
3678 * config/arc/ieee-754/ordsf2.S: Likewise.
3679 * config/arc/ieee-754/divsf3.S: Likewise.
3680 * config/arc/ieee-754/divdf3.S: Likewise.
3681 * config/arc/ieee-754/floatunsidf.S: Likewise.
3682 * config/arc/ieee-754/orddf2.S: Likewise.
3683 * config/arc/ieee-754/eqsf2.S: Likewise.
3684 * config/arc/ieee-754/gedf2.S: Likewise.
3685 * config/arc/crtn.S: Likewise.
3686 * config/arc/crti.S: Likewise.
3687 * config/arc/t-arc700-uClibc: Likewise.
3688 * config/arc/asm.h: Likewise.
3689 * config/arc/libgcc-excl.ver: Likewise.
3690 * config/arc/t-arc-newlib: Likewise.
3691 * config/arc/divtab-arc700.c: Likewise.
3692 * config/arc/initfini.c: Likewise.
3693 * config/arc/fp-hack.h: Likewise.
3695 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
3696 Diego Novillo <dnovillo@google.com>
3698 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
3699 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
3700 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
3701 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
3703 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
3704 Brendan Kehoe <brendan@zen.org>
3705 Simon Cook <simon.cook@embecosm.com>
3707 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
3708 * config/arc: New directory.
3709 * longlong.h [__arc__] (umul_ppmm): Remove.
3710 [__arc__] (__umulsidi3): Define.
3711 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
3712 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
3714 2013-09-17 Jacek Caban <jacek@codeweavers.com>
3716 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
3718 * config/i386/gthr-win32.h: Likewise.
3720 2013-09-16 DJ Delorie <dj@redhat.com>
3722 * config/rl78/vregs.h: Add G10 register definitions.
3723 * config/rl78/lib2mul.c: Enable for RL78/G10.
3724 * config/rl78/lib2div.c: Likewise.
3725 * config/rl78/lshrsi3.S: Use vregs.h.
3726 * config/rl78/cmpsi2.S: Likewise.
3727 * config/rl78/trampoline.S: Likewise.
3728 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
3730 2013-09-14 DJ Delorie <dj@redhat.com>
3731 Nick Clifton <nickc@redhat.com>
3733 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
3734 * config/rl78/vregs.h: New.
3735 * config/rl78/signbit.S: New file. Implements signbit function.
3736 * config/rl78/divmodsi.S: New.
3737 * config/rl78/divmodhi.S: New.
3738 * config/rl78/divmodqi.S: New.
3739 * config/rl78/t-rl78: Build them here...
3740 * config/rl78/lib2div.c: ...but not here.
3742 2013-09-12 DJ Delorie <dj@redhat.com>
3744 * config.host (msp*-*-elf): New.
3745 * config/msp430/: New port.
3747 2013-08-18 Iain Sandoe <iain@codesourcery.com>
3749 PR gcov-profile/58127
3750 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
3751 __thread var for emulated TLS.
3752 (__gcov_indirect_call_counters): Likewise.
3754 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
3755 Catherine Moore <clm@codesourcery.com>
3756 Richard Sandiford <rdsandiford@googlemail.com>
3758 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
3759 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
3760 (CALL_STUB_NO_RET): Likewise.
3761 (CALL_STUB_RET): Likewise.
3762 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
3763 __mips16_ret call/return stub symbols.
3764 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
3767 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
3769 * config.host <mips*-*-linux*>: Remove a stray comment.
3771 2013-08-10 Jan Hubicka <jh@suse.cz>
3773 Work around binutils PR14342
3774 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
3775 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
3776 (L_gcov_indirect_call_profiler_v2): New.
3778 2013-08-06 Jan Hubicka <jh@suse.cz>
3780 * libgcov.c (__gcov_indirect_call_callee,
3781 __gcov_indirect_call_counters): New global vars.
3782 (__gcov_indirect_call_profiler): replace by ...
3783 (__gcov_indirect_call_profiler_v2) ... this one.
3785 2013-08-06 Caroline Tice <cmtice@google.com>
3787 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
3788 vtv_start_preinit.o and vtv_end_preinit.o.
3789 * configure.ac: Add code to check/set enable_vtable_verify.
3790 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
3792 * vtv_start_preinit.c: New file.
3793 * vtv_end_preinit.c: New file.
3794 * vtv_start.c: New file.
3795 * vtv_end.c: New file.
3796 * configure: Regenerated.
3798 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
3800 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
3801 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
3802 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
3803 GPL-3.0-with-GCC-exception.
3805 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
3807 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
3810 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3812 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
3813 mapping for FPRs when creating the fallback framestate.
3815 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
3818 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
3819 (__round_s2_const, __round_u2_const)
3820 (__round_s4_const, __round_u4_const, __round_x8):
3821 Saturate result if addition result cannot be represented.
3823 2013-07-15 Matthias Klose <doko@ubuntu.com>
3825 * libgcc2.c: Don't include <limits.h>.
3827 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
3829 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
3831 2013-07-06 Jakub Jelinek <jakub@redhat.com>
3834 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
3836 2013-06-28 Jakub Jelinek <jakub@redhat.com>
3839 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
3841 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
3842 instead of table lookups.
3843 (__popcountDI2): Likewise.
3845 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
3847 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
3850 2013-06-21 Joseph Myers <joseph@codesourcery.com>
3853 * soft-fp/adddf3.c: Update from glibc.
3854 * soft-fp/addsf3.c: Likewise.
3855 * soft-fp/addtf3.c: Likewise.
3856 * soft-fp/divdf3.c: Likewise.
3857 * soft-fp/divsf3.c: Likewise.
3858 * soft-fp/divtf3.c: Likewise.
3859 * soft-fp/double.h: Likewise.
3860 * soft-fp/eqdf2.c: Likewise.
3861 * soft-fp/eqsf2.c: Likewise.
3862 * soft-fp/eqtf2.c: Likewise.
3863 * soft-fp/extenddftf2.c: Likewise.
3864 * soft-fp/extended.h: Likewise.
3865 * soft-fp/extendsfdf2.c: Likewise.
3866 * soft-fp/extendsftf2.c: Likewise.
3867 * soft-fp/fixdfdi.c: Likewise.
3868 * soft-fp/fixdfsi.c: Likewise.
3869 * soft-fp/fixsfdi.c: Likewise.
3870 * soft-fp/fixsfsi.c: Likewise.
3871 * soft-fp/fixtfdi.c: Likewise.
3872 * soft-fp/fixtfsi.c: Likewise.
3873 * soft-fp/fixunsdfdi.c: Likewise.
3874 * soft-fp/fixunsdfsi.c: Likewise.
3875 * soft-fp/fixunssfdi.c: Likewise.
3876 * soft-fp/fixunssfsi.c: Likewise.
3877 * soft-fp/fixunstfdi.c: Likewise.
3878 * soft-fp/fixunstfsi.c: Likewise.
3879 * soft-fp/floatdidf.c: Likewise.
3880 * soft-fp/floatdisf.c: Likewise.
3881 * soft-fp/floatditf.c: Likewise.
3882 * soft-fp/floatsidf.c: Likewise.
3883 * soft-fp/floatsisf.c: Likewise.
3884 * soft-fp/floatsitf.c: Likewise.
3885 * soft-fp/floatundidf.c: Likewise.
3886 * soft-fp/floatundisf.c: Likewise.
3887 * soft-fp/floatunditf.c: Likewise.
3888 * soft-fp/floatunsidf.c: Likewise.
3889 * soft-fp/floatunsisf.c: Likewise.
3890 * soft-fp/floatunsitf.c: Likewise.
3891 * soft-fp/gedf2.c: Likewise.
3892 * soft-fp/gesf2.c: Likewise.
3893 * soft-fp/getf2.c: Likewise.
3894 * soft-fp/ledf2.c: Likewise.
3895 * soft-fp/lesf2.c: Likewise.
3896 * soft-fp/letf2.c: Likewise.
3897 * soft-fp/muldf3.c: Likewise.
3898 * soft-fp/mulsf3.c: Likewise.
3899 * soft-fp/multf3.c: Likewise.
3900 * soft-fp/negdf2.c: Likewise.
3901 * soft-fp/negsf2.c: Likewise.
3902 * soft-fp/negtf2.c: Likewise.
3903 * soft-fp/op-1.h: Likewise.
3904 * soft-fp/op-2.h: Likewise.
3905 * soft-fp/op-4.h: Likewise.
3906 * soft-fp/op-8.h: Likewise.
3907 * soft-fp/op-common.h: Likewise.
3908 * soft-fp/quad.h: Likewise.
3909 * soft-fp/single.h: Likewise.
3910 * soft-fp/soft-fp.h: Likewise.
3911 * soft-fp/subdf3.c: Likewise.
3912 * soft-fp/subsf3.c: Likewise.
3913 * soft-fp/subtf3.c: Likewise.
3914 * soft-fp/truncdfsf2.c: Likewise.
3915 * soft-fp/trunctfdf2.c: Likewise.
3916 * soft-fp/trunctfsf2.c: Likewise.
3917 * soft-fp/unorddf2.c: Likewise.
3918 * soft-fp/unordsf2.c: Likewise.
3919 * soft-fp/unordtf2.c: Likewise.
3920 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
3921 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3922 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3923 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3924 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3925 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3926 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3927 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3928 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3929 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
3930 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
3931 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3933 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
3935 * config/mips/lib2funcs.c: New file.
3936 * config/mips/t-mips (LIB2ADD_ST): Add it.
3938 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
3941 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
3942 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
3944 2013-06-08 Walter Lee <walt@tilera.com>
3946 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
3947 Replace int64_t with long long. Add __extension__ where
3949 * config/tilepro/atomic.c: Include config.h.
3951 2013-06-06 Douglas B Rupp <rupp@adacore.com>
3953 * config.host (arm-wrs-vxworks): Configure with other soft float.
3955 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
3957 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
3958 (mips64r5900el-*-elf*): New configurations.
3960 2013-06-04 Alan Modra <amodra@gmail.com>
3962 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
3964 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
3966 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
3968 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
3970 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
3971 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
3972 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
3974 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
3976 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
3977 (powerpc-wrs-vxworks): Likewise.
3979 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
3981 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
3982 signal frames as well.
3983 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
3984 STACK_BIAS to the CFA offset.
3986 2013-05-17 Richard Henderson <rth@redhat.com>
3989 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
3990 (execute_cfa_program): Use it when storing to fs->regs.
3992 2013-05-08 Kai Tietz <ktietz@redhat.com>
3994 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
3995 (__deregister_frame_info): Likewise.
3997 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
3999 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4002 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4004 2013-04-25 Alan Modra <amodra@gmail.com>
4006 * config.host: Match little-endian powerpc-linux.
4008 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
4010 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4011 as 'unsigned long long' instead of 'unsigned long'.
4012 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4015 2013-04-10 Julian Brown <julian@codesourcery.com>
4017 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4018 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4019 unsigned char/unsigned short.
4020 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4022 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4025 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4027 2013-04-04 Meador Inge <meadori@codesourcery.com>
4029 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4030 computing the location of the link register.
4031 (aeabi_uldivmod): Ditto.
4033 2013-03-27 Kai Tietz <ktietz@redhat.com>
4035 * config.host: Add support for cygwin x64 target.
4036 * configure: Regenerated.
4038 2013-03-26 Walter Lee <walt@tilera.com>
4040 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4041 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4043 2013-03-25 Kai Tietz <ktietz@redhat.com>
4045 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4047 2013-03-20 Robert Mason <rbmj@verizon.net>
4049 * config/vxlib-tls.c (__gthread_get_tsd_data,)
4050 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4051 (__gthread_leave_tsd_dtor_context): Add prototypes.
4052 (tls_delete_hook): Update.
4054 2013-03-20 Catherine Moore <clm@codesourcery.com>
4055 Joseph Myers <joseph@codesourcery.com>
4056 Chao-ying Fu <fu@mips.com>
4058 * config/mips/mips16.S: Don't build for microMIPS.
4059 * config/mips/linux-unwind.h: Handle microMIPS frame.
4060 * config/mips/crtn.S (fini, init): New labels.
4062 2013-03-14 Jakub Jelinek <jakub@redhat.com>
4064 PR tree-optimization/53265
4065 * unwind-dw2.c (execute_cfa_program): Avoid
4066 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4067 on targets with DWARF_FRAME_REGISTERS < 32.
4069 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
4072 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
4073 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
4075 2013-03-07 Sriraman Tallam <tmsriram@google.com>
4077 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4078 sandybridge processors.
4080 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
4083 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
4086 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
4088 * config/microblaze/crti.S: Setup stack protection at entry
4090 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
4092 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
4093 (__rotldi3): Shift bytewise if applicable.
4095 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
4097 * config/aarch64/sync-cache.c
4098 (__aarch64_sync_cache_range): Silence warnings.
4100 2013-02-25 Catherine Moore <clm@codesourcery.com>
4103 2013-02-24 Catherine Moore <clm@codesourcery.com>
4104 Joseph Myers <joseph@codesourcery.com>
4105 Chao-ying Fu <fu@mips.com>
4107 * config/mips/mips16.S: Don't build for microMIPS.
4108 * config/mips/linux-unwind.h: Handle microMIPS frame.
4109 * config/mips/crtn.S (fini, init): New labels.
4111 2013-02-24 Catherine Moore <clm@codesourcery.com>
4112 Joseph Myers <joseph@codesourcery.com>
4113 Chao-ying Fu <fu@mips.com>
4115 * config/mips/mips16.S: Don't build for microMIPS.
4116 * config/mips/linux-unwind.h: Handle microMIPS frame.
4117 * config/mips/crtn.S (fini, init): New labels.
4119 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
4120 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
4123 2013-02-16 Alan Modra <amodra@gmail.com>
4126 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
4127 (ppc_fallback_frame_state): Always set up save locations for fp
4128 and altivec. Don't bother with non-callee-saved regs, r0-r13
4129 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
4131 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
4134 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
4136 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
4137 _ssmulha3, _usmulusa3, _ssmulsa3.
4138 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
4139 (__muldi3): XCALL __muldi3_6 instead of rcall.
4140 (__umulsidi3, __mulsidi3): New functions.
4141 (do_prologue_saves, do_epilogue_restores): New .macros.
4142 (__divdi3_moddi3): Use them.
4143 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
4144 (__usmulusa3, __ssmulsa3): New functions.
4146 2013-02-11 Iain Sandoe <iain@codesourcery.com>
4147 Jack Howarth <howarth@bromo.med.uc.edu>
4148 Patrick Marlier <patrick.marlier@gmail.com>
4151 * config/darwin-crt-tm.c: Remove dummy functions hack.
4153 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
4156 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
4157 * config/avr/lib2-object.mk: New iterator to build objects from it.
4158 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
4160 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
4161 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
4162 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
4163 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
4164 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
4165 * config/avr/lib1funcs-fixed.S: Implement them.
4167 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
4169 Update copyright years.
4171 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
4174 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
4175 Add crtcxa to extra_parts.
4176 * config/rs6000/exit.h: New file.
4177 * config/rs6000/cxa_atexit.c: New file.
4178 * config/rs6000/cxa_finalize.c: New file.
4179 * config/rs6000/crtcxa.c: New file.
4180 * config/rs6000/t-aix-cxa: New file.
4181 * config/rs6000/libgcc-aix-cxa.ver: New file.
4183 2013-01-31 Nick Clifton <nickc@redhat.com>
4185 * config/v850/lib1funcs.S: Add support for e3v5 architecture
4188 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
4191 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
4192 _mulQQ, _mulHQ, _mulHA, _mulSA,
4193 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
4194 _divQQ, _divHQ, _divHA, _divSA,
4195 _divUQQ, _divUHQ, _divUHA, _divUSA.
4197 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
4199 * config.host(microblaze*-linux*): tmake_file: Remove
4200 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
4201 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
4202 to exclude functions from being built with libgcc.c and use
4203 the microblaze assembly.
4205 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
4207 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
4210 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
4212 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
4213 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
4214 __UINTPTR_TYPE__; also cast 'base' to the same type before the
4215 alignment operation.
4217 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
4219 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
4220 loop start address for cache clearing.
4222 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
4224 * config/avr/lib1funcs.S: Remove trailing blanks.
4225 * config/avr/lib1funcs-fixed.S: Ditto.
4227 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
4229 * config/avr/avr-lib.h: Add GPL copyright notice.
4231 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
4233 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
4234 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
4235 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
4236 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
4238 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
4240 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
4241 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
4243 2013-01-04 Nick Clifton <nickc@redhat.com>
4245 * config/v850/lib1funcs.S: Only provide CALLT support functions if
4246 the CALLT instruction is supported.
4248 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
4250 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
4251 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
4253 2012-12-13 John Tytgat <John@bass-software.com>
4255 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
4258 2012-12-12 Jakub Jelinek <jakub@redhat.com>
4261 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
4262 undefined signed overflows.
4264 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
4267 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
4269 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
4271 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
4272 (FP_TRAPPING_EXCEPTIONS): Define.
4273 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
4274 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
4276 2012-12-04 Richard Henderson <rth@redhat.com>
4279 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
4281 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
4283 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
4284 (FP_EX_SHIFT): Define.
4285 (FP_TRAPPING_EXCEPTIONS): Define.
4287 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
4289 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
4290 (FP_ROUNDMODE): Use FP_RND_MASK.
4291 * config/aarch64/sfp-exceptions.c: New.
4292 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4293 Use __sfp_handle_exceptions.
4295 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
4297 * config.host: (arm*-*-freebsd*): Remove.
4298 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
4299 (arm*-*-elf*): Remove.
4300 (arm*-*-wince-pe*): Remove.
4301 * arm/unwind-arm.c (struct fpa_reg): Delete.
4302 (struct fpa_regs): Delete.
4303 (phase1_vrs): Remove fpa element.
4304 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
4305 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
4306 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
4307 * ieee754-sf.S (floatundisf): Remove FPA support.
4308 (floatdisf): Likewise.
4309 * ieee75f-df.S (floatundidf): Likewise.
4310 (floatdidf): Likewise.
4312 2012-11-29 Kai Tietz <ktietz@redhat.com>
4315 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
4316 * unwind-generic.h: Likewise.
4317 * unwind-seh.c: Likewise.
4319 2012-11-28 Richard Henderson <rth@redhat.com>
4322 * emutls.c (__emutls_get_address): Avoid race condition between
4323 obj->loc.offset read and emutls_key initialization.
4325 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
4327 Adjust decimal point of signed accum mode to GCC default.
4330 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
4332 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
4333 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
4334 (__mulha3, __mulsa3)
4335 (__divqq3, __divha3, __divsa3): Adjust to new position of
4336 decimal point of signed accum types.
4338 (__mulusa3_round): New function.
4339 (__mulusa3): Use it.
4340 (__divqq_helper): New function.
4341 (__udivuqq3): Use it.
4343 2012-11-20 Jakub Jelinek <jakub@redhat.com>
4346 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
4348 2012-11-18 Teresa Johnson <tejohnson@google.com>
4351 * libgcov.c (gcov_exit): Remove merged program summary
4352 comparison unless !GCOV_LOCKED.
4354 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
4356 * soft-fp: Updated from glibc upstream.
4358 2012-11-06 Ian Lance Taylor <iant@google.com>
4360 * generic-morestack.c (__generic_morestack): Align the returned
4361 stack pointer to a 32 byte boundary.
4362 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
4363 increment the return address until we have decided that we don't
4364 have a varargs function.
4365 (__morestack) [32-bit]: Align stack correctly when calling C
4367 (__morestack) [64-bit]: Likewise.
4369 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4371 * configure: Regenerate.
4373 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
4376 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
4377 * config/i386/sfp-machine.h: Guard exception handling
4378 code with _SOFT_FLOAT.
4379 * config/i386/32/sfp-machine.h: Guard rounding handling
4380 code with _SOFT_FLOAT.
4381 * config/i386/64/sfp-machine.h: Ditto.
4383 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
4385 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
4388 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
4390 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
4391 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
4392 when appropriate. Correct structure element types.
4393 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
4394 -minline-all-stringops from compile flags.
4396 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
4398 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
4400 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
4402 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
4404 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
4406 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
4409 2012-10-23 Ian Bolton <ian.bolton@arm.com>
4410 Jim MacArthur <jim.macarthur@arm.com>
4411 Marcus Shawcroft <marcus.shawcroft@arm.com>
4412 Nigel Stephens <nigel.stephens@arm.com>
4413 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4414 Richard Earnshaw <rearnsha@arm.com>
4415 Sofiane Naci <sofiane.naci@arm.com>
4416 Stephen Thomas <stephen.thomas@arm.com>
4417 Tejas Belagod <tejas.belagod@arm.com>
4418 Yufeng Zhang <yufeng.zhang@arm.com>
4420 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
4421 * config/aarch64/crti.S: New file.
4422 * config/aarch64/crtn.S: New file.
4423 * config/aarch64/linux-unwind.h: New file.
4424 * config/aarch64/sfp-machine.h: New file.
4425 * config/aarch64/sync-cache.c: New file.
4426 * config/aarch64/t-aarch64: New file.
4427 * config/aarch64/t-softfp: New file.
4429 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
4431 * config/mmix/crti.S: Mark program and data addresses using PRELD.
4432 Remove typo'd and unnecessary alignment-LOC for .data. Remove
4433 no-longer-needed LDBU insns.
4435 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
4438 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
4439 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
4441 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
4443 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
4445 2012-10-15 Matthias Klose <doko@ubuntu.com>
4447 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
4449 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
4451 * configure: Regenerate.
4452 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
4454 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
4456 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4457 instructions for 64bit targets only.
4459 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
4461 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4462 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
4463 * config/i386/32/sfp-machine.h: ... here.
4464 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
4465 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
4468 2012-10-07 Matthias Klose <doko@ubuntu.com>
4470 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
4472 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
4474 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
4476 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
4477 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
4478 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
4481 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
4484 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4485 Fix parameter names.
4487 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
4490 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
4491 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
4492 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
4494 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
4497 * config/sh/linux-atomic.S: Delete.
4498 * config/sh/linux-atomic.c: New.
4499 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
4500 linux-atomic.c. Add cflags to disable warnings.
4502 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
4505 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
4507 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
4508 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
4509 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
4510 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
4511 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
4513 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4515 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
4517 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
4518 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
4520 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
4522 * config.host (hppa-*-openbsd*): New target.
4523 * config/pa/t-openbsd: New file.
4525 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
4528 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
4529 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
4530 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
4531 (__divsa3): Use __negsi2 to negate r_quoL.
4532 * config/avr/lib1funcs.S (FALIAS): New macro.
4533 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
4534 (__negsi2): ...this new function.
4535 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
4536 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
4537 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
4538 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
4539 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
4540 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
4542 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
4545 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
4546 (lshrsi3): Reimplement as lshrsi3_r0.
4548 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
4551 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
4554 2012-09-07 Teresa Johnson <tejohnson@google.com>
4556 PR gcov-profile/54487
4557 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
4560 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
4563 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
4564 not configured --with-avrlibc=no.
4565 * config/avr/t-avrlibc: New file.
4566 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
4567 (DPBIT_FUNCS): Ditto.
4568 (TPBIT_FUNCS): Ditto.
4570 2012-09-04 Teresa Johnson <tejohnson@google.com>
4572 * libgcov.c (struct gcov_summary_buffer): New structure.
4573 (gcov_histogram_insert): New function.
4574 (gcov_compute_histogram): Ditto.
4575 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
4576 histograms during summary merging.
4578 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
4580 * config.host (x86_64-*-openbsd*): New target.
4582 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
4584 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
4587 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
4590 * config/avr/t-avr (conv_X): Rename to func_X.
4592 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
4595 * config/avr/lib1funcs-fixed.S: New file.
4596 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
4597 after they are used.
4598 (neg2, neg4): New macros.
4599 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
4600 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
4601 (__umulhisi3): Speed up MUL variant if there is enough flash.
4602 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
4604 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
4605 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
4606 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
4607 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
4608 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
4609 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
4610 (LIB2FUNCS_EXCLUDE): Add supported functions.
4612 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
4614 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
4615 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
4617 * fixed-obj.mk: Only expand dependency if $o is not in
4620 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
4622 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
4624 2012-08-22 Joseph Myers <joseph@codesourcery.com>
4626 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
4627 depend on --enable-shared.
4628 ($(lib1asmfuncs-o)): Use %.vis files independent of
4630 * static-object.mk ($(base)$(objext), $(base).vis)
4631 ($(base)_s$(objext)): Use same rules for visibility handling as in
4634 2012-08-21 Ian Lance Taylor <iant@google.com>
4636 * config/i386/morestack.S (__morestack_non_split): Increase amount
4637 of space allocated for non-split code stack.
4639 2012-08-19 Joseph Myers <joseph@codesourcery.com>
4641 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
4642 even if inhibit_libc.
4644 2012-08-17 Julian Brown <julian@codesourcery.com>
4646 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
4647 -fexceptions -fnon-call-exceptions if not defined.
4648 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
4649 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
4651 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
4653 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
4656 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
4658 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
4659 rs6000/t-slibgcc-aix.
4661 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
4663 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
4665 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
4667 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
4669 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
4672 * Makefile.in (version): Replace top_srcdir with srcdir.
4674 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
4676 * Makefile.in (version): set to BASE-VER file from gcc directory.
4678 2012-08-01 Nick Clifton <nickc@redhat.com>
4680 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
4681 Implements __clrsb for an HImode argument.
4683 2012-07-31 Nick Clifton <nickc@redhat.com>
4685 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
4686 Implements __clrsb for an HImode argument.
4687 * config/stormy16/clrsbhi2.c: New file:
4688 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
4690 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
4692 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
4694 2012-07-19 Tristan Gingold <gingold@adacore.com>
4695 Richard Henderson <rth@redhat.com>
4697 * unwind-seh.c: New file.
4698 * unwind-generic.h: Include windows.h for SEH.
4699 (_Unwind_Exception): Use 6 private fields for SEH.
4700 (_GCC_specific_handler): Declare.
4701 * unwind-c.c (__gcc_personality_seh0): New function.
4703 * config/i386/libgcc-cygming.ver: New file.
4704 * config/i386/t-seh-eh: New file.
4705 * config.host (x86_64-*-mingw*): Default to seh.
4707 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
4709 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
4711 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
4713 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
4714 __builtin_expect when checking for exceptions.
4715 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
4717 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
4719 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
4720 function declaration.
4721 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4723 * config/ia64/sfp-exceptions.c: New.
4724 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
4726 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
4728 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
4729 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
4730 * config/i386/64/sfp-machine: ... (delete here) ...
4731 * config/i386/sfp-machine.h: ... to here.
4732 (FP_EX_MASK): Remove.
4734 (FP_INIT_ROUNDMODE): Declare asm as volatile.
4736 2012-06-11 Sriraman Tallam <tmsriram@google.com>
4738 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
4739 * config/i386/libgcc-sol2.ver: Ditto.
4740 * config/i386/libgcc-glibc.ver: Ditto.
4742 2012-06-11 Roland McGrath <mcgrathr@google.com>
4744 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
4745 If __GLIBC__ is defined, refer to __pthread_key_create instead of
4748 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
4750 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
4751 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
4752 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
4753 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4754 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
4755 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
4756 * config/i386/64/sfp-machine: ... (delete here) ...
4757 * config/i386/sfp-machine.h: ... to here.
4759 (__sfp_handle_exceptions): New function declaration.
4760 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4761 * config/i386/sfp-exceptions.c: New.
4762 * config/i386/t-softfp: New.
4763 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
4764 i386/t-softfp to tmake_file.
4766 2012-06-03 David S. Miller <davem@davemloft.net>
4768 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
4771 2012-05-31 David S. Miller <davem@davemloft.net>
4773 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
4774 multiply and divide instructions on 32-bit when V9.
4775 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
4777 2012-05-29 Joseph Myers <joseph@codesourcery.com>
4779 * config/arm/ieee754-df.S: Fix typos.
4780 * config/arm/ieee754-sf.S: Fix typos.
4781 * config/c6x/libunwind.S: Fix typos.
4782 * config/epiphany/udivsi3-float.c: Fix typos.
4783 * config/microblaze/muldi3_hard.S: Fix typos.
4784 * config/picochip/adddi3.S: Fix typos.
4785 * config/picochip/ashlsi3.S: Fix typos.
4786 * config/picochip/ashrsi3.S: Fix typos.
4787 * config/picochip/clzsi2.S: Fix typos.
4788 * config/picochip/cmpsi2.S: Fix typos.
4789 * config/picochip/divmod15.S: Fix typos.
4790 * config/picochip/divmodhi4.S: Fix typos.
4791 * config/picochip/divmodsi4.S: Fix typos.
4792 * config/picochip/longjmp.S: Fix typos.
4793 * config/picochip/lshrsi3.S: Fix typos.
4794 * config/picochip/parityhi2.S: Fix typos.
4795 * config/picochip/popcounthi2.S: Fix typos.
4796 * config/picochip/setjmp.S: Fix typos.
4797 * config/picochip/subdi3.S: Fix typos.
4798 * config/picochip/ucmpsi2.S: Fix typos.
4799 * config/picochip/udivmodhi4.S: Fix typos.
4800 * config/picochip/udivmodsi4.S: Fix typos.
4801 * config/spu/divv2df3.c: Fix typos.
4802 * config/spu/mfc_multi_tag_release.c: Fix typos.
4803 * config/spu/mfc_tag_release.c: Fix typos.
4804 * configure.ac: Fix typos.
4805 * configure: Regenerate.
4807 2012-05-25 Ian Lance Taylor <iant@google.com>
4809 * config/i386/morestack.S (__morestack_non_split): Check whether
4810 caller is varargs and needs %bp to hold the stack frame on return.
4812 2012-05-25 Olivier Hainque <hainque@adacore.com>
4814 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
4815 sequence in the non pic case on VxWorks.
4817 2012-05-24 Olivier Hainque <hainque@adacore.com>
4819 * Makefile.in: Move dependency on install-unwind_h from
4820 "install-leaf" to "install".
4822 2012-05-24 Olivier Hainque <hainque@adacore.com>
4824 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
4825 Use a separate command for stamp removals.
4827 2012-05-21 Andrew Pinski <apinski@cavium.com>
4830 * configure.ac: Define the default includes to being none.
4831 * configure: Regenerate.
4833 2012-05-16 Olivier Hainque <hainque@adacore.com>
4835 * Makefile.in (install-unwind_h): Rename into ...
4836 (install-unwind_h-forbuild): New target.
4837 (all): Use it instead of the former install-unwind_h.
4838 (install-unwind_h): Reinstate, copy to user install destination
4839 for include files, not to the internal gcc object directory one.
4840 (install-leaf): Depend on it.
4842 2012-05-15 Olivier Hainque <hainque@adacore.com>
4844 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
4845 register numbers. LR_REGNO replaces R_LR.
4846 (ucontext_for): New, helper for ...
4847 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
4849 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
4851 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4853 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
4854 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
4855 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
4857 (i[34567]86-*-*, x86_64-*-*): ... here.
4859 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
4860 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
4862 * config/i386/i386-cpuinfo.c: Rename to ...
4863 * config/i386/cpuinfo.c: ... this.
4864 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
4866 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
4867 (libgcc_cv_init_priority): New test.
4868 * configure: Regenerate.
4869 * config.in: New file.
4870 * Makefile.in (clean): Rename config.h to auto-target.h.
4871 (config.h): Likewise.
4872 (stamp-h): Likewise.
4874 * config/i386/cpuinfo.c (auto-target.h): Include.
4875 (CONSTRUCTOR_PRIORITY): Define.
4876 (__cpu_indicator_init): Use it.
4878 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4880 * longlong.h: Use a URL instead of an FSF postal address.
4881 Replace spaces with tab.
4883 2012-05-08 Teresa Johnson <tejohnson@google.com>
4885 * libgcov.c (gcov_clear, __gcov_reset): New functions.
4886 (__gcov_dump): Ditto.
4887 (gcov_dump_complete): New global variable.
4888 (gcov_exit): Export hidden to enable use in L_gcov_dump.
4889 (__gcov_flush): Outline functionality now in gcov_clear.
4890 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
4892 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
4894 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
4895 (mips*-*-linux*): Include mips/t-tpbit when long double is
4898 2012-04-25 Sriraman Tallam <tmsriram@google.com>
4900 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
4901 (get_available_features): New argument. Check for AVX2.
4902 (__cpu_indicator_init): Modify call to get_available_features.
4904 2012-04-25 Alan Modra <amodra@gmail.com>
4906 * config/rs6000/crtsavevr.S: New file.
4907 * config/rs6000/crtrestvr.S: New file.
4908 * config/rs6000/t-savresfgpr: Build the above.
4909 * config/rs6000/t-netbsd: Likewise.
4911 2012-04-24 Sriraman Tallam <tmsriram@google.com>
4913 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
4915 2012-04-24 Sriraman Tallam <tmsriram@google.com>
4917 * libgcc/config/i386/i386-cpuinfo.c: New file.
4918 * libgcc/config/i386/t-cpuinfo: New file.
4919 * libgcc/config.host: Include t-cpuinfo.
4920 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
4922 2012-04-24 Chao-ying Fu <fu@mips.com>
4924 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
4926 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
4928 struct siginfo vs. siginfo_t
4930 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
4931 siginfo_t instead of struct siginfo.
4932 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
4933 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
4934 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
4935 (ia64_handle_unwabi): Likewise.
4936 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
4937 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
4938 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
4939 (sh_fallback_frame_state): Likewise.
4940 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
4941 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
4943 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
4945 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
4948 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
4950 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
4951 if it hasn't been previously saved.
4953 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
4955 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
4958 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
4961 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
4962 instead of __AVR_HAVE_8BIT_SP__.
4964 2012-03-26 Tristan Gingold <gingold@adacore.com>
4966 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
4967 (unw_table_entry): Use unw_word instead of unsigned long.
4968 (_Unwind_FindTableEntry): Likewise.
4969 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
4970 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
4971 (_Unwind_FindTableEntry): Likewise.
4972 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
4973 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
4974 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
4975 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
4976 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
4977 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
4978 (uw_init_context_1, uw_install_context): Likewise.
4979 (unw_word): Move to unwind-ia64.h
4981 2012-03-26 Tristan Gingold <gingold@adacore.com>
4983 * config/vms/vms-ucrt0.c: Update copyright years.
4985 (___gcc_main_flags): Declare.
4986 (__main): Check flags to remap argv and exit code.
4987 * config.host (*-*-*vms*): Adjust extra_parts.
4988 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
4991 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
4993 * arm/lib1funcs.asm (ctzsi2): New function.
4994 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
4995 * arm/t-linux (LIB1ASMFUNCS): Likewise.
4996 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
4997 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
4998 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
4999 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5001 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
5003 * config.host: Add bits to support powerpc64-*-freebsd*.
5004 * config/rs6000/freebsd-unwind.h: New file.
5005 * config/rs6000/t-freebsd64: New file.
5007 2012-03-20 Richard Guenther <rguenther@suse.de>
5009 PR gcov-profile/52627
5010 * libgcov.c (init_mx): Fix mutex name.
5012 2012-03-16 Tristan Gingold <gingold@adacore.com>
5014 * config/ia64/vms-unwind.h: Remove ulong (and replace
5015 it by unw_reg where used). Define unw_reg with __int64.
5017 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5019 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5021 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5023 (sparc_is_sighandler): Likewise.
5025 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
5027 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5030 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5032 * config/arm/crtn.S: Fix typo.
5034 2012-03-13 Richard Guenther <rguenther@suse.de>
5036 * libgcov.c: Remove stdio.h include and NULL un-define.
5038 2012-03-13 Richard Guenther <rguenther@suse.de>
5041 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5043 2012-03-13 Richard Guenther <rguenther@suse.de>
5045 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5047 2012-03-13 Richard Guenther <rguenther@suse.de>
5049 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5050 and __gthread_mutex_init_function definitions.
5052 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5054 * config.host (mips*-*-openbsd*): Remove.
5056 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5058 * config.host: Remove alpha*-dec-osf5.1* handling.
5059 * config/alpha/gthr-posix.c: Remove.
5060 * config/alpha/libgcc-osf5.ver: Remove.
5061 * config/alpha/osf5-unwind.h: Remove.
5062 * config/alpha/t-osf-pthread: Remove.
5063 * config/alpha/t-slibgcc-osf: Remove.
5064 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
5065 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
5066 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5067 * mkmap-flat.awk: Remove osf_export handling.
5069 2012-03-12 Richard Guenther <rguenther@suse.de>
5071 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
5072 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5073 (__gthread_mutex_init_function): New function.
5074 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5077 * libgcov.c: Include gthr.h.
5078 (__gcov_flush_mx): New global variable.
5079 (init_mx, init_mx_once): New functions.
5080 (__gcov_flush): Protect self with a mutex.
5081 (__gcov_fork): Re-initialize mutex after forking.
5082 * unwind-dw2-fde.c: Change condition under which to use
5083 __GTHREAD_MUTEX_INIT_FUNCTION.
5085 2012-03-12 Tristan Gingold <gingold@adacore.com>
5087 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
5088 * config/ia64/t-vms: Likewise.
5090 2012-03-11 Michael Hope <michael.hope@linaro.org>
5092 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
5095 2012-03-07 Walter Lee <walt@tilera.com>
5097 * config/tilepro/atomic.c: Rename "atomic_" prefix to
5099 (atomic_xor): Rename and move definition to
5100 config/tilepro/atomic.h.
5101 (atomic_nand): Ditto.
5102 * config/tilepro/atomic.h: Rename "atomic_" prefix to
5104 (arch_atomic_xor): Move from config/tilepro/atomic.c.
5105 (arch_atomic_nand): Ditto.
5107 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
5110 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
5112 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
5115 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
5118 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
5122 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
5123 if RAMPZ affects reading from RAM.
5124 (__tablejump_elpm__): Ditto.
5126 (__movmemx_hi): Ditto.
5127 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
5128 (__do_global_dtors): Ditto.
5129 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
5130 (__movmemx_hi): Ditto.
5132 2012-03-05 Richard Henderson <rth@redhat.com>
5134 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
5135 [ARM] (count_trailing_zeros): Use the builtin.
5137 2012-03-01 Kai Tietz <ktietz@redhat.com>
5139 * soft-fp: Imported from glibc upstream.
5141 2012-02-28 Kai Tietz <ktietz@redhat.com>
5143 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
5144 for mingw-targets as attribute gcc_struct.
5146 2012-02-28 Ian Lance Taylor <iant@google.com>
5148 * generic-morestack.c (__splitstack_releasecontext): Correct call
5149 to __morestack_release_segments.
5151 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5154 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
5155 for __linux__ when removing signals from __morestack_fullmask.
5157 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
5160 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
5162 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5164 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
5165 instead of HAVE_INITFINI_ARRAY.
5166 * config/ia64/crtend.S: Likewise.
5168 2012-02-20 Kai Tietz <ktietz@redhat.com>
5171 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
5173 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
5174 to w32-unwind.h header.
5176 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
5178 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
5179 (mips*-*-linux*): Remove t-slibgcc-libgcc.
5180 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
5181 * config/mips/mips16.S (__mips16_rdhwr): Delete.
5183 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
5185 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
5187 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5190 * config/darwin-crt-tm.c: Correct typo.
5192 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5193 Patrick Marlier <patrick.marlier@gmail.com>
5196 * config/darwin-crt-tm.c: Generate dummy functions.
5198 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5199 Patrick Marlier <patrick.marlier@gmail.com>
5202 * config/darwin-crt-tm.c (getTMCloneTable): New function.
5203 (__doTMRegistrations): Call it.
5204 (__doTMdeRegistrations): Likewise.
5206 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
5207 Anatoly Sokolov <aesok@post.ru>
5208 Eric Weddington <eric.weddington@atmel.com>
5211 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
5212 (__epilogue_restores__): Ditto.
5214 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
5218 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
5219 Solaris 11 and slightly reformat.
5220 (sparc_is_sighandler): Likewise.
5222 2012-02-14 Walter Lee <walt@tilera.com>
5224 * config.host: Handle tilegx and tilepro.
5225 * config/tilegx/sfp-machine.h: New file.
5226 * config/tilegx/sfp-machine32.h: New file.
5227 * config/tilegx/sfp-machine64.h: New file.
5228 * config/tilegx/t-crtstuff: New file.
5229 * config/tilegx/t-softfp: New file.
5230 * config/tilegx/t-tilegx: New file.
5231 * config/tilepro/atomic.c: New file.
5232 * config/tilepro/atomic.h: New file.
5233 * config/tilepro/linux-unwind.h: New file.
5234 * config/tilepro/sfp-machine.h: New file.
5235 * config/tilepro/softdivide.c: New file.
5236 * config/tilepro/softmpy.S: New file.
5237 * config/tilepro/t-crtstuff: New file.
5238 * config/tilepro/t-tilepro: New file.
5240 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
5244 * gthr-posix.h: Allow static initializer macros to be disabled.
5245 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
5247 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
5249 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
5250 Add t-slibgcc-libgcc to tmake_file.
5251 * config/mips/libgcc-mips16.ver: Revert previous patch.
5252 * config/mips/mips16.S (__mips16_rdhwr): Hide.
5254 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
5255 Jayant R Sonar <jayant.sonar@kpitcummins.com>
5257 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
5258 * config/cr16/crti.S: New file.
5259 * config/cr16/crtlibid.S: New file.
5260 * config/cr16/crtn.S: New file.
5261 * config/cr16/lib1funcs.S: New file.
5262 * config/cr16/t-cr16: New file.
5263 * config/cr16/t-crtlibid: New file.
5264 * config/cr16/unwind-dw2.h: New file.
5265 * config/cr16/unwind-cr16.c: New file.
5266 * config/cr16/divmodhi3.c: New file.
5268 2012-01-25 Alan Modra <amodra@gmail.com>
5270 * config/rs6000/t-linux64: Delete. Move..
5271 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
5272 * config/rs6000/t-linux: ..and libgcc flags to here.
5274 2012-01-22 Douglas B Rupp <rupp@gnat.com>
5276 * config.host (i[34567]86-*-interix3*):
5277 Change triplet to i[34567]86-*-interix[3-9]*.
5278 * configure: Regenerate.
5280 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
5281 Richard Sandiford <rdsandiford@googlemail.com>
5283 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
5284 * config/mips/mips16.S (__mips16_rdhwr): New function.
5285 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
5287 2012-01-11 Nathan Sidwell <nathan@acm.org>
5289 * libgcov.c (__gcov_init): Ignore objects with no functions.
5291 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
5294 Extend __pgmx semantics to linearize memory.
5295 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
5296 * config/avr/lib1funcs.S (__xload_1): New function.
5297 (__movmemx_qi, __movmemx_hi): New functions.
5298 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
5301 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
5303 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
5304 purported sigacthandler address isn't null before dereferencing it.
5305 (sparc_is_sighandler): Likewise.
5307 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
5310 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
5311 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
5312 (sparc_is_sighandler): Likewise.
5313 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
5315 2012-01-06 Tristan Gingold <gingold@adacore.com>
5317 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
5318 compatibility thunks...
5319 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
5320 (crtbeginS.o, crtendS.o): ... and these to ...
5321 * config/ia64/t-ia64-elf: ... this new file.
5322 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
5323 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
5325 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5327 * configure: Regenerate.
5328 * config/s390/t-crtstuff: Remove -fPIC.
5330 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5333 * enable-execute-stack-mprotect.c (getpagesize): Do not define
5336 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
5339 * config/avr/lib1funcs.S: Remove FIXME comments.
5340 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
5342 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
5344 Implement light-weight DImode support.
5345 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
5346 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
5347 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
5348 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
5350 2011-12-30 Nathan Sidwell <nathan@acm.org>
5352 * libgcov.c (gcov_crc32): Remove global var.
5353 (free_fn_data): New function.
5354 (buffer_fn_data): Pass in filename, more robust error recovery.
5355 (crc32_unsigned): New function.
5356 (gcov_exit): More robust detection of new program. More robust
5358 (__gcov_init): Do not update program's crc here.
5360 2011-12-21 Tristan Gingold <gingold@adacore.com>
5362 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
5364 2011-12-21 Ian Lance Taylor <iant@google.com>
5366 * config/i386/morestack.S: Simplify CFI opcodes throughout.
5368 2011-12-20 Ian Lance Taylor <iant@google.com>
5370 * config/i386/morestack.S (__morestack_non_split): If there is
5371 enough stack space already, don't split. Ask for more stack space
5374 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
5376 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
5378 (_Unwind_DebugHook): New function.
5379 (uw_restore_core_regs): New define.
5380 (unwind_phase2): Use uw_restore_core_regs instead of
5382 (unwind_phase2_forced): Likewise.
5383 (__gnu_Unwind_Resume): Likewise.
5385 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
5387 * config/alpha/linux-unwind.h: Update copyright years.
5388 (MD_FROB_UPDATE_CONTEXT): New define.
5389 (alpha_frob_update_context): New function.
5391 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
5393 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
5394 tmake_file rather replacing it.
5396 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
5398 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
5399 function is not used for PPC64.
5400 (save_world): Amend comments. Update the VRsave mask to reflect the
5402 (rest_world): Update comments, do not clobber r10, do not use r8.
5403 (eh_rest_world_r10): Amend comments, do not use r8.
5404 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
5405 no longer used, move restore of CR and target address to the end of
5408 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
5410 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
5411 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
5413 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
5416 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
5417 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
5419 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
5421 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
5423 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
5426 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
5427 * config/avr/lib1funcs.S (__muldi3): New function.
5429 2011-12-06 Andrew Pinski <apinski@cavium.com>
5431 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
5433 (__frame_dummy_init_array_entry): Likewise.
5435 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
5437 Forward-port from gcc-4_6-branch r181936 2011-12-02.
5441 * config/avr/lib1funcs.S (__prologue_saves__,
5442 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
5443 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
5445 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
5447 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
5449 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5452 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
5453 (_ITM_deregisterTMCloneTable): Likewise.
5454 (__register_frame_info): Fix unused warning.
5455 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
5456 pthread_default_stacksize_np): Likewise.
5457 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
5459 2011-11-29 DJ Delorie <dj@redhat.com>
5461 * config.host (rl78-*-elf): New case.
5462 * config/rl78: New directory for the Renesas RL78.
5464 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
5466 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
5469 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5472 * config/rs6000/t-savresfgpr: New file.
5473 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
5474 $(srcdir)/config/rs6000/eabi.S.
5475 * config/rs6000/t-ppccomm-ldbl: Remove.
5476 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
5478 (powerpc-*-eabispe*): Likewise.
5479 (powerpc-*-eabi*): Likewise.
5480 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5481 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
5482 to tmake_file, remove rs6000/t-ppccomm-ldbl.
5483 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
5485 (powerpc-*-eabisim*): Likewise.
5486 (powerpc-*-elf*): Likewise.
5487 (powerpc-*-eabialtivec*): Likewise.
5488 (powerpc-xilinx-eabi*): Likewise.
5489 (powerpc-*-rtems*): Likewise.
5490 (powerpcle-*-elf*): Likewise.
5491 (powerpcle-*-eabisim*): Likewise.
5492 (powerpcle-*-eabi*): Likewise.
5494 2011-11-27 Ian Lance Taylor <iant@google.com>
5496 * generic-morestack.c (__splitstack_find): Check for NULL old
5498 (__splitstack_resetcontext): New function.
5499 (__splitstack_releasecontext): New function.
5500 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5502 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
5504 * config/darwin-crt-tm.c: Correct comments, use correct licence.
5506 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
5508 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
5510 2011-11-26 Richard Henderson <rth@redhat.com>
5512 * config/m68k/linux-atomic.c: New file.
5513 * config/m68k/t-linux: New file.
5514 * config.host (m68k-uclinux, m68k-linux): Use it.
5516 2011-11-26 Richard Henderson <rth@redhat.com>
5518 * crtstuff.c (__TMC_LIST__): Mark used not unused.
5519 (__TMC_END__): Only declare if hidden is available; in the definition,
5520 if hidden is unavailable add a null record.
5521 (deregister_tm_clones, register_tm_clones): New.
5522 (__do_global_dtors_aux, frame_dummy): Use them.
5523 (__do_global_dtors, __do_global_ctors_1): Likewise.
5525 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
5527 * config/darwin-crt-tm.c: New file.
5528 * config.host (darwin): Build crttms.o crttme.o to provide
5529 startup and shutdown for tm clones.
5530 * config/t-darwin (crttms.o): New build rule.
5531 (crttme.o): Likewise.
5533 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
5535 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
5538 2011-11-21 Richard Henderson <rth@redhat.com>
5540 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
5541 (__TMC_LIST__, __TMC_END__): New.
5542 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
5543 (__do_global_dtors): Likewise.
5544 (frame_dummy): Call _ITM_registerTMCloneTable.
5545 (__do_global_ctors_1): Likewise.
5547 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5549 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
5550 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5551 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
5552 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
5553 * config/i386/t-darwin64: Remove.
5554 * config/sh/t-netbsd (LIB2ADD): Remove.
5556 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
5559 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
5560 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
5561 * config/avr/lib1funcs.S (wmov): New assembler macro.
5562 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
5563 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
5564 (__udivmod64): New function.
5565 (__negdi2): New function.
5567 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
5569 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
5570 *-*-freebsd*aout*): Remove.
5572 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
5574 * static-object.mk (c_flags-$o): Save c_flags.
5575 ($(base)$(objext)): Use it.
5577 2011-11-18 Steve Ellcey <sje@cup.hp.com>
5579 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
5581 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
5584 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
5585 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
5588 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5590 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
5592 (aeabi_uidivmod): Likewise.
5593 (umodsi3): Likewise.
5595 (aeabi_idivmod): Likewise.
5598 2011-11-16 Tristan Gingold <gingold@adacore.com>
5600 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
5602 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
5605 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
5606 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
5608 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5610 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
5612 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
5613 * config/pa/t-stublib64: Delete.
5615 2011-11-12 Richard Henderson <rth@redhat.com>
5617 * config/rs6000/linux-unwind.h (frob_update_context): Properly
5618 cast the pointer argument to _Unwind_SetGRPtr.
5620 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5622 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
5624 2011-11-09 Ian Lance Taylor <iant@google.com>
5626 * generic-morestack.c: Include <string.h>.
5627 (uintptr_type): Define.
5628 (struct initial_sp): Add dont_block_signals field. Reduce size of
5630 (allocate_segment): Set prev field to NULL. Don't set
5631 __morestack_current_segment or __morestack_segments.
5632 (__generic_morestack): Update current->prev and *pp after calling
5634 (__morestack_block_signals): Don't do anything if
5635 dont_block_signals is set.
5636 (__morestack_unblock_signals): Likewise.
5637 (__generic_findstack): Check for initial_sp == NULL. Add casts to
5639 (__splitstack_block_signals): New function.
5640 (enum __splitstack_content_offsets): Define.
5641 (__splitstack_getcontext, __splitstack_setcontext): New functions.
5642 (__splitstack_makecontext): New function.
5643 (__splitstack_block_signals_context): New function.
5644 (__splitstack_find_context): New function.
5645 * config/i386/morestack.S (__morestack_get_guard): New function.
5646 (__morestack_set_guard, __morestack_make_guard): New functions.
5647 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5649 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5651 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
5652 (i[34567]86-*-mingw*): ... here.
5653 (x86_64-*-mingw*): ... here.
5655 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5657 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
5659 2011-11-07 Nathan Sidwell <nathan@acm.org>
5661 * libgcov.c (struct gcov_fn_buffer): New struct.
5662 (buffer_fn_data): New helper.
5663 (gcov_exit): Rework for new gcov data structures.
5665 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
5668 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
5670 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5672 * config.host (tmake_file): Correct comment.
5673 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
5675 (bfin*-uclinux*): Likewise.
5676 (bfin*-linux-uclibc*): Likewise.
5677 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
5679 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
5681 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5682 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
5683 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5684 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
5685 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5686 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
5687 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
5688 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5689 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
5690 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
5691 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
5692 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
5693 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
5695 * config/bfin/t-elf: Remove.
5696 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
5698 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5700 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
5701 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
5702 (lm32-*-elf*, lm32-*-rtems*): Split into ...
5703 (lm32-*-elf*): ... this.
5704 (lm32-*-rtems*): ... and this.
5706 (m32r-*-rtems*): Add to tmake_file.
5707 (moxie-*-rtems*): Likewise.
5708 (sparc-*-rtems*): Likewise.
5709 Remove t-rtems from tmake_file.
5710 (sparc64-*-rtems*): Likewise.
5711 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
5714 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5717 * config/gthr-posix.h: Move ...
5718 * gthr-posix.h: ... here.
5719 * config/gthr-lynx.h: Reflect this.
5720 * config/gthr-vxworks.h: Likewise.
5721 * config/rs6000/gthr-aix.h: Likewise.
5722 * configure.ac (target_thread_file): Likewise.
5723 * configure: Regenerate.
5725 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
5727 * config.host (arm*-*-rtemseabi*): New target.
5729 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5732 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
5735 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
5737 * config.host (epiphany-*-elf*): New configuration.
5738 * config/epiphany: New Directory.
5740 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
5742 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
5743 * config/avr/t-rtems: New.
5744 Filter out _exit from LIB1ASMFUNCS.
5746 2011-11-04 David S. Miller <davem@davemloft.net>
5748 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
5749 * configure: Rebuild.
5751 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5753 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
5756 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
5759 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
5760 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
5762 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
5765 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
5767 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5769 * config/c6x/t-elf (LIB2ADDEH): Set.
5770 * config/c6x/t-c6x-elf: Remove.
5772 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5774 * config/i386/sol2-ci.S: Rename to ...
5775 * config/i386/crti.S: ... this.
5776 * config/i386/sol2-cn.S: Rename to ...
5777 * config/i386/crtn.S: ... this.
5778 * config/sparc/sol2-ci.S: Rename to ...
5779 * config/sparc/crti.S: ... this.
5780 * config/sparc/sol2-cn.S: Rename to ...
5781 * config/sparc/crtn.S: ... this.
5782 * config/t-sol2 (CUSTOM_CRTIN): Remove.
5783 (crti.o, crtn.o): Remove.
5785 2011-11-04 Tristan Gingold <gingold@adacore.com>
5787 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
5789 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
5791 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
5793 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
5795 * config.host (crisv32-*-none, cris-*-none): Remove.
5796 (crisv32-*-elf): Append to tmake_file, don't just set it.
5797 (cris-*-elf): Add missing t-fdpbit to tmake_file.
5799 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5801 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
5802 (ecrtn$(objext)): Likewise.
5803 (ncrti$(objext)): Likewise.
5804 (ncrtn$(objext)): Likewise.
5806 2011-11-03 Andreas Schwab <schwab@redhat.com>
5808 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
5810 2011-11-02 David S. Miller <davem@davemloft.net>
5812 * configure.ac: Set host_address on sparc too.
5813 * configure: Regenerate.
5814 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
5815 based upon host_address.
5816 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
5818 2011-11-02 Jason Merrill <jason@redhat.com>
5820 * config/rs6000/t-ppccomm: Add missing \.
5822 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5824 * gthr-single.h, gthr.h: New files.
5825 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
5826 config/gthr-vxworks.h, config/i386/gthr-win32.h,
5827 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
5828 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
5829 * config/i386/gthr-win32.c: Include "gthr-win32.h".
5830 * configure.ac (thread_header): New variable.
5831 Set it depending on target_thread_file.
5832 (gthr-default.h): Link from $thread_header.
5833 * configure: Regenerate.
5834 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
5836 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5838 * configure.ac (tm_file_): New variable.
5839 Determine from tm_file.
5840 (tm_file, tm_defines): Substitute.
5841 * configure: Regenerate.
5842 * mkheader.sh: New file.
5843 * Makefile.in (clean): Remove libgcc_tm.h.
5844 ($(objects)): Depend on libgcc_tm.h.
5845 (libgcc_tm_defines, libgcc_tm_file): New variables.
5846 (libgcc_tm.h, libgcc_tm.stamp): New targets.
5847 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
5848 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
5849 ($(extra-parts)): Depend on libgcc_tm.h.
5850 * config.host (tm_defines, tm_file): New variable.
5851 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
5852 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
5853 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
5854 (avr-*-rtems*): Likewise.
5855 (avr-*-*): Likewise.
5856 (frv-*-elf): Likewise.
5857 (frv-*-*linux*): Likewise.
5858 (h8300-*-rtems*): Likewise.
5859 (h8300-*-elf*): Likewise.
5860 (i[34567]86-*-darwin*): Likewise.
5861 (x86_64-*-darwin*): Likewise.
5862 (rx-*-elf): Likewise.
5863 (tic6x-*-uclinux): Likewise.
5864 (tic6x-*-elf): Likewise.
5865 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
5866 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
5867 * config/i386/cygming-crtbegin.c: Likewise.
5868 * config/i386/cygming-crtend.c: Likewise.
5869 * config/ia64/fde-vms.c: Likewise.
5870 * config/ia64/unwind-ia64.c: Likewise.
5871 * config/libbid/bid_gcc_intrinsics.h: Likewise.
5872 * config/rs6000/darwin-fallback.c: Likewise.
5873 * config/stormy16/lib2funcs.c: Likewise.
5874 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
5875 * crtstuff.c: Likewise.
5876 * dfp-bit.h: Likewise.
5877 * emutls.c: Likewise.
5878 * fixed-bit.c: Likewise.
5879 * fp-bit.c: Likewise.
5880 * generic-morestack-thread.c: Likewise.
5881 * generic-morestack.c: Likewise.
5882 * libgcc2.c: Likewise.
5883 * libgcov.c: Likewise.
5884 * unwind-dw2-fde-dip.c: Likewise.
5885 * unwind-dw2-fde.c: Likewise.
5886 * unwind-dw2.c: Likewise.
5887 * unwind-sjlj.c: Likewise.
5889 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5891 * configure.ac: Include ../config/picflag.m4.
5892 (GCC_PICFLAG): Call it.
5894 * configure: Regenerate.
5895 * Makefile.in (gcc_srcdir): Remove.
5896 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
5897 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
5898 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
5899 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
5900 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
5903 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
5904 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
5905 to refer to libgcc2.c.
5907 * config/darwin-64.c: New file.
5908 * config/darwin-crt3.c: Remove comment.
5909 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
5910 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
5911 config/udivmodsi4.c: New files.
5912 * config/memcmp.c, config/memcpy.c, config/memmove.c,
5913 config/memset.c: New files.
5914 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
5915 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
5916 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
5917 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
5918 * config/t-openbsd-thread: New file.
5919 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
5920 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
5921 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
5922 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
5925 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
5926 to refer to gthr-posix.c.
5927 * config/alpha/t-vms (LIB2ADD): Set.
5928 * config/alpha/vms-gcc_shell_handler.c: New file.
5929 * config/arm/bpabi.c, config/arm/fp16.c,
5930 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
5931 config/arm/unaligned-funcs.c: New files.
5932 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
5933 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5934 * config/arm/t-linux: Likewise.
5935 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
5936 * config/arm/t-netbsd: New file.
5937 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
5938 * config/arm/t-symbian (LIB2ADD_ST): Set.
5939 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
5940 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5941 * config/bfin/t-elf: New file.
5942 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
5943 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
5944 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
5945 config/c6x/ltf.c: New files.
5946 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
5947 (HOST_LIBGCC2_CFLAGS): Set.
5948 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
5949 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5950 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
5952 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
5953 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
5954 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
5955 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
5956 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
5958 * config/frv/t-frv (LIB2ADD): Set.
5959 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5960 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
5961 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
5962 config/h8300/popcounthi2.c: New files.
5963 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5964 * config/i386/gthr-win32.c: New file.
5965 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
5966 * config/i386/t-cygwin: Likewise.
5967 * config/i386/t-darwin, config/i386/t-darwin64,
5968 config/i386/t-gthr-win32, config/i386/t-interix: New files.
5969 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
5970 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5971 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5972 * config/ia64/quadlib.c: New file.
5973 * config/ia64/t-hpux (LIB2ADD): Set.
5974 * config/ia64/t-ia64: Add comment.
5975 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
5976 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5977 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
5978 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
5979 * config/m32c/t-m32c (LIB2ADD): Set.
5980 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5981 * config/m32r/t-m32r: Likewise.
5982 * config/m68k/fpgnulib.c: New file.
5983 * config/m68k/t-floatlib (LIB2ADD): Set.
5984 (xfgnulib.c): New target.
5985 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
5986 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
5987 * config/mep/t-mep (LIB2ADD): Set.
5988 * config/microblaze/divsi3.asm: Rename to divsi3.S.
5989 * config/microblaze/moddi3.asm: Rename to moddi3.S.
5990 * config/microblaze/modsi3.asm: Rename to modsi3.S.
5991 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
5992 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
5993 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
5994 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
5995 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
5996 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
5997 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
5999 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6000 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6001 * config/pa/fptr.c, config/pa/lib2funcs.S,
6002 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6003 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6004 (LIB2ADD, LIB2ADD_ST): Set.
6005 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6006 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6008 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6009 * config/pdp11/t-pdp11: New file.
6010 * config/picochip/libgccExtras/adddi3.S,
6011 config/picochip/libgccExtras/ashlsi3.S,
6012 config/picochip/libgccExtras/ashrsi3.S,
6013 config/picochip/libgccExtras/clzsi2.S,
6014 config/picochip/libgccExtras/cmpsi2.S,
6015 config/picochip/libgccExtras/divmod15.S,
6016 config/picochip/libgccExtras/divmodhi4.S,
6017 config/picochip/libgccExtras/divmodsi4.S,
6018 config/picochip/libgccExtras/lshrsi3.S,
6019 config/picochip/libgccExtras/parityhi2.S,
6020 config/picochip/libgccExtras/popcounthi2.S,
6021 config/picochip/libgccExtras/subdi3.S,
6022 config/picochip/libgccExtras/ucmpsi2.S,
6023 config/picochip/libgccExtras/udivmodhi4.S,
6024 config/picochip/libgccExtras/udivmodsi4.S: New files.
6025 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6026 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6027 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6028 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6029 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6030 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6031 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
6032 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6034 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6035 (HOST_LIBGCC2_CFLAGS): Set.
6036 * config/rs6000/t-darwin64: New file.
6037 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6038 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6039 * config/rs6000/t-ppccomm (LIB2ADD): Add
6040 $(srcdir)/config/rs6000/tramp.S.
6041 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6042 Add $(srcdir)/config/rs6000/eabi.S.
6043 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6044 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6045 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6046 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6047 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6048 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6049 * config/rs6000/tramp.S: New file.
6050 * config/s390/t-tpf: Remove.
6051 * config/sh/linux-atomic.S: New file.
6052 * config/sh/t-linux (LIB2ADD): Set.
6053 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
6054 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6055 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
6057 (HOST_LIBGCC2_CFLAGS): Set.
6058 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6059 * config/spu/divmodti4.c, config/spu/divv2df3.c,
6060 config/spu/float_disf.c, config/spu/float_unsdidf.c,
6061 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
6062 config/spu/mfc_multi_tag_release.c,
6063 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
6064 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
6065 config/spu/multi3.c: New files.
6066 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6067 (HOST_LIBGCC2_CFLAGS): Set.
6068 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6069 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6070 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6071 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
6072 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
6073 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
6074 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
6075 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
6076 config/stormy16/umodsi3.c: New files.
6077 * config/xtensa/lib2funcs.S: New file.
6078 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6079 * config/xtensa/t-xtensa (LIB2ADD): Set.
6080 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
6081 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
6082 Add t-freebsd-thread to tmake_file for posix threads.
6083 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
6084 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
6085 (*-*-lynxos*): Likewise.
6086 (*-*-netbsd*): Likewise.
6087 (*-*-openbsd*): Likewise.
6088 Add t-openbsd-thread to tmake_file for posix threads.
6089 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
6090 (*-*-vxworks*): Set tmake_file.
6091 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6092 (alpha*-*-freebsd*): Likewise.
6093 (alpha*-*-netbsd*): Likewise.
6094 (alpha*-*-openbsd*): Likewise.
6095 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
6096 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6097 (alpha*-dec-*vms*): Likewise.
6098 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
6099 (bfin*-elf*): Add bfin/t-elf to tmake_file.
6100 (bfin*-uclinux*): Likewise.
6101 (bfin*-linux-uclibc*): Likewise.
6102 (crisv32-*-elf): Add cris/t-cris to tmake_file.
6103 (crisv32-*-none): Likewise.
6104 (cris-*-elf): Likewise.
6105 (cris-*-none): Likewise.
6106 (cris-*-linux*, crisv32-*-linux*): Likewise.
6107 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
6109 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
6111 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
6112 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
6113 (x86_64-*-elf*): Likewise.
6114 (i[34567]86-*-nto-qnx*): Likewise.
6115 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
6117 (x86_64-*-mingw*): Likewise.
6118 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
6119 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
6120 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6121 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6122 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
6124 (mipsisa64sr71k-*-elf*): Likewise.
6125 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6126 (mips-*-elf*, mipsel-*-elf*): Likewise.
6127 (mips64-*-elf*, mips64el-*-elf*): Likewise.
6128 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6129 (mips*-*-rtems*): Likewise.
6130 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
6132 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
6133 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
6134 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
6135 (spu-*-elf*): Likewise.
6136 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
6138 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6140 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
6141 $(srcdir) to refer to $(LIB1ASMSRC).
6143 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
6144 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
6145 config/arm/lib1funcs.S: New files.
6146 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
6147 * config/arm/t-arm: New file.
6148 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
6149 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
6150 config/arm/t-strongarm-elf: New files.
6151 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
6152 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
6153 * config/avr/lib1funcs.S: New file.
6154 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6155 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
6156 * config/c6x/lib1funcs.S: New file.
6157 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6158 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
6159 * config/frv/lib1funcs.S: New file.
6160 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6161 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
6162 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
6163 * config/ia64/__divxf3.asm: Rename to ...
6164 * config/ia64/__divxf3.S: ... this.
6165 Adapt lib1funcs.asm filename.
6166 * config/ia64/_fixtfdi.asm: Rename to ...
6167 * config/ia64/_fixtfdi.S: ... this.
6168 Adapt lib1funcs.asm filename.
6169 * config/ia64/_fixunstfdi.asm: Rename to ...
6170 * config/ia64/_fixunstfdi.S: ... this.
6171 Adapt lib1funcs.asm filename.
6172 * config/ia64/_floatditf.asm: Rename to ...
6173 * config/ia64/_floatditf.S: ... this.
6174 Adapt lib1funcs.asm filename.
6175 * config/ia64/lib1funcs.S: New file.
6176 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
6177 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6178 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
6179 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
6180 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
6181 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
6182 * config/mep/lib1funcs.S: New file.
6183 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6184 * config/mips/mips16.S: New file.
6185 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6186 * config/pa/milli64.S: New file.
6187 * config/pa/t-linux, config/pa/t-linux64: New files.
6188 * config/picochip/lib1funcs.S: New file.
6189 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6190 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
6191 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
6192 * config/sh/t-netbsd: New file.
6193 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
6194 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
6195 * config/sh/t-sh64: New file.
6196 * config/sparc/lb1spc.S: New file.
6197 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
6199 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
6200 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
6201 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
6202 config/xtensa/lib1funcs.S: New files.
6203 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6204 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
6206 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
6207 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
6208 (arm*-*-linux*): Likewise.
6209 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
6210 arm*-*-linux-*eabi, add arm/t-linux otherwise.
6211 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
6212 (arm*-*-ecos-elf): Likewise.
6213 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6214 (arm*-*-rtems*): Likewise.
6215 (arm*-*-elf): Likewise.
6216 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
6217 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
6218 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
6219 (bfin*-uclinux*): Likewise.
6220 (bfin*-linux-uclibc*): Likewise.
6221 (bfin*-rtems*): Likewise.
6222 (bfin*-*): Likewise.
6223 (fido-*-elf): Merge into m68k-*-elf*.
6224 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
6225 (frv-*-*linux*): Add frv/t-frv to tmake_file.
6226 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
6227 (h8300-*-elf*): Likewise.
6228 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
6229 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
6230 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
6231 (i[34567]86-*-mingw*): Likewise.
6232 (x86_64-*-mingw*): Likewise.
6233 (i[34567]86-*-interix3*): Likewise.
6234 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
6235 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
6236 (m68k-*-elf*): Also handle fido-*-elf.
6237 Add m68k/t-floatlib to tmake_file.
6238 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
6239 (m68k-*-linux*): Likewise.
6240 (m68k-*-rtems*): Likewise.
6241 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
6242 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
6244 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
6245 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
6246 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
6247 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
6248 sh/t-netbsd to tmake_file.
6249 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
6250 (sh-*-rtems*): Add sh/t-sh to tmake_file.
6251 (sh-wrs-vxworks): Likewise.
6252 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
6254 (v850*-*-*): Add v850/t-v850 to tmake_file.
6255 (vax-*-linux*): Add vax/t-linux to tmake_file.
6256 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
6258 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6260 * crtstuff.c: New file.
6261 * Makefile.in (CRTSTUFF_CFLAGS): Define.
6262 (CRTSTUFF_T_CFLAGS): Define.
6263 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
6264 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
6265 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
6268 (crtbeginT.o): Use $(objext).
6269 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
6270 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
6271 (gcc-extra-parts): Remove.
6272 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
6274 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6275 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
6276 Add t-crtstuff-pic to tmake_file.
6277 (*-*-lynxos*): New case.
6278 Set tmake_file, extra_parts.
6279 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
6280 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
6281 *-*-netbsdelf[2-9]*.
6282 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
6283 (*-*-rtems*): Set extra_parts.
6284 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
6285 (*-*-uclinux*): New case.
6287 (*-*-vms*): New case.
6288 Set tmake_file, extra_parts.
6289 (*-*-elf): Set extra_parts.
6290 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
6291 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
6294 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
6296 (arm*-*-freebsd*): Add t-crtin to tmake_file.
6297 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
6298 (arm-wrs-vxworks): Append to tmake_file.
6300 (arm*-*-uclinux*): Set extra_parts.
6301 (arm*-*-ecos-elf): Likewise.
6302 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
6304 (arm*-*-rtems*): Set extra_parts.
6305 (arm*-*-elf): Likewise.
6306 (avr-*-rtems*): Clear extra_parts.
6307 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
6309 (bfin*-uclinux*): Likewise.
6310 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
6311 (bfin*-rtems*): Append to tmake_file.
6313 (bfin*-*): Likewise.
6314 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
6315 (crisv32-*-elf): ... this.
6316 (crisv32-*-none): ... this.
6317 (cris-*-elf, cris-*-none): New cases.
6318 Add cris/t-elfmulti to tmake_file.
6319 (fr30-*-elf): Append to tmake_file.
6321 (frv-*-elf): Append to tmake_file, add frv/t-frv.
6323 (h8300-*-rtems*): Append to tmake_file.
6325 (h8300-*-elf*): Likewise.
6326 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
6328 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
6330 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
6331 (x86_64-*-elf*): Likewise.
6332 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
6333 (x86_64-*-freebsd*): Likewise.
6334 (x86_64-*-netbsd*): Likewise.
6335 (i[34567]86-*-linux*): Likewise.
6336 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6337 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6338 (x86_64-*-linux*): Likewise.
6339 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6340 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
6343 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
6344 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
6345 Append to extra_parts, remove crtbegin.o, crtend.o.
6346 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
6347 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
6348 crtend.o, crtbeginS.o, crtendS.o.
6349 (ia64*-*-linux*): Comment extra_parts.
6350 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
6352 (iq2000*-*-elf*): Clear extra_parts.
6353 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
6354 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
6355 (m32r-*-elf*, m32r-*-rtems*): Split off ...
6356 (m32r-*-rtems*): ... this.
6357 Add m32r/t-m32r to tmake_file.
6358 (m68k-*-elf*): Add t-crtin to tmake_file.
6359 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
6360 (mcore-*-elf): Likewise.
6361 (microblaze*-*-*): Set extra_parts.
6362 (mips*-sde-elf*): New case.
6363 Set tmake_file, extra_parts.
6364 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6365 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6366 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
6369 (mipsisa64sr71k-*-elf*): Likewise.
6370 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6371 (mips-*-elf*, mipsel-*-elf*): Likewise.
6372 (mips64-*-elf*, mips64el-*-elf*): Likewise.
6373 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
6374 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6375 (mips*-*-rtems*): Likewise.
6376 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
6377 (moxie-*-*): Split into ...
6378 (moxie-*-elf, moxie-*-uclinux*): ... this.
6379 Add to extra_parts, remove crtbegin.o, crtend.o.
6380 (moxie-*-rtems*): New case.
6383 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
6385 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6386 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
6389 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
6390 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
6392 (powerpc-*-eabisim*): Likewise.
6393 (powerpc-*-elf*): Likewise.
6394 (powerpc-*-eabialtivec*): Likewise.
6395 (powerpc-xilinx-eabi*): Likewise.
6396 (powerpc-*-eabi*): Likewise.
6397 (powerpc-*-rtems*): Likewise.
6398 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
6401 (powerpc-*-lynxos*): Add to tmake_file.
6402 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
6403 rs6000/t-crtstuff, t-crtstuff-pic.
6405 (powerpcle-*-eabisim*): Likewise.
6406 (powerpcle-*-eabi*): Likewise.
6407 (rx-*-elf): Remove extra_parts.
6408 (s390x-ibm-tpf*): Set extra_parts.
6409 (score-*-elf): Set extra_parts.
6410 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6411 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6412 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6413 (sh64l*-*-netbsd*): Split into ...
6414 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
6415 Add t-crtstuff-pic to tmake_file.
6417 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
6419 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
6420 (sparc-*-elf*): Remove t-crtin from tmake_file.
6421 Add to extra_parts, remove crtbegin.o, crtend.o.
6422 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
6423 (sparc64-*-linux*): Likewise.
6424 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
6425 Add to extra_parts, remove crtbegin.o, crtend.o.
6426 (sparc64-*-elf*): Remove t-crtin from tmake_file.
6427 Add to extra_parts, remove crtbegin.o, crtend.o.
6428 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
6429 Add to extra_parts, remove crtbegin.o, crtend.o.
6430 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
6431 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
6432 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
6434 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
6436 (tic6x-*-*): Change to ...
6437 (tic6x-*-elf): ... this.
6439 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
6441 (am33_2.0-*-linux*): Add comment.
6442 (mep*-*-*): Add mep/t-mep to tmake_file.
6444 * config/alpha/t-vms: New file.
6445 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
6446 * config/arm/crti.S, config/arm/crtn.S: New files.
6447 * config/bfin/crti.S, config/bfin/crtn.S: New files.
6448 * config/bfin/crtlibid.S: New file.
6449 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
6450 * config/c6x/crti.S, config/c6x/crtn.S: New files.
6451 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
6452 (crti.o, crtin.o): New rules.
6453 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6454 * config/c6x/t-uclinux: New file.
6455 * config/cris/t-elfmulti: New file.
6456 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
6457 * config/fr30/crti.S, config/fr30/crtn.S: New files.
6458 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
6459 * config/frv/t-frv: New file.
6460 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
6461 * config/h8300/crti.S, config/h8300/crtn.S: New files.
6462 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
6464 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
6465 refer to cygming-crtbegin.c, cygming-crtend.c.
6467 * config/i386/t-nto: New file.
6468 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
6469 * config/ia64/crti.S, config/ia64/crtn.S: New files.
6470 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
6471 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
6474 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6475 (crtinitS.o): New rule.
6476 * config/ia64/vms-crtinit.S: New file.
6477 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
6478 * config/m32r/initfini.c: New file.
6479 * config/m32r/t-linux, config/m32r/t-m32r: New files.
6480 * config/m68k/crti.S, config/m68k/crtn.S: New files.
6481 * config/mcore/crti.S, config/mcore/crtn.S: New files.
6482 * config/mep/t-mep: New file.
6483 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
6484 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
6485 * config/mips/crti.S, config/mips/crtn.S: New files.
6486 * config/mips/t-crtstuff: New file.
6487 * config/mmix/crti.S, config/mmix/crtn.S: New files.
6488 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
6489 (CUSTOM_CRTIN): Set.
6490 ($(T)crti.o, $(T)crtn.o): Remove $(T),
6492 Use $(srcdir) to refer to crti.S, crtn.S.
6493 Use .S extension, $<.
6494 * config/moxie/crti.asm: Rename to ...
6495 * config/moxie/crti.S: ... this.
6496 * config/moxie/crtn.asm: Rename to ...
6497 * config/moxie/crtn.S: ... this.
6498 * config/moxie/t-moxie: Remove.
6499 * config/pa/stublib.c: New file.
6500 * config/pa/t-stublib, config/pa/t-stublib64: New files.
6501 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
6502 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
6503 * config/rs6000/t-crtstuff: New file.
6504 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
6505 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
6506 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
6507 Make output file explicit.
6508 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
6509 Make output file explicit.
6510 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
6511 Make output file explicit.
6512 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
6513 Make output file explicit.
6514 * config/score/crti.S, config/score/crtn.S: New files.
6515 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
6516 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
6518 * config/sh/t-sh, config/sh/t-superh: New files.
6519 * config/sparc/t-linux64: New file.
6520 * config/spu/cache.S, config/spu/cachemgr.c: New files.
6521 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
6522 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
6523 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
6524 * config/t-crtin: Remove.
6525 * config/t-crtstuff-pic: New file.
6526 * config/t-sol2 (CUSTOM_CRTIN): Set.
6527 (crti.o, crtn.o): New rules.
6528 * config/vms/t-vms: New file.
6529 * config/vms/vms-ucrt0.c: New file.
6530 * config/xtensa/t-elf: New file.
6532 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6534 * Makefile.in (SHLIB_NM_FLAGS): Set.
6535 * mkmap-flat.awk, mkmap-symver.awk: New files.
6536 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
6538 * configure: Regenerate.
6539 * config/libgcc-glibc.ver: New file.
6540 * config/libgcc-libsystem.ver: New file.
6541 * config/t-libunwind (SHLIB_LC): Set.
6542 * config/t-linux: New file.
6543 * config/t-slibgcc (INSTALL_SHLIB): New.
6544 (SHLIB_INSTALL): Use it.
6545 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
6546 to mkmap-symver.awk.
6547 (SHLIB_MAPFILES): Don't append, adapt pathname.
6548 (SHLIB_VERPFX): Set.
6549 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
6550 to mkmap-symver.awk.
6551 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
6552 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
6553 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
6554 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
6556 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
6557 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
6558 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
6559 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
6560 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
6561 * config/i386/libgcc-darwin.10.4.ver,
6562 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
6564 * config/i386/t-darwin: Remove.
6565 * config/i386/t-darwin64: Likewise.
6566 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
6567 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
6568 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
6569 * config/i386/t-linux: New file.
6570 * config/i386/t-mingw32: New file.
6571 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
6572 * config/ia64/t-glibc: Rename to ...
6573 * config/ia64/t-linux: ... this.
6574 (SHLIB_MAPFILES): Set.
6575 * config/ia64/t-glibc-libunwind: Rename to ...
6576 * config/ia64/t-linux-libunwind: ... this.
6577 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
6578 * config/ia64/t-slibgcc-hpux: New file.
6579 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
6580 * config/m68k/t-slibgcc-elf-ver: New file.
6581 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
6582 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
6584 * config/pa/t-slibgcc-hpux: New file.
6585 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
6587 * config/rs6000/libgcc-darwin.10.4.ver,
6588 config/rs6000/libgcc-darwin.10.5.ver: New files.
6589 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
6590 config/rs6000/libgcc-glibc.ver.
6591 * config/rs6000/libgcc-ppc64.ver: Rename to
6592 config/rs6000/libgcc-ibm-ldouble.ver.
6593 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
6594 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
6595 * config/rs6000/t-ldbl128: Rename to ...
6596 * config/rs6000/t-linux: ... this.
6597 (SHLIB_MAPFILES): Adapt filename.
6598 * config/rs6000/t-slibgcc-aix: New file.
6599 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
6600 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
6601 libgcc-excl.ver, libgcc-glibc.ver.
6602 (SHLIB_LINK, SHLIB_INSTALL): Remove.
6603 * config/sparc/libgcc-glibc.ver: New file.
6604 * config/sparc/t-linux: New file.
6605 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
6606 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
6607 t-slibgcc-elf-ver to tmake_file.
6608 Add t-slibgcc-nolc-override to tmake_file for posix threads on
6610 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6611 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
6612 t-slibgcc-elf-ver, t-linux to tmake_file.
6613 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
6615 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
6616 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
6617 (alpha*-dec-*vms*): Likewise.
6618 (arm*-*-freebsd*): Append to tmake_file.
6619 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
6620 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
6622 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
6623 tmake_file for arm*-*-symbianelf*.
6624 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
6625 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
6627 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
6628 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
6629 pa/t-slibgcc-dwarf-ver to tmake_file.
6630 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
6631 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
6632 (hppa*64*-*-hpux11*): Likewise.
6633 (hppa[12]*-*-hpux11*): Likewise.
6634 (x86_64-*-darwin*): Don't override tmake_file, but only keep
6635 i386/t-crtpc, i386/t-crtfm.
6636 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
6637 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6639 Add i386/t-cygwin to tmake_file.
6640 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
6641 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
6642 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6644 Add i386/t-mingw32 to tmake_file.
6645 (x86_64-*-mingw*): Likewise.
6646 (ia64*-*-freebsd*): Append to tmake_file.
6647 (ia64*-*-linux*): Append to tmake_file.
6648 Replace ia64/t-glibc by ia64/t-linux.
6649 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
6651 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
6652 t-slibgcc-hpux to tmake_file.
6653 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
6654 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
6655 (m32rle-*-linux*): Likewise.
6656 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
6658 (microblaze*-linux*): New case.
6659 Append to tmake_file, add t-slibgcc-nolc-override.
6660 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
6661 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6662 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
6663 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6664 rs6000/t-slibgcc-aix to tmake_file.
6665 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6666 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6667 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6668 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6669 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6670 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
6672 (sparc-*-linux*): Append to tmake_file for *-leon*.
6673 Add sparc/t-linux to tmake_file for non-Leon targets.
6674 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
6675 (tic6x-*-uclinux): New case.
6676 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
6677 (tic6x-*-*): Add c6x/t-elf to tmake_file.
6678 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
6679 (am33_2.0-*-linux*): Append to tmake_file.
6680 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6681 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
6682 x86_64-*-kfreebsd*-gnu.
6683 Add i386/t-linux to tmake_file.
6685 2011-10-28 Ian Lance Taylor <iant@google.com>
6687 * config/i386/morestack.S: Correct CFI information to do proper
6688 returns throughout function. In 32-bit mode, save %ebx so that it
6689 is restored on unwind.
6691 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
6693 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
6694 case where B3 isn't the return register.
6696 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
6697 logic for doubleword pops.
6699 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
6701 * config/rs6000/t-freebsd: Add wildcard.
6703 2011-10-21 Paul Brook <paul@codesourcery.com>
6705 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
6707 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
6708 Eric Botcazou <ebotcazou@adacore.com>
6711 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
6712 fs->signal_frame to 1.
6714 2011-10-07 Ian Lance Taylor <iant@google.com>
6716 * generic-morestack-thread.c: #include <errno.h>.
6718 2011-10-07 Ian Lance Taylor <iant@google.com>
6721 * generic-morestack.c (__generic_morestack): Make sure the segment
6722 is large enough for both the stack frame and the copied
6725 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6728 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
6731 2011-09-28 Nick Clifton <nickc@redhat.com>
6733 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
6734 64-bit doubles are not enabled.
6735 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
6736 and floatunsisf functions.
6738 2011-09-13 Paul Brook <paul@codesourcery.com>
6740 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
6741 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
6742 * unwind-arm-common.inc: New file.
6743 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
6744 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
6745 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
6746 * config/c6x/libunwind.S: New file.
6747 * config/c6x/pr-support.c: New file.
6748 * config/c6x/unwind-c6x.c: New file.
6749 * config/c6x/unwind-c6x.h: New file.
6750 * config/c6x/t-c6x-elf: New file.
6752 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
6754 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
6755 (ASM_DIVZERO): Ditto.
6756 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
6758 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
6760 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
6762 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
6765 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
6766 instead of an assembly one.
6768 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
6771 * Makefile.in (install-unwind_h): Create
6772 $(gcc_objdir)/include/unwind.h atomically.
6774 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6776 * Makefile.in (install-unwind_h): Remove destination file first.
6778 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6781 * config/mips/t-mips16: New file.
6782 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
6783 (mips*-*-linux*): Likewise.
6784 (mips*-sde-elf*): Likewise.
6785 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
6786 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
6787 Add mips/t-mips16 to tmake_file.
6788 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
6789 (mips-*-elf*): Likewise.
6790 (mips64-*-elf*): Likewise.
6791 (mips64orion-*-elf*): Likewise.
6792 (mips*-*-rtems*): Likewise.
6793 (mipstx39-*-elf*): Likewise.
6794 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
6795 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
6797 Use $(srcdir) to refer to sync.c.
6799 ($(libgcc-sync-funcs-o)): Likewise.
6800 ($(libgcc-sync-size-funcs-s-o)): Likewise.
6801 ($(libgcc-sync-funcs-s-o)): Likewise.
6803 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
6805 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
6808 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
6811 * config/i386/value-unwind.h: New.
6813 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
6815 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
6816 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
6817 Add to tmake_file rather than overriding it.
6819 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6821 * config/t-softfp: Remove.
6822 * soft-fp: Moved from ../gcc/config.
6823 * soft-fp/README: Remove t-softfp reference.
6824 * soft-fp/t-softfp: Move to config/t-softfp.
6825 (softfp_machine_header): Remove.
6826 (softfp_file_list): Remove config subdir.
6827 (soft-fp-objects): New variable.
6828 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
6829 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
6830 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
6831 * config/t-softfp-excl: New file.
6832 * config/t-softfp-sfdf: New file.
6833 * config/t-softfp-tf: New file.
6834 * config/no-sfp-machine.h: New file.
6835 * config/arm/sfp-machine.h: New file.
6836 * config/arm/t-softfp: New file.
6837 * config/c6x/sfp-machine.h: New file.
6838 * config/i386/32/t-fprules-softfp: Rename to ...
6839 * config/i386/32/t-softfp: ... this.
6840 (tifunctions, LIB2ADD): Remove.
6841 (softfp_int_modes): Override.
6842 * config/i386/64/t-softfp-compat (tf-functions): Remove config
6844 * config/i386/64/eqtf2.c: Likewise.
6845 * config/i386/64/getf2.c: Likewise.
6846 * config/i386/64/letf2.c: Likewise.
6847 * config/ia64/sft-machine.h: New file.
6848 * config/ia64/t-fprules-softfp: Rename to ...
6849 * config/ia64/t-softfp: ... this.
6850 * config/lm32/sfp-machine.h: New file.
6851 * config/moxie/t-moxie-softfp: Remove.
6852 * config/rs6000/ibm-ldouble-format: New file.
6853 * config/rs6000/ibm-ldouble.c: New file.
6854 * config/rs6000/libgcc-ppc-glibc.ver: New file
6855 * config/rs6000/libgcc-ppc64.ver: New file
6856 * config/rs6000/sfp-machine.h: New file.
6857 * config/rs6000/t-freebsd: New file.
6858 * config/rs6000/t-ibm-ldouble: New file.
6859 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
6860 libgcc-ppc-glibc.ver.
6861 * config/rs6000/t-linux64: New file.
6862 * config/rs6000/t-ppccomm (LIB2ADD): Add
6863 $(srcdir)/config/rs6000/ibm-ldouble.c.
6864 * config/rs6000/t-ppccomm-ldbl: New file.
6865 * config/score/sfp-machine.h: New file.
6866 * config.host (sfp_machine_header): Explain.
6867 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
6868 t-softfp to tmake_file.
6869 (arm*-*-uclinux*): Likewise.
6870 (arm*-*-ecos-elf): Likewise.
6871 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6872 (arm*-*-rtems*): Likewise.
6873 (arm*-*-elf): Likewise.
6874 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
6876 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
6877 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
6878 (lm32-*-uclinux*): Likewise.
6879 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
6880 t-softfp-excl, t-softfp.
6881 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
6882 (powerpc64-*-darwin*): Likewise.
6883 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
6885 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
6887 (powerpc-*-eabisim*): Likewise.
6888 (powerpc-*-elf*): Likewise.
6889 (powerpc-*-eabialtivec*): Likewise.
6890 (powerpc-xilinx-eabi*): Likewise.
6891 (powerpc-*-rtems*): Likewise.
6892 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
6893 t-softfp-excl, t-softfp to tmake_file.
6894 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
6895 rs6000/t-ppccomm-ldbl to tmake_file.
6896 (powerpcle-*-elf*): Likewise.
6897 (powerpcle-*-eabisim*): Likewise.
6898 (powerpcle-*-eabi*): Likewise.
6899 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6900 rs6000/t-ibm-ldouble to tmake_file.
6901 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6902 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6903 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
6904 (tic6x-*-*): Likewise.
6905 (i[34567]86-*-darwin*, x86_64-*-darwin*,
6906 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
6907 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
6908 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
6909 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
6910 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
6911 t-softfp to tmake_file.
6912 * configure.ac (sfp_machine_header): Provide default if unset.
6914 Link sfp-machine.h to config/$sfp_machine_header.
6915 * configure: Regenerate.
6917 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6919 * Makefile.in (double_type_size, long_double_type_size): Set.
6920 Remove $(fpbit-in-libgcc) support.
6921 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
6922 (fpbit-src): New variable.
6923 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
6924 Compile with -DFLOAT $(FPBIT_CFLAGS).
6926 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
6927 Compile with $(FPBIT_CFLAGS).
6929 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
6930 Compile with -DFLOAT $(TPBIT_CFLAGS).
6932 * configure.ac (double_type_size, long_double_type_size):
6933 Determine and substitute.
6934 * configure: Regenerate.
6935 * fp-bit.c, fp-bit.h: New files.
6936 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
6937 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
6938 * config/mips/t-mips: New file.
6939 * config/mips/t-sdemtk: New file.
6940 * config/rs6000/ppc64-fp.c: New file.
6941 * config/rs6000/t-darwin (LIB2ADD): Add
6942 $(srcdir)/config/rs6000/ppc64-fp.c.
6943 * config/rs6000/t-ppc64-fp: New file.
6944 * config/rx/rx-lib.h: New file.
6945 * config/rx/t-rx (FPBIT): Set to true.
6946 ($(gcc_objdir)/fp-bit.c): Remove.
6947 (DPBIT): Set to true only with -m64bit-doubles.
6948 ($(gcc_objdir)/dp-bit.c): Remove.
6949 * config/sparc/t-softfp: Remove.
6950 * config/spu/t-elf: New file.
6951 * config/t-fdpbit, config/t-fpbit: New files.
6952 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
6953 (mips*-*-*): Likewise.
6954 (arm-wrs-vxworks): Likewise.
6955 (arm*-*-freebsd*): Likewise.
6956 (avr-*-rtems*): Add t-fpbit to tmake_file.
6957 (avr-*-*): Likewise.
6958 (bfin*-elf*): Add t-fdpbit to tmake_file.
6959 (bfin*-uclinux*): Likewise.
6960 (bfin*-linux-uclibc*): Likewise.
6961 (bfin*-rtems*): New case.
6962 Add t-fdpbit to tmake_file.
6963 (bfin*-*): Add t-fdpbit to tmake_file.
6964 (crisv32-*-elf): Likewise.
6965 (cris-*-linux*): Likewise.
6966 (fr30-*-elf): Likewise.
6967 (frv-*-elf, frv-*-*linux*): Likewise.
6968 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
6969 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
6970 (m32r-*-elf*): Likewise.
6971 (m32rle-*-elf*): Likewise.
6972 (m32r-*-linux*): Likewise.
6973 (m32rle-*-linux*): Likewise.
6974 (mcore-*-elf): Add t-fdpbit to tmake_file.
6975 (microblaze*-*-*): Likewise.
6976 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
6977 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
6978 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
6980 Add mips/t-tpbit to tmake-file.
6981 (mips*-*-linux*): Fix typo.
6982 (mips*-sde-elf*): New case
6983 Add mips/t-sdemtk unless using newlib.
6984 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
6985 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
6986 (mn10300-*-*): Likewise.
6987 (pdp11-*-*): Likewise.
6988 (picochip-*-*): Add t-fpbit to tmake_file.
6989 (powerpc-*-eabisimaltivec*): Likewise.
6990 (powerpc-*-eabisim*): Likewise.
6991 (powerpc-*-elf*): Likewise.
6992 (powerpc-*-eabialtivec*): Likewise.
6993 (powerpc-xilinx-eabi*): New case.
6994 Add t-fdpbit to tmake_file.
6995 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
6996 (powerpc-*-rtems*): Likewise.
6997 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
6999 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7001 (powerpc-*-lynxos*): Likewise.
7002 (powerpcle-*-elf*): Likewise.
7003 (powerpcle-*-eabisim*): Likewise.
7004 (powerpcle-*-eabi*): Likewise.
7005 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7006 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7007 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7008 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7009 (rx-*-elf): Add t-fdpbit to tmake_file.
7010 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7011 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7012 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7013 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7015 (sh-*-rtems*): Add t-fdpbit to tmake_file.
7016 (sh-wrs-vxworks): Likewise.
7017 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7018 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7019 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7020 (sparc64-*-rtems*): ... new case.
7021 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7022 (spu-*-elf*): Likewise.
7023 Add spu/t-elf to tmake_file.
7024 (v850*-*-*): Add t-fdpbit to tmake_file.
7025 (xstormy16-*-elf): Likewise.
7026 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7027 (mep*-*-*): Likewise.
7029 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7031 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7033 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7034 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7035 (install-unwind_h): New target.
7036 (all): Depend on it.
7037 * config.host (unwind_header): New variable.
7038 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7039 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7040 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7041 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7042 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7044 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7046 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7048 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7050 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7051 (ia64*-*-freebsd*): Likewise.
7052 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
7054 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
7055 $with_system_libunwind.
7056 (ia64*-*-hpux*): Set tmake_file.
7057 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
7058 (picochip-*-*): Set tmake_file.
7059 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
7061 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7062 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7063 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
7064 (xtensa*-*-elf*): Set tmake_file.
7065 (xtensa*-*-linux*): Likewise.
7066 * configure.ac: Include ../config/unwind_ipinfo.m4.
7067 Call GCC_CHECK_UNWIND_GETIPINFO.
7068 Link unwind.h to $unwind_header.
7069 * configure: Regenerate.
7070 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7071 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
7072 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
7073 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
7074 * config/unwind-dw2-fde-darwin.c: New file.
7075 * config/arm/libunwind.S, config/arm/pr-support.c,
7076 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
7077 config/arm/unwind-arm.h,: New files.
7078 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
7079 config/ia64/t-eh-ia64, config/ia64/t-glibc,
7080 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
7081 config/ia64/t-vms, config/ia64/unwind-ia64.c,
7082 config/ia64/unwind-ia64.h: New files.
7083 * config/picochip/t-picochip: New file.
7084 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
7086 * config/rs6000/t-darwin (LIB2ADDEH): Set.
7087 * config/s390/t-tpf (LIB2ADDEH): Remove.
7088 * config/t-darwin (LIB2ADDEH): Set.
7089 * config/t-eh-dw2-dip: New file.
7090 * config/t-libunwind, config/t-libunwind-elf: New files.
7091 * config/t-sol2 (LIB2ADDEH): Remove.
7092 * config/xtensa/t-xtensa: New file.
7094 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
7096 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
7097 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
7098 long long to check rt_sigreturn syscall.
7100 2011-08-02 Alan Modra <amodra@gmail.com>
7102 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7103 Restore for indirect call bcrtl from correct stack slot, and only
7104 if cfa+40 isn't valid.
7106 2011-08-01 Julian Brown <julian@codesourcery.com>
7108 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
7109 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
7110 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
7112 2011-08-01 Julian Brown <julian@codesourcery.com>
7114 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
7115 (libgcc-std.ver.in): Use above.
7116 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
7117 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
7119 * config/t-fixedpoint-gnu-prefix: New file.
7120 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
7121 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
7124 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
7126 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
7127 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
7128 for x86-64. Properly check __x86_64__ and __LP64__.
7130 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
7132 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
7134 (_FP_WS_TYPE): Likewise.
7135 (_FP_I_TYPE): Likewise.
7137 2011-07-28 Alan Modra <amodra@gmail.com>
7139 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7140 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
7141 in a plt call stub. Do restore r2 if stopped on bctrl.
7143 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7145 * config.host (i[3456x]86-*-netware*): Remove.
7146 * config/i386/netware-crt0.c, config/i386/t-nwld,
7147 config/i386/t-slibgcc-nwld: Remove.
7149 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
7151 * config.host: Handle tic6x-*-*.
7152 * config/c6x/c6x-abi.h: New file.
7154 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7156 * config/i386/crtprec.c: New file.
7157 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
7158 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
7159 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
7160 (x86_64-*-darwin*): Likewise.
7161 (i[34567]86-*-solaris2*: Likewise.
7163 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7165 * config/alpha/crtfastmath.c: New file.
7166 * config/i386/crtfastmath.c: New file.
7167 * config/ia64/crtfastmath.c: New file.
7168 * config/mips/crtfastmath.c: New file.
7169 * config/sparc/crtfastmath.c: New file.
7171 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
7173 Add -frandom-seed=gcc-crtfastmath.
7174 * config/alpha/t-crtfm: Remove.
7175 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
7176 * config/ia64/t-ia64 (crtfastmath.o): Remove.
7178 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
7179 (alpha*-dec-osf5.1*): Likewise.
7180 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
7181 Add crtfastmath.o to extra_parts.
7182 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
7183 Add crtfastmath.o to extra_parts.
7184 (x86_64-*-darwin*): Likewise.
7185 (x86_64-*-mingw*): Likewise.
7186 (ia64*-*-elf*): Add t-crtfm to tmake_file.
7187 (ia64*-*-freebsd*): Likewise.
7188 (ia64*-*-linux*): Likewise.
7189 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
7190 Add crtfastmath.o to extra_parts.
7192 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7194 * config/darwin-crt3.o: New file.
7195 * config/rs6000/darwin-crt2.c: New file.
7196 * config/t-darwin: New file.
7197 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
7199 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
7200 (powerpc-*-darwin*): Add crt2.o to extra_parts.
7201 (powerpc64-*-darwin*): Likewise.
7203 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7205 * config/i386/netware-crt0.c: New file.
7206 * config/i386/t-nwld: Rename to ...
7207 * config/i386/t-slibgcc-nwld: ... this.
7208 * config/i386/t-nwld: New file.
7209 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
7211 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
7214 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7216 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
7218 * configure: Regenerate.
7220 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7222 * dfp-bit.c, dfp-bit.h: New files.
7223 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
7225 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
7226 ($(d64pbit-o)): Likewise.
7227 ($(d128pbit-o)): Likewise.
7228 * config/t-dfprules: New file.
7229 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
7230 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
7231 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7232 (x86_64-*-linux*): Likewise.
7233 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7234 (i[34567]86-*-cygwin*): Likewise.
7235 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
7236 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7238 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7240 * Makfile.in (LIBGCOV): New variable.
7241 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
7242 * libgcov.c: New file.
7244 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7246 * fixed-bit.c, fixed-bit.h: New files.
7247 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
7248 refer to fixed-bit.c.
7250 2011-07-07 Joseph Myers <joseph@codesourcery.com>
7252 * config.host (*local*): Remove.
7254 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7257 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
7258 like i?86-*-solaris2.1[0-9]*.
7259 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
7260 * configure.ac (i?86-*-solaris2*): Likewise.
7261 * configure: Regenerate.
7263 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
7265 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7266 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
7267 md_unwind_header by splitting out of...
7268 (i[34567]86-*-linux*): ... this.
7269 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
7270 Remove md_unwind_header by splitting out of...
7271 (x86_64-*-linux*): ... this.
7273 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
7275 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
7277 2011-06-28 Nick Clifton <nickc@redhat.com>
7279 * config.host: Recognize all V850 variants.
7281 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
7283 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
7285 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7287 * shared-object.mk (c_flags-$o): Save c_flags.
7288 ($(base)$(objext)): Use it.
7289 ($(base)_s$(objext)): Likewise.
7291 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
7293 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
7294 * libgcc-std.ver.in (GCC_4.7.0): New section.
7296 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
7300 * config/avr/t-avr: Fix line endings.
7301 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
7304 2011-06-14 Olivier Hainque <hainque@adacore.com>
7305 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7307 * config/mips/irix6-unwind.h: New file.
7308 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
7310 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
7312 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
7313 (sparc64_fallback_frame_state): Use it.
7314 (sparc64_frob_update_context): Further adjust context.
7315 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
7316 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
7317 * config/sparc/sol2-cn.S: Likewise.
7319 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7321 * enable-execute-stack-empty.c: New file.
7322 * enable-execute-stack-mprotect.c: New file.
7323 * config/i386/enable-execute-stack-mingw32.c: New file.
7324 * config.host (enable_execute_stack): New variable.
7325 Select appropriate variants.
7326 * configure.ac: Link enable-execute-stack.c to
7327 $enable_execute_stack.
7328 * configure: Regenerate.
7329 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
7330 (lib2funcs): Remove _enable_execute_stack.
7332 2011-06-09 David S. Miller <davem@davemloft.net>
7333 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7335 * config.host (sparc-*-linux*): Correct md_unwind_header
7337 (s390x-ibm-tpf*): Fix typo.
7339 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7341 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
7342 Add crtfastmath.o to extra_parts.
7343 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
7345 * config/mips/t-crtfm: Remove.
7347 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7349 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
7351 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
7353 * config.host (sh*-*-linux*): Fix typo.
7355 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7357 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
7358 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
7359 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
7360 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
7361 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
7362 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
7363 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
7364 Wrap in !__MINGW64__.
7365 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
7366 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
7367 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
7368 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
7369 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
7370 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
7371 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
7373 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
7374 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
7375 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
7376 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
7377 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
7378 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
7379 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
7380 * config/no-unwind.h: New file.
7381 * config.host (md_unwind_header): Document.
7383 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
7384 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
7385 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
7386 hppa[12]*-*-hpux11*): Set md_unwind_header.
7387 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
7388 Set md_unwind_header.
7389 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
7390 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
7391 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
7392 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
7393 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
7394 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
7395 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
7397 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
7398 * configure: Regenerate.
7400 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7402 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
7403 Set tmake_file, extra_parts.
7404 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
7406 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
7408 * config/mips/t-irix6: New file.
7409 * config/mips/t-slibgcc-irix: New file.
7411 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7413 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
7414 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
7416 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7418 * configure.ac (target_thread_file): Determine thread model.
7419 * configure: Regenerate.
7420 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
7421 * config/alpha/t-alpha: New file.
7422 * config/alpha/t-crtfm: Use $<.
7423 * config/alpha/t-ieee: New file.
7424 * config/alpha/t-osf-pthread: New file.
7425 * config/alpha/t-slibgcc-osf: New file.
7426 * config/alpha/libgcc-osf5.ver: New file.
7428 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7430 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
7432 Add crtfastmath.o to extra_parts.
7434 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7436 * config/gmon-sol2.c: Reindent.
7438 Remove, correct casts.
7439 Use STDERR_FILENO, NULL.
7440 (BASEADDRESS): Remove.
7442 (errno, sbrk): Remove declarations.
7443 (monstartup) [hp300]: Remove.
7446 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7448 * Makefile.in (cpu_type): Define.
7449 * config.host (i[34567]86-*-rtems*): Handle it.
7450 (i[34567]86-*-solaris2*): Move body ...
7451 (*-*-solaris2*): ... here.
7452 New case, generalize.
7453 (sparc-*-elf*): Handle it.
7454 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
7455 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
7456 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
7458 (sparc*-*-solaris2*): ... this.
7460 (sparc64-*-elf*): Handle it.
7461 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
7462 Merge ../gcc/config/i386/gmon-sol2.c.
7463 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
7465 Merge ../gcc/config/i386/sol2-gc1.asm.
7466 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
7468 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
7470 * config/i386/t-crtfm (crtfastmath.o): Use $<.
7471 * config/i386/t-crtstuff: New file.
7472 * config/i386/t-softfp: New file.
7473 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
7474 $(T)crti.o, $(T)crtn.o): Remove.
7475 (gcrt1.o): New rule.
7476 (TARGET_LIBGCC2_CFLAGS): Remove.
7477 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
7478 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
7479 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
7480 * config/sparc/t-sol2: New file.
7481 * config/sparc/t-crtfm: Move to ...
7482 * config/t-crtfm: ... this.
7483 Use $(cpu_type), $<.
7484 * config/t-crtin: New file.
7485 * config/sparc/t-softfp: New file.
7486 * config/sparc/t-softmul: New file.
7487 * config/t-rtems: New file.
7488 * config/t-slibgcc: New file.
7489 * config/t-slibgcc-elf-ver: New file.
7490 * config/t-slibgcc-gld: New file.
7491 * config/t-slibgcc-sld: New file.
7492 * config/t-sol2: New file.
7493 * configure.ac: Include ../config/lib-ld.m4.
7494 Call AC_LIB_PROG_LD_GNU.
7495 Substitute cpu_type.
7496 * configure: Regenerate.
7498 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
7501 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
7502 libgcc-std.ver in the build directory.
7503 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
7504 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
7506 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
7508 * libgcc-std.ver.in: New file.
7509 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
7511 (libgcc-std.ver): New rule.
7512 * config/t-gnu-prefix: New file.
7514 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7516 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
7518 2011-05-10 Joseph Myers <joseph@codesourcery.com>
7520 * config/i386/darwin-lib.h: New file.
7522 2011-05-10 Joseph Myers <joseph@codesourcery.com>
7524 * config/arm/symbian-lib.h: New.
7526 2011-05-04 Chris Demetriou <cgd@google.com>
7528 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
7529 (__x86.get_pc_thunk.bx): ...this.
7530 (__morestack): Adjust for rename, remove undef of __i686.
7532 2011-05-03 Chris Demetriou <cgd@google.com>
7534 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
7536 2011-03-22 Joseph Myers <joseph@codesourcery.com>
7538 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
7539 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
7540 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
7541 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
7542 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
7545 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
7547 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
7548 Adjust copyright year.
7550 2011-03-07 Ian Lance Taylor <iant@google.com>
7552 * generic-morestack.c (__splitstack_find): Adjust returned stack
7553 pointer to include all registers pushed by __morestack.
7555 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
7558 * configure.ac: Call ACX_NONCANONICAL_TARGET.
7559 (toolexecdir): Calculate and AC_SUBST.
7560 (toolexeclibdir): Likewise.
7561 * Makefile.in (target_noncanonical): Import.
7562 (toolexecdir): Likewise.
7563 (toolexeclibdir): Likewise.
7564 * configure: Regenerate.
7566 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
7569 * config/arm/bpabi.h: Rename to...
7570 * config/arm/bpabi-lib.h: ...this.
7572 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7574 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
7576 * configure: Regenerate.
7578 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
7580 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
7581 __FLOAT_WORD_ORDER__.
7582 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
7585 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7588 * Makefile.in (install-strip): New phony target.
7590 2010-11-07 Ian Lance Taylor <iant@google.com>
7593 * config/i386/morestack.S (__morestack_large_model): New
7596 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
7598 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
7600 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
7602 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
7604 * config/arm/bpabi.h: New file.
7605 * config/frv/frv-abi.h: New file.
7607 2010-10-01 Ian Lance Taylor <iant@google.com>
7609 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
7610 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
7612 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
7615 * config.host: Add the missing `$'.
7617 2010-09-30 Michael Eager <eager@eagercon.com>
7619 * config.host: Add microblaze*-*-*.
7620 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
7621 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
7622 udivsi3.asm,umodsi3.asm}: New.
7624 2010-09-28 Ian Lance Taylor <iant@google.com>
7626 * configure.ac: Adjust CFI test to test assembler directly rather
7627 than checking gcc preprocessor macro.
7628 * configure: Rebuild.
7630 2010-09-27 Ian Lance Taylor <iant@google.com>
7632 * configure.ac: Test whether assembler supports CFI directives.
7633 * config.host: Only add t-stack and i386/t-stack-i386 to
7634 tmake_file if libgcc_cv_cfi is "yes".
7635 * configure: Rebuild.
7637 2010-09-27 Ian Lance Taylor <iant@google.com>
7639 * generic-morestack.h: New file.
7640 * generic-morestack.c: New file.
7641 * generic-morestack-thread.c: New file.
7642 * config/i386/morestack.S: New file.
7643 * config/t-stack: New file.
7644 * config/i386/t-stack-i386: New file.
7645 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
7646 i386/t-stack-i386 to tmake_file.
7648 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
7650 * Makefile.in (libgcc-extra-parts): Check for static archives and
7651 invoke ranlib after installing them.
7652 (gcc-extra-parts): Likewise.
7653 (install-leaf): Likewise.
7655 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
7657 * configure: Regenerated.
7659 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
7661 * configure: Regenerated.
7663 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
7664 Andrew Pinski <pinskia@gmail.com>
7667 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
7669 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
7672 * configure: Regenerated.
7674 2010-09-06 Andreas Schwab <schwab@redhat.com>
7676 * configure: Regenerate.
7678 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
7680 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
7682 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
7685 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
7686 Iain Sandoe <iains@gcc.gnu.org>
7689 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
7690 LIB2FUNCS_EXCLUDE functions.
7692 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7694 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
7696 * configure: Regenerate.
7698 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
7700 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
7701 i386/t-freebsd to tmake_file.
7702 * config/i386/t-freebsd: New file.
7703 * config/i386/libgcc-bsd.ver: New file.
7705 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
7707 * config.host (powerpc*-eabispe*): Set tmake_file.
7708 (powerpc*-eabi*): Likewise.
7709 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
7710 crtbeginS, crtendS, crtbeginT.
7712 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
7714 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
7715 to tmake_file. Add crtfastmath.o to extra_parts.
7716 * config/mips/t-crtfm: New.
7718 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
7720 * config.host (sparc64-*-rtems*): New target.
7722 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7724 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7727 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
7729 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
7731 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7733 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
7734 alpha-dec-osf5.0* support.
7736 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
7738 * config.host: Add lm32-*-rtems*.
7740 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7741 Uros Bizjak <ubizjak@gmail.com>
7744 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
7745 like other remaining 32-bit x86 OSes.
7746 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7748 * config/i386/libgcc-sol2.ver: New file.
7749 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
7751 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
7754 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
7755 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
7756 is used and substitute set_use_emutls.
7757 * configure: Regenerated.
7759 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
7761 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
7763 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7766 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
7768 ($(T)gcrt1.o): Likewise.
7769 ($(T)crt1.o): Likewise.
7770 ($(T)crti.o): Likewise.
7771 ($(T)crtn.o): Likewise.
7773 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7776 * Makefile.in (install): Use $(MAKE) string in rule, for
7779 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
7781 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
7782 * config/mmix/t-mmix: New file.
7783 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
7785 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
7788 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
7791 2010-01-04 Anthony Green <green@moxielogic.com>
7793 * config/moxie/crti.asm, config/moxie/crtn.asm,
7794 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
7795 config/moxie/t-moxie: New files.
7796 * config.host: Add t-moxie-softfp reference.
7798 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
7801 * config/t-slibgcc-darwin: Fix embedded rpaths for
7802 --enable-version-specific-runtime-libs, build extension stub
7803 libs exposing features available from current libgcc_s.
7805 2009-11-11 Jon Beniston <jon@beniston.com>
7807 * config.host: Add lm32 targets.
7808 * config/lm32: New directory.
7809 * config/lm32/libgcc_lm32.h: New file.
7810 * config/lm32/_mulsi3.c: New file.
7811 * config/lm32/_udivmodsi4.c: New file.
7812 * config/lm32/_divsi3.c: New file.
7813 * config/lm32/_modsi3.c: New file.
7814 * config/lm32/_udivsi3.c: New file.
7815 * config/lm32/_umodsi3.c: New file.
7816 * config/lm32/_lshrsi3.S: New file.
7817 * config/lm32/_ashrsi3.S: New file.
7818 * config/lm32/_ashlsi3.S: New file.
7819 * config/lm32/crti.S: New file.
7820 * config/lm32/crtn.S: New file.
7821 * config/lm32/t-lm32: New file.
7822 * config/lm32/t-elf: New file.
7823 * config/lm32/t-uclinux: New file.
7825 2009-10-26 Nick Clifton <nickc@redhat.com>
7827 * config.host: Add support for RX target.
7828 * config/rx: New directory.
7829 * config/rx/rx-abi-functions.c: New file. Supplementary
7830 functions for libgcc to support the RX ABI.
7831 * config/rx/rx-abi.h: New file. Supplementary header file for
7832 libgcc RX ABI functions.
7833 * config/rx/t-rx: New file: Makefile fragment for building
7836 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
7838 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
7839 constraint of y0 to "g".
7841 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7843 * config.host: Include the s390 makefile fragments.
7844 * config/s390/32/_fixdfdi.c: New file.
7845 * config/s390/32/_fixsfdi.c: New file.
7846 * config/s390/32/_fixtfdi.c: New file.
7847 * config/s390/32/_fixunsdfdi.c: New file.
7848 * config/s390/32/_fixunssfdi.c: New file.
7849 * config/s390/32/_fixunstfdi.c: New file.
7850 * config/s390/32/t-floattodi: New file.
7851 * config/s390/libgcc-glibc.ver: New file.
7852 * config/s390/t-crtstuff: New file.
7853 * config/s390/t-linux: New file.
7854 * config/s390/t-tpf: New file.
7856 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7858 * configure.ac (AC_PREREQ): Bump to 2.64.
7860 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
7862 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
7864 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7866 * configure: Regenerate.
7868 2009-08-09 Douglas B Rupp <rupp@gnat.com>
7870 * config.host (ia64-hp-*vms*): New target.
7871 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
7874 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7876 * configure.ac: Add snippet for maintainer-mode.
7877 * configure: Regenerate.
7878 * Makefile.in (AUTOCONF, configure_deps): New variables.
7879 ($(srcdir)/configure)): New rule, active only with maintainer
7882 2009-06-23 DJ Delorie <dj@redhat.com>
7885 * config.host: Add mep support.
7887 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
7889 * config.host: Add i386/${host_address}/t-fprules-softfp and
7890 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
7892 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
7894 * config/i386/64/_multc3.c: Likewise.
7895 * config/i386/64/_powitf2.c: Likewise.
7896 * config/i386/64/eqtf2.c: Likewise.
7897 * config/i386/64/getf2.c: Likewise.
7898 * config/i386/64/letf2.c: Likewise.
7899 * config/i386/64/letf2.c: Likewise.
7900 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
7901 unsigned long long for x64 mingw targets.
7902 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
7903 (_FP_I_TYPE): Define as long long for x64 mingw target.
7905 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
7907 * config.host (vax-*-linux*): New.
7909 2009-05-31 Anthony Green <green@moxielogic.com>
7911 * config.host: Add moxie support.
7912 * config/moxie/t-moxie: New file.
7914 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
7916 * config.host: Add i386/${host_address}/t-fprules-softfp and
7917 t-softfp to tmake_file for i[34567]86-*-cygwin*.
7919 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
7921 * config.host: Add i386/${host_address}/t-fprules-softfp to
7922 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
7924 2009-04-09 Nick Clifton <nickc@redhat.com>
7926 * config/ia64/tf-signs.c: Change copyright header to refer to
7927 version 3 of the GNU General Public License with version 3.1
7928 of the GCC Runtime Library Exception and to point readers at
7929 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
7931 * config/i386/32/tf-signs.c: Likewise.
7932 * config/libbid/_addsub_dd.c: Likewise.
7933 * config/libbid/_addsub_sd.c: Likewise.
7934 * config/libbid/_addsub_td.c: Likewise.
7935 * config/libbid/_dd_to_df.c: Likewise.
7936 * config/libbid/_dd_to_di.c: Likewise.
7937 * config/libbid/_dd_to_sd.c: Likewise.
7938 * config/libbid/_dd_to_sf.c: Likewise.
7939 * config/libbid/_dd_to_si.c: Likewise.
7940 * config/libbid/_dd_to_td.c: Likewise.
7941 * config/libbid/_dd_to_tf.c: Likewise.
7942 * config/libbid/_dd_to_udi.c: Likewise.
7943 * config/libbid/_dd_to_usi.c: Likewise.
7944 * config/libbid/_dd_to_xf.c: Likewise.
7945 * config/libbid/_df_to_dd.c: Likewise.
7946 * config/libbid/_df_to_sd.c: Likewise.
7947 * config/libbid/_df_to_td.c: Likewise.
7948 * config/libbid/_di_to_dd.c: Likewise.
7949 * config/libbid/_di_to_sd.c: Likewise.
7950 * config/libbid/_di_to_td.c: Likewise.
7951 * config/libbid/_div_dd.c: Likewise.
7952 * config/libbid/_div_sd.c: Likewise.
7953 * config/libbid/_div_td.c: Likewise.
7954 * config/libbid/_eq_dd.c: Likewise.
7955 * config/libbid/_eq_sd.c: Likewise.
7956 * config/libbid/_eq_td.c: Likewise.
7957 * config/libbid/_ge_dd.c: Likewise.
7958 * config/libbid/_ge_sd.c: Likewise.
7959 * config/libbid/_ge_td.c: Likewise.
7960 * config/libbid/_gt_dd.c: Likewise.
7961 * config/libbid/_gt_sd.c: Likewise.
7962 * config/libbid/_gt_td.c: Likewise.
7963 * config/libbid/_isinfd128.c: Likewise.
7964 * config/libbid/_isinfd32.c: Likewise.
7965 * config/libbid/_isinfd64.c: Likewise.
7966 * config/libbid/_le_dd.c: Likewise.
7967 * config/libbid/_le_sd.c: Likewise.
7968 * config/libbid/_le_td.c: Likewise.
7969 * config/libbid/_lt_dd.c: Likewise.
7970 * config/libbid/_lt_sd.c: Likewise.
7971 * config/libbid/_lt_td.c: Likewise.
7972 * config/libbid/_mul_dd.c: Likewise.
7973 * config/libbid/_mul_sd.c: Likewise.
7974 * config/libbid/_mul_td.c: Likewise.
7975 * config/libbid/_ne_dd.c: Likewise.
7976 * config/libbid/_ne_sd.c: Likewise.
7977 * config/libbid/_ne_td.c: Likewise.
7978 * config/libbid/_sd_to_dd.c: Likewise.
7979 * config/libbid/_sd_to_df.c: Likewise.
7980 * config/libbid/_sd_to_di.c: Likewise.
7981 * config/libbid/_sd_to_sf.c: Likewise.
7982 * config/libbid/_sd_to_si.c: Likewise.
7983 * config/libbid/_sd_to_td.c: Likewise.
7984 * config/libbid/_sd_to_tf.c: Likewise.
7985 * config/libbid/_sd_to_udi.c: Likewise.
7986 * config/libbid/_sd_to_usi.c: Likewise.
7987 * config/libbid/_sd_to_xf.c: Likewise.
7988 * config/libbid/_sf_to_dd.c: Likewise.
7989 * config/libbid/_sf_to_sd.c: Likewise.
7990 * config/libbid/_sf_to_td.c: Likewise.
7991 * config/libbid/_si_to_dd.c: Likewise.
7992 * config/libbid/_si_to_sd.c: Likewise.
7993 * config/libbid/_si_to_td.c: Likewise.
7994 * config/libbid/_td_to_dd.c: Likewise.
7995 * config/libbid/_td_to_df.c: Likewise.
7996 * config/libbid/_td_to_di.c: Likewise.
7997 * config/libbid/_td_to_sd.c: Likewise.
7998 * config/libbid/_td_to_sf.c: Likewise.
7999 * config/libbid/_td_to_si.c: Likewise.
8000 * config/libbid/_td_to_tf.c: Likewise.
8001 * config/libbid/_td_to_udi.c: Likewise.
8002 * config/libbid/_td_to_usi.c: Likewise.
8003 * config/libbid/_td_to_xf.c: Likewise.
8004 * config/libbid/_tf_to_dd.c: Likewise.
8005 * config/libbid/_tf_to_sd.c: Likewise.
8006 * config/libbid/_tf_to_td.c: Likewise.
8007 * config/libbid/_udi_to_dd.c: Likewise.
8008 * config/libbid/_udi_to_sd.c: Likewise.
8009 * config/libbid/_udi_to_td.c: Likewise.
8010 * config/libbid/_unord_dd.c: Likewise.
8011 * config/libbid/_unord_sd.c: Likewise.
8012 * config/libbid/_unord_td.c: Likewise.
8013 * config/libbid/_usi_to_dd.c: Likewise.
8014 * config/libbid/_usi_to_sd.c: Likewise.
8015 * config/libbid/_usi_to_td.c: Likewise.
8016 * config/libbid/_xf_to_dd.c: Likewise.
8017 * config/libbid/_xf_to_sd.c: Likewise.
8018 * config/libbid/_xf_to_td.c: Likewise.
8019 * config/libbid/bid128.c: Likewise.
8020 * config/libbid/bid128_2_str.h: Likewise.
8021 * config/libbid/bid128_2_str_macros.h: Likewise.
8022 * config/libbid/bid128_2_str_tables.c: Likewise.
8023 * config/libbid/bid128_add.c: Likewise.
8024 * config/libbid/bid128_compare.c: Likewise.
8025 * config/libbid/bid128_div.c: Likewise.
8026 * config/libbid/bid128_fma.c: Likewise.
8027 * config/libbid/bid128_logb.c: Likewise.
8028 * config/libbid/bid128_minmax.c: Likewise.
8029 * config/libbid/bid128_mul.c: Likewise.
8030 * config/libbid/bid128_next.c: Likewise.
8031 * config/libbid/bid128_noncomp.c: Likewise.
8032 * config/libbid/bid128_quantize.c: Likewise.
8033 * config/libbid/bid128_rem.c: Likewise.
8034 * config/libbid/bid128_round_integral.c: Likewise.
8035 * config/libbid/bid128_scalb.c: Likewise.
8036 * config/libbid/bid128_sqrt.c: Likewise.
8037 * config/libbid/bid128_string.c: Likewise.
8038 * config/libbid/bid128_to_int16.c: Likewise.
8039 * config/libbid/bid128_to_int32.c: Likewise.
8040 * config/libbid/bid128_to_int64.c: Likewise.
8041 * config/libbid/bid128_to_int8.c: Likewise.
8042 * config/libbid/bid128_to_uint16.c: Likewise.
8043 * config/libbid/bid128_to_uint32.c: Likewise.
8044 * config/libbid/bid128_to_uint64.c: Likewise.
8045 * config/libbid/bid128_to_uint8.c: Likewise.
8046 * config/libbid/bid32_to_bid128.c: Likewise.
8047 * config/libbid/bid32_to_bid64.c: Likewise.
8048 * config/libbid/bid64_add.c: Likewise.
8049 * config/libbid/bid64_compare.c: Likewise.
8050 * config/libbid/bid64_div.c: Likewise.
8051 * config/libbid/bid64_fma.c: Likewise.
8052 * config/libbid/bid64_logb.c: Likewise.
8053 * config/libbid/bid64_minmax.c: Likewise.
8054 * config/libbid/bid64_mul.c: Likewise.
8055 * config/libbid/bid64_next.c: Likewise.
8056 * config/libbid/bid64_noncomp.c: Likewise.
8057 * config/libbid/bid64_quantize.c: Likewise.
8058 * config/libbid/bid64_rem.c: Likewise.
8059 * config/libbid/bid64_round_integral.c: Likewise.
8060 * config/libbid/bid64_scalb.c: Likewise.
8061 * config/libbid/bid64_sqrt.c: Likewise.
8062 * config/libbid/bid64_string.c: Likewise.
8063 * config/libbid/bid64_to_bid128.c: Likewise.
8064 * config/libbid/bid64_to_int16.c: Likewise.
8065 * config/libbid/bid64_to_int32.c: Likewise.
8066 * config/libbid/bid64_to_int64.c: Likewise.
8067 * config/libbid/bid64_to_int8.c: Likewise.
8068 * config/libbid/bid64_to_uint16.c: Likewise.
8069 * config/libbid/bid64_to_uint32.c: Likewise.
8070 * config/libbid/bid64_to_uint64.c: Likewise.
8071 * config/libbid/bid64_to_uint8.c: Likewise.
8072 * config/libbid/bid_b2d.h: Likewise.
8073 * config/libbid/bid_binarydecimal.c: Likewise.
8074 * config/libbid/bid_conf.h: Likewise.
8075 * config/libbid/bid_convert_data.c: Likewise.
8076 * config/libbid/bid_decimal_data.c: Likewise.
8077 * config/libbid/bid_decimal_globals.c: Likewise.
8078 * config/libbid/bid_div_macros.h: Likewise.
8079 * config/libbid/bid_dpd.c: Likewise.
8080 * config/libbid/bid_flag_operations.c: Likewise.
8081 * config/libbid/bid_from_int.c: Likewise.
8082 * config/libbid/bid_functions.h: Likewise.
8083 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8084 * config/libbid/bid_inline_add.h: Likewise.
8085 * config/libbid/bid_internal.h: Likewise.
8086 * config/libbid/bid_round.c: Likewise.
8087 * config/libbid/bid_sqrt_macros.h: Likewise.
8089 2009-04-09 Jakub Jelinek <jakub@redhat.com>
8091 * Makefile.in: Change copyright header to refer to version
8092 3 of the GNU General Public License and to point readers at the
8093 COPYING3 file and the FSF's license web page.
8094 * config.host: Likewise.
8096 2009-04-07 Alan Modra <amodra@bigpond.net.au>
8098 * config.host: Reorder and merge to match config.gcc change.
8100 2009-04-03 Alan Modra <amodra@bigpond.net.au>
8102 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
8104 2009-03-28 Joseph Myers <joseph@codesourcery.com>
8106 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
8107 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
8108 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
8109 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
8111 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
8113 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
8114 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8116 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
8118 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
8119 ia64/t-softfp-compat to tmake_file.
8121 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
8123 * config/ia64/__divxf3.asm: New.
8124 * config/ia64/_fixtfdi.asm: Likewise.
8125 * config/ia64/_fixunstfdi.asm: Likewise.
8126 * config/ia64/_floatditf.asm: Likewise.
8127 * config/ia64/t-fprules-softfp: Likewise.
8128 * config/ia64/t-softfp-compat: Likewise.
8129 * config/ia64/tf-signs.c: Likewise.
8131 2009-01-18 Ben Elliston <bje@au.ibm.com>
8133 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8135 2009-01-16 Ben Elliston <bje@au.ibm.com>
8137 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
8140 2009-01-13 Ben Elliston <bje@au.ibm.com>
8142 * config/t-softfp: New file.
8143 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
8144 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
8146 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
8148 * config.host: Add m32r*-*-rtems*.
8150 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
8152 * config.host: Add m32c*-*-rtems*.
8154 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8157 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
8158 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
8159 * configure: Regenerate.
8160 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
8161 tmake_file here from gcc/config.gcc.
8162 Move extra_parts here from gcc/config.gcc.
8163 * config/i386/t-sol2: Move here from gcc/config/i386.
8164 Use gcc_srcdir instead of srcdir.
8166 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
8168 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
8171 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
8173 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
8175 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
8177 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
8179 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
8182 * config.host: Add picochip-*-*.
8184 2008-08-06 Bob Wilson <bob.wilson@acm.org>
8186 * config.host: Match more processor names for Xtensa.
8188 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
8190 * config/i386/64/t-softfp-compat: Update comments.
8192 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
8194 * config/i386/64/_divtc3-compat.c: Moved to ...
8195 * config/i386/64/_divtc3.c: Here.
8197 * config/i386/64/_multc3-compat.c: Moved to ...
8198 * config/i386/64/_multc3.c: Here.
8200 * config/i386/64/_powitf2-compat.c: Moved to ...
8201 * config/i386/64/_powitf2.c: Here.
8203 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
8204 .c suffix instead of -compat.c.
8206 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
8208 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
8209 (_FP_MUL_MEAT_D): Ditto.
8210 (_FP_DIV_MEAT_S): Ditto.
8211 (_FP_DIV_MEAT_D): Ditto.
8213 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
8215 * Makefile.in: Add support for __sync_* libgcc functions.
8217 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
8219 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
8221 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8224 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
8225 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
8227 * config/i386/64/t-fprules-softfp: Moved to ...
8228 * config/i386/64/t-softfp-compat: This. New.
8230 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
8232 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
8233 Initialize f with 0.0.
8235 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8238 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
8240 * config/i386/64/_divtc3-compat.c: New.
8241 * config/i386/64/_multc3-compat.c: Likewise.
8242 * config/i386/64/_powitf2-compat.c: Likewise.
8243 * config/i386/64/eqtf2.c: Likewise.
8244 * config/i386/64/getf2.c: Likewise.
8245 * config/i386/64/letf2.c: Likewise.
8246 * config/i386/64/t-fprules-softfp: Likewise.
8248 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8250 * config.host: Add i386/${host_address}/t-fprules-softfp to
8251 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
8252 i[34567]86-*-linux*, x86_64-*-linux*.
8254 * configure.ac: Set host_address to 64 or 32 for x86.
8255 * configure: Regenerated.
8257 * Makefile.in (config.status): Also depend on
8258 $(srcdir)/config.host.
8260 * config/i386/32/t-fprules-softfp: New.
8261 * config/i386/32/tf-signs.c: Likewise.
8263 * config/i386/64/sfp-machine.h: New. Moved from gcc.
8265 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8266 Uros Bizjak <ubizjak@gmail.com>
8268 * config/i386/32/sfp-machine.h: New.
8270 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
8272 * config/rs6000/t-ppccomm: Remove rules that conflict with
8273 auto-generated rules.
8275 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8277 * configure.ac: sinclude override.m4.
8278 * configure: Regenerate.
8280 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
8282 * configure: Regenerate.
8284 2008-06-10 Joseph Myers <joseph@codesourcery.com>
8286 * Makefile.in (DECNUMINC): Remove
8287 -I$(MULTIBUILDTOP)../../libdecnumber.
8290 2008-06-07 Joseph Myers <joseph@codesourcery.com>
8292 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
8293 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
8294 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
8295 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
8296 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
8297 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
8298 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
8299 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
8300 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
8301 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
8302 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
8303 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
8304 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
8305 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
8307 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
8309 * config.host (sh2[lbe]*-*-linux*): Allow target.
8311 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
8313 * config/rs6000/t-ppccomm: Add build rules for new files.
8314 (LIB2ADD_ST): New variable.
8316 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
8320 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
8321 * config/t-avr: New file. Build 16bit libgcc functions.
8323 2008-03-02 Jakub Jelinek <jakub@redhat.com>
8326 * config/t-slibgcc-darwin: Make install-leaf dependent on
8327 install-darwin-libgcc-stubs instead of install.
8329 2008-01-25 Joseph Myers <joseph@codesourcery.com>
8331 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
8332 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
8333 sh-*-rtemscoff*): Remove cases.
8335 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
8337 * Makefile.in (all): Use install-leaf rather than install.
8338 (install): Split most of the rule into...
8339 (install-leaf): ...this new one.
8341 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
8342 Paolo Bonzini <bonzini@gnu.org>
8345 * Makefile.in: Use @shlib_slibdir@ substitution to get
8346 correct install name on darwin.
8347 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
8349 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
8351 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
8352 cris-*-elf and cris-*-none.
8353 (crisv32-*-linux*): Similar, as cris-*-linux*.
8355 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
8357 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
8359 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
8362 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
8363 * configure: Regenerated.
8365 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
8367 * Makefile.in (dfp-filenames): Replace decimal_globals,
8368 decimal_data, binarydecimal and convert_data with
8369 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
8370 and bid_convert_data, respectively.
8372 2007-09-17 Chao-ying Fu <fu@mips.com>
8373 Nigel Stephens <nigel@mips.com>
8375 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
8376 * Makefile.in (fixed_point): Define.
8377 Check if fixed_point is yes to build support functions.
8378 * configure.ac: Check for fixed_point support.
8379 * configure: Regenerated.
8380 * gen-fixed.sh: New file to generate lists of fixed-point labels,
8381 funcs, modes, from, to.
8383 2007-09-11 Janis Johnson <janis187@us.ibm.com
8385 * Makefile.in (dfp-filenames): Add bid128_noncomp.
8387 2007-09-10 Janis Johnson <janis187@us.ibm.com>
8389 * Makefile.in (dfp-filenames): Remove decUtility, add
8390 decDouble, decPacked, decQuad, decSingle.
8392 2007-08-27 Hans Kester <hans.kester@ellips.nl>
8394 * config.host : Add x86_64-elf target.
8396 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
8398 * configure.ac (set_have_cc_tls): Add a missing =.
8399 * configure: Regenerated.
8401 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
8403 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
8404 and x86_64-*-linux*.
8406 * config/t-tls: New file.
8408 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
8410 * configure.ac: Include ../config/enable.m4 and
8411 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
8412 supports TLS and substitute set_have_cc_tls.
8413 * configure: Regenerated.
8415 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
8417 * Makefile.in: Use libbid for DFP when BID is enabled.
8419 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
8421 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
8422 extra_parts. Add config/i386/t-cygming to tmake_file.
8423 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
8425 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
8426 Danny Smith <dannysmith@users.sourceforge.net>
8429 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
8430 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
8431 * config/i386/t-crtfm: Compile crtfastmath.o with
8432 -minline-all-stringops.
8434 2007-05-10 Richard Sandiford <richard@codesourcery.com>
8436 * config.host (sparc-wrs-vxworks): New target.
8438 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
8440 * config.host: Recognize fido.
8442 2007-04-04 Janis Johnson <janis187@us.ibm.com>
8444 * configure: Check host, not target, for decimal float support.
8446 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
8448 * config/i386/t-crtpc: New file.
8449 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
8450 (x86_64-*-linux*): Ditto.
8452 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
8454 * config.host (x86_64-*-mingw*): New target.
8456 2007-03-23 Michael Meissner <michael.meissner@amd.com>
8457 H.J. Lu <hongjiu.lu@intel.com>
8459 * Makefile.in (enable_decimal_float): New.
8461 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
8462 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
8463 (decbits-filenames): This.
8464 (decbits-objects): New.
8465 (libgcc-objects): Add $(decbits-objects).
8467 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
8468 Substitute enable_decimal_float.
8469 * configure: Regenerated.
8471 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
8473 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
8475 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
8477 * Makefile.in (install-info): New dummy target.
8479 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
8481 * config.host (bfin*-linux-uclibc*): Set extra_parts.
8483 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
8485 * Makefile.in: Add install-html and install-pdf dummy
8488 2007-02-05 Roger Sayle <roger@eyesopen.com>
8489 Daniel Jacobowitz <dan@codesourcery.com>
8491 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
8492 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
8493 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
8495 2007-01-29 Janis Johnson <janis187@us.ibm.com>
8497 * Makefile.in (dec-filenames): Add decExcept.
8499 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
8502 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
8505 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
8507 * configure.ac: Add --enable-version-specific-runtime-libs.
8508 Correct $slibdir default.
8509 * configure: Regenerated.
8511 2007-01-23 Joseph Myers <joseph@codesourcery.com>
8513 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
8515 2007-01-21 Andrew Pinski <pinskia@gmail.com>
8518 * config.host (alpha*-*-linux*): Set extra_parts.
8520 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
8522 * config/sh/t-linux: New.
8523 * config.host (sh*-*-linux*): Set tmake_file.
8525 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
8527 * Makefile.in (install): Handle multilibs.
8529 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
8531 * Makefile.in: Added .PHONY entry for documentation targets.
8533 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
8535 * Makefile.in: Add empty info, html, dvi, pdf targets.
8537 2007-01-04 Mike Stump <mrs@apple.com>
8539 * Makefile.in (MAKEINFO): Remove.
8542 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
8544 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
8545 * configure: Regenerate.
8546 * Makefile.in (host_subdir): Substitute it.
8547 (gcc_objdir): Use it.
8549 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8551 * config.host (ia64*-*-linux*): Set tmake_file.
8553 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8555 * Makefile.in (version): Define.
8557 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8558 Paolo Bonzini <bonzini@gnu.org>
8560 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
8561 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
8562 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
8563 config/sparc/t-crtfm, config/t-slibgcc-darwin,
8564 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
8565 shared-object.mk, siditi-object.mk, static-object.mk: New files.
8566 * configure: Generated.
8568 Copyright (C) 2007-2017 Free Software Foundation, Inc.
8570 Copying and distribution of this file, with or without modification,
8571 are permitted in any medium without royalty provided the copyright
8572 notice and this notice are preserved.