1 2015-04-10 Jakub Jelinek <jakub@redhat.com>
2 Iain Sandoe <iain@codesourcery.com>
5 * configure: Regenerate.
7 2015-04-07 Jakub Jelinek <jakub@redhat.com>
8 Iain Sandoe <iain@codesourcery.com>
11 * configure: Regenerate.
13 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
15 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
17 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
19 Implement call0 ABI for xtensa
20 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
21 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
22 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
24 * config/xtensa/t-windowed: New file.
25 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
26 * libgcc/configure: Regenerated.
27 * libgcc/configure.ac: Check if xtensa target is configured for
28 windowed ABI and thus needs to use custom unwind code.
30 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
33 * gthr-single.h: Use __unused__ attribute instead of unused.
34 * config/gthr-vxworks.h: Likewise.
35 * config/i386/gthr-win32.h: Likewise.
37 2015-02-27 Kai Tietz <ktietz@redhat.com>
40 * config.in: Regenerated.
41 * configure: Likewise.
42 * configure.ac (AC_HEADER_STDC): Added explicit.
43 (AC_CHECK_HEADERS): Check for default headers plus
45 * libgcov-util.c (gcov_read_profile_dir): Disable use
46 of ftw-function, if header is not found.
47 (ftw_read_file): Likewise.
49 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
52 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
55 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
57 * config/arm/bpabi.S (test_div_by_zero): Make label names
58 consistent between thumb2 and arm mode cases. Separate the
59 signed comparison on the high word of the numerator from the
60 unsigned comparison on the low word.
61 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
64 2015-02-17 Joseph Myers <joseph@codesourcery.com>
66 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
68 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
70 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
73 * libgcov-driver-system.c: undefine clashing macro for mkdir.
75 2015-02-02 Nick Clifton <nickc@redhat.com>
77 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
78 rounding up the fraction.
80 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
82 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
83 oldval and newval to const void *. Fix typo.
84 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
85 (FETCH_AND_OP_WORD): Likewise.
86 (OP_AND_FETCH_WORD): Likewise.
87 (COMPARE_AND_SWAP_2): Likewise.
88 (__sync_val_compare_and_swap_4): Likewise.
89 (__sync_lock_test_and_set_4): Likewise.
90 (SYNC_LOCK_RELEASE_2): Likewise.
91 Remove support for long long atomic operations.
93 2015-01-27 Caroline Tice <cmtice@google.com>
95 Committing VTV Cywin/Ming patch for Patrick Wollgast
96 * Makefile.in: Move rules to build vtv_*.o out of the check
98 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
100 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
101 enable_vtable_verify.
103 2015-01-27 Nick Clifton <nickc@redhat.com>
105 * config/rl78/cmpsi2.S: Use function start and end macros.
106 (__gcc_bcmp): New function.
107 * config/rl78/lshrsi3.S: Use function start and end macros.
108 * config/rl78/mulsi3.S: Add support for G10.
109 (__mulqi3): New function for G10.
110 * config/rl78/signbit.S: Use function start and end macros.
111 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
113 (LIB2FUNCS_EXCLUDE): Define.
114 (LIB2FUNCS_ST): Define.
115 * config/rl78/trampoline.S: Use function start and end macros.
116 * config/rl78/vregs.h (START_FUNC): New macro.
117 (START_ANOTHER_FUNC): New macro.
118 (END_FUNC): New macro.
119 (END_ANOTHER_FUNC): New macro.
120 * config/rl78/bit-count.S: New file. Contains assembler
121 implementations of the bit counting functions: ___clzhi2,
122 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
123 __paritysi2, __popcounthi2 and __popcountsi2.
124 * config/rl78/fpbit-sf.S: New file. Contains assembler
125 implementationas of the math functions: __negsf2, __cmpsf2,
126 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
127 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
128 * config/rl78/fpmath-sf.S: New file. Contains assembler
129 implementations of the math functions: __subsf3, __addsf3,
130 __mulsf3 and __divsf3
132 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
134 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
135 Add i386/elf-lib.h to tm_file.
136 * config/i386/elf-lib.h: Fix comment.
137 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
138 && __sun__ && __svr4__]: Remove workaround.
140 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
142 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
144 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
146 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
148 * config/i386/cpuinfo.c (processor_subtypes): Add
149 INTEL_COREI7_BROADWELL.
150 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
153 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
155 * config/i386/elf-lib.h: New file.
156 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
157 Wrap definition in #ifdef __i386__.
158 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
159 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
160 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
161 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
164 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
166 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
167 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
169 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
171 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
172 Update rt_sigframe format and address for current Nios II
175 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
177 * config.host (arm*-*-freebsd*): Add new configuration for
179 * config/arm/freebsd-atomic.c: New file.
180 * config/arm/t-freebsd: Likewise.
181 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
182 'PC-relative indirect' OS's.
184 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
186 * config.host: Add Visium support.
187 * config/visium: New directory.
189 2015-01-05 Jakub Jelinek <jakub@redhat.com>
191 Update copyright years.
193 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
195 * config.host: Support mipsisa32r6 and mipsisa64r6.
196 * config/mips/mips16.S: Do not build for R6.
198 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
200 * config/sh/crt.h: New.
201 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
203 * config/sh/crt1.S: Likewise.
205 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
208 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
209 func_ptr *dtor_list temporary variable to avoid "array subscript
210 is above array bounds" warnings.
212 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
214 * Makefile.in (with_aix_soname): Define.
215 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
216 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
217 * configure: Recreate.
219 2014-12-05 Olivier Hainque <hainque@adacore.com>
221 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
222 now provided by defaults.h.
224 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
227 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
228 whether it's defined.
230 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
232 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
233 * config/i386/cpuinfo.c (get_available_features): Detect it.
235 2014-11-27 Tony Wang <tony.wang@arm.com>
237 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
238 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
239 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
241 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
243 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
245 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
247 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
250 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
251 John David Anglin <danglin@gcc.gnu.org>
253 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
254 (FETCH_AND_OP_2): New. Use for subword and double word operations.
255 (OP_AND_FETCH_2): Likewise.
256 (COMPARE_AND_SWAP_2): Likewise.
257 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
258 (SYNC_LOCK_RELEASE_2): Likewise.
259 (SUBWORD_SYNC_OP): Remove.
260 (SUBWORD_VAL_CAS): Likewise.
261 (SUBWORD_BOOL_CAS): Likewise.
262 (FETCH_AND_OP_WORD): Update.
263 Consistently use signed types.
265 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
266 Thomas Schwinge <thomas@codesourcery.com>
267 Ilya Verbin <ilya.verbin@intel.com>
268 Andrey Turetskiy <andrey.turetskiy@intel.com>
270 * Makefile.in (crtoffloadbegin$(objext)): New rule.
271 (crtoffloadend$(objext)): Likewise.
272 * configure: Regenerate.
273 * configure.ac (accel_dir_suffix): Compute new variable.
274 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
275 if enable_offload_targets is not empty.
276 * offloadstuff.c: New file.
278 2014-11-13 Nick Clifton <nickc@redhat.com>
280 * config/rl78/divmodhi.S: Add support for the G10 architecture.
281 Use START_FUNC and END_FUNC macros to enable linker garbage
283 * config/rl78/divmodqi.S: Likewise.
284 * config/rl78/divmodsi.S: Likewise.
285 * config/rl78/mulsi3.S: Likewise.
286 * config/rl78/lib2div.c: Remove G10 functions.
287 * config/rl78/lib2muls.c: Likewise.
288 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
289 * config/rl78/vregs.h (START_FUNC): New macro.
290 (END_FUNC): New macro.
292 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
294 * config/mips/mips16.S: Set .module when supported. Update O32
295 FP64 calling convention and use for FPXX when possible. Add FPXX
296 calling convention fallback case.
298 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
300 * config.host: Handle nvptx-*-*.
301 * shared-object.mk (as-flags-$o): Define.
302 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
303 -xassembler-with-cpp.
304 * static-object.mk: Identical changes.
305 * config/nvptx/t-nvptx: New file.
306 * config/nvptx/crt0.s: New file.
307 * config/nvptx/free.asm: New file.
308 * config/nvptx/malloc.asm: New file.
309 * config/nvptx/realloc.c: New file.
311 2014-10-30 Joseph Myers <joseph@codesourcery.com>
313 * Makefile.in (libgcc.map.in): New target.
314 (libgcc.map): Use libgcc.map.in.
315 * config/t-softfp (softfp_compat): New variable to be set by
317 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
319 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
321 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
322 that use compat symbols and disable all code unless [SHARED].
323 * config/t-softfp-compat: New file.
324 * find-symver.awk: New file.
325 * configure.ac (--with-glibc-version): New configure option.
326 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
327 * configure: Regenerate.
328 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
331 2014-10-29 Joseph Myers <joseph@codesourcery.com>
333 * config/t-hardfp (hardfp_exclusions): Document new variable for
335 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
336 * config/t-softfp (softfp_extras): Document new variable for user
338 (softfp_func_list): Add functions from $(softfp_extras).
339 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
340 * config.host (powerpc*-*-linux*): For e500v1, use
341 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
342 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
343 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
345 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
347 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
348 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
349 memory read accesses are ok.
351 2014-10-25 Joseph Myers <joseph@codesourcery.com>
353 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
354 * configure: Regenerate.
355 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
356 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
357 of soft-fp for 32-bit classic hard float. Do not use
358 t-softfp-excl for soft float.
360 2014-10-22 Joseph Myers <joseph@codesourcery.com>
362 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
364 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
367 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
369 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
370 introduced with 2014-10-21 trunk r216525.
372 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
373 Vidya Praveen <vidya.praveen@atmel.com>
374 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
375 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
376 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
378 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
381 Updated library functions for AVRTINY arch.
382 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
383 Replaced occurrences of r0/r1 with tmp/zero reg macros.
384 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
385 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
387 (__mulsi3_helper): Update stack, preserve callee saved regs and
388 argument from stack. Restore callee save registers.
389 (__mulpsi3): Likewise.
390 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
391 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
392 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
394 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
395 (__do_copy_data): Added new definition for AVRTINY.
396 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
397 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
398 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
399 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
400 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
402 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
405 Fix broken long multiplication on tiny arch.
407 2014-10-09 Joseph Myers <joseph@codesourcery.com>
409 * soft-fp/double.h: Update from glibc.
410 * soft-fp/eqdf2.c: Likewise.
411 * soft-fp/eqsf2.c: Likewise.
412 * soft-fp/eqtf2.c: Likewise.
413 * soft-fp/extenddftf2.c: Likewise.
414 * soft-fp/extended.h: Likewise.
415 * soft-fp/extendsfdf2.c: Likewise.
416 * soft-fp/extendsftf2.c: Likewise.
417 * soft-fp/extendxftf2.c: Likewise.
418 * soft-fp/gedf2.c: Likewise.
419 * soft-fp/gesf2.c: Likewise.
420 * soft-fp/getf2.c: Likewise.
421 * soft-fp/ledf2.c: Likewise.
422 * soft-fp/lesf2.c: Likewise.
423 * soft-fp/letf2.c: Likewise.
424 * soft-fp/op-1.h: Likewise.
425 * soft-fp/op-2.h: Likewise.
426 * soft-fp/op-4.h: Likewise.
427 * soft-fp/op-8.h: Likewise.
428 * soft-fp/op-common.h: Likewise.
429 * soft-fp/quad.h: Likewise.
430 * soft-fp/single.h: Likewise.
431 * soft-fp/soft-fp.h: Likewise.
432 * soft-fp/unorddf2.c: Likewise.
433 * soft-fp/unordsf2.c: Likewise.
434 * soft-fp/unordtf2.c: Likewise.
435 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
436 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
437 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
438 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
439 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
440 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
441 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
442 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
443 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
444 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
446 2014-10-08 Rong Xu <xur@google.com>
448 * libgcov-util.c (read_gcda_file): Fix format.
449 (find_match_gcov_info): Ditto.
450 (calculate_2_entries): New.
451 (compute_one_gcov): Ditto.
452 (gcov_info_count_all_cold): Ditto.
453 (gcov_info_count_all_zero): Ditto.
454 (extract_file_basename): Ditto.
455 (get_file_basename): Ditto.
457 (matched_gcov_info): Ditto.
458 (calculate_overlap): Ditto.
459 (gcov_profile_overlap): Ditto.
460 * libgcov-driver.c (compute_summary): Make
461 it avavilable for external calls.
463 2014-10-06 Rong Xu <xur@google.com>
465 * Makefile.in: Ditto.
466 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
467 (gcov_sort_icall_topn_counter): Ditto.
468 (gcov_sort_topn_counter_arrays): Ditto.
469 (dump_one_gcov): Sort indirect_call topn counters.
470 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
472 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
474 (__gcov_indirect_call_topn_profiler): New profiler function.
475 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
476 * libgcov.h: New decls.
478 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
480 * config.host: Remove support for score-*.
482 2014-09-22 Joseph Myers <joseph@codesourcery.com>
484 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
485 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
486 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
487 __LIBGCC_XF_MANT_DIG__.
488 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
489 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
490 __LIBGCC_TF_MANT_DIG__.
491 * libgcc2.c (NOTRUNC): Define in terms of
492 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
493 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
495 2014-09-22 Joseph Myers <joseph@codesourcery.com>
498 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
501 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
503 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
504 override USE_PT_GNU_EH_FRAME.
505 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
506 check USE_EH_FRAME_REGISTRY_ALWAYS against
507 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
508 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
509 variable for substituted force_explicit_eh_registry.
510 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
511 * configure.ac (explicit-exception-frame-registration):
513 * configure: Regenerate.
515 2014-09-19 Olivier Hainque <hainque@adacore.com>
517 * config.host (powerpc-wrs-vxworksmils): New configuration,
520 2014-09-18 Joseph Myers <joseph@codesourcery.com>
522 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
524 2014-09-18 Joseph Myers <joseph@codesourcery.com>
526 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
527 bits not set bits as indicating trapping exceptions.
529 2014-09-17 Nathan sidwell <nathan@acm.org>
531 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
532 (LIBGCOV_DRIVER): ... here.
533 * libgcov-driver.c (gcov_master): New.
534 (gcov_exit): Remove from master chain.
535 (__gcov_init): Add to master chain if version compatible. Don't
537 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
538 (gcov_reset_int): Clear master chain, if compatible.
539 (gcov_dump_int): New internal interface. Dump master chain, if
541 (gcov_dump): Alias for gcov_dump_int.
542 * libgcov.h (struct gcov_root): Add next and prev fields.
543 (struct gcov_master): New struct.
544 (__gcov_master): New.
545 (gcov_dump_int): Declare.
547 2014-09-17 Olivier Hainque <hainque@adacore.com>
549 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
550 and crtbegin.o + crtend.o to extra_parts.
552 2014-09-12 Joseph Myers <joseph@codesourcery.com>
554 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
555 __LIBGCC_HAS_SF_MODE__.
556 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
557 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
558 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
559 * config/libbid/bid_gcc_intrinsics.h
560 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
561 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
562 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
563 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
564 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
565 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
567 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
570 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
571 and R24 as needed. Make work for all devices and .text locations.
572 (__do_global_ctors, __do_global_dtors): Use word addresses.
573 (__tablejump__, __tablejump_elpm__): Remove functions.
574 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
576 (XICALL, XIJMP): New macros.
578 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
579 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
581 * config.host (aarch64*): Include crtfastmath.o and
583 * config/aarch64/crtfastmath.c: New file.
585 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
587 * config.host: Remove picochip support.
588 * config/picochip/adddi3.S: Remove.
589 * config/picochip/ashlsi3.S: Remove.
590 * config/picochip/ashlsi3.c: Remove.
591 * config/picochip/ashrsi3.S: Remove.
592 * config/picochip/ashrsi3.c: Remove.
593 * config/picochip/clzsi2.S: Remove.
594 * config/picochip/cmpsi2.S: Remove.
595 * config/picochip/divmod15.S: Remove.
596 * config/picochip/divmodhi4.S: Remove.
597 * config/picochip/divmodsi4.S: Remove.
598 * config/picochip/lib1funcs.S: Remove.
599 * config/picochip/longjmp.S: Remove.
600 * config/picochip/lshrsi3.S: Remove.
601 * config/picochip/lshrsi3.c: Remove.
602 * config/picochip/parityhi2.S: Remove.
603 * config/picochip/popcounthi2.S: Remove.
604 * config/picochip/setjmp.S: Remove.
605 * config/picochip/subdi3.S: Remove.
606 * config/picochip/t-picochip: Remove.
607 * config/picochip/ucmpsi2.S: Remove.
608 * config/picochip/udivmodhi4.S: Remove.
609 * config/picochip/udivmodsi4.S: Remove.
611 2014-09-08 Joseph Myers <joseph@codesourcery.com>
613 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
614 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
615 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
616 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
617 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
618 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
619 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
620 defined and LIBGCC2_HAS_DF_MODE is defined.
621 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
622 defined and LIBGCC2_HAS_XF_MODE is defined.
623 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
624 defined and LIBGCC2_HAS_TF_MODE is defined.
626 2014-09-08 Joseph Myers <joseph@codesourcery.com>
628 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
629 and ROUND_TOWARDS_ZERO conditionals.
631 2014-09-07 Nathan sidwell <nathan@acm.org>
633 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
634 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
636 2014-09-05 Joseph Myers <joseph@codesourcery.com>
638 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
639 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
640 uses to __LIBGCC_STACK_POINTER_REGNUM__.
641 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
642 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
643 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
644 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
645 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
646 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
647 (DWARF_FRAME_REGISTERS): Change all uses to
648 __LIBGCC_DWARF_FRAME_REGISTERS__.
649 (EH_RETURN_STACKADJ_RTX): Change all uses to
650 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
651 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
652 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
653 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
654 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
655 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
656 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
657 to __LIBGCC_EH_FRAME_SECTION_NAME__.
658 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
659 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
660 __LIBGCC_STACK_POINTER_REGNUM__.
661 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
662 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
663 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
664 to __LIBGCC_STACK_POINTER_REGNUM__.
665 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
666 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
667 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
668 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
669 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
670 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
671 (STACK_POINTER_REGNUM): Change all uses to
672 __LIBGCC_STACK_POINTER_REGNUM__.
673 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
674 use to __LIBGCC_STACK_POINTER_REGNUM__.
675 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
676 uses to __LIBGCC_STACK_POINTER_REGNUM__.
677 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
678 to __LIBGCC_DWARF_FRAME_REGISTERS__.
679 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
680 to __LIBGCC_DWARF_FRAME_REGISTERS__.
681 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
682 to __LIBGCC_STACK_POINTER_REGNUM__.
683 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
684 Remove conditional definition.
685 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
686 __LIBGCC_TEXT_SECTION_ASM_OP__.
687 (EH_FRAME_SECTION_NAME): Change all uses to
688 __LIBGCC_EH_FRAME_SECTION_NAME__.
689 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
690 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
691 (CTORS_SECTION_ASM_OP): Change all uses to
692 __LIBGCC_CTORS_SECTION_ASM_OP__.
693 (DTORS_SECTION_ASM_OP): Change all uses to
694 __LIBGCC_DTORS_SECTION_ASM_OP__.
695 (JCR_SECTION_NAME): Change all uses to
696 __LIBGCC_JCR_SECTION_NAME__.
697 (INIT_SECTION_ASM_OP): Change all uses to
698 __LIBGCC_INIT_SECTION_ASM_OP__.
699 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
700 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
701 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
702 __LIBGCC_STACK_GROWS_DOWNWARD__.
703 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
704 __LIBGCC_INIT_SECTION_ASM_OP__.
705 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
706 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
707 (EH_FRAME_SECTION_NAME): Change all uses to
708 __LIBGCC_EH_FRAME_SECTION_NAME__.
709 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
710 definitions. Change all uses to
711 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
712 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
713 __LIBGCC_STACK_GROWS_DOWNWARD__.
714 (DWARF_FRAME_REGISTERS): Change all uses to
715 __LIBGCC_DWARF_FRAME_REGISTERS__.
716 (EH_RETURN_STACKADJ_RTX): Change all uses to
717 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
718 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
719 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
720 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
721 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
722 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
724 2014-09-02 Nathan sidwell <nathan@acm.org>
726 * libgcov-interface.c (STRONG_ALIAS): New.
727 (__gcov_flush): Call __gcov_reset_int.
728 (__gcov_reset): Strong alias for ...
729 (__gcov_reset_ing): ... this renamed hidden version.
730 * libgcov.h (__gcov_reset_int): New declaration.
732 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
734 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
736 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
737 (__dso_handle): Define on Cygwin.
738 * config/i386/t-cygming (crtbeginS.o): New rule.
739 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
741 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
744 2014-08-13 Steve Ellcey <sellcey@mips.com>
746 * crtstuff.c: Undef caddr_t.
748 2014-08-12 Steve Ellcey <sellcey@mips.com>
750 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
752 2014-08-07 Nathan Sidwell <nathan@acm.org>
754 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
755 (LIBGCOV_DRIVER): ... to here.
756 * libgcov.h (gcov_do_dump): New #define.
757 (struct gcov_root): New.
758 (__gcov_root): New declaration.
759 (__gcov_dump_one): Declare.
760 * libgcov-driver.c (gcov_list, gcov_dump_complete,
761 run_accounted): Delete.
762 (gcov_compute_histogram): Add LIST argument, adjust.
763 (compute_summary): Adjust gcov_compute_histogram call.
764 (gcov_do_dump): Not hidden, static in libgcov.
765 (gcov_clear): Move to interface.c.
766 (__gcov_dump_one): New, broken out of ...
767 (gcov_exit): ... here. Make static.
769 (__gcov_init): Adjust.
770 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
772 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
773 (gcov_clear): Moved from driver.c. Add LIST argument.
774 (__gcov_reset): Adjust for changed interfaces.
775 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
777 2014-08-04 Rohit <rohitarulraj@freescale.com>
780 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
781 based on change in SPE high register numbers and 3 HTM registers.
783 2014-08-01 Nathan Sidwell <nathan@acm.org>
785 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
786 LIBGCOV_INTERFACE): Reformat.
787 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
789 * libgcov-interface.c: Reformat some comments.
790 (__gcov_flush_mx): Add declaration. Tidy up definition.
792 2014-07-31 Alan Modra <amodra@gmail.com>
793 Peter Bergner <bergner@vnet.ibm.com>
795 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
796 (pack_ldouble): New function.
797 (__gcc_qadd): Use it.
798 (__gcc_qmul): Likewise.
799 (__gcc_qdiv): Likewise.
800 (__gcc_qneg): Likewise.
801 (__gcc_stoq): Likewise.
802 (__gcc_dtoq): Likewise.
804 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
806 * config/s390/tpf-unwind.h: Include <stdbool.h>.
807 (__tpf_eh_return): Add original return address as second parameter.
808 Handle cases where unwinder routines were called directly, instead
809 of from within the C++ library.
811 2014-07-29 Nathan Sidwell <nathan@acm.org>
813 * libgcov.h: Move renaming of entry points to lib gcov specific
815 (gcov_do_dump): New rename.
816 (gcov_rewrite): Remove inline, make HIDDEN.
817 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
818 (gcov_exit_compute_summary): Rename to ...
819 (compute_summary): ... here. Add LIST argument.
820 (gcov_exit_merge_gcda): Rename to ...
821 (merge_one_data): ... here.
822 (gcov_exit_write_gcda): Rename to ...
823 (write_one_data): ... here.
824 (gcov_exit_merge_summary): Rename to ...
825 (merge_summary): Add RUN_COUNTED argument.
826 (gcov_exit_dump_gcov): Rename to ...
827 (dump_one_gcov): Add RUN_COUNTED argument.
828 (gcov_do_dump): New function, broken out of ...
829 (gcov_exit): ... here. Call it.
831 2014-07-27 Anthony Green <green@moxielogic.com>
833 * config.host: Add moxiebox configuration suppport.
835 2014-07-27 Nathan Sidwell <nathan@acm.org>
837 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
838 (struct gcov_filename): ... here. Include buffer and max length
840 (gcov_max_filename): Remove.
841 (gi_filename): Remove.
842 (gcov_exit_compute_summary): Compute max filename here.
843 (gcov_exit_merge_gcda): Add filename parm, adjust.
844 (gcov_exit_merge_summary): Likewise.
845 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
846 (gcov_exit): Likewise.
847 (__gcov_init): Don't calculate max length here.
848 * libgcov_util.c (max_filename_len): Remove.
849 (read_gcda_file): Don't calculate max length here.
850 (gcov_read_profile_dir): Don't propagate here.
851 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
852 struct gcov_filename changes.
853 (gcov_exit_open_gcda_file): Likewise.
855 2014-07-25 Nathan Sidwell <nathan@acm.org>
857 * libgcov-driver.c (set_gcov_dump_complete,
858 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
859 functions polluting user's namespace.
860 (gcov_exit): Set variable directly.
861 (gcov_clear): Reset variable directly.
862 * libgcov-interface.c (get_gcov_dymp_complete,
863 reset_gov_dump_complete): Remove declarations.
864 (__gcov_reset, __gcov_dump): Don't call them.
866 2014-07-24 DJ Delorie <dj@redhat.com>
868 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
869 (__gcc_deregister_frame): Move logic to detect deregister function
871 (__gcc_register_frame): here, so it's consistent with the register
874 2014-07-23 Nathan Sidwell <nathan@acm.org>
876 * libgcov-driver.c (set_gcov_list): Remove.
877 (gcov_list): Make non-static in GCOV_TOOL.
878 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
880 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
882 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
883 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
884 Don't use SYNC_LOCK_RELEASE for int type.
886 2014-07-14 Richard Biener <rguenther@suse.de>
888 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
890 2014-07-11 Rong Xu <xur@google.com>
892 * libgcov-util.c (gcov_max_filename): Fix declartion.
894 2014-07-10 Rong Xu <xur@google.com>
896 Add gcov-tool: an offline gcda profile processing tool
898 * libgcov-driver.c (gcov_max_filename): Make available
900 * libgcov-merge.c (__gcov_merge_add): Replace
901 gcov_read_counter() with a Macro.
902 (__gcov_merge_ior): Ditto.
903 (__gcov_merge_time_profile): Ditto.
904 (__gcov_merge_single): Ditto.
905 (__gcov_merge_delta): Ditto.
906 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
907 in the utility functions.
908 (set_fn_ctrs): Utility function for reading gcda files to in-memory
909 gcov_list object link lists.
910 (tag_function): Ditto.
914 (tag_counters): Ditto.
915 (tag_summary): Ditto.
916 (read_gcda_finalize): Ditto.
917 (read_gcda_file): Ditto.
918 (ftw_read_file): Ditto.
919 (read_profile_dir_init): Ditto.
920 (gcov_read_profile_dir): Ditto.
921 (gcov_read_counter_mem): Ditto.
922 (gcov_get_merge_weight): Ditto.
923 (merge_wrapper): A wrapper function that calls merging handler.
924 (gcov_merge): Merge two gcov_info objects with weights.
925 (find_match_gcov_info): Find the matched gcov_info in the list.
926 (gcov_profile_merge): Merge two gcov_info object lists.
927 (__gcov_add_counter_op): Process edge profile counter values.
928 (__gcov_ior_counter_op): Process IOR profile counter values.
929 (__gcov_delta_counter_op): Process delta profile counter values.
930 (__gcov_single_counter_op): Process single profile counter values.
931 (fp_scale): Callback function for float-point scaling.
932 (int_scale): Callback function for integer fraction scaling.
933 (gcov_profile_scale): Scaling profile counters.
934 (gcov_profile_normalize): Normalize profile counters.
935 * libgcov.h: Add headers and functions for gcov-tool use.
936 (gcov_get_counter): New.
937 (gcov_get_counter_target): Ditto.
938 (struct gcov_info): Make the functions field mutable in gcov-tool
941 2014-06-23 Kai Tietz <ktietz@redhat.com>
944 * unwind-seh.c (_Unwind_GetGR): Check for proper
946 (_Unwind_SetGR): Likewise.
948 2014-05-22 Nick Clifton <nickc@redhat.com>
950 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
953 2014-05-22 Teresa Johnson <tejohnson@google.com>
955 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
958 2014-05-20 John Marino <gnugcc@marino.st>
960 * config.host (*-*-dragonfly*): New target.
961 * crtstuff.c: Make dl_iterate_support generic on *bsd.
962 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
963 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
964 * config/i386/dragonfly-unwind.h: New.
966 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
969 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
970 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
972 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
974 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
977 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
979 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
981 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
984 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
987 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
989 Work around for current cygwin32 build problems.
990 * config/i386/cygming-crtbegin.c (__register_frame_info,
991 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
992 functions only for 64-bit systems.
994 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
996 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
997 (sigill_caught, sigill_hdlr): Remove.
999 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1001 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
1003 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1004 Solaris 9 single-threaded support.
1005 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1006 Solaris 9 single-threaded support. Add call_user_handler code
1008 (sparc_is_sighandler): Likewise.
1010 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1012 * config.host: Append t-floattodi to tmake_file depending on
1015 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
1017 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
1019 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
1022 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
1023 variable to avoid "array subscript is above array bounds" warnings.
1024 Use __builtin_expect when checking *jcr_list for NULL.
1026 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1029 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
1030 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
1031 vtv_*.o to extra_parts if enable_vtable_verify.
1033 2014-03-06 Nick Clifton <nickc@redhat.com>
1035 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
1036 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
1038 2014-02-28 Joey Ye <joey.ye@arm.com>
1041 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
1042 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
1045 2014-02-24 Walter Lee <walt@tilera.com>
1047 * config.host: Support "tilegx*" and "tilepro*" triplets.
1048 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
1049 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
1051 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
1052 Chung-Lin Tang <cltang@codesourcery.com>
1054 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
1055 * config/nios2/crti.S: Remove .file directive.
1056 * config/nios2/crtn.S: Likewise.
1058 2014-02-18 Kai Tietz <ktietz@redhat.com>
1059 Jonathan Schleifer <js@webkeks.org>
1062 * unwind-seh.c (_GCC_specific_handler): Pass proper
1063 value to unwind-handler.
1065 2014-02-12 Joseph Myers <joseph@codesourcery.com>
1067 * soft-fp/adddf3.c: Update from glibc.
1068 * soft-fp/addsf3.c: Likewise.
1069 * soft-fp/addtf3.c: Likewise.
1070 * soft-fp/divdf3.c: Likewise.
1071 * soft-fp/divsf3.c: Likewise.
1072 * soft-fp/divtf3.c: Likewise.
1073 * soft-fp/double.h: Likewise.
1074 * soft-fp/eqdf2.c: Likewise.
1075 * soft-fp/eqsf2.c: Likewise.
1076 * soft-fp/eqtf2.c: Likewise.
1077 * soft-fp/extenddftf2.c: Likewise.
1078 * soft-fp/extended.h: Likewise.
1079 * soft-fp/extendsfdf2.c: Likewise.
1080 * soft-fp/extendsftf2.c: Likewise.
1081 * soft-fp/extendxftf2.c: Likewise.
1082 * soft-fp/fixdfdi.c: Likewise.
1083 * soft-fp/fixdfsi.c: Likewise.
1084 * soft-fp/fixdfti.c: Likewise.
1085 * soft-fp/fixsfdi.c: Likewise.
1086 * soft-fp/fixsfsi.c: Likewise.
1087 * soft-fp/fixsfti.c: Likewise.
1088 * soft-fp/fixtfdi.c: Likewise.
1089 * soft-fp/fixtfsi.c: Likewise.
1090 * soft-fp/fixtfti.c: Likewise.
1091 * soft-fp/fixunsdfdi.c: Likewise.
1092 * soft-fp/fixunsdfsi.c: Likewise.
1093 * soft-fp/fixunsdfti.c: Likewise.
1094 * soft-fp/fixunssfdi.c: Likewise.
1095 * soft-fp/fixunssfsi.c: Likewise.
1096 * soft-fp/fixunssfti.c: Likewise.
1097 * soft-fp/fixunstfdi.c: Likewise.
1098 * soft-fp/fixunstfsi.c: Likewise.
1099 * soft-fp/fixunstfti.c: Likewise.
1100 * soft-fp/floatdidf.c: Likewise.
1101 * soft-fp/floatdisf.c: Likewise.
1102 * soft-fp/floatditf.c: Likewise.
1103 * soft-fp/floatsidf.c: Likewise.
1104 * soft-fp/floatsisf.c: Likewise.
1105 * soft-fp/floatsitf.c: Likewise.
1106 * soft-fp/floattidf.c: Likewise.
1107 * soft-fp/floattisf.c: Likewise.
1108 * soft-fp/floattitf.c: Likewise.
1109 * soft-fp/floatundidf.c: Likewise.
1110 * soft-fp/floatundisf.c: Likewise.
1111 * soft-fp/floatunditf.c: Likewise.
1112 * soft-fp/floatunsidf.c: Likewise.
1113 * soft-fp/floatunsisf.c: Likewise.
1114 * soft-fp/floatunsitf.c: Likewise.
1115 * soft-fp/floatuntidf.c: Likewise.
1116 * soft-fp/floatuntisf.c: Likewise.
1117 * soft-fp/floatuntitf.c: Likewise.
1118 * soft-fp/gedf2.c: Likewise.
1119 * soft-fp/gesf2.c: Likewise.
1120 * soft-fp/getf2.c: Likewise.
1121 * soft-fp/ledf2.c: Likewise.
1122 * soft-fp/lesf2.c: Likewise.
1123 * soft-fp/letf2.c: Likewise.
1124 * soft-fp/muldf3.c: Likewise.
1125 * soft-fp/mulsf3.c: Likewise.
1126 * soft-fp/multf3.c: Likewise.
1127 * soft-fp/negdf2.c: Likewise.
1128 * soft-fp/negsf2.c: Likewise.
1129 * soft-fp/negtf2.c: Likewise.
1130 * soft-fp/op-1.h: Likewise.
1131 * soft-fp/op-2.h: Likewise.
1132 * soft-fp/op-4.h: Likewise.
1133 * soft-fp/op-8.h: Likewise.
1134 * soft-fp/op-common.h: Likewise.
1135 * soft-fp/quad.h: Likewise.
1136 * soft-fp/single.h: Likewise.
1137 * soft-fp/soft-fp.h: Likewise.
1138 * soft-fp/subdf3.c: Likewise.
1139 * soft-fp/subsf3.c: Likewise.
1140 * soft-fp/subtf3.c: Likewise.
1141 * soft-fp/truncdfsf2.c: Likewise.
1142 * soft-fp/trunctfdf2.c: Likewise.
1143 * soft-fp/trunctfsf2.c: Likewise.
1144 * soft-fp/trunctfxf2.c: Likewise.
1145 * soft-fp/unorddf2.c: Likewise.
1146 * soft-fp/unordsf2.c: Likewise.
1147 * soft-fp/unordtf2.c: Likewise.
1148 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
1150 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1152 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1154 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1156 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1158 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1160 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1162 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1164 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1166 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1168 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1170 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1172 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1174 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
1176 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
1178 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1181 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1183 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
1184 cannot be represented.
1185 * config/s390/32/_fixsfdi.c: Likewise.
1186 * config/s390/32/_fixtfdi.c: Likewise.
1187 * config/s390/32/_fixunsdfdi.c: Likewise.
1188 * config/s390/32/_fixunssfdi.c: Likewise.
1189 * config/s390/32/_fixunstfdi.c: Likewise.
1191 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
1193 * configure.ac (libgcc_cv_mips_hard_float): New.
1194 * configure: Regenerate.
1195 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
1196 t-softfp-sfdf for hard-float targets.
1197 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
1198 (softfp_float_modes, softfp_int_modes, softfp_extensions)
1199 (softfp_truncations, softfp_exclude_libgcc2): New.
1200 * config/t-hardfp: New file.
1201 * config/t-hardfp-sfdf: Likewise.
1202 * config/hardfp.c: Likewise.
1204 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1206 * config.host: Include t-floattodi also for s390x.
1207 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
1208 * config/s390/32/_fixsfdi.c: Likewise.
1209 * config/s390/32/_fixtfdi.c: Likewise.
1210 * config/s390/32/_fixunsdfdi.c: Likewise.
1211 * config/s390/32/_fixunssfdi.c: Likewise.
1212 * config/s390/32/_fixunstfdi.c: Likewise.
1214 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1217 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
1218 (install-libgcc-unwind-map-forbuild): New target.
1219 (all): Depend on install-libgcc-unwind-map-forbuild.
1220 (install-libgcc-unwind-map): New target.
1221 (install): Depend on install-libgcc-unwind-map.
1223 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
1225 * config/nios2/crti.S (_init): Initialize GOT pointer from
1226 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
1228 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
1230 * configure.ac: Check __mips64 when setting host_address.
1231 * configure: Regenerate.
1232 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
1233 mips/t-mips64 and t-softfp.
1234 (mips*-*-linux*): Don't add mips/t-tpbit.
1235 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
1236 (DPBIT, DPBIT_CFLAGS): Delete.
1237 * config/mips/sfp-machine.h: New file.
1238 * config/mips/t-mips64: Likewise.
1239 * config/mips/t-softfp-tf: Likewise.
1240 * config/mips/t-tpbit: Delete.
1242 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
1244 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
1247 2014-01-25 Walter Lee <walt@tilera.com>
1249 * config/tilepro/atomic.c: Include tconfig.h. Don't include
1250 config.h or system.h.
1253 2014-01-25 Walter Lee <walt@tilera.com>
1255 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
1256 (post_atomic_barrier): Ditto.
1257 (__fetch_and_do): New macro.
1258 (__atomic_fetch_and_do): Use __fetch_and_do.
1259 (__sync_fetch_and_do): New macro.
1260 (__sync_fetch_and_add_4): New function.
1261 (__sync_fetch_and_sub_4): New function.
1262 (__sync_fetch_and_or_4): New function.
1263 (__sync_fetch_and_and_4): New function.
1264 (__sync_fetch_and_xor_4): New function.
1265 (__sync_fetch_and_nand_4): New function.
1266 (__sync_fetch_and_add_8): New function.
1267 (__sync_fetch_and_sub_8): New function.
1268 (__sync_fetch_and_or_8): New function.
1269 (__sync_fetch_and_and_8): New function.
1270 (__sync_fetch_and_xor_8): New function.
1271 (__sync_fetch_and_nand_8): New function.
1272 (__do_and_fetch): New macro.
1273 (__atomic_do_and_fetch): Use __do_and_fetch.
1274 (__sync_do_and_fetch): New macro.
1275 (__sync_add_and_fetch_4): New function.
1276 (__sync_sub_and_fetch_4): New function.
1277 (__sync_or_and_fetch_4): New function.
1278 (__sync_and_and_fetch_4): New function.
1279 (__sync_xor_and_fetch_4): New function.
1280 (__sync_nand_and_fetch_4): New function.
1281 (__sync_add_and_fetch_8): New function.
1282 (__sync_sub_and_fetch_8): New function.
1283 (__sync_or_and_fetch_8): New function.
1284 (__sync_and_and_fetch_8): New function.
1285 (__sync_xor_and_fetch_8): New function.
1286 (__sync_nand_and_fetch_8): New function.
1287 (__sync_exchange_methods): New macro.
1288 (__sync_val_compare_and_swap_4): New function.
1289 (__sync_bool_compare_and_swap_4): New function.
1290 (__sync_lock_test_and_test_4): New function.
1291 (__sync_val_compare_and_swap_8): New function.
1292 (__sync_bool_compare_and_swap_8): New function.
1293 (__sync_lock_test_and_test_8): New function.
1294 (__subword_cmpxchg_body): New macro.
1295 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
1296 (__atomic_compare_exchange_2): Ditto.
1297 (__sync_subword_cmpxchg): New macro.
1298 (__sync_val_compare_and_swap_1): New function.
1299 (__sync_bool_compare_and_swap_1): New function.
1300 (__sync_val_compare_and_swap_2): New function.
1301 (__sync_bool_compare_and_swap_2): New function.
1302 (__atomic_subword): Rename to ...
1303 (__subword): ... New name.
1304 (__atomic_subword_fetch): Use __subword.
1305 (__sync_subword_fetch): New macro.
1306 (__sync_fetch_and_add_1): New function.
1307 (__sync_fetch_and_sub_1): New function.
1308 (__sync_fetch_and_or_1): New function.
1309 (__sync_fetch_and_and_1): New function.
1310 (__sync_fetch_and_xor_1): New function.
1311 (__sync_fetch_and_nand_1): New function.
1312 (__sync_fetch_and_add_2): New function.
1313 (__sync_fetch_and_sub_2): New function.
1314 (__sync_fetch_and_or_2): New function.
1315 (__sync_fetch_and_and_2): New function.
1316 (__sync_fetch_and_xor_2): New function.
1317 (__sync_fetch_and_nand_2): New function.
1318 (__sync_add_and_fetch_1): New function.
1319 (__sync_sub_and_fetch_1): New function.
1320 (__sync_or_and_fetch_1): New function.
1321 (__sync_and_and_fetch_1): New function.
1322 (__sync_xor_and_fetch_1): New function.
1323 (__sync_nand_and_fetch_1): New function.
1324 (__sync_add_and_fetch_2): New function.
1325 (__sync_sub_and_fetch_2): New function.
1326 (__sync_or_and_fetch_2): New function.
1327 (__sync_and_and_fetch_2): New function.
1328 (__sync_xor_and_fetch_2): New function.
1329 (__sync_nand_and_fetch_2): New function.
1330 (__atomic_subword_lock): Use __subword.
1331 (__sync_subword_lock): New macro.
1332 (__sync_lock_test_and_set_1): New function.
1333 (__sync_lock_test_and_set_2): New function.
1335 2014-01-25 Walter Lee <walt@tilera.com>
1337 * config/tilepro/atomic.c (BIT_OFFSET): Define.
1338 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
1339 (__atomic_subword): Ditto.
1341 2014-01-25 Walter Lee <walt@tilera.com>
1343 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
1344 a prefix op argument.
1345 (__atomic_nand_fetch_4): Add prefix op.
1346 (__atomic_nand_fetch_8): Ditto.
1348 2014-01-21 Baruch Siach <barch@tkos.co.il>
1350 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
1352 2014-01-09 Rong Xu <xur@google.com>
1354 * libgcov-driver.c (this_prg): make it local to save
1356 (gcov_exit_compute_summary): Ditto.
1357 (gcov_exit_merge_gcda): Ditto.
1358 (gcov_exit_merge_summary): Ditto.
1359 (gcov_exit_dump_gcov): Ditto.
1361 2014-01-08 Rong Xu <xur@google.com>
1363 * libgcov-driver.c: Use libgcov.h.
1364 (buffer_fn_data): Use xmalloc instead of malloc.
1365 (gcov_exit_merge_gcda): Ditto.
1366 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
1367 * libgcov.h: New common header files for libgcov-*.h.
1368 * libgcov-interface.c: Use libgcov.h
1369 * libgcov-merge.c: Ditto.
1370 * libgcov-profiler.c: Ditto.
1371 * Makefile.in: Add dependence to libgcov.h
1373 2014-01-02 Joseph Myers <joseph@codesourcery.com>
1375 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
1376 case of small numerator and finite nonzero result.
1378 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1380 Update copyright years
1382 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1384 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
1385 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
1386 config/arc/dp-hack.h, config/arc/fp-hack.h,
1387 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
1388 config/arc/ieee-754/arc600-dsp/divdf3.S,
1389 config/arc/ieee-754/arc600-dsp/divsf3.S,
1390 config/arc/ieee-754/arc600-dsp/muldf3.S,
1391 config/arc/ieee-754/arc600-dsp/mulsf3.S,
1392 config/arc/ieee-754/arc600-mul64/divdf3.S,
1393 config/arc/ieee-754/arc600-mul64/divsf3.S,
1394 config/arc/ieee-754/arc600-mul64/muldf3.S,
1395 config/arc/ieee-754/arc600-mul64/mulsf3.S,
1396 config/arc/ieee-754/arc600/divsf3.S,
1397 config/arc/ieee-754/arc600/mulsf3.S,
1398 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
1399 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
1400 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
1401 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
1402 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
1403 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
1404 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
1405 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
1406 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
1407 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
1408 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
1409 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
1410 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
1411 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
1412 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
1413 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
1414 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
1415 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
1416 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
1417 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
1418 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
1419 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
1420 vtv_start_preinit.c: Use the standard form for the copyright notice.
1422 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
1423 Chung-Lin Tang <cltang@codesourcery.com>
1424 Based on patches from Altera Corporation
1426 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
1427 * config/nios2/lib2-nios2.h: New file.
1428 * config/nios2/lib2-divmod-hi.c: New file.
1429 * config/nios2/linux-unwind.h: New file.
1430 * config/nios2/lib2-divmod.c: New file.
1431 * config/nios2/linux-atomic.c: New file.
1432 * config/nios2/t-nios2: New file.
1433 * config/nios2/crti.asm: New file.
1434 * config/nios2/t-linux: New file.
1435 * config/nios2/lib2-divtable.c: New file.
1436 * config/nios2/lib2-mul.c: New file.
1437 * config/nios2/tramp.c: New file.
1438 * config/nios2/crtn.asm: New file.
1440 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
1442 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
1443 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
1444 from cpuid.h to check vendor signatures.
1446 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
1448 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
1449 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
1450 (get_amd_cpu): Likewise.
1452 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
1454 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
1457 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
1458 H.J. Lu <hongjiu.lu@intel.com>
1461 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
1463 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
1464 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
1465 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
1466 FEATURE_XOP and FEATURE_FMA.
1467 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
1469 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
1470 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
1471 FEATURE_FMA4 and FEATURE_XOP.
1473 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
1475 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
1476 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
1477 (get_intel_cpu): Updated.
1479 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
1481 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
1483 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
1485 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1486 instructions when __SSE_MATH__ is defined.
1488 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
1490 * config.host (microblaze-*-rtems*): New.
1492 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
1494 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
1495 architectures that do not have hardware divide instruction.
1496 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
1498 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
1500 * longlong.h: Delete (moved to include/).
1502 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1504 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
1505 of normal number and qNaN to not raise an inexact exception.
1507 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
1509 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
1511 2013-11-28 Matthew Leach <matthew.leach@arm.com>
1513 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
1514 for correct opcodes on BE.
1516 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
1518 * soft-fp/op-4.h: Update from glibc.
1520 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
1522 * libgcc2.c (__udivmoddi4): Define new implementation when
1523 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
1524 divide instructions.
1526 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
1528 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
1530 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1532 * config/t-softfp (soft-fp-objects-base): New variable.
1533 (soft-fp-objects): Use it.
1535 2013-11-23 David Edelson <dje.gcc@gmail.com>
1536 Andrew Dixie <andrewd@gentrack.com>
1539 * config/rs6000/aixinitfini.c: New file.
1540 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
1541 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
1544 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
1546 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
1548 2013-11-18 Jan Hubicka <jh@suse.cz>
1550 * libgcov-driver.c (run_accounted): Make global level static.
1551 (gcov_exit_merge_summary): Silence warning; do not clear
1553 (gcov_exit): Clear it here.
1555 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
1558 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
1559 (all_prg, crc32): Remove static vars.
1560 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
1562 (gcov_exit_merge_gcda): Add crc32 parameter.
1563 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
1564 do not account run if it was already accounted.
1565 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
1566 (gcov_exit): Initialize all_prg; update.
1568 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
1570 * configure: Regenerate.
1572 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1573 Alan Modra <amodra@gmail.com>
1575 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
1576 (frob_update_context): Use it.
1578 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1579 Alan Modra <amodra@gmail.com>
1581 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
1582 (trampoline_initial): Provide ELFv2 variant.
1583 (__trampoline_setup): Likewise.
1585 * config/rs6000/linux-unwind.h (frob_update_context): Do not
1586 check for AIX indirect function call sequence if _CALL_ELF == 2.
1588 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1589 Alan Modra <amodra@gmail.com>
1591 * config/rs6000/linux-unwind.h (get_regs): Do not support
1592 old kernel versions if _CALL_ELF == 2.
1593 (frob_update_context): Do not support PLT stub variants only
1594 generated by old linkers if _CALL_ELF == 2.
1596 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1597 Alan Modra <amodra@gmail.com>
1599 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
1600 location of CR save area for 64-bit little-endian systems.
1602 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
1604 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
1606 * config/arm/t-vxworks: Delete.
1608 2013-11-10 Kai Tietz <ktietz@redhat.com>
1610 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
1611 Increment load-count on use of LIBGCC_SONAME DLL.
1612 (hmod_libgcc): New static variable to hold handle of
1614 (__gcc_deregister_frame): Decrement load-count of
1617 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
1619 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
1621 * configure: Regenerate
1623 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
1625 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
1626 FP_EX_DENORM. Store result to volatile location after SSE division
1627 to close interrupt window. Remove unneeded fwait after x87
1628 division since interrupt window will be closed by emitted fstp.
1629 Rewrite FP_EX_INEXACT handling.
1631 2013-11-06 Joseph Myers <joseph@codesourcery.com>
1633 * soft-fp/README: Update.
1634 * soft-fp/adddf3.c: Update from glibc.
1635 * soft-fp/addsf3.c: Likewise.
1636 * soft-fp/addtf3.c: Likewise.
1637 * soft-fp/divdf3.c: Likewise.
1638 * soft-fp/divsf3.c: Likewise.
1639 * soft-fp/divtf3.c: Likewise.
1640 * soft-fp/double.h: Likewise.
1641 * soft-fp/eqdf2.c: Likewise.
1642 * soft-fp/eqsf2.c: Likewise.
1643 * soft-fp/eqtf2.c: Likewise.
1644 * soft-fp/extenddftf2.c: Likewise.
1645 * soft-fp/extended.h: Likewise.
1646 * soft-fp/extendsfdf2.c: Likewise.
1647 * soft-fp/extendsftf2.c: Likewise.
1648 * soft-fp/extendxftf2.c: Likewise.
1649 * soft-fp/fixdfdi.c: Likewise.
1650 * soft-fp/fixdfsi.c: Likewise.
1651 * soft-fp/fixdfti.c: Likewise.
1652 * soft-fp/fixsfdi.c: Likewise.
1653 * soft-fp/fixsfsi.c: Likewise.
1654 * soft-fp/fixsfti.c: Likewise.
1655 * soft-fp/fixtfdi.c: Likewise.
1656 * soft-fp/fixtfsi.c: Likewise.
1657 * soft-fp/fixtfti.c: Likewise.
1658 * soft-fp/fixunsdfdi.c: Likewise.
1659 * soft-fp/fixunsdfsi.c: Likewise.
1660 * soft-fp/fixunsdfti.c: Likewise.
1661 * soft-fp/fixunssfdi.c: Likewise.
1662 * soft-fp/fixunssfsi.c: Likewise.
1663 * soft-fp/fixunssfti.c: Likewise.
1664 * soft-fp/fixunstfdi.c: Likewise.
1665 * soft-fp/fixunstfsi.c: Likewise.
1666 * soft-fp/fixunstfti.c: Likewise.
1667 * soft-fp/floatdidf.c: Likewise.
1668 * soft-fp/floatdisf.c: Likewise.
1669 * soft-fp/floatditf.c: Likewise.
1670 * soft-fp/floatsidf.c: Likewise.
1671 * soft-fp/floatsisf.c: Likewise.
1672 * soft-fp/floatsitf.c: Likewise.
1673 * soft-fp/floattidf.c: Likewise.
1674 * soft-fp/floattisf.c: Likewise.
1675 * soft-fp/floattitf.c: Likewise.
1676 * soft-fp/floatundidf.c: Likewise.
1677 * soft-fp/floatundisf.c: Likewise.
1678 * soft-fp/floatunditf.c: Likewise.
1679 * soft-fp/floatunsidf.c: Likewise.
1680 * soft-fp/floatunsisf.c: Likewise.
1681 * soft-fp/floatunsitf.c: Likewise.
1682 * soft-fp/floatuntidf.c: Likewise.
1683 * soft-fp/floatuntisf.c: Likewise.
1684 * soft-fp/floatuntitf.c: Likewise.
1685 * soft-fp/gedf2.c: Likewise.
1686 * soft-fp/gesf2.c: Likewise.
1687 * soft-fp/getf2.c: Likewise.
1688 * soft-fp/ledf2.c: Likewise.
1689 * soft-fp/lesf2.c: Likewise.
1690 * soft-fp/letf2.c: Likewise.
1691 * soft-fp/muldf3.c: Likewise.
1692 * soft-fp/mulsf3.c: Likewise.
1693 * soft-fp/multf3.c: Likewise.
1694 * soft-fp/negdf2.c: Likewise.
1695 * soft-fp/negsf2.c: Likewise.
1696 * soft-fp/negtf2.c: Likewise.
1697 * soft-fp/op-1.h: Likewise.
1698 * soft-fp/op-2.h: Likewise.
1699 * soft-fp/op-4.h: Likewise.
1700 * soft-fp/op-8.h: Likewise.
1701 * soft-fp/op-common.h: Likewise.
1702 * soft-fp/quad.h: Likewise.
1703 * soft-fp/single.h: Likewise.
1704 * soft-fp/soft-fp.h: Likewise.
1705 * soft-fp/subdf3.c: Likewise.
1706 * soft-fp/subsf3.c: Likewise.
1707 * soft-fp/subtf3.c: Likewise.
1708 * soft-fp/truncdfsf2.c: Likewise.
1709 * soft-fp/trunctfdf2.c: Likewise.
1710 * soft-fp/trunctfsf2.c: Likewise.
1711 * soft-fp/trunctfxf2.c: Likewise.
1712 * soft-fp/unorddf2.c: Likewise.
1713 * soft-fp/unordsf2.c: Likewise.
1714 * soft-fp/unordtf2.c: Likewise.
1716 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
1718 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
1719 (_FP_MUL_MEAT_D): Ditto.
1720 (_FP_DIV_MEAT_S): Ditto.
1721 (_FP_DIV_MEAT_D): Ditto.
1722 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
1723 t-softfp-sfdf and t-softfp to tmake_file.
1725 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
1727 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
1728 * config/i386/crtprec.c: Ditto.
1730 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
1731 Shiva Chen <shiva0217@gmail.com>
1733 * config.host (nds32*-elf*): Add nds32 target.
1734 * config/nds32 : New directory and files.
1736 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
1738 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
1739 * config.host (cpu_type) <Setting default>: Add entry for
1741 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
1742 <crisv32-*-linux*>: Adjust.
1743 * longlong.h: Wrap the whole CRIS section in a single
1744 defined(__CRIS__) conditional. Add comment about add_ssaaaa
1746 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
1748 [__CRIS__] (__umulsidi3): Define.
1749 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
1750 * config/cris/sfp-machine.h: New file.
1751 * config/cris/umulsidi3.S: New file.
1752 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
1753 * config/cris/arit.c (SIGNMULT): New macro.
1754 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
1755 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
1756 saving 3 out of originally 33 cycles from the fastest
1757 path, 3 out of 54 from the medium path and one from the longest
1758 path. Improve comments.
1760 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
1762 * sync.c: Remove static aliases and define each function directly
1763 under its real name.
1765 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
1767 * config.host (hppa*64*-*-linux*): Define extra_parts.
1768 (hppa*-*-linux*): Likewise.
1770 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
1772 * config/arc/crtgend.S: Add 2013 to Copyright years.
1773 * config/arc/gmon/atomic.h: Likewise.
1774 * config/arc/gmon/auxreg.h: Likewise.
1775 * config/arc/gmon/sys/gmon_out.h: Likewise.
1776 * config/arc/gmon/sys/gmon.h: Likewise.
1777 * config/arc/gmon/prof-freq.c: Likewise.
1778 * config/arc/gmon/mcount.c: Likewise.
1779 * config/arc/gmon/prof-freq-stub.S: Likewise.
1780 * config/arc/gmon/gmon.c: Likewise.
1781 * config/arc/gmon/machine-gmon.h: Likewise.
1782 * config/arc/gmon/profil.S: Likewise.
1783 * config/arc/gmon/dcache_linesz.S: Likewise.
1784 * config/arc/crtg.S: Likewise.
1785 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
1786 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
1787 * config/arc/ieee-754/adddf3.S: Likewise.
1788 * config/arc/ieee-754/truncdfsf2.S: Likewise.
1789 * config/arc/ieee-754/fixsfsi.S: Likewise.
1790 * config/arc/ieee-754/gtsf2.S: Likewise.
1791 * config/arc/ieee-754/floatsisf.S: Likewise.
1792 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
1793 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
1794 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
1795 * config/arc/ieee-754/fixdfsi.S: Likewise.
1796 * config/arc/ieee-754/addsf3.S: Likewise.
1797 * config/arc/ieee-754/gesf2.S: Likewise.
1798 * config/arc/ieee-754/floatsidf.S: Likewise.
1799 * config/arc/ieee-754/extendsfdf2.S: Likewise.
1800 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
1801 * config/arc/ieee-754/gtdf2.S: Likewise.
1802 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
1803 * config/arc/ieee-754/uneqdf2.S: Likewise.
1804 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1805 * config/arc/ieee-754/uneqsf2.S: Likewise.
1806 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
1807 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
1808 * config/arc/ieee-754/eqdf2.S: Likewise.
1809 * config/arc/ieee-754/ordsf2.S: Likewise.
1810 * config/arc/ieee-754/divsf3.S: Likewise.
1811 * config/arc/ieee-754/divdf3.S: Likewise.
1812 * config/arc/ieee-754/floatunsidf.S: Likewise.
1813 * config/arc/ieee-754/orddf2.S: Likewise.
1814 * config/arc/ieee-754/eqsf2.S: Likewise.
1815 * config/arc/ieee-754/gedf2.S: Likewise.
1816 * config/arc/crtn.S: Likewise.
1817 * config/arc/crti.S: Likewise.
1818 * config/arc/t-arc700-uClibc: Likewise.
1819 * config/arc/asm.h: Likewise.
1820 * config/arc/libgcc-excl.ver: Likewise.
1821 * config/arc/t-arc-newlib: Likewise.
1822 * config/arc/divtab-arc700.c: Likewise.
1823 * config/arc/initfini.c: Likewise.
1824 * config/arc/fp-hack.h: Likewise.
1826 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
1827 Diego Novillo <dnovillo@google.com>
1829 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
1830 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
1831 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
1832 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
1834 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
1835 Brendan Kehoe <brendan@zen.org>
1836 Simon Cook <simon.cook@embecosm.com>
1838 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
1839 * config/arc: New directory.
1840 * longlong.h [__arc__] (umul_ppmm): Remove.
1841 [__arc__] (__umulsidi3): Define.
1842 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
1843 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
1845 2013-09-17 Jacek Caban <jacek@codeweavers.com>
1847 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
1849 * config/i386/gthr-win32.h: Likewise.
1851 2013-09-16 DJ Delorie <dj@redhat.com>
1853 * config/rl78/vregs.h: Add G10 register definitions.
1854 * config/rl78/lib2mul.c: Enable for RL78/G10.
1855 * config/rl78/lib2div.c: Likewise.
1856 * config/rl78/lshrsi3.S: Use vregs.h.
1857 * config/rl78/cmpsi2.S: Likewise.
1858 * config/rl78/trampoline.S: Likewise.
1859 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
1861 2013-09-14 DJ Delorie <dj@redhat.com>
1862 Nick Clifton <nickc@redhat.com>
1864 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
1865 * config/rl78/vregs.h: New.
1866 * config/rl78/signbit.S: New file. Implements signbit function.
1867 * config/rl78/divmodsi.S: New.
1868 * config/rl78/divmodhi.S: New.
1869 * config/rl78/divmodqi.S: New.
1870 * config/rl78/t-rl78: Build them here...
1871 * config/rl78/lib2div.c: ...but not here.
1873 2013-09-12 DJ Delorie <dj@redhat.com>
1875 * config.host (msp*-*-elf): New.
1876 * config/msp430/: New port.
1878 2013-08-18 Iain Sandoe <iain@codesourcery.com>
1880 PR gcov-profile/58127
1881 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
1882 __thread var for emulated TLS.
1883 (__gcov_indirect_call_counters): Likewise.
1885 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
1886 Catherine Moore <clm@codesourcery.com>
1887 Richard Sandiford <rdsandiford@googlemail.com>
1889 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
1890 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
1891 (CALL_STUB_NO_RET): Likewise.
1892 (CALL_STUB_RET): Likewise.
1893 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
1894 __mips16_ret call/return stub symbols.
1895 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
1898 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
1900 * config.host <mips*-*-linux*>: Remove a stray comment.
1902 2013-08-10 Jan Hubicka <jh@suse.cz>
1904 Work around binutils PR14342
1905 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
1906 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
1907 (L_gcov_indirect_call_profiler_v2): New.
1909 2013-08-06 Jan Hubicka <jh@suse.cz>
1911 * libgcov.c (__gcov_indirect_call_callee,
1912 __gcov_indirect_call_counters): New global vars.
1913 (__gcov_indirect_call_profiler): replace by ...
1914 (__gcov_indirect_call_profiler_v2) ... this one.
1916 2013-08-06 Caroline Tice <cmtice@google.com>
1918 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
1919 vtv_start_preinit.o and vtv_end_preinit.o.
1920 * configure.ac: Add code to check/set enable_vtable_verify.
1921 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
1923 * vtv_start_preinit.c: New file.
1924 * vtv_end_preinit.c: New file.
1925 * vtv_start.c: New file.
1926 * vtv_end.c: New file.
1927 * configure: Regenerated.
1929 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
1931 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
1932 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
1933 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
1934 GPL-3.0-with-GCC-exception.
1936 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
1938 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
1941 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1943 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
1944 mapping for FPRs when creating the fallback framestate.
1946 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
1949 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
1950 (__round_s2_const, __round_u2_const)
1951 (__round_s4_const, __round_u4_const, __round_x8):
1952 Saturate result if addition result cannot be represented.
1954 2013-07-15 Matthias Klose <doko@ubuntu.com>
1956 * libgcc2.c: Don't include <limits.h>.
1958 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
1960 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
1962 2013-07-06 Jakub Jelinek <jakub@redhat.com>
1965 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
1967 2013-06-28 Jakub Jelinek <jakub@redhat.com>
1970 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
1972 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
1973 instead of table lookups.
1974 (__popcountDI2): Likewise.
1976 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
1978 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
1981 2013-06-21 Joseph Myers <joseph@codesourcery.com>
1984 * soft-fp/adddf3.c: Update from glibc.
1985 * soft-fp/addsf3.c: Likewise.
1986 * soft-fp/addtf3.c: Likewise.
1987 * soft-fp/divdf3.c: Likewise.
1988 * soft-fp/divsf3.c: Likewise.
1989 * soft-fp/divtf3.c: Likewise.
1990 * soft-fp/double.h: Likewise.
1991 * soft-fp/eqdf2.c: Likewise.
1992 * soft-fp/eqsf2.c: Likewise.
1993 * soft-fp/eqtf2.c: Likewise.
1994 * soft-fp/extenddftf2.c: Likewise.
1995 * soft-fp/extended.h: Likewise.
1996 * soft-fp/extendsfdf2.c: Likewise.
1997 * soft-fp/extendsftf2.c: Likewise.
1998 * soft-fp/fixdfdi.c: Likewise.
1999 * soft-fp/fixdfsi.c: Likewise.
2000 * soft-fp/fixsfdi.c: Likewise.
2001 * soft-fp/fixsfsi.c: Likewise.
2002 * soft-fp/fixtfdi.c: Likewise.
2003 * soft-fp/fixtfsi.c: Likewise.
2004 * soft-fp/fixunsdfdi.c: Likewise.
2005 * soft-fp/fixunsdfsi.c: Likewise.
2006 * soft-fp/fixunssfdi.c: Likewise.
2007 * soft-fp/fixunssfsi.c: Likewise.
2008 * soft-fp/fixunstfdi.c: Likewise.
2009 * soft-fp/fixunstfsi.c: Likewise.
2010 * soft-fp/floatdidf.c: Likewise.
2011 * soft-fp/floatdisf.c: Likewise.
2012 * soft-fp/floatditf.c: Likewise.
2013 * soft-fp/floatsidf.c: Likewise.
2014 * soft-fp/floatsisf.c: Likewise.
2015 * soft-fp/floatsitf.c: Likewise.
2016 * soft-fp/floatundidf.c: Likewise.
2017 * soft-fp/floatundisf.c: Likewise.
2018 * soft-fp/floatunditf.c: Likewise.
2019 * soft-fp/floatunsidf.c: Likewise.
2020 * soft-fp/floatunsisf.c: Likewise.
2021 * soft-fp/floatunsitf.c: Likewise.
2022 * soft-fp/gedf2.c: Likewise.
2023 * soft-fp/gesf2.c: Likewise.
2024 * soft-fp/getf2.c: Likewise.
2025 * soft-fp/ledf2.c: Likewise.
2026 * soft-fp/lesf2.c: Likewise.
2027 * soft-fp/letf2.c: Likewise.
2028 * soft-fp/muldf3.c: Likewise.
2029 * soft-fp/mulsf3.c: Likewise.
2030 * soft-fp/multf3.c: Likewise.
2031 * soft-fp/negdf2.c: Likewise.
2032 * soft-fp/negsf2.c: Likewise.
2033 * soft-fp/negtf2.c: Likewise.
2034 * soft-fp/op-1.h: Likewise.
2035 * soft-fp/op-2.h: Likewise.
2036 * soft-fp/op-4.h: Likewise.
2037 * soft-fp/op-8.h: Likewise.
2038 * soft-fp/op-common.h: Likewise.
2039 * soft-fp/quad.h: Likewise.
2040 * soft-fp/single.h: Likewise.
2041 * soft-fp/soft-fp.h: Likewise.
2042 * soft-fp/subdf3.c: Likewise.
2043 * soft-fp/subsf3.c: Likewise.
2044 * soft-fp/subtf3.c: Likewise.
2045 * soft-fp/truncdfsf2.c: Likewise.
2046 * soft-fp/trunctfdf2.c: Likewise.
2047 * soft-fp/trunctfsf2.c: Likewise.
2048 * soft-fp/unorddf2.c: Likewise.
2049 * soft-fp/unordsf2.c: Likewise.
2050 * soft-fp/unordtf2.c: Likewise.
2051 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
2052 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2053 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2054 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2055 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2056 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2057 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2058 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2059 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2060 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
2061 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
2062 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2064 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
2066 * config/mips/lib2funcs.c: New file.
2067 * config/mips/t-mips (LIB2ADD_ST): Add it.
2069 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
2072 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
2073 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
2075 2013-06-08 Walter Lee <walt@tilera.com>
2077 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
2078 Replace int64_t with long long. Add __extension__ where
2080 * config/tilepro/atomic.c: Include config.h.
2082 2013-06-06 Douglas B Rupp <rupp@adacore.com>
2084 * config.host (arm-wrs-vxworks): Configure with other soft float.
2086 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
2088 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
2089 (mips64r5900el-*-elf*): New configurations.
2091 2013-06-04 Alan Modra <amodra@gmail.com>
2093 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
2095 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
2097 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
2099 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
2101 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
2102 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
2103 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
2105 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
2107 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
2108 (powerpc-wrs-vxworks): Likewise.
2110 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
2112 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
2113 signal frames as well.
2114 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
2115 STACK_BIAS to the CFA offset.
2117 2013-05-17 Richard Henderson <rth@redhat.com>
2120 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
2121 (execute_cfa_program): Use it when storing to fs->regs.
2123 2013-05-08 Kai Tietz <ktietz@redhat.com>
2125 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
2126 (__deregister_frame_info): Likewise.
2128 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
2130 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
2133 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
2135 2013-04-25 Alan Modra <amodra@gmail.com>
2137 * config.host: Match little-endian powerpc-linux.
2139 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
2141 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
2142 as 'unsigned long long' instead of 'unsigned long'.
2143 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
2146 2013-04-10 Julian Brown <julian@codesourcery.com>
2148 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
2149 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
2150 unsigned char/unsigned short.
2151 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
2153 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2156 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
2158 2013-04-04 Meador Inge <meadori@codesourcery.com>
2160 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
2161 computing the location of the link register.
2162 (aeabi_uldivmod): Ditto.
2164 2013-03-27 Kai Tietz <ktietz@redhat.com>
2166 * config.host: Add support for cygwin x64 target.
2167 * configure: Regenerated.
2169 2013-03-26 Walter Lee <walt@tilera.com>
2171 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
2172 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
2174 2013-03-25 Kai Tietz <ktietz@redhat.com>
2176 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
2178 2013-03-20 Robert Mason <rbmj@verizon.net>
2180 * config/vxlib-tls.c (__gthread_get_tsd_data,)
2181 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
2182 (__gthread_leave_tsd_dtor_context): Add prototypes.
2183 (tls_delete_hook): Update.
2185 2013-03-20 Catherine Moore <clm@codesourcery.com>
2186 Joseph Myers <joseph@codesourcery.com>
2187 Chao-ying Fu <fu@mips.com>
2189 * config/mips/mips16.S: Don't build for microMIPS.
2190 * config/mips/linux-unwind.h: Handle microMIPS frame.
2191 * config/mips/crtn.S (fini, init): New labels.
2193 2013-03-14 Jakub Jelinek <jakub@redhat.com>
2195 PR tree-optimization/53265
2196 * unwind-dw2.c (execute_cfa_program): Avoid
2197 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
2198 on targets with DWARF_FRAME_REGISTERS < 32.
2200 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
2203 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
2204 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
2206 2013-03-07 Sriraman Tallam <tmsriram@google.com>
2208 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
2209 sandybridge processors.
2211 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
2214 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
2217 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
2219 * config/microblaze/crti.S: Setup stack protection at entry
2221 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
2223 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
2224 (__rotldi3): Shift bytewise if applicable.
2226 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
2228 * config/aarch64/sync-cache.c
2229 (__aarch64_sync_cache_range): Silence warnings.
2231 2013-02-25 Catherine Moore <clm@codesourcery.com>
2234 2013-02-24 Catherine Moore <clm@codesourcery.com>
2235 Joseph Myers <joseph@codesourcery.com>
2236 Chao-ying Fu <fu@mips.com>
2238 * config/mips/mips16.S: Don't build for microMIPS.
2239 * config/mips/linux-unwind.h: Handle microMIPS frame.
2240 * config/mips/crtn.S (fini, init): New labels.
2242 2013-02-24 Catherine Moore <clm@codesourcery.com>
2243 Joseph Myers <joseph@codesourcery.com>
2244 Chao-ying Fu <fu@mips.com>
2246 * config/mips/mips16.S: Don't build for microMIPS.
2247 * config/mips/linux-unwind.h: Handle microMIPS frame.
2248 * config/mips/crtn.S (fini, init): New labels.
2250 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
2251 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
2254 2013-02-16 Alan Modra <amodra@gmail.com>
2257 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
2258 (ppc_fallback_frame_state): Always set up save locations for fp
2259 and altivec. Don't bother with non-callee-saved regs, r0-r13
2260 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
2262 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
2265 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
2267 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
2268 _ssmulha3, _usmulusa3, _ssmulsa3.
2269 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
2270 (__muldi3): XCALL __muldi3_6 instead of rcall.
2271 (__umulsidi3, __mulsidi3): New functions.
2272 (do_prologue_saves, do_epilogue_restores): New .macros.
2273 (__divdi3_moddi3): Use them.
2274 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
2275 (__usmulusa3, __ssmulsa3): New functions.
2277 2013-02-11 Iain Sandoe <iain@codesourcery.com>
2278 Jack Howarth <howarth@bromo.med.uc.edu>
2279 Patrick Marlier <patrick.marlier@gmail.com>
2282 * config/darwin-crt-tm.c: Remove dummy functions hack.
2284 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
2287 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
2288 * config/avr/lib2-object.mk: New iterator to build objects from it.
2289 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
2291 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
2292 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
2293 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
2294 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
2295 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
2296 * config/avr/lib1funcs-fixed.S: Implement them.
2298 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
2300 Update copyright years.
2302 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
2305 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
2306 Add crtcxa to extra_parts.
2307 * config/rs6000/exit.h: New file.
2308 * config/rs6000/cxa_atexit.c: New file.
2309 * config/rs6000/cxa_finalize.c: New file.
2310 * config/rs6000/crtcxa.c: New file.
2311 * config/rs6000/t-aix-cxa: New file.
2312 * config/rs6000/libgcc-aix-cxa.ver: New file.
2314 2013-01-31 Nick Clifton <nickc@redhat.com>
2316 * config/v850/lib1funcs.S: Add support for e3v5 architecture
2319 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
2322 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
2323 _mulQQ, _mulHQ, _mulHA, _mulSA,
2324 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
2325 _divQQ, _divHQ, _divHA, _divSA,
2326 _divUQQ, _divUHQ, _divUHA, _divUSA.
2328 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
2330 * config.host(microblaze*-linux*): tmake_file: Remove
2331 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
2332 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
2333 to exclude functions from being built with libgcc.c and use
2334 the microblaze assembly.
2336 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
2338 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
2341 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
2343 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
2344 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
2345 __UINTPTR_TYPE__; also cast 'base' to the same type before the
2346 alignment operation.
2348 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
2350 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
2351 loop start address for cache clearing.
2353 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
2355 * config/avr/lib1funcs.S: Remove trailing blanks.
2356 * config/avr/lib1funcs-fixed.S: Ditto.
2358 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
2360 * config/avr/avr-lib.h: Add GPL copyright notice.
2362 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
2364 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
2365 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
2366 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
2367 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
2369 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
2371 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
2372 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2374 2013-01-04 Nick Clifton <nickc@redhat.com>
2376 * config/v850/lib1funcs.S: Only provide CALLT support functions if
2377 the CALLT instruction is supported.
2379 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
2381 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
2382 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
2384 2012-12-13 John Tytgat <John@bass-software.com>
2386 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
2389 2012-12-12 Jakub Jelinek <jakub@redhat.com>
2392 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
2393 undefined signed overflows.
2395 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
2398 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
2400 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
2402 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
2403 (FP_TRAPPING_EXCEPTIONS): Define.
2404 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
2405 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
2407 2012-12-04 Richard Henderson <rth@redhat.com>
2410 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
2412 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
2414 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
2415 (FP_EX_SHIFT): Define.
2416 (FP_TRAPPING_EXCEPTIONS): Define.
2418 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
2420 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
2421 (FP_ROUNDMODE): Use FP_RND_MASK.
2422 * config/aarch64/sfp-exceptions.c: New.
2423 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2424 Use __sfp_handle_exceptions.
2426 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
2428 * config.host: (arm*-*-freebsd*): Remove.
2429 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
2430 (arm*-*-elf*): Remove.
2431 (arm*-*-wince-pe*): Remove.
2432 * arm/unwind-arm.c (struct fpa_reg): Delete.
2433 (struct fpa_regs): Delete.
2434 (phase1_vrs): Remove fpa element.
2435 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
2436 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
2437 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
2438 * ieee754-sf.S (floatundisf): Remove FPA support.
2439 (floatdisf): Likewise.
2440 * ieee75f-df.S (floatundidf): Likewise.
2441 (floatdidf): Likewise.
2443 2012-11-29 Kai Tietz <ktietz@redhat.com>
2446 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
2447 * unwind-generic.h: Likewise.
2448 * unwind-seh.c: Likewise.
2450 2012-11-28 Richard Henderson <rth@redhat.com>
2453 * emutls.c (__emutls_get_address): Avoid race condition between
2454 obj->loc.offset read and emutls_key initialization.
2456 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
2458 Adjust decimal point of signed accum mode to GCC default.
2461 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
2463 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
2464 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
2465 (__mulha3, __mulsa3)
2466 (__divqq3, __divha3, __divsa3): Adjust to new position of
2467 decimal point of signed accum types.
2469 (__mulusa3_round): New function.
2470 (__mulusa3): Use it.
2471 (__divqq_helper): New function.
2472 (__udivuqq3): Use it.
2474 2012-11-20 Jakub Jelinek <jakub@redhat.com>
2477 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
2479 2012-11-18 Teresa Johnson <tejohnson@google.com>
2482 * libgcov.c (gcov_exit): Remove merged program summary
2483 comparison unless !GCOV_LOCKED.
2485 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
2487 * soft-fp: Updated from glibc upstream.
2489 2012-11-06 Ian Lance Taylor <iant@google.com>
2491 * generic-morestack.c (__generic_morestack): Align the returned
2492 stack pointer to a 32 byte boundary.
2493 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
2494 increment the return address until we have decided that we don't
2495 have a varargs function.
2496 (__morestack) [32-bit]: Align stack correctly when calling C
2498 (__morestack) [64-bit]: Likewise.
2500 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2502 * configure: Regenerate.
2504 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
2507 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
2508 * config/i386/sfp-machine.h: Guard exception handling
2509 code with _SOFT_FLOAT.
2510 * config/i386/32/sfp-machine.h: Guard rounding handling
2511 code with _SOFT_FLOAT.
2512 * config/i386/64/sfp-machine.h: Ditto.
2514 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
2516 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
2519 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
2521 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
2522 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
2523 when appropriate. Correct structure element types.
2524 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
2525 -minline-all-stringops from compile flags.
2527 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
2529 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
2531 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
2533 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
2535 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
2537 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
2540 2012-10-23 Ian Bolton <ian.bolton@arm.com>
2541 Jim MacArthur <jim.macarthur@arm.com>
2542 Marcus Shawcroft <marcus.shawcroft@arm.com>
2543 Nigel Stephens <nigel.stephens@arm.com>
2544 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2545 Richard Earnshaw <rearnsha@arm.com>
2546 Sofiane Naci <sofiane.naci@arm.com>
2547 Stephen Thomas <stephen.thomas@arm.com>
2548 Tejas Belagod <tejas.belagod@arm.com>
2549 Yufeng Zhang <yufeng.zhang@arm.com>
2551 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
2552 * config/aarch64/crti.S: New file.
2553 * config/aarch64/crtn.S: New file.
2554 * config/aarch64/linux-unwind.h: New file.
2555 * config/aarch64/sfp-machine.h: New file.
2556 * config/aarch64/sync-cache.c: New file.
2557 * config/aarch64/t-aarch64: New file.
2558 * config/aarch64/t-softfp: New file.
2560 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
2562 * config/mmix/crti.S: Mark program and data addresses using PRELD.
2563 Remove typo'd and unnecessary alignment-LOC for .data. Remove
2564 no-longer-needed LDBU insns.
2566 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
2569 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
2570 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
2572 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2574 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
2576 2012-10-15 Matthias Klose <doko@ubuntu.com>
2578 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
2580 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
2582 * configure: Regenerate.
2583 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
2585 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
2587 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
2588 instructions for 64bit targets only.
2590 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
2592 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
2593 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
2594 * config/i386/32/sfp-machine.h: ... here.
2595 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
2596 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
2599 2012-10-07 Matthias Klose <doko@ubuntu.com>
2601 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
2603 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
2605 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
2607 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
2608 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
2609 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
2612 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
2615 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
2616 Fix parameter names.
2618 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
2621 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
2622 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
2623 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
2625 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
2628 * config/sh/linux-atomic.S: Delete.
2629 * config/sh/linux-atomic.c: New.
2630 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
2631 linux-atomic.c. Add cflags to disable warnings.
2633 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
2636 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
2638 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
2639 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
2640 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
2641 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
2642 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
2644 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
2646 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
2648 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
2649 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
2651 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
2653 * config.host (hppa-*-openbsd*): New target.
2654 * config/pa/t-openbsd: New file.
2656 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
2659 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
2660 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
2661 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
2662 (__divsa3): Use __negsi2 to negate r_quoL.
2663 * config/avr/lib1funcs.S (FALIAS): New macro.
2664 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
2665 (__negsi2): ...this new function.
2666 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
2667 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
2668 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
2669 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
2670 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
2671 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
2673 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
2676 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
2677 (lshrsi3): Reimplement as lshrsi3_r0.
2679 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
2682 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
2685 2012-09-07 Teresa Johnson <tejohnson@google.com>
2687 PR gcov-profile/54487
2688 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
2691 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
2694 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
2695 not configured --with-avrlibc=no.
2696 * config/avr/t-avrlibc: New file.
2697 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
2698 (DPBIT_FUNCS): Ditto.
2699 (TPBIT_FUNCS): Ditto.
2701 2012-09-04 Teresa Johnson <tejohnson@google.com>
2703 * libgcov.c (struct gcov_summary_buffer): New structure.
2704 (gcov_histogram_insert): New function.
2705 (gcov_compute_histogram): Ditto.
2706 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
2707 histograms during summary merging.
2709 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
2711 * config.host (x86_64-*-openbsd*): New target.
2713 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
2715 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
2718 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
2721 * config/avr/t-avr (conv_X): Rename to func_X.
2723 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
2726 * config/avr/lib1funcs-fixed.S: New file.
2727 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
2728 after they are used.
2729 (neg2, neg4): New macros.
2730 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
2731 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
2732 (__umulhisi3): Speed up MUL variant if there is enough flash.
2733 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
2735 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
2736 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
2737 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
2738 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
2739 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
2740 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
2741 (LIB2FUNCS_EXCLUDE): Add supported functions.
2743 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
2745 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
2746 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
2748 * fixed-obj.mk: Only expand dependency if $o is not in
2751 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
2753 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
2755 2012-08-22 Joseph Myers <joseph@codesourcery.com>
2757 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
2758 depend on --enable-shared.
2759 ($(lib1asmfuncs-o)): Use %.vis files independent of
2761 * static-object.mk ($(base)$(objext), $(base).vis)
2762 ($(base)_s$(objext)): Use same rules for visibility handling as in
2765 2012-08-21 Ian Lance Taylor <iant@google.com>
2767 * config/i386/morestack.S (__morestack_non_split): Increase amount
2768 of space allocated for non-split code stack.
2770 2012-08-19 Joseph Myers <joseph@codesourcery.com>
2772 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
2773 even if inhibit_libc.
2775 2012-08-17 Julian Brown <julian@codesourcery.com>
2777 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
2778 -fexceptions -fnon-call-exceptions if not defined.
2779 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
2780 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
2782 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
2784 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
2787 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
2789 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
2790 rs6000/t-slibgcc-aix.
2792 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
2794 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
2796 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
2798 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
2800 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
2803 * Makefile.in (version): Replace top_srcdir with srcdir.
2805 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
2807 * Makefile.in (version): set to BASE-VER file from gcc directory.
2809 2012-08-01 Nick Clifton <nickc@redhat.com>
2811 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
2812 Implements __clrsb for an HImode argument.
2814 2012-07-31 Nick Clifton <nickc@redhat.com>
2816 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
2817 Implements __clrsb for an HImode argument.
2818 * config/stormy16/clrsbhi2.c: New file:
2819 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
2821 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
2823 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
2825 2012-07-19 Tristan Gingold <gingold@adacore.com>
2826 Richard Henderson <rth@redhat.com>
2828 * unwind-seh.c: New file.
2829 * unwind-generic.h: Include windows.h for SEH.
2830 (_Unwind_Exception): Use 6 private fields for SEH.
2831 (_GCC_specific_handler): Declare.
2832 * unwind-c.c (__gcc_personality_seh0): New function.
2834 * config/i386/libgcc-cygming.ver: New file.
2835 * config/i386/t-seh-eh: New file.
2836 * config.host (x86_64-*-mingw*): Default to seh.
2838 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
2840 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
2842 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
2844 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
2845 __builtin_expect when checking for exceptions.
2846 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
2848 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
2850 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
2851 function declaration.
2852 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
2854 * config/ia64/sfp-exceptions.c: New.
2855 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
2857 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
2859 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
2860 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
2861 * config/i386/64/sfp-machine: ... (delete here) ...
2862 * config/i386/sfp-machine.h: ... to here.
2863 (FP_EX_MASK): Remove.
2865 (FP_INIT_ROUNDMODE): Declare asm as volatile.
2867 2012-06-11 Sriraman Tallam <tmsriram@google.com>
2869 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
2870 * config/i386/libgcc-sol2.ver: Ditto.
2871 * config/i386/libgcc-glibc.ver: Ditto.
2873 2012-06-11 Roland McGrath <mcgrathr@google.com>
2875 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
2876 If __GLIBC__ is defined, refer to __pthread_key_create instead of
2879 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
2881 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
2882 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
2883 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
2884 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
2885 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
2886 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
2887 * config/i386/64/sfp-machine: ... (delete here) ...
2888 * config/i386/sfp-machine.h: ... to here.
2890 (__sfp_handle_exceptions): New function declaration.
2891 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
2892 * config/i386/sfp-exceptions.c: New.
2893 * config/i386/t-softfp: New.
2894 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
2895 i386/t-softfp to tmake_file.
2897 2012-06-03 David S. Miller <davem@davemloft.net>
2899 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
2902 2012-05-31 David S. Miller <davem@davemloft.net>
2904 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
2905 multiply and divide instructions on 32-bit when V9.
2906 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
2908 2012-05-29 Joseph Myers <joseph@codesourcery.com>
2910 * config/arm/ieee754-df.S: Fix typos.
2911 * config/arm/ieee754-sf.S: Fix typos.
2912 * config/c6x/libunwind.S: Fix typos.
2913 * config/epiphany/udivsi3-float.c: Fix typos.
2914 * config/microblaze/muldi3_hard.S: Fix typos.
2915 * config/picochip/adddi3.S: Fix typos.
2916 * config/picochip/ashlsi3.S: Fix typos.
2917 * config/picochip/ashrsi3.S: Fix typos.
2918 * config/picochip/clzsi2.S: Fix typos.
2919 * config/picochip/cmpsi2.S: Fix typos.
2920 * config/picochip/divmod15.S: Fix typos.
2921 * config/picochip/divmodhi4.S: Fix typos.
2922 * config/picochip/divmodsi4.S: Fix typos.
2923 * config/picochip/longjmp.S: Fix typos.
2924 * config/picochip/lshrsi3.S: Fix typos.
2925 * config/picochip/parityhi2.S: Fix typos.
2926 * config/picochip/popcounthi2.S: Fix typos.
2927 * config/picochip/setjmp.S: Fix typos.
2928 * config/picochip/subdi3.S: Fix typos.
2929 * config/picochip/ucmpsi2.S: Fix typos.
2930 * config/picochip/udivmodhi4.S: Fix typos.
2931 * config/picochip/udivmodsi4.S: Fix typos.
2932 * config/spu/divv2df3.c: Fix typos.
2933 * config/spu/mfc_multi_tag_release.c: Fix typos.
2934 * config/spu/mfc_tag_release.c: Fix typos.
2935 * configure.ac: Fix typos.
2936 * configure: Regenerate.
2938 2012-05-25 Ian Lance Taylor <iant@google.com>
2940 * config/i386/morestack.S (__morestack_non_split): Check whether
2941 caller is varargs and needs %bp to hold the stack frame on return.
2943 2012-05-25 Olivier Hainque <hainque@adacore.com>
2945 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
2946 sequence in the non pic case on VxWorks.
2948 2012-05-24 Olivier Hainque <hainque@adacore.com>
2950 * Makefile.in: Move dependency on install-unwind_h from
2951 "install-leaf" to "install".
2953 2012-05-24 Olivier Hainque <hainque@adacore.com>
2955 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
2956 Use a separate command for stamp removals.
2958 2012-05-21 Andrew Pinski <apinski@cavium.com>
2961 * configure.ac: Define the default includes to being none.
2962 * configure: Regenerate.
2964 2012-05-16 Olivier Hainque <hainque@adacore.com>
2966 * Makefile.in (install-unwind_h): Rename into ...
2967 (install-unwind_h-forbuild): New target.
2968 (all): Use it instead of the former install-unwind_h.
2969 (install-unwind_h): Reinstate, copy to user install destination
2970 for include files, not to the internal gcc object directory one.
2971 (install-leaf): Depend on it.
2973 2012-05-15 Olivier Hainque <hainque@adacore.com>
2975 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
2976 register numbers. LR_REGNO replaces R_LR.
2977 (ucontext_for): New, helper for ...
2978 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
2980 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
2982 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2984 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
2985 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
2986 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
2988 (i[34567]86-*-*, x86_64-*-*): ... here.
2990 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
2991 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
2993 * config/i386/i386-cpuinfo.c: Rename to ...
2994 * config/i386/cpuinfo.c: ... this.
2995 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
2997 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
2998 (libgcc_cv_init_priority): New test.
2999 * configure: Regenerate.
3000 * config.in: New file.
3001 * Makefile.in (clean): Rename config.h to auto-target.h.
3002 (config.h): Likewise.
3003 (stamp-h): Likewise.
3005 * config/i386/cpuinfo.c (auto-target.h): Include.
3006 (CONSTRUCTOR_PRIORITY): Define.
3007 (__cpu_indicator_init): Use it.
3009 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3011 * longlong.h: Use a URL instead of an FSF postal address.
3012 Replace spaces with tab.
3014 2012-05-08 Teresa Johnson <tejohnson@google.com>
3016 * libgcov.c (gcov_clear, __gcov_reset): New functions.
3017 (__gcov_dump): Ditto.
3018 (gcov_dump_complete): New global variable.
3019 (gcov_exit): Export hidden to enable use in L_gcov_dump.
3020 (__gcov_flush): Outline functionality now in gcov_clear.
3021 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
3023 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
3025 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
3026 (mips*-*-linux*): Include mips/t-tpbit when long double is
3029 2012-04-25 Sriraman Tallam <tmsriram@google.com>
3031 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
3032 (get_available_features): New argument. Check for AVX2.
3033 (__cpu_indicator_init): Modify call to get_available_features.
3035 2012-04-25 Alan Modra <amodra@gmail.com>
3037 * config/rs6000/crtsavevr.S: New file.
3038 * config/rs6000/crtrestvr.S: New file.
3039 * config/rs6000/t-savresfgpr: Build the above.
3040 * config/rs6000/t-netbsd: Likewise.
3042 2012-04-24 Sriraman Tallam <tmsriram@google.com>
3044 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
3046 2012-04-24 Sriraman Tallam <tmsriram@google.com>
3048 * libgcc/config/i386/i386-cpuinfo.c: New file.
3049 * libgcc/config/i386/t-cpuinfo: New file.
3050 * libgcc/config.host: Include t-cpuinfo.
3051 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
3053 2012-04-24 Chao-ying Fu <fu@mips.com>
3055 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
3057 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
3059 struct siginfo vs. siginfo_t
3061 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
3062 siginfo_t instead of struct siginfo.
3063 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
3064 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
3065 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
3066 (ia64_handle_unwabi): Likewise.
3067 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
3068 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
3069 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
3070 (sh_fallback_frame_state): Likewise.
3071 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
3072 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
3074 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
3076 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
3079 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
3081 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
3082 if it hasn't been previously saved.
3084 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
3086 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
3089 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
3092 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
3093 instead of __AVR_HAVE_8BIT_SP__.
3095 2012-03-26 Tristan Gingold <gingold@adacore.com>
3097 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
3098 (unw_table_entry): Use unw_word instead of unsigned long.
3099 (_Unwind_FindTableEntry): Likewise.
3100 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
3101 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
3102 (_Unwind_FindTableEntry): Likewise.
3103 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
3104 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
3105 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
3106 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
3107 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
3108 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
3109 (uw_init_context_1, uw_install_context): Likewise.
3110 (unw_word): Move to unwind-ia64.h
3112 2012-03-26 Tristan Gingold <gingold@adacore.com>
3114 * config/vms/vms-ucrt0.c: Update copyright years.
3116 (___gcc_main_flags): Declare.
3117 (__main): Check flags to remap argv and exit code.
3118 * config.host (*-*-*vms*): Adjust extra_parts.
3119 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
3122 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
3124 * arm/lib1funcs.asm (ctzsi2): New function.
3125 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
3126 * arm/t-linux (LIB1ASMFUNCS): Likewise.
3127 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
3128 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
3129 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
3130 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
3132 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
3134 * config.host: Add bits to support powerpc64-*-freebsd*.
3135 * config/rs6000/freebsd-unwind.h: New file.
3136 * config/rs6000/t-freebsd64: New file.
3138 2012-03-20 Richard Guenther <rguenther@suse.de>
3140 PR gcov-profile/52627
3141 * libgcov.c (init_mx): Fix mutex name.
3143 2012-03-16 Tristan Gingold <gingold@adacore.com>
3145 * config/ia64/vms-unwind.h: Remove ulong (and replace
3146 it by unw_reg where used). Define unw_reg with __int64.
3148 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3150 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3152 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3154 (sparc_is_sighandler): Likewise.
3156 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
3158 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
3161 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3163 * config/arm/crtn.S: Fix typo.
3165 2012-03-13 Richard Guenther <rguenther@suse.de>
3167 * libgcov.c: Remove stdio.h include and NULL un-define.
3169 2012-03-13 Richard Guenther <rguenther@suse.de>
3172 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
3174 2012-03-13 Richard Guenther <rguenther@suse.de>
3176 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
3178 2012-03-13 Richard Guenther <rguenther@suse.de>
3180 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
3181 and __gthread_mutex_init_function definitions.
3183 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3185 * config.host (mips*-*-openbsd*): Remove.
3187 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3189 * config.host: Remove alpha*-dec-osf5.1* handling.
3190 * config/alpha/gthr-posix.c: Remove.
3191 * config/alpha/libgcc-osf5.ver: Remove.
3192 * config/alpha/osf5-unwind.h: Remove.
3193 * config/alpha/t-osf-pthread: Remove.
3194 * config/alpha/t-slibgcc-osf: Remove.
3195 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
3196 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
3197 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
3198 * mkmap-flat.awk: Remove osf_export handling.
3200 2012-03-12 Richard Guenther <rguenther@suse.de>
3202 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
3203 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
3204 (__gthread_mutex_init_function): New function.
3205 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
3208 * libgcov.c: Include gthr.h.
3209 (__gcov_flush_mx): New global variable.
3210 (init_mx, init_mx_once): New functions.
3211 (__gcov_flush): Protect self with a mutex.
3212 (__gcov_fork): Re-initialize mutex after forking.
3213 * unwind-dw2-fde.c: Change condition under which to use
3214 __GTHREAD_MUTEX_INIT_FUNCTION.
3216 2012-03-12 Tristan Gingold <gingold@adacore.com>
3218 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
3219 * config/ia64/t-vms: Likewise.
3221 2012-03-11 Michael Hope <michael.hope@linaro.org>
3223 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
3226 2012-03-07 Walter Lee <walt@tilera.com>
3228 * config/tilepro/atomic.c: Rename "atomic_" prefix to
3230 (atomic_xor): Rename and move definition to
3231 config/tilepro/atomic.h.
3232 (atomic_nand): Ditto.
3233 * config/tilepro/atomic.h: Rename "atomic_" prefix to
3235 (arch_atomic_xor): Move from config/tilepro/atomic.c.
3236 (arch_atomic_nand): Ditto.
3238 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
3241 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
3243 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
3246 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
3249 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
3253 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
3254 if RAMPZ affects reading from RAM.
3255 (__tablejump_elpm__): Ditto.
3257 (__movmemx_hi): Ditto.
3258 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
3259 (__do_global_dtors): Ditto.
3260 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
3261 (__movmemx_hi): Ditto.
3263 2012-03-05 Richard Henderson <rth@redhat.com>
3265 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
3266 [ARM] (count_trailing_zeros): Use the builtin.
3268 2012-03-01 Kai Tietz <ktietz@redhat.com>
3270 * soft-fp: Imported from glibc upstream.
3272 2012-02-28 Kai Tietz <ktietz@redhat.com>
3274 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
3275 for mingw-targets as attribute gcc_struct.
3277 2012-02-28 Ian Lance Taylor <iant@google.com>
3279 * generic-morestack.c (__splitstack_releasecontext): Correct call
3280 to __morestack_release_segments.
3282 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3285 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
3286 for __linux__ when removing signals from __morestack_fullmask.
3288 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
3291 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
3293 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3295 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
3296 instead of HAVE_INITFINI_ARRAY.
3297 * config/ia64/crtend.S: Likewise.
3299 2012-02-20 Kai Tietz <ktietz@redhat.com>
3302 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
3304 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
3305 to w32-unwind.h header.
3307 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
3309 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
3310 (mips*-*-linux*): Remove t-slibgcc-libgcc.
3311 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
3312 * config/mips/mips16.S (__mips16_rdhwr): Delete.
3314 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
3316 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
3318 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
3321 * config/darwin-crt-tm.c: Correct typo.
3323 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
3324 Patrick Marlier <patrick.marlier@gmail.com>
3327 * config/darwin-crt-tm.c: Generate dummy functions.
3329 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
3330 Patrick Marlier <patrick.marlier@gmail.com>
3333 * config/darwin-crt-tm.c (getTMCloneTable): New function.
3334 (__doTMRegistrations): Call it.
3335 (__doTMdeRegistrations): Likewise.
3337 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
3338 Anatoly Sokolov <aesok@post.ru>
3339 Eric Weddington <eric.weddington@atmel.com>
3342 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
3343 (__epilogue_restores__): Ditto.
3345 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
3349 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
3350 Solaris 11 and slightly reformat.
3351 (sparc_is_sighandler): Likewise.
3353 2012-02-14 Walter Lee <walt@tilera.com>
3355 * config.host: Handle tilegx and tilepro.
3356 * config/tilegx/sfp-machine.h: New file.
3357 * config/tilegx/sfp-machine32.h: New file.
3358 * config/tilegx/sfp-machine64.h: New file.
3359 * config/tilegx/t-crtstuff: New file.
3360 * config/tilegx/t-softfp: New file.
3361 * config/tilegx/t-tilegx: New file.
3362 * config/tilepro/atomic.c: New file.
3363 * config/tilepro/atomic.h: New file.
3364 * config/tilepro/linux-unwind.h: New file.
3365 * config/tilepro/sfp-machine.h: New file.
3366 * config/tilepro/softdivide.c: New file.
3367 * config/tilepro/softmpy.S: New file.
3368 * config/tilepro/t-crtstuff: New file.
3369 * config/tilepro/t-tilepro: New file.
3371 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
3375 * gthr-posix.h: Allow static initializer macros to be disabled.
3376 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
3378 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
3380 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
3381 Add t-slibgcc-libgcc to tmake_file.
3382 * config/mips/libgcc-mips16.ver: Revert previous patch.
3383 * config/mips/mips16.S (__mips16_rdhwr): Hide.
3385 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
3386 Jayant R Sonar <jayant.sonar@kpitcummins.com>
3388 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
3389 * config/cr16/crti.S: New file.
3390 * config/cr16/crtlibid.S: New file.
3391 * config/cr16/crtn.S: New file.
3392 * config/cr16/lib1funcs.S: New file.
3393 * config/cr16/t-cr16: New file.
3394 * config/cr16/t-crtlibid: New file.
3395 * config/cr16/unwind-dw2.h: New file.
3396 * config/cr16/unwind-cr16.c: New file.
3397 * config/cr16/divmodhi3.c: New file.
3399 2012-01-25 Alan Modra <amodra@gmail.com>
3401 * config/rs6000/t-linux64: Delete. Move..
3402 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
3403 * config/rs6000/t-linux: ..and libgcc flags to here.
3405 2012-01-22 Douglas B Rupp <rupp@gnat.com>
3407 * config.host (i[34567]86-*-interix3*):
3408 Change triplet to i[34567]86-*-interix[3-9]*.
3409 * configure: Regenerate.
3411 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
3412 Richard Sandiford <rdsandiford@googlemail.com>
3414 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
3415 * config/mips/mips16.S (__mips16_rdhwr): New function.
3416 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
3418 2012-01-11 Nathan Sidwell <nathan@acm.org>
3420 * libgcov.c (__gcov_init): Ignore objects with no functions.
3422 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
3425 Extend __pgmx semantics to linearize memory.
3426 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
3427 * config/avr/lib1funcs.S (__xload_1): New function.
3428 (__movmemx_qi, __movmemx_hi): New functions.
3429 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
3432 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
3434 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
3435 purported sigacthandler address isn't null before dereferencing it.
3436 (sparc_is_sighandler): Likewise.
3438 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
3441 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
3442 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
3443 (sparc_is_sighandler): Likewise.
3444 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
3446 2012-01-06 Tristan Gingold <gingold@adacore.com>
3448 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
3449 compatibility thunks...
3450 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
3451 (crtbeginS.o, crtendS.o): ... and these to ...
3452 * config/ia64/t-ia64-elf: ... this new file.
3453 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
3454 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
3456 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3458 * configure: Regenerate.
3459 * config/s390/t-crtstuff: Remove -fPIC.
3461 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
3464 * enable-execute-stack-mprotect.c (getpagesize): Do not define
3467 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
3470 * config/avr/lib1funcs.S: Remove FIXME comments.
3471 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
3473 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
3475 Implement light-weight DImode support.
3476 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
3477 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
3478 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
3479 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
3481 2011-12-30 Nathan Sidwell <nathan@acm.org>
3483 * libgcov.c (gcov_crc32): Remove global var.
3484 (free_fn_data): New function.
3485 (buffer_fn_data): Pass in filename, more robust error recovery.
3486 (crc32_unsigned): New function.
3487 (gcov_exit): More robust detection of new program. More robust
3489 (__gcov_init): Do not update program's crc here.
3491 2011-12-21 Tristan Gingold <gingold@adacore.com>
3493 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
3495 2011-12-21 Ian Lance Taylor <iant@google.com>
3497 * config/i386/morestack.S: Simplify CFI opcodes throughout.
3499 2011-12-20 Ian Lance Taylor <iant@google.com>
3501 * config/i386/morestack.S (__morestack_non_split): If there is
3502 enough stack space already, don't split. Ask for more stack space
3505 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
3507 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
3509 (_Unwind_DebugHook): New function.
3510 (uw_restore_core_regs): New define.
3511 (unwind_phase2): Use uw_restore_core_regs instead of
3513 (unwind_phase2_forced): Likewise.
3514 (__gnu_Unwind_Resume): Likewise.
3516 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
3518 * config/alpha/linux-unwind.h: Update copyright years.
3519 (MD_FROB_UPDATE_CONTEXT): New define.
3520 (alpha_frob_update_context): New function.
3522 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
3524 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
3525 tmake_file rather replacing it.
3527 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
3529 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
3530 function is not used for PPC64.
3531 (save_world): Amend comments. Update the VRsave mask to reflect the
3533 (rest_world): Update comments, do not clobber r10, do not use r8.
3534 (eh_rest_world_r10): Amend comments, do not use r8.
3535 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
3536 no longer used, move restore of CR and target address to the end of
3539 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
3541 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
3542 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
3544 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
3547 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
3548 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
3550 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
3552 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
3554 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
3557 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
3558 * config/avr/lib1funcs.S (__muldi3): New function.
3560 2011-12-06 Andrew Pinski <apinski@cavium.com>
3562 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
3564 (__frame_dummy_init_array_entry): Likewise.
3566 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
3568 Forward-port from gcc-4_6-branch r181936 2011-12-02.
3572 * config/avr/lib1funcs.S (__prologue_saves__,
3573 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
3574 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
3576 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
3578 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
3580 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3583 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
3584 (_ITM_deregisterTMCloneTable): Likewise.
3585 (__register_frame_info): Fix unused warning.
3586 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
3587 pthread_default_stacksize_np): Likewise.
3588 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
3590 2011-11-29 DJ Delorie <dj@redhat.com>
3592 * config.host (rl78-*-elf): New case.
3593 * config/rl78: New directory for the Renesas RL78.
3595 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
3597 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
3600 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3603 * config/rs6000/t-savresfgpr: New file.
3604 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
3605 $(srcdir)/config/rs6000/eabi.S.
3606 * config/rs6000/t-ppccomm-ldbl: Remove.
3607 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
3609 (powerpc-*-eabispe*): Likewise.
3610 (powerpc-*-eabi*): Likewise.
3611 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3612 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
3613 to tmake_file, remove rs6000/t-ppccomm-ldbl.
3614 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
3616 (powerpc-*-eabisim*): Likewise.
3617 (powerpc-*-elf*): Likewise.
3618 (powerpc-*-eabialtivec*): Likewise.
3619 (powerpc-xilinx-eabi*): Likewise.
3620 (powerpc-*-rtems*): Likewise.
3621 (powerpcle-*-elf*): Likewise.
3622 (powerpcle-*-eabisim*): Likewise.
3623 (powerpcle-*-eabi*): Likewise.
3625 2011-11-27 Ian Lance Taylor <iant@google.com>
3627 * generic-morestack.c (__splitstack_find): Check for NULL old
3629 (__splitstack_resetcontext): New function.
3630 (__splitstack_releasecontext): New function.
3631 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
3633 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
3635 * config/darwin-crt-tm.c: Correct comments, use correct licence.
3637 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
3639 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
3641 2011-11-26 Richard Henderson <rth@redhat.com>
3643 * config/m68k/linux-atomic.c: New file.
3644 * config/m68k/t-linux: New file.
3645 * config.host (m68k-uclinux, m68k-linux): Use it.
3647 2011-11-26 Richard Henderson <rth@redhat.com>
3649 * crtstuff.c (__TMC_LIST__): Mark used not unused.
3650 (__TMC_END__): Only declare if hidden is available; in the definition,
3651 if hidden is unavailable add a null record.
3652 (deregister_tm_clones, register_tm_clones): New.
3653 (__do_global_dtors_aux, frame_dummy): Use them.
3654 (__do_global_dtors, __do_global_ctors_1): Likewise.
3656 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
3658 * config/darwin-crt-tm.c: New file.
3659 * config.host (darwin): Build crttms.o crttme.o to provide
3660 startup and shutdown for tm clones.
3661 * config/t-darwin (crttms.o): New build rule.
3662 (crttme.o): Likewise.
3664 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
3666 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
3669 2011-11-21 Richard Henderson <rth@redhat.com>
3671 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
3672 (__TMC_LIST__, __TMC_END__): New.
3673 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
3674 (__do_global_dtors): Likewise.
3675 (frame_dummy): Call _ITM_registerTMCloneTable.
3676 (__do_global_ctors_1): Likewise.
3678 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3680 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
3681 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
3682 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
3683 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
3684 * config/i386/t-darwin64: Remove.
3685 * config/sh/t-netbsd (LIB2ADD): Remove.
3687 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
3690 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
3691 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
3692 * config/avr/lib1funcs.S (wmov): New assembler macro.
3693 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
3694 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
3695 (__udivmod64): New function.
3696 (__negdi2): New function.
3698 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
3700 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
3701 *-*-freebsd*aout*): Remove.
3703 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
3705 * static-object.mk (c_flags-$o): Save c_flags.
3706 ($(base)$(objext)): Use it.
3708 2011-11-18 Steve Ellcey <sje@cup.hp.com>
3710 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
3712 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
3715 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
3716 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
3719 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3721 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
3723 (aeabi_uidivmod): Likewise.
3724 (umodsi3): Likewise.
3726 (aeabi_idivmod): Likewise.
3729 2011-11-16 Tristan Gingold <gingold@adacore.com>
3731 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
3733 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
3736 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
3737 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
3739 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3741 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
3743 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
3744 * config/pa/t-stublib64: Delete.
3746 2011-11-12 Richard Henderson <rth@redhat.com>
3748 * config/rs6000/linux-unwind.h (frob_update_context): Properly
3749 cast the pointer argument to _Unwind_SetGRPtr.
3751 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3753 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
3755 2011-11-09 Ian Lance Taylor <iant@google.com>
3757 * generic-morestack.c: Include <string.h>.
3758 (uintptr_type): Define.
3759 (struct initial_sp): Add dont_block_signals field. Reduce size of
3761 (allocate_segment): Set prev field to NULL. Don't set
3762 __morestack_current_segment or __morestack_segments.
3763 (__generic_morestack): Update current->prev and *pp after calling
3765 (__morestack_block_signals): Don't do anything if
3766 dont_block_signals is set.
3767 (__morestack_unblock_signals): Likewise.
3768 (__generic_findstack): Check for initial_sp == NULL. Add casts to
3770 (__splitstack_block_signals): New function.
3771 (enum __splitstack_content_offsets): Define.
3772 (__splitstack_getcontext, __splitstack_setcontext): New functions.
3773 (__splitstack_makecontext): New function.
3774 (__splitstack_block_signals_context): New function.
3775 (__splitstack_find_context): New function.
3776 * config/i386/morestack.S (__morestack_get_guard): New function.
3777 (__morestack_set_guard, __morestack_make_guard): New functions.
3778 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
3780 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3782 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
3783 (i[34567]86-*-mingw*): ... here.
3784 (x86_64-*-mingw*): ... here.
3786 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3788 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
3790 2011-11-07 Nathan Sidwell <nathan@acm.org>
3792 * libgcov.c (struct gcov_fn_buffer): New struct.
3793 (buffer_fn_data): New helper.
3794 (gcov_exit): Rework for new gcov data structures.
3796 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
3799 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
3801 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3803 * config.host (tmake_file): Correct comment.
3804 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
3806 (bfin*-uclinux*): Likewise.
3807 (bfin*-linux-uclibc*): Likewise.
3808 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
3810 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
3812 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3813 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
3814 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3815 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
3816 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3817 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
3818 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
3819 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3820 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
3821 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
3822 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
3823 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
3824 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
3826 * config/bfin/t-elf: Remove.
3827 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
3829 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3831 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
3832 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
3833 (lm32-*-elf*, lm32-*-rtems*): Split into ...
3834 (lm32-*-elf*): ... this.
3835 (lm32-*-rtems*): ... and this.
3837 (m32r-*-rtems*): Add to tmake_file.
3838 (moxie-*-rtems*): Likewise.
3839 (sparc-*-rtems*): Likewise.
3840 Remove t-rtems from tmake_file.
3841 (sparc64-*-rtems*): Likewise.
3842 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
3845 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3848 * config/gthr-posix.h: Move ...
3849 * gthr-posix.h: ... here.
3850 * config/gthr-lynx.h: Reflect this.
3851 * config/gthr-vxworks.h: Likewise.
3852 * config/rs6000/gthr-aix.h: Likewise.
3853 * configure.ac (target_thread_file): Likewise.
3854 * configure: Regenerate.
3856 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
3858 * config.host (arm*-*-rtemseabi*): New target.
3860 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3863 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
3866 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
3868 * config.host (epiphany-*-elf*): New configuration.
3869 * config/epiphany: New Directory.
3871 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
3873 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
3874 * config/avr/t-rtems: New.
3875 Filter out _exit from LIB1ASMFUNCS.
3877 2011-11-04 David S. Miller <davem@davemloft.net>
3879 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
3880 * configure: Rebuild.
3882 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3884 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
3887 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
3890 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
3891 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
3893 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
3896 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
3898 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3900 * config/c6x/t-elf (LIB2ADDEH): Set.
3901 * config/c6x/t-c6x-elf: Remove.
3903 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3905 * config/i386/sol2-ci.S: Rename to ...
3906 * config/i386/crti.S: ... this.
3907 * config/i386/sol2-cn.S: Rename to ...
3908 * config/i386/crtn.S: ... this.
3909 * config/sparc/sol2-ci.S: Rename to ...
3910 * config/sparc/crti.S: ... this.
3911 * config/sparc/sol2-cn.S: Rename to ...
3912 * config/sparc/crtn.S: ... this.
3913 * config/t-sol2 (CUSTOM_CRTIN): Remove.
3914 (crti.o, crtn.o): Remove.
3916 2011-11-04 Tristan Gingold <gingold@adacore.com>
3918 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
3920 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
3922 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
3924 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
3926 * config.host (crisv32-*-none, cris-*-none): Remove.
3927 (crisv32-*-elf): Append to tmake_file, don't just set it.
3928 (cris-*-elf): Add missing t-fdpbit to tmake_file.
3930 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3932 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
3933 (ecrtn$(objext)): Likewise.
3934 (ncrti$(objext)): Likewise.
3935 (ncrtn$(objext)): Likewise.
3937 2011-11-03 Andreas Schwab <schwab@redhat.com>
3939 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
3941 2011-11-02 David S. Miller <davem@davemloft.net>
3943 * configure.ac: Set host_address on sparc too.
3944 * configure: Regenerate.
3945 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
3946 based upon host_address.
3947 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
3949 2011-11-02 Jason Merrill <jason@redhat.com>
3951 * config/rs6000/t-ppccomm: Add missing \.
3953 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3955 * gthr-single.h, gthr.h: New files.
3956 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
3957 config/gthr-vxworks.h, config/i386/gthr-win32.h,
3958 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
3959 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
3960 * config/i386/gthr-win32.c: Include "gthr-win32.h".
3961 * configure.ac (thread_header): New variable.
3962 Set it depending on target_thread_file.
3963 (gthr-default.h): Link from $thread_header.
3964 * configure: Regenerate.
3965 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
3967 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3969 * configure.ac (tm_file_): New variable.
3970 Determine from tm_file.
3971 (tm_file, tm_defines): Substitute.
3972 * configure: Regenerate.
3973 * mkheader.sh: New file.
3974 * Makefile.in (clean): Remove libgcc_tm.h.
3975 ($(objects)): Depend on libgcc_tm.h.
3976 (libgcc_tm_defines, libgcc_tm_file): New variables.
3977 (libgcc_tm.h, libgcc_tm.stamp): New targets.
3978 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
3979 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
3980 ($(extra-parts)): Depend on libgcc_tm.h.
3981 * config.host (tm_defines, tm_file): New variable.
3982 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
3983 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
3984 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
3985 (avr-*-rtems*): Likewise.
3986 (avr-*-*): Likewise.
3987 (frv-*-elf): Likewise.
3988 (frv-*-*linux*): Likewise.
3989 (h8300-*-rtems*): Likewise.
3990 (h8300-*-elf*): Likewise.
3991 (i[34567]86-*-darwin*): Likewise.
3992 (x86_64-*-darwin*): Likewise.
3993 (rx-*-elf): Likewise.
3994 (tic6x-*-uclinux): Likewise.
3995 (tic6x-*-elf): Likewise.
3996 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
3997 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
3998 * config/i386/cygming-crtbegin.c: Likewise.
3999 * config/i386/cygming-crtend.c: Likewise.
4000 * config/ia64/fde-vms.c: Likewise.
4001 * config/ia64/unwind-ia64.c: Likewise.
4002 * config/libbid/bid_gcc_intrinsics.h: Likewise.
4003 * config/rs6000/darwin-fallback.c: Likewise.
4004 * config/stormy16/lib2funcs.c: Likewise.
4005 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
4006 * crtstuff.c: Likewise.
4007 * dfp-bit.h: Likewise.
4008 * emutls.c: Likewise.
4009 * fixed-bit.c: Likewise.
4010 * fp-bit.c: Likewise.
4011 * generic-morestack-thread.c: Likewise.
4012 * generic-morestack.c: Likewise.
4013 * libgcc2.c: Likewise.
4014 * libgcov.c: Likewise.
4015 * unwind-dw2-fde-dip.c: Likewise.
4016 * unwind-dw2-fde.c: Likewise.
4017 * unwind-dw2.c: Likewise.
4018 * unwind-sjlj.c: Likewise.
4020 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4022 * configure.ac: Include ../config/picflag.m4.
4023 (GCC_PICFLAG): Call it.
4025 * configure: Regenerate.
4026 * Makefile.in (gcc_srcdir): Remove.
4027 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
4028 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
4029 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
4030 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
4031 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
4034 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
4035 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
4036 to refer to libgcc2.c.
4038 * config/darwin-64.c: New file.
4039 * config/darwin-crt3.c: Remove comment.
4040 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
4041 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
4042 config/udivmodsi4.c: New files.
4043 * config/memcmp.c, config/memcpy.c, config/memmove.c,
4044 config/memset.c: New files.
4045 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
4046 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
4047 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
4048 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
4049 * config/t-openbsd-thread: New file.
4050 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
4051 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
4052 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
4053 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
4056 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
4057 to refer to gthr-posix.c.
4058 * config/alpha/t-vms (LIB2ADD): Set.
4059 * config/alpha/vms-gcc_shell_handler.c: New file.
4060 * config/arm/bpabi.c, config/arm/fp16.c,
4061 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
4062 config/arm/unaligned-funcs.c: New files.
4063 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
4064 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
4065 * config/arm/t-linux: Likewise.
4066 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
4067 * config/arm/t-netbsd: New file.
4068 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
4069 * config/arm/t-symbian (LIB2ADD_ST): Set.
4070 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
4071 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4072 * config/bfin/t-elf: New file.
4073 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
4074 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
4075 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
4076 config/c6x/ltf.c: New files.
4077 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
4078 (HOST_LIBGCC2_CFLAGS): Set.
4079 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
4080 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4081 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
4083 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
4084 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
4085 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
4086 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
4087 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
4089 * config/frv/t-frv (LIB2ADD): Set.
4090 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4091 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
4092 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
4093 config/h8300/popcounthi2.c: New files.
4094 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
4095 * config/i386/gthr-win32.c: New file.
4096 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
4097 * config/i386/t-cygwin: Likewise.
4098 * config/i386/t-darwin, config/i386/t-darwin64,
4099 config/i386/t-gthr-win32, config/i386/t-interix: New files.
4100 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
4101 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4102 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4103 * config/ia64/quadlib.c: New file.
4104 * config/ia64/t-hpux (LIB2ADD): Set.
4105 * config/ia64/t-ia64: Add comment.
4106 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
4107 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4108 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
4109 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
4110 * config/m32c/t-m32c (LIB2ADD): Set.
4111 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
4112 * config/m32r/t-m32r: Likewise.
4113 * config/m68k/fpgnulib.c: New file.
4114 * config/m68k/t-floatlib (LIB2ADD): Set.
4115 (xfgnulib.c): New target.
4116 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
4117 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
4118 * config/mep/t-mep (LIB2ADD): Set.
4119 * config/microblaze/divsi3.asm: Rename to divsi3.S.
4120 * config/microblaze/moddi3.asm: Rename to moddi3.S.
4121 * config/microblaze/modsi3.asm: Rename to modsi3.S.
4122 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
4123 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
4124 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
4125 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
4126 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
4127 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
4128 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
4130 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
4131 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
4132 * config/pa/fptr.c, config/pa/lib2funcs.S,
4133 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
4134 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
4135 (LIB2ADD, LIB2ADD_ST): Set.
4136 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
4137 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
4139 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
4140 * config/pdp11/t-pdp11: New file.
4141 * config/picochip/libgccExtras/adddi3.S,
4142 config/picochip/libgccExtras/ashlsi3.S,
4143 config/picochip/libgccExtras/ashrsi3.S,
4144 config/picochip/libgccExtras/clzsi2.S,
4145 config/picochip/libgccExtras/cmpsi2.S,
4146 config/picochip/libgccExtras/divmod15.S,
4147 config/picochip/libgccExtras/divmodhi4.S,
4148 config/picochip/libgccExtras/divmodsi4.S,
4149 config/picochip/libgccExtras/lshrsi3.S,
4150 config/picochip/libgccExtras/parityhi2.S,
4151 config/picochip/libgccExtras/popcounthi2.S,
4152 config/picochip/libgccExtras/subdi3.S,
4153 config/picochip/libgccExtras/ucmpsi2.S,
4154 config/picochip/libgccExtras/udivmodhi4.S,
4155 config/picochip/libgccExtras/udivmodsi4.S: New files.
4156 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
4157 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
4158 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
4159 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
4160 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
4161 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
4162 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
4163 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
4165 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
4166 (HOST_LIBGCC2_CFLAGS): Set.
4167 * config/rs6000/t-darwin64: New file.
4168 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
4169 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
4170 * config/rs6000/t-ppccomm (LIB2ADD): Add
4171 $(srcdir)/config/rs6000/tramp.S.
4172 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
4173 Add $(srcdir)/config/rs6000/eabi.S.
4174 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
4175 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
4176 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
4177 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
4178 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
4179 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
4180 * config/rs6000/tramp.S: New file.
4181 * config/s390/t-tpf: Remove.
4182 * config/sh/linux-atomic.S: New file.
4183 * config/sh/t-linux (LIB2ADD): Set.
4184 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
4185 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
4186 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
4188 (HOST_LIBGCC2_CFLAGS): Set.
4189 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4190 * config/spu/divmodti4.c, config/spu/divv2df3.c,
4191 config/spu/float_disf.c, config/spu/float_unsdidf.c,
4192 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
4193 config/spu/mfc_multi_tag_release.c,
4194 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
4195 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
4196 config/spu/multi3.c: New files.
4197 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
4198 (HOST_LIBGCC2_CFLAGS): Set.
4199 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
4200 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
4201 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
4202 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
4203 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
4204 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
4205 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
4206 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
4207 config/stormy16/umodsi3.c: New files.
4208 * config/xtensa/lib2funcs.S: New file.
4209 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
4210 * config/xtensa/t-xtensa (LIB2ADD): Set.
4211 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
4212 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
4213 Add t-freebsd-thread to tmake_file for posix threads.
4214 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
4215 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
4216 (*-*-lynxos*): Likewise.
4217 (*-*-netbsd*): Likewise.
4218 (*-*-openbsd*): Likewise.
4219 Add t-openbsd-thread to tmake_file for posix threads.
4220 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
4221 (*-*-vxworks*): Set tmake_file.
4222 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
4223 (alpha*-*-freebsd*): Likewise.
4224 (alpha*-*-netbsd*): Likewise.
4225 (alpha*-*-openbsd*): Likewise.
4226 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
4227 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
4228 (alpha*-dec-*vms*): Likewise.
4229 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
4230 (bfin*-elf*): Add bfin/t-elf to tmake_file.
4231 (bfin*-uclinux*): Likewise.
4232 (bfin*-linux-uclibc*): Likewise.
4233 (crisv32-*-elf): Add cris/t-cris to tmake_file.
4234 (crisv32-*-none): Likewise.
4235 (cris-*-elf): Likewise.
4236 (cris-*-none): Likewise.
4237 (cris-*-linux*, crisv32-*-linux*): Likewise.
4238 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
4240 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
4242 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
4243 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
4244 (x86_64-*-elf*): Likewise.
4245 (i[34567]86-*-nto-qnx*): Likewise.
4246 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
4248 (x86_64-*-mingw*): Likewise.
4249 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
4250 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
4251 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
4252 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
4253 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
4255 (mipsisa64sr71k-*-elf*): Likewise.
4256 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
4257 (mips-*-elf*, mipsel-*-elf*): Likewise.
4258 (mips64-*-elf*, mips64el-*-elf*): Likewise.
4259 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
4260 (mips*-*-rtems*): Likewise.
4261 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
4263 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
4264 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
4265 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
4266 (spu-*-elf*): Likewise.
4267 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
4269 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4271 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
4272 $(srcdir) to refer to $(LIB1ASMSRC).
4274 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
4275 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
4276 config/arm/lib1funcs.S: New files.
4277 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
4278 * config/arm/t-arm: New file.
4279 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
4280 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
4281 config/arm/t-strongarm-elf: New files.
4282 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
4283 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
4284 * config/avr/lib1funcs.S: New file.
4285 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4286 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
4287 * config/c6x/lib1funcs.S: New file.
4288 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4289 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
4290 * config/frv/lib1funcs.S: New file.
4291 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4292 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
4293 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
4294 * config/ia64/__divxf3.asm: Rename to ...
4295 * config/ia64/__divxf3.S: ... this.
4296 Adapt lib1funcs.asm filename.
4297 * config/ia64/_fixtfdi.asm: Rename to ...
4298 * config/ia64/_fixtfdi.S: ... this.
4299 Adapt lib1funcs.asm filename.
4300 * config/ia64/_fixunstfdi.asm: Rename to ...
4301 * config/ia64/_fixunstfdi.S: ... this.
4302 Adapt lib1funcs.asm filename.
4303 * config/ia64/_floatditf.asm: Rename to ...
4304 * config/ia64/_floatditf.S: ... this.
4305 Adapt lib1funcs.asm filename.
4306 * config/ia64/lib1funcs.S: New file.
4307 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
4308 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4309 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
4310 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
4311 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
4312 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
4313 * config/mep/lib1funcs.S: New file.
4314 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4315 * config/mips/mips16.S: New file.
4316 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4317 * config/pa/milli64.S: New file.
4318 * config/pa/t-linux, config/pa/t-linux64: New files.
4319 * config/picochip/lib1funcs.S: New file.
4320 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4321 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
4322 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
4323 * config/sh/t-netbsd: New file.
4324 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
4325 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
4326 * config/sh/t-sh64: New file.
4327 * config/sparc/lb1spc.S: New file.
4328 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
4330 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
4331 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
4332 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
4333 config/xtensa/lib1funcs.S: New files.
4334 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4335 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
4337 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
4338 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
4339 (arm*-*-linux*): Likewise.
4340 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
4341 arm*-*-linux-*eabi, add arm/t-linux otherwise.
4342 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
4343 (arm*-*-ecos-elf): Likewise.
4344 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
4345 (arm*-*-rtems*): Likewise.
4346 (arm*-*-elf): Likewise.
4347 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
4348 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
4349 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
4350 (bfin*-uclinux*): Likewise.
4351 (bfin*-linux-uclibc*): Likewise.
4352 (bfin*-rtems*): Likewise.
4353 (bfin*-*): Likewise.
4354 (fido-*-elf): Merge into m68k-*-elf*.
4355 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
4356 (frv-*-*linux*): Add frv/t-frv to tmake_file.
4357 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
4358 (h8300-*-elf*): Likewise.
4359 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
4360 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
4361 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
4362 (i[34567]86-*-mingw*): Likewise.
4363 (x86_64-*-mingw*): Likewise.
4364 (i[34567]86-*-interix3*): Likewise.
4365 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
4366 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
4367 (m68k-*-elf*): Also handle fido-*-elf.
4368 Add m68k/t-floatlib to tmake_file.
4369 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
4370 (m68k-*-linux*): Likewise.
4371 (m68k-*-rtems*): Likewise.
4372 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
4373 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
4375 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
4376 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
4377 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
4378 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
4379 sh/t-netbsd to tmake_file.
4380 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
4381 (sh-*-rtems*): Add sh/t-sh to tmake_file.
4382 (sh-wrs-vxworks): Likewise.
4383 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
4385 (v850*-*-*): Add v850/t-v850 to tmake_file.
4386 (vax-*-linux*): Add vax/t-linux to tmake_file.
4387 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
4389 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4391 * crtstuff.c: New file.
4392 * Makefile.in (CRTSTUFF_CFLAGS): Define.
4393 (CRTSTUFF_T_CFLAGS): Define.
4394 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
4395 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
4396 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
4399 (crtbeginT.o): Use $(objext).
4400 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
4401 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
4402 (gcc-extra-parts): Remove.
4403 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
4405 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4406 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
4407 Add t-crtstuff-pic to tmake_file.
4408 (*-*-lynxos*): New case.
4409 Set tmake_file, extra_parts.
4410 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
4411 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
4412 *-*-netbsdelf[2-9]*.
4413 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
4414 (*-*-rtems*): Set extra_parts.
4415 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
4416 (*-*-uclinux*): New case.
4418 (*-*-vms*): New case.
4419 Set tmake_file, extra_parts.
4420 (*-*-elf): Set extra_parts.
4421 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
4422 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
4425 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
4427 (arm*-*-freebsd*): Add t-crtin to tmake_file.
4428 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
4429 (arm-wrs-vxworks): Append to tmake_file.
4431 (arm*-*-uclinux*): Set extra_parts.
4432 (arm*-*-ecos-elf): Likewise.
4433 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
4435 (arm*-*-rtems*): Set extra_parts.
4436 (arm*-*-elf): Likewise.
4437 (avr-*-rtems*): Clear extra_parts.
4438 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
4440 (bfin*-uclinux*): Likewise.
4441 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
4442 (bfin*-rtems*): Append to tmake_file.
4444 (bfin*-*): Likewise.
4445 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
4446 (crisv32-*-elf): ... this.
4447 (crisv32-*-none): ... this.
4448 (cris-*-elf, cris-*-none): New cases.
4449 Add cris/t-elfmulti to tmake_file.
4450 (fr30-*-elf): Append to tmake_file.
4452 (frv-*-elf): Append to tmake_file, add frv/t-frv.
4454 (h8300-*-rtems*): Append to tmake_file.
4456 (h8300-*-elf*): Likewise.
4457 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
4459 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
4461 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
4462 (x86_64-*-elf*): Likewise.
4463 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
4464 (x86_64-*-freebsd*): Likewise.
4465 (x86_64-*-netbsd*): Likewise.
4466 (i[34567]86-*-linux*): Likewise.
4467 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
4468 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
4469 (x86_64-*-linux*): Likewise.
4470 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
4471 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
4474 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
4475 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
4476 Append to extra_parts, remove crtbegin.o, crtend.o.
4477 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
4478 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
4479 crtend.o, crtbeginS.o, crtendS.o.
4480 (ia64*-*-linux*): Comment extra_parts.
4481 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
4483 (iq2000*-*-elf*): Clear extra_parts.
4484 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
4485 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
4486 (m32r-*-elf*, m32r-*-rtems*): Split off ...
4487 (m32r-*-rtems*): ... this.
4488 Add m32r/t-m32r to tmake_file.
4489 (m68k-*-elf*): Add t-crtin to tmake_file.
4490 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
4491 (mcore-*-elf): Likewise.
4492 (microblaze*-*-*): Set extra_parts.
4493 (mips*-sde-elf*): New case.
4494 Set tmake_file, extra_parts.
4495 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
4496 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
4497 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
4500 (mipsisa64sr71k-*-elf*): Likewise.
4501 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
4502 (mips-*-elf*, mipsel-*-elf*): Likewise.
4503 (mips64-*-elf*, mips64el-*-elf*): Likewise.
4504 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
4505 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
4506 (mips*-*-rtems*): Likewise.
4507 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
4508 (moxie-*-*): Split into ...
4509 (moxie-*-elf, moxie-*-uclinux*): ... this.
4510 Add to extra_parts, remove crtbegin.o, crtend.o.
4511 (moxie-*-rtems*): New case.
4514 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
4516 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
4517 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
4520 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
4521 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
4523 (powerpc-*-eabisim*): Likewise.
4524 (powerpc-*-elf*): Likewise.
4525 (powerpc-*-eabialtivec*): Likewise.
4526 (powerpc-xilinx-eabi*): Likewise.
4527 (powerpc-*-eabi*): Likewise.
4528 (powerpc-*-rtems*): Likewise.
4529 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
4532 (powerpc-*-lynxos*): Add to tmake_file.
4533 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
4534 rs6000/t-crtstuff, t-crtstuff-pic.
4536 (powerpcle-*-eabisim*): Likewise.
4537 (powerpcle-*-eabi*): Likewise.
4538 (rx-*-elf): Remove extra_parts.
4539 (s390x-ibm-tpf*): Set extra_parts.
4540 (score-*-elf): Set extra_parts.
4541 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
4542 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
4543 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
4544 (sh64l*-*-netbsd*): Split into ...
4545 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
4546 Add t-crtstuff-pic to tmake_file.
4548 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
4550 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
4551 (sparc-*-elf*): Remove t-crtin from tmake_file.
4552 Add to extra_parts, remove crtbegin.o, crtend.o.
4553 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
4554 (sparc64-*-linux*): Likewise.
4555 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
4556 Add to extra_parts, remove crtbegin.o, crtend.o.
4557 (sparc64-*-elf*): Remove t-crtin from tmake_file.
4558 Add to extra_parts, remove crtbegin.o, crtend.o.
4559 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
4560 Add to extra_parts, remove crtbegin.o, crtend.o.
4561 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
4562 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
4563 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
4565 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
4567 (tic6x-*-*): Change to ...
4568 (tic6x-*-elf): ... this.
4570 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
4572 (am33_2.0-*-linux*): Add comment.
4573 (mep*-*-*): Add mep/t-mep to tmake_file.
4575 * config/alpha/t-vms: New file.
4576 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
4577 * config/arm/crti.S, config/arm/crtn.S: New files.
4578 * config/bfin/crti.S, config/bfin/crtn.S: New files.
4579 * config/bfin/crtlibid.S: New file.
4580 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
4581 * config/c6x/crti.S, config/c6x/crtn.S: New files.
4582 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
4583 (crti.o, crtin.o): New rules.
4584 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
4585 * config/c6x/t-uclinux: New file.
4586 * config/cris/t-elfmulti: New file.
4587 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
4588 * config/fr30/crti.S, config/fr30/crtn.S: New files.
4589 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
4590 * config/frv/t-frv: New file.
4591 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
4592 * config/h8300/crti.S, config/h8300/crtn.S: New files.
4593 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
4595 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
4596 refer to cygming-crtbegin.c, cygming-crtend.c.
4598 * config/i386/t-nto: New file.
4599 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
4600 * config/ia64/crti.S, config/ia64/crtn.S: New files.
4601 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
4602 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
4605 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
4606 (crtinitS.o): New rule.
4607 * config/ia64/vms-crtinit.S: New file.
4608 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
4609 * config/m32r/initfini.c: New file.
4610 * config/m32r/t-linux, config/m32r/t-m32r: New files.
4611 * config/m68k/crti.S, config/m68k/crtn.S: New files.
4612 * config/mcore/crti.S, config/mcore/crtn.S: New files.
4613 * config/mep/t-mep: New file.
4614 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
4615 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
4616 * config/mips/crti.S, config/mips/crtn.S: New files.
4617 * config/mips/t-crtstuff: New file.
4618 * config/mmix/crti.S, config/mmix/crtn.S: New files.
4619 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
4620 (CUSTOM_CRTIN): Set.
4621 ($(T)crti.o, $(T)crtn.o): Remove $(T),
4623 Use $(srcdir) to refer to crti.S, crtn.S.
4624 Use .S extension, $<.
4625 * config/moxie/crti.asm: Rename to ...
4626 * config/moxie/crti.S: ... this.
4627 * config/moxie/crtn.asm: Rename to ...
4628 * config/moxie/crtn.S: ... this.
4629 * config/moxie/t-moxie: Remove.
4630 * config/pa/stublib.c: New file.
4631 * config/pa/t-stublib, config/pa/t-stublib64: New files.
4632 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
4633 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
4634 * config/rs6000/t-crtstuff: New file.
4635 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
4636 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
4637 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
4638 Make output file explicit.
4639 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
4640 Make output file explicit.
4641 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
4642 Make output file explicit.
4643 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
4644 Make output file explicit.
4645 * config/score/crti.S, config/score/crtn.S: New files.
4646 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
4647 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
4649 * config/sh/t-sh, config/sh/t-superh: New files.
4650 * config/sparc/t-linux64: New file.
4651 * config/spu/cache.S, config/spu/cachemgr.c: New files.
4652 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
4653 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
4654 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
4655 * config/t-crtin: Remove.
4656 * config/t-crtstuff-pic: New file.
4657 * config/t-sol2 (CUSTOM_CRTIN): Set.
4658 (crti.o, crtn.o): New rules.
4659 * config/vms/t-vms: New file.
4660 * config/vms/vms-ucrt0.c: New file.
4661 * config/xtensa/t-elf: New file.
4663 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4665 * Makefile.in (SHLIB_NM_FLAGS): Set.
4666 * mkmap-flat.awk, mkmap-symver.awk: New files.
4667 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
4669 * configure: Regenerate.
4670 * config/libgcc-glibc.ver: New file.
4671 * config/libgcc-libsystem.ver: New file.
4672 * config/t-libunwind (SHLIB_LC): Set.
4673 * config/t-linux: New file.
4674 * config/t-slibgcc (INSTALL_SHLIB): New.
4675 (SHLIB_INSTALL): Use it.
4676 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
4677 to mkmap-symver.awk.
4678 (SHLIB_MAPFILES): Don't append, adapt pathname.
4679 (SHLIB_VERPFX): Set.
4680 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
4681 to mkmap-symver.awk.
4682 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
4683 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
4684 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
4685 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
4687 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
4688 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
4689 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
4690 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
4691 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
4692 * config/i386/libgcc-darwin.10.4.ver,
4693 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
4695 * config/i386/t-darwin: Remove.
4696 * config/i386/t-darwin64: Likewise.
4697 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
4698 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
4699 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
4700 * config/i386/t-linux: New file.
4701 * config/i386/t-mingw32: New file.
4702 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
4703 * config/ia64/t-glibc: Rename to ...
4704 * config/ia64/t-linux: ... this.
4705 (SHLIB_MAPFILES): Set.
4706 * config/ia64/t-glibc-libunwind: Rename to ...
4707 * config/ia64/t-linux-libunwind: ... this.
4708 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
4709 * config/ia64/t-slibgcc-hpux: New file.
4710 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
4711 * config/m68k/t-slibgcc-elf-ver: New file.
4712 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
4713 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
4715 * config/pa/t-slibgcc-hpux: New file.
4716 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
4718 * config/rs6000/libgcc-darwin.10.4.ver,
4719 config/rs6000/libgcc-darwin.10.5.ver: New files.
4720 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
4721 config/rs6000/libgcc-glibc.ver.
4722 * config/rs6000/libgcc-ppc64.ver: Rename to
4723 config/rs6000/libgcc-ibm-ldouble.ver.
4724 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
4725 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
4726 * config/rs6000/t-ldbl128: Rename to ...
4727 * config/rs6000/t-linux: ... this.
4728 (SHLIB_MAPFILES): Adapt filename.
4729 * config/rs6000/t-slibgcc-aix: New file.
4730 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
4731 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
4732 libgcc-excl.ver, libgcc-glibc.ver.
4733 (SHLIB_LINK, SHLIB_INSTALL): Remove.
4734 * config/sparc/libgcc-glibc.ver: New file.
4735 * config/sparc/t-linux: New file.
4736 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
4737 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
4738 t-slibgcc-elf-ver to tmake_file.
4739 Add t-slibgcc-nolc-override to tmake_file for posix threads on
4741 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4742 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
4743 t-slibgcc-elf-ver, t-linux to tmake_file.
4744 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
4746 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
4747 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
4748 (alpha*-dec-*vms*): Likewise.
4749 (arm*-*-freebsd*): Append to tmake_file.
4750 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
4751 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
4753 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
4754 tmake_file for arm*-*-symbianelf*.
4755 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
4756 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
4758 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
4759 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
4760 pa/t-slibgcc-dwarf-ver to tmake_file.
4761 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
4762 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
4763 (hppa*64*-*-hpux11*): Likewise.
4764 (hppa[12]*-*-hpux11*): Likewise.
4765 (x86_64-*-darwin*): Don't override tmake_file, but only keep
4766 i386/t-crtpc, i386/t-crtfm.
4767 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
4768 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
4770 Add i386/t-cygwin to tmake_file.
4771 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
4772 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
4773 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
4775 Add i386/t-mingw32 to tmake_file.
4776 (x86_64-*-mingw*): Likewise.
4777 (ia64*-*-freebsd*): Append to tmake_file.
4778 (ia64*-*-linux*): Append to tmake_file.
4779 Replace ia64/t-glibc by ia64/t-linux.
4780 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
4782 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
4783 t-slibgcc-hpux to tmake_file.
4784 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
4785 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
4786 (m32rle-*-linux*): Likewise.
4787 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
4789 (microblaze*-linux*): New case.
4790 Append to tmake_file, add t-slibgcc-nolc-override.
4791 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
4792 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
4793 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
4794 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
4795 rs6000/t-slibgcc-aix to tmake_file.
4796 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4797 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4798 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
4799 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
4800 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
4801 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
4803 (sparc-*-linux*): Append to tmake_file for *-leon*.
4804 Add sparc/t-linux to tmake_file for non-Leon targets.
4805 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
4806 (tic6x-*-uclinux): New case.
4807 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
4808 (tic6x-*-*): Add c6x/t-elf to tmake_file.
4809 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
4810 (am33_2.0-*-linux*): Append to tmake_file.
4811 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4812 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
4813 x86_64-*-kfreebsd*-gnu.
4814 Add i386/t-linux to tmake_file.
4816 2011-10-28 Ian Lance Taylor <iant@google.com>
4818 * config/i386/morestack.S: Correct CFI information to do proper
4819 returns throughout function. In 32-bit mode, save %ebx so that it
4820 is restored on unwind.
4822 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
4824 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
4825 case where B3 isn't the return register.
4827 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
4828 logic for doubleword pops.
4830 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
4832 * config/rs6000/t-freebsd: Add wildcard.
4834 2011-10-21 Paul Brook <paul@codesourcery.com>
4836 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
4838 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
4839 Eric Botcazou <ebotcazou@adacore.com>
4842 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
4843 fs->signal_frame to 1.
4845 2011-10-07 Ian Lance Taylor <iant@google.com>
4847 * generic-morestack-thread.c: #include <errno.h>.
4849 2011-10-07 Ian Lance Taylor <iant@google.com>
4852 * generic-morestack.c (__generic_morestack): Make sure the segment
4853 is large enough for both the stack frame and the copied
4856 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4859 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
4862 2011-09-28 Nick Clifton <nickc@redhat.com>
4864 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
4865 64-bit doubles are not enabled.
4866 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
4867 and floatunsisf functions.
4869 2011-09-13 Paul Brook <paul@codesourcery.com>
4871 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
4872 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
4873 * unwind-arm-common.inc: New file.
4874 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
4875 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
4876 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
4877 * config/c6x/libunwind.S: New file.
4878 * config/c6x/pr-support.c: New file.
4879 * config/c6x/unwind-c6x.c: New file.
4880 * config/c6x/unwind-c6x.h: New file.
4881 * config/c6x/t-c6x-elf: New file.
4883 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
4885 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
4886 (ASM_DIVZERO): Ditto.
4887 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
4889 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
4891 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
4893 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
4896 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
4897 instead of an assembly one.
4899 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
4902 * Makefile.in (install-unwind_h): Create
4903 $(gcc_objdir)/include/unwind.h atomically.
4905 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4907 * Makefile.in (install-unwind_h): Remove destination file first.
4909 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4912 * config/mips/t-mips16: New file.
4913 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
4914 (mips*-*-linux*): Likewise.
4915 (mips*-sde-elf*): Likewise.
4916 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
4917 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
4918 Add mips/t-mips16 to tmake_file.
4919 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
4920 (mips-*-elf*): Likewise.
4921 (mips64-*-elf*): Likewise.
4922 (mips64orion-*-elf*): Likewise.
4923 (mips*-*-rtems*): Likewise.
4924 (mipstx39-*-elf*): Likewise.
4925 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
4926 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
4928 Use $(srcdir) to refer to sync.c.
4930 ($(libgcc-sync-funcs-o)): Likewise.
4931 ($(libgcc-sync-size-funcs-s-o)): Likewise.
4932 ($(libgcc-sync-funcs-s-o)): Likewise.
4934 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
4936 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
4939 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
4942 * config/i386/value-unwind.h: New.
4944 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
4946 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
4947 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
4948 Add to tmake_file rather than overriding it.
4950 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4952 * config/t-softfp: Remove.
4953 * soft-fp: Moved from ../gcc/config.
4954 * soft-fp/README: Remove t-softfp reference.
4955 * soft-fp/t-softfp: Move to config/t-softfp.
4956 (softfp_machine_header): Remove.
4957 (softfp_file_list): Remove config subdir.
4958 (soft-fp-objects): New variable.
4959 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
4960 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
4961 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
4962 * config/t-softfp-excl: New file.
4963 * config/t-softfp-sfdf: New file.
4964 * config/t-softfp-tf: New file.
4965 * config/no-sfp-machine.h: New file.
4966 * config/arm/sfp-machine.h: New file.
4967 * config/arm/t-softfp: New file.
4968 * config/c6x/sfp-machine.h: New file.
4969 * config/i386/32/t-fprules-softfp: Rename to ...
4970 * config/i386/32/t-softfp: ... this.
4971 (tifunctions, LIB2ADD): Remove.
4972 (softfp_int_modes): Override.
4973 * config/i386/64/t-softfp-compat (tf-functions): Remove config
4975 * config/i386/64/eqtf2.c: Likewise.
4976 * config/i386/64/getf2.c: Likewise.
4977 * config/i386/64/letf2.c: Likewise.
4978 * config/ia64/sft-machine.h: New file.
4979 * config/ia64/t-fprules-softfp: Rename to ...
4980 * config/ia64/t-softfp: ... this.
4981 * config/lm32/sfp-machine.h: New file.
4982 * config/moxie/t-moxie-softfp: Remove.
4983 * config/rs6000/ibm-ldouble-format: New file.
4984 * config/rs6000/ibm-ldouble.c: New file.
4985 * config/rs6000/libgcc-ppc-glibc.ver: New file
4986 * config/rs6000/libgcc-ppc64.ver: New file
4987 * config/rs6000/sfp-machine.h: New file.
4988 * config/rs6000/t-freebsd: New file.
4989 * config/rs6000/t-ibm-ldouble: New file.
4990 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
4991 libgcc-ppc-glibc.ver.
4992 * config/rs6000/t-linux64: New file.
4993 * config/rs6000/t-ppccomm (LIB2ADD): Add
4994 $(srcdir)/config/rs6000/ibm-ldouble.c.
4995 * config/rs6000/t-ppccomm-ldbl: New file.
4996 * config/score/sfp-machine.h: New file.
4997 * config.host (sfp_machine_header): Explain.
4998 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
4999 t-softfp to tmake_file.
5000 (arm*-*-uclinux*): Likewise.
5001 (arm*-*-ecos-elf): Likewise.
5002 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
5003 (arm*-*-rtems*): Likewise.
5004 (arm*-*-elf): Likewise.
5005 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
5007 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
5008 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
5009 (lm32-*-uclinux*): Likewise.
5010 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
5011 t-softfp-excl, t-softfp.
5012 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
5013 (powerpc64-*-darwin*): Likewise.
5014 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
5016 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
5018 (powerpc-*-eabisim*): Likewise.
5019 (powerpc-*-elf*): Likewise.
5020 (powerpc-*-eabialtivec*): Likewise.
5021 (powerpc-xilinx-eabi*): Likewise.
5022 (powerpc-*-rtems*): Likewise.
5023 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
5024 t-softfp-excl, t-softfp to tmake_file.
5025 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
5026 rs6000/t-ppccomm-ldbl to tmake_file.
5027 (powerpcle-*-elf*): Likewise.
5028 (powerpcle-*-eabisim*): Likewise.
5029 (powerpcle-*-eabi*): Likewise.
5030 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5031 rs6000/t-ibm-ldouble to tmake_file.
5032 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5033 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5034 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
5035 (tic6x-*-*): Likewise.
5036 (i[34567]86-*-darwin*, x86_64-*-darwin*,
5037 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
5038 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
5039 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
5040 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
5041 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
5042 t-softfp to tmake_file.
5043 * configure.ac (sfp_machine_header): Provide default if unset.
5045 Link sfp-machine.h to config/$sfp_machine_header.
5046 * configure: Regenerate.
5048 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5050 * Makefile.in (double_type_size, long_double_type_size): Set.
5051 Remove $(fpbit-in-libgcc) support.
5052 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
5053 (fpbit-src): New variable.
5054 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
5055 Compile with -DFLOAT $(FPBIT_CFLAGS).
5057 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
5058 Compile with $(FPBIT_CFLAGS).
5060 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
5061 Compile with -DFLOAT $(TPBIT_CFLAGS).
5063 * configure.ac (double_type_size, long_double_type_size):
5064 Determine and substitute.
5065 * configure: Regenerate.
5066 * fp-bit.c, fp-bit.h: New files.
5067 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
5068 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
5069 * config/mips/t-mips: New file.
5070 * config/mips/t-sdemtk: New file.
5071 * config/rs6000/ppc64-fp.c: New file.
5072 * config/rs6000/t-darwin (LIB2ADD): Add
5073 $(srcdir)/config/rs6000/ppc64-fp.c.
5074 * config/rs6000/t-ppc64-fp: New file.
5075 * config/rx/rx-lib.h: New file.
5076 * config/rx/t-rx (FPBIT): Set to true.
5077 ($(gcc_objdir)/fp-bit.c): Remove.
5078 (DPBIT): Set to true only with -m64bit-doubles.
5079 ($(gcc_objdir)/dp-bit.c): Remove.
5080 * config/sparc/t-softfp: Remove.
5081 * config/spu/t-elf: New file.
5082 * config/t-fdpbit, config/t-fpbit: New files.
5083 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
5084 (mips*-*-*): Likewise.
5085 (arm-wrs-vxworks): Likewise.
5086 (arm*-*-freebsd*): Likewise.
5087 (avr-*-rtems*): Add t-fpbit to tmake_file.
5088 (avr-*-*): Likewise.
5089 (bfin*-elf*): Add t-fdpbit to tmake_file.
5090 (bfin*-uclinux*): Likewise.
5091 (bfin*-linux-uclibc*): Likewise.
5092 (bfin*-rtems*): New case.
5093 Add t-fdpbit to tmake_file.
5094 (bfin*-*): Add t-fdpbit to tmake_file.
5095 (crisv32-*-elf): Likewise.
5096 (cris-*-linux*): Likewise.
5097 (fr30-*-elf): Likewise.
5098 (frv-*-elf, frv-*-*linux*): Likewise.
5099 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
5100 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
5101 (m32r-*-elf*): Likewise.
5102 (m32rle-*-elf*): Likewise.
5103 (m32r-*-linux*): Likewise.
5104 (m32rle-*-linux*): Likewise.
5105 (mcore-*-elf): Add t-fdpbit to tmake_file.
5106 (microblaze*-*-*): Likewise.
5107 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
5108 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
5109 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
5111 Add mips/t-tpbit to tmake-file.
5112 (mips*-*-linux*): Fix typo.
5113 (mips*-sde-elf*): New case
5114 Add mips/t-sdemtk unless using newlib.
5115 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
5116 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
5117 (mn10300-*-*): Likewise.
5118 (pdp11-*-*): Likewise.
5119 (picochip-*-*): Add t-fpbit to tmake_file.
5120 (powerpc-*-eabisimaltivec*): Likewise.
5121 (powerpc-*-eabisim*): Likewise.
5122 (powerpc-*-elf*): Likewise.
5123 (powerpc-*-eabialtivec*): Likewise.
5124 (powerpc-xilinx-eabi*): New case.
5125 Add t-fdpbit to tmake_file.
5126 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
5127 (powerpc-*-rtems*): Likewise.
5128 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
5130 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
5132 (powerpc-*-lynxos*): Likewise.
5133 (powerpcle-*-elf*): Likewise.
5134 (powerpcle-*-eabisim*): Likewise.
5135 (powerpcle-*-eabi*): Likewise.
5136 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5137 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
5138 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5139 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5140 (rx-*-elf): Add t-fdpbit to tmake_file.
5141 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5142 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5143 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5144 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
5146 (sh-*-rtems*): Add t-fdpbit to tmake_file.
5147 (sh-wrs-vxworks): Likewise.
5148 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
5149 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
5150 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
5151 (sparc64-*-rtems*): ... new case.
5152 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
5153 (spu-*-elf*): Likewise.
5154 Add spu/t-elf to tmake_file.
5155 (v850*-*-*): Add t-fdpbit to tmake_file.
5156 (xstormy16-*-elf): Likewise.
5157 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
5158 (mep*-*-*): Likewise.
5160 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5162 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
5164 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
5165 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
5166 (install-unwind_h): New target.
5167 (all): Depend on it.
5168 * config.host (unwind_header): New variable.
5169 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
5170 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5171 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
5172 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
5173 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
5175 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
5177 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
5179 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
5181 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
5182 (ia64*-*-freebsd*): Likewise.
5183 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
5185 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
5186 $with_system_libunwind.
5187 (ia64*-*-hpux*): Set tmake_file.
5188 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
5189 (picochip-*-*): Set tmake_file.
5190 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
5192 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5193 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5194 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
5195 (xtensa*-*-elf*): Set tmake_file.
5196 (xtensa*-*-linux*): Likewise.
5197 * configure.ac: Include ../config/unwind_ipinfo.m4.
5198 Call GCC_CHECK_UNWIND_GETIPINFO.
5199 Link unwind.h to $unwind_header.
5200 * configure: Regenerate.
5201 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
5202 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
5203 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
5204 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
5205 * config/unwind-dw2-fde-darwin.c: New file.
5206 * config/arm/libunwind.S, config/arm/pr-support.c,
5207 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
5208 config/arm/unwind-arm.h,: New files.
5209 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
5210 config/ia64/t-eh-ia64, config/ia64/t-glibc,
5211 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
5212 config/ia64/t-vms, config/ia64/unwind-ia64.c,
5213 config/ia64/unwind-ia64.h: New files.
5214 * config/picochip/t-picochip: New file.
5215 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
5217 * config/rs6000/t-darwin (LIB2ADDEH): Set.
5218 * config/s390/t-tpf (LIB2ADDEH): Remove.
5219 * config/t-darwin (LIB2ADDEH): Set.
5220 * config/t-eh-dw2-dip: New file.
5221 * config/t-libunwind, config/t-libunwind-elf: New files.
5222 * config/t-sol2 (LIB2ADDEH): Remove.
5223 * config/xtensa/t-xtensa: New file.
5225 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
5227 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
5228 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
5229 long long to check rt_sigreturn syscall.
5231 2011-08-02 Alan Modra <amodra@gmail.com>
5233 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
5234 Restore for indirect call bcrtl from correct stack slot, and only
5235 if cfa+40 isn't valid.
5237 2011-08-01 Julian Brown <julian@codesourcery.com>
5239 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
5240 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
5241 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
5243 2011-08-01 Julian Brown <julian@codesourcery.com>
5245 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
5246 (libgcc-std.ver.in): Use above.
5247 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
5248 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
5250 * config/t-fixedpoint-gnu-prefix: New file.
5251 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
5252 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
5255 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
5257 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
5258 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
5259 for x86-64. Properly check __x86_64__ and __LP64__.
5261 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
5263 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
5265 (_FP_WS_TYPE): Likewise.
5266 (_FP_I_TYPE): Likewise.
5268 2011-07-28 Alan Modra <amodra@gmail.com>
5270 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
5271 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
5272 in a plt call stub. Do restore r2 if stopped on bctrl.
5274 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5276 * config.host (i[3456x]86-*-netware*): Remove.
5277 * config/i386/netware-crt0.c, config/i386/t-nwld,
5278 config/i386/t-slibgcc-nwld: Remove.
5280 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
5282 * config.host: Handle tic6x-*-*.
5283 * config/c6x/c6x-abi.h: New file.
5285 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5287 * config/i386/crtprec.c: New file.
5288 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
5289 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
5290 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
5291 (x86_64-*-darwin*): Likewise.
5292 (i[34567]86-*-solaris2*: Likewise.
5294 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5296 * config/alpha/crtfastmath.c: New file.
5297 * config/i386/crtfastmath.c: New file.
5298 * config/ia64/crtfastmath.c: New file.
5299 * config/mips/crtfastmath.c: New file.
5300 * config/sparc/crtfastmath.c: New file.
5302 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
5304 Add -frandom-seed=gcc-crtfastmath.
5305 * config/alpha/t-crtfm: Remove.
5306 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
5307 * config/ia64/t-ia64 (crtfastmath.o): Remove.
5309 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
5310 (alpha*-dec-osf5.1*): Likewise.
5311 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
5312 Add crtfastmath.o to extra_parts.
5313 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
5314 Add crtfastmath.o to extra_parts.
5315 (x86_64-*-darwin*): Likewise.
5316 (x86_64-*-mingw*): Likewise.
5317 (ia64*-*-elf*): Add t-crtfm to tmake_file.
5318 (ia64*-*-freebsd*): Likewise.
5319 (ia64*-*-linux*): Likewise.
5320 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
5321 Add crtfastmath.o to extra_parts.
5323 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5325 * config/darwin-crt3.o: New file.
5326 * config/rs6000/darwin-crt2.c: New file.
5327 * config/t-darwin: New file.
5328 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
5330 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
5331 (powerpc-*-darwin*): Add crt2.o to extra_parts.
5332 (powerpc64-*-darwin*): Likewise.
5334 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5336 * config/i386/netware-crt0.c: New file.
5337 * config/i386/t-nwld: Rename to ...
5338 * config/i386/t-slibgcc-nwld: ... this.
5339 * config/i386/t-nwld: New file.
5340 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
5342 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
5345 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5347 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
5349 * configure: Regenerate.
5351 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5353 * dfp-bit.c, dfp-bit.h: New files.
5354 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
5356 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
5357 ($(d64pbit-o)): Likewise.
5358 ($(d128pbit-o)): Likewise.
5359 * config/t-dfprules: New file.
5360 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
5361 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
5362 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
5363 (x86_64-*-linux*): Likewise.
5364 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
5365 (i[34567]86-*-cygwin*): Likewise.
5366 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
5367 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5369 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5371 * Makfile.in (LIBGCOV): New variable.
5372 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
5373 * libgcov.c: New file.
5375 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5377 * fixed-bit.c, fixed-bit.h: New files.
5378 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
5379 refer to fixed-bit.c.
5381 2011-07-07 Joseph Myers <joseph@codesourcery.com>
5383 * config.host (*local*): Remove.
5385 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5388 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
5389 like i?86-*-solaris2.1[0-9]*.
5390 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
5391 * configure.ac (i?86-*-solaris2*): Likewise.
5392 * configure: Regenerate.
5394 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
5396 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
5397 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
5398 md_unwind_header by splitting out of...
5399 (i[34567]86-*-linux*): ... this.
5400 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
5401 Remove md_unwind_header by splitting out of...
5402 (x86_64-*-linux*): ... this.
5404 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
5406 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
5408 2011-06-28 Nick Clifton <nickc@redhat.com>
5410 * config.host: Recognize all V850 variants.
5412 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
5414 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
5416 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5418 * shared-object.mk (c_flags-$o): Save c_flags.
5419 ($(base)$(objext)): Use it.
5420 ($(base)_s$(objext)): Likewise.
5422 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
5424 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
5425 * libgcc-std.ver.in (GCC_4.7.0): New section.
5427 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
5431 * config/avr/t-avr: Fix line endings.
5432 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
5435 2011-06-14 Olivier Hainque <hainque@adacore.com>
5436 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5438 * config/mips/irix6-unwind.h: New file.
5439 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
5441 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
5443 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
5444 (sparc64_fallback_frame_state): Use it.
5445 (sparc64_frob_update_context): Further adjust context.
5446 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
5447 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
5448 * config/sparc/sol2-cn.S: Likewise.
5450 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5452 * enable-execute-stack-empty.c: New file.
5453 * enable-execute-stack-mprotect.c: New file.
5454 * config/i386/enable-execute-stack-mingw32.c: New file.
5455 * config.host (enable_execute_stack): New variable.
5456 Select appropriate variants.
5457 * configure.ac: Link enable-execute-stack.c to
5458 $enable_execute_stack.
5459 * configure: Regenerate.
5460 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
5461 (lib2funcs): Remove _enable_execute_stack.
5463 2011-06-09 David S. Miller <davem@davemloft.net>
5464 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5466 * config.host (sparc-*-linux*): Correct md_unwind_header
5468 (s390x-ibm-tpf*): Fix typo.
5470 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5472 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
5473 Add crtfastmath.o to extra_parts.
5474 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
5476 * config/mips/t-crtfm: Remove.
5478 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5480 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
5482 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
5484 * config.host (sh*-*-linux*): Fix typo.
5486 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5488 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
5489 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
5490 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
5491 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
5492 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
5493 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
5494 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
5495 Wrap in !__MINGW64__.
5496 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
5497 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
5498 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
5499 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
5500 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
5501 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
5502 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
5504 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
5505 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
5506 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
5507 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
5508 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
5509 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
5510 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
5511 * config/no-unwind.h: New file.
5512 * config.host (md_unwind_header): Document.
5514 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
5515 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
5516 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
5517 hppa[12]*-*-hpux11*): Set md_unwind_header.
5518 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
5519 Set md_unwind_header.
5520 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
5521 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
5522 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
5523 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
5524 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
5525 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
5526 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
5528 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
5529 * configure: Regenerate.
5531 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5533 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
5534 Set tmake_file, extra_parts.
5535 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
5537 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
5539 * config/mips/t-irix6: New file.
5540 * config/mips/t-slibgcc-irix: New file.
5542 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5544 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
5545 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
5547 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5549 * configure.ac (target_thread_file): Determine thread model.
5550 * configure: Regenerate.
5551 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
5552 * config/alpha/t-alpha: New file.
5553 * config/alpha/t-crtfm: Use $<.
5554 * config/alpha/t-ieee: New file.
5555 * config/alpha/t-osf-pthread: New file.
5556 * config/alpha/t-slibgcc-osf: New file.
5557 * config/alpha/libgcc-osf5.ver: New file.
5559 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5561 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
5563 Add crtfastmath.o to extra_parts.
5565 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5567 * config/gmon-sol2.c: Reindent.
5569 Remove, correct casts.
5570 Use STDERR_FILENO, NULL.
5571 (BASEADDRESS): Remove.
5573 (errno, sbrk): Remove declarations.
5574 (monstartup) [hp300]: Remove.
5577 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5579 * Makefile.in (cpu_type): Define.
5580 * config.host (i[34567]86-*-rtems*): Handle it.
5581 (i[34567]86-*-solaris2*): Move body ...
5582 (*-*-solaris2*): ... here.
5583 New case, generalize.
5584 (sparc-*-elf*): Handle it.
5585 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
5586 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
5587 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
5589 (sparc*-*-solaris2*): ... this.
5591 (sparc64-*-elf*): Handle it.
5592 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
5593 Merge ../gcc/config/i386/gmon-sol2.c.
5594 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
5596 Merge ../gcc/config/i386/sol2-gc1.asm.
5597 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
5599 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
5601 * config/i386/t-crtfm (crtfastmath.o): Use $<.
5602 * config/i386/t-crtstuff: New file.
5603 * config/i386/t-softfp: New file.
5604 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
5605 $(T)crti.o, $(T)crtn.o): Remove.
5606 (gcrt1.o): New rule.
5607 (TARGET_LIBGCC2_CFLAGS): Remove.
5608 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
5609 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
5610 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
5611 * config/sparc/t-sol2: New file.
5612 * config/sparc/t-crtfm: Move to ...
5613 * config/t-crtfm: ... this.
5614 Use $(cpu_type), $<.
5615 * config/t-crtin: New file.
5616 * config/sparc/t-softfp: New file.
5617 * config/sparc/t-softmul: New file.
5618 * config/t-rtems: New file.
5619 * config/t-slibgcc: New file.
5620 * config/t-slibgcc-elf-ver: New file.
5621 * config/t-slibgcc-gld: New file.
5622 * config/t-slibgcc-sld: New file.
5623 * config/t-sol2: New file.
5624 * configure.ac: Include ../config/lib-ld.m4.
5625 Call AC_LIB_PROG_LD_GNU.
5626 Substitute cpu_type.
5627 * configure: Regenerate.
5629 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
5632 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
5633 libgcc-std.ver in the build directory.
5634 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
5635 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
5637 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
5639 * libgcc-std.ver.in: New file.
5640 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
5642 (libgcc-std.ver): New rule.
5643 * config/t-gnu-prefix: New file.
5645 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5647 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
5649 2011-05-10 Joseph Myers <joseph@codesourcery.com>
5651 * config/i386/darwin-lib.h: New file.
5653 2011-05-10 Joseph Myers <joseph@codesourcery.com>
5655 * config/arm/symbian-lib.h: New.
5657 2011-05-04 Chris Demetriou <cgd@google.com>
5659 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
5660 (__x86.get_pc_thunk.bx): ...this.
5661 (__morestack): Adjust for rename, remove undef of __i686.
5663 2011-05-03 Chris Demetriou <cgd@google.com>
5665 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
5667 2011-03-22 Joseph Myers <joseph@codesourcery.com>
5669 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
5670 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
5671 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
5672 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
5673 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
5676 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
5678 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
5679 Adjust copyright year.
5681 2011-03-07 Ian Lance Taylor <iant@google.com>
5683 * generic-morestack.c (__splitstack_find): Adjust returned stack
5684 pointer to include all registers pushed by __morestack.
5686 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
5689 * configure.ac: Call ACX_NONCANONICAL_TARGET.
5690 (toolexecdir): Calculate and AC_SUBST.
5691 (toolexeclibdir): Likewise.
5692 * Makefile.in (target_noncanonical): Import.
5693 (toolexecdir): Likewise.
5694 (toolexeclibdir): Likewise.
5695 * configure: Regenerate.
5697 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
5700 * config/arm/bpabi.h: Rename to...
5701 * config/arm/bpabi-lib.h: ...this.
5703 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5705 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
5707 * configure: Regenerate.
5709 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
5711 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
5712 __FLOAT_WORD_ORDER__.
5713 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
5716 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5719 * Makefile.in (install-strip): New phony target.
5721 2010-11-07 Ian Lance Taylor <iant@google.com>
5724 * config/i386/morestack.S (__morestack_large_model): New
5727 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
5729 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
5731 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
5733 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
5735 * config/arm/bpabi.h: New file.
5736 * config/frv/frv-abi.h: New file.
5738 2010-10-01 Ian Lance Taylor <iant@google.com>
5740 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
5741 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
5743 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
5746 * config.host: Add the missing `$'.
5748 2010-09-30 Michael Eager <eager@eagercon.com>
5750 * config.host: Add microblaze*-*-*.
5751 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
5752 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
5753 udivsi3.asm,umodsi3.asm}: New.
5755 2010-09-28 Ian Lance Taylor <iant@google.com>
5757 * configure.ac: Adjust CFI test to test assembler directly rather
5758 than checking gcc preprocessor macro.
5759 * configure: Rebuild.
5761 2010-09-27 Ian Lance Taylor <iant@google.com>
5763 * configure.ac: Test whether assembler supports CFI directives.
5764 * config.host: Only add t-stack and i386/t-stack-i386 to
5765 tmake_file if libgcc_cv_cfi is "yes".
5766 * configure: Rebuild.
5768 2010-09-27 Ian Lance Taylor <iant@google.com>
5770 * generic-morestack.h: New file.
5771 * generic-morestack.c: New file.
5772 * generic-morestack-thread.c: New file.
5773 * config/i386/morestack.S: New file.
5774 * config/t-stack: New file.
5775 * config/i386/t-stack-i386: New file.
5776 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
5777 i386/t-stack-i386 to tmake_file.
5779 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
5781 * Makefile.in (libgcc-extra-parts): Check for static archives and
5782 invoke ranlib after installing them.
5783 (gcc-extra-parts): Likewise.
5784 (install-leaf): Likewise.
5786 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
5788 * configure: Regenerated.
5790 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
5792 * configure: Regenerated.
5794 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
5795 Andrew Pinski <pinskia@gmail.com>
5798 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
5800 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
5803 * configure: Regenerated.
5805 2010-09-06 Andreas Schwab <schwab@redhat.com>
5807 * configure: Regenerate.
5809 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
5811 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
5813 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
5816 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
5817 Iain Sandoe <iains@gcc.gnu.org>
5820 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
5821 LIB2FUNCS_EXCLUDE functions.
5823 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5825 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
5827 * configure: Regenerate.
5829 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
5831 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
5832 i386/t-freebsd to tmake_file.
5833 * config/i386/t-freebsd: New file.
5834 * config/i386/libgcc-bsd.ver: New file.
5836 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
5838 * config.host (powerpc*-eabispe*): Set tmake_file.
5839 (powerpc*-eabi*): Likewise.
5840 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
5841 crtbeginS, crtendS, crtbeginT.
5843 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
5845 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
5846 to tmake_file. Add crtfastmath.o to extra_parts.
5847 * config/mips/t-crtfm: New.
5849 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
5851 * config.host (sparc64-*-rtems*): New target.
5853 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5855 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
5858 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
5860 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
5862 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5864 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
5865 alpha-dec-osf5.0* support.
5867 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
5869 * config.host: Add lm32-*-rtems*.
5871 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5872 Uros Bizjak <ubizjak@gmail.com>
5875 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
5876 like other remaining 32-bit x86 OSes.
5877 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
5879 * config/i386/libgcc-sol2.ver: New file.
5880 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
5882 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
5885 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
5886 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
5887 is used and substitute set_use_emutls.
5888 * configure: Regenerated.
5890 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
5892 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
5894 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5897 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
5899 ($(T)gcrt1.o): Likewise.
5900 ($(T)crt1.o): Likewise.
5901 ($(T)crti.o): Likewise.
5902 ($(T)crtn.o): Likewise.
5904 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5907 * Makefile.in (install): Use $(MAKE) string in rule, for
5910 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
5912 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
5913 * config/mmix/t-mmix: New file.
5914 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
5916 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
5919 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
5922 2010-01-04 Anthony Green <green@moxielogic.com>
5924 * config/moxie/crti.asm, config/moxie/crtn.asm,
5925 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
5926 config/moxie/t-moxie: New files.
5927 * config.host: Add t-moxie-softfp reference.
5929 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
5932 * config/t-slibgcc-darwin: Fix embedded rpaths for
5933 --enable-version-specific-runtime-libs, build extension stub
5934 libs exposing features available from current libgcc_s.
5936 2009-11-11 Jon Beniston <jon@beniston.com>
5938 * config.host: Add lm32 targets.
5939 * config/lm32: New directory.
5940 * config/lm32/libgcc_lm32.h: New file.
5941 * config/lm32/_mulsi3.c: New file.
5942 * config/lm32/_udivmodsi4.c: New file.
5943 * config/lm32/_divsi3.c: New file.
5944 * config/lm32/_modsi3.c: New file.
5945 * config/lm32/_udivsi3.c: New file.
5946 * config/lm32/_umodsi3.c: New file.
5947 * config/lm32/_lshrsi3.S: New file.
5948 * config/lm32/_ashrsi3.S: New file.
5949 * config/lm32/_ashlsi3.S: New file.
5950 * config/lm32/crti.S: New file.
5951 * config/lm32/crtn.S: New file.
5952 * config/lm32/t-lm32: New file.
5953 * config/lm32/t-elf: New file.
5954 * config/lm32/t-uclinux: New file.
5956 2009-10-26 Nick Clifton <nickc@redhat.com>
5958 * config.host: Add support for RX target.
5959 * config/rx: New directory.
5960 * config/rx/rx-abi-functions.c: New file. Supplementary
5961 functions for libgcc to support the RX ABI.
5962 * config/rx/rx-abi.h: New file. Supplementary header file for
5963 libgcc RX ABI functions.
5964 * config/rx/t-rx: New file: Makefile fragment for building
5967 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
5969 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
5970 constraint of y0 to "g".
5972 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5974 * config.host: Include the s390 makefile fragments.
5975 * config/s390/32/_fixdfdi.c: New file.
5976 * config/s390/32/_fixsfdi.c: New file.
5977 * config/s390/32/_fixtfdi.c: New file.
5978 * config/s390/32/_fixunsdfdi.c: New file.
5979 * config/s390/32/_fixunssfdi.c: New file.
5980 * config/s390/32/_fixunstfdi.c: New file.
5981 * config/s390/32/t-floattodi: New file.
5982 * config/s390/libgcc-glibc.ver: New file.
5983 * config/s390/t-crtstuff: New file.
5984 * config/s390/t-linux: New file.
5985 * config/s390/t-tpf: New file.
5987 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5989 * configure.ac (AC_PREREQ): Bump to 2.64.
5991 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
5993 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
5995 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5997 * configure: Regenerate.
5999 2009-08-09 Douglas B Rupp <rupp@gnat.com>
6001 * config.host (ia64-hp-*vms*): New target.
6002 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
6005 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6007 * configure.ac: Add snippet for maintainer-mode.
6008 * configure: Regenerate.
6009 * Makefile.in (AUTOCONF, configure_deps): New variables.
6010 ($(srcdir)/configure)): New rule, active only with maintainer
6013 2009-06-23 DJ Delorie <dj@redhat.com>
6016 * config.host: Add mep support.
6018 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
6020 * config.host: Add i386/${host_address}/t-fprules-softfp and
6021 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
6023 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
6025 * config/i386/64/_multc3.c: Likewise.
6026 * config/i386/64/_powitf2.c: Likewise.
6027 * config/i386/64/eqtf2.c: Likewise.
6028 * config/i386/64/getf2.c: Likewise.
6029 * config/i386/64/letf2.c: Likewise.
6030 * config/i386/64/letf2.c: Likewise.
6031 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
6032 unsigned long long for x64 mingw targets.
6033 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
6034 (_FP_I_TYPE): Define as long long for x64 mingw target.
6036 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
6038 * config.host (vax-*-linux*): New.
6040 2009-05-31 Anthony Green <green@moxielogic.com>
6042 * config.host: Add moxie support.
6043 * config/moxie/t-moxie: New file.
6045 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
6047 * config.host: Add i386/${host_address}/t-fprules-softfp and
6048 t-softfp to tmake_file for i[34567]86-*-cygwin*.
6050 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
6052 * config.host: Add i386/${host_address}/t-fprules-softfp to
6053 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
6055 2009-04-09 Nick Clifton <nickc@redhat.com>
6057 * config/ia64/tf-signs.c: Change copyright header to refer to
6058 version 3 of the GNU General Public License with version 3.1
6059 of the GCC Runtime Library Exception and to point readers at
6060 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
6062 * config/i386/32/tf-signs.c: Likewise.
6063 * config/libbid/_addsub_dd.c: Likewise.
6064 * config/libbid/_addsub_sd.c: Likewise.
6065 * config/libbid/_addsub_td.c: Likewise.
6066 * config/libbid/_dd_to_df.c: Likewise.
6067 * config/libbid/_dd_to_di.c: Likewise.
6068 * config/libbid/_dd_to_sd.c: Likewise.
6069 * config/libbid/_dd_to_sf.c: Likewise.
6070 * config/libbid/_dd_to_si.c: Likewise.
6071 * config/libbid/_dd_to_td.c: Likewise.
6072 * config/libbid/_dd_to_tf.c: Likewise.
6073 * config/libbid/_dd_to_udi.c: Likewise.
6074 * config/libbid/_dd_to_usi.c: Likewise.
6075 * config/libbid/_dd_to_xf.c: Likewise.
6076 * config/libbid/_df_to_dd.c: Likewise.
6077 * config/libbid/_df_to_sd.c: Likewise.
6078 * config/libbid/_df_to_td.c: Likewise.
6079 * config/libbid/_di_to_dd.c: Likewise.
6080 * config/libbid/_di_to_sd.c: Likewise.
6081 * config/libbid/_di_to_td.c: Likewise.
6082 * config/libbid/_div_dd.c: Likewise.
6083 * config/libbid/_div_sd.c: Likewise.
6084 * config/libbid/_div_td.c: Likewise.
6085 * config/libbid/_eq_dd.c: Likewise.
6086 * config/libbid/_eq_sd.c: Likewise.
6087 * config/libbid/_eq_td.c: Likewise.
6088 * config/libbid/_ge_dd.c: Likewise.
6089 * config/libbid/_ge_sd.c: Likewise.
6090 * config/libbid/_ge_td.c: Likewise.
6091 * config/libbid/_gt_dd.c: Likewise.
6092 * config/libbid/_gt_sd.c: Likewise.
6093 * config/libbid/_gt_td.c: Likewise.
6094 * config/libbid/_isinfd128.c: Likewise.
6095 * config/libbid/_isinfd32.c: Likewise.
6096 * config/libbid/_isinfd64.c: Likewise.
6097 * config/libbid/_le_dd.c: Likewise.
6098 * config/libbid/_le_sd.c: Likewise.
6099 * config/libbid/_le_td.c: Likewise.
6100 * config/libbid/_lt_dd.c: Likewise.
6101 * config/libbid/_lt_sd.c: Likewise.
6102 * config/libbid/_lt_td.c: Likewise.
6103 * config/libbid/_mul_dd.c: Likewise.
6104 * config/libbid/_mul_sd.c: Likewise.
6105 * config/libbid/_mul_td.c: Likewise.
6106 * config/libbid/_ne_dd.c: Likewise.
6107 * config/libbid/_ne_sd.c: Likewise.
6108 * config/libbid/_ne_td.c: Likewise.
6109 * config/libbid/_sd_to_dd.c: Likewise.
6110 * config/libbid/_sd_to_df.c: Likewise.
6111 * config/libbid/_sd_to_di.c: Likewise.
6112 * config/libbid/_sd_to_sf.c: Likewise.
6113 * config/libbid/_sd_to_si.c: Likewise.
6114 * config/libbid/_sd_to_td.c: Likewise.
6115 * config/libbid/_sd_to_tf.c: Likewise.
6116 * config/libbid/_sd_to_udi.c: Likewise.
6117 * config/libbid/_sd_to_usi.c: Likewise.
6118 * config/libbid/_sd_to_xf.c: Likewise.
6119 * config/libbid/_sf_to_dd.c: Likewise.
6120 * config/libbid/_sf_to_sd.c: Likewise.
6121 * config/libbid/_sf_to_td.c: Likewise.
6122 * config/libbid/_si_to_dd.c: Likewise.
6123 * config/libbid/_si_to_sd.c: Likewise.
6124 * config/libbid/_si_to_td.c: Likewise.
6125 * config/libbid/_td_to_dd.c: Likewise.
6126 * config/libbid/_td_to_df.c: Likewise.
6127 * config/libbid/_td_to_di.c: Likewise.
6128 * config/libbid/_td_to_sd.c: Likewise.
6129 * config/libbid/_td_to_sf.c: Likewise.
6130 * config/libbid/_td_to_si.c: Likewise.
6131 * config/libbid/_td_to_tf.c: Likewise.
6132 * config/libbid/_td_to_udi.c: Likewise.
6133 * config/libbid/_td_to_usi.c: Likewise.
6134 * config/libbid/_td_to_xf.c: Likewise.
6135 * config/libbid/_tf_to_dd.c: Likewise.
6136 * config/libbid/_tf_to_sd.c: Likewise.
6137 * config/libbid/_tf_to_td.c: Likewise.
6138 * config/libbid/_udi_to_dd.c: Likewise.
6139 * config/libbid/_udi_to_sd.c: Likewise.
6140 * config/libbid/_udi_to_td.c: Likewise.
6141 * config/libbid/_unord_dd.c: Likewise.
6142 * config/libbid/_unord_sd.c: Likewise.
6143 * config/libbid/_unord_td.c: Likewise.
6144 * config/libbid/_usi_to_dd.c: Likewise.
6145 * config/libbid/_usi_to_sd.c: Likewise.
6146 * config/libbid/_usi_to_td.c: Likewise.
6147 * config/libbid/_xf_to_dd.c: Likewise.
6148 * config/libbid/_xf_to_sd.c: Likewise.
6149 * config/libbid/_xf_to_td.c: Likewise.
6150 * config/libbid/bid128.c: Likewise.
6151 * config/libbid/bid128_2_str.h: Likewise.
6152 * config/libbid/bid128_2_str_macros.h: Likewise.
6153 * config/libbid/bid128_2_str_tables.c: Likewise.
6154 * config/libbid/bid128_add.c: Likewise.
6155 * config/libbid/bid128_compare.c: Likewise.
6156 * config/libbid/bid128_div.c: Likewise.
6157 * config/libbid/bid128_fma.c: Likewise.
6158 * config/libbid/bid128_logb.c: Likewise.
6159 * config/libbid/bid128_minmax.c: Likewise.
6160 * config/libbid/bid128_mul.c: Likewise.
6161 * config/libbid/bid128_next.c: Likewise.
6162 * config/libbid/bid128_noncomp.c: Likewise.
6163 * config/libbid/bid128_quantize.c: Likewise.
6164 * config/libbid/bid128_rem.c: Likewise.
6165 * config/libbid/bid128_round_integral.c: Likewise.
6166 * config/libbid/bid128_scalb.c: Likewise.
6167 * config/libbid/bid128_sqrt.c: Likewise.
6168 * config/libbid/bid128_string.c: Likewise.
6169 * config/libbid/bid128_to_int16.c: Likewise.
6170 * config/libbid/bid128_to_int32.c: Likewise.
6171 * config/libbid/bid128_to_int64.c: Likewise.
6172 * config/libbid/bid128_to_int8.c: Likewise.
6173 * config/libbid/bid128_to_uint16.c: Likewise.
6174 * config/libbid/bid128_to_uint32.c: Likewise.
6175 * config/libbid/bid128_to_uint64.c: Likewise.
6176 * config/libbid/bid128_to_uint8.c: Likewise.
6177 * config/libbid/bid32_to_bid128.c: Likewise.
6178 * config/libbid/bid32_to_bid64.c: Likewise.
6179 * config/libbid/bid64_add.c: Likewise.
6180 * config/libbid/bid64_compare.c: Likewise.
6181 * config/libbid/bid64_div.c: Likewise.
6182 * config/libbid/bid64_fma.c: Likewise.
6183 * config/libbid/bid64_logb.c: Likewise.
6184 * config/libbid/bid64_minmax.c: Likewise.
6185 * config/libbid/bid64_mul.c: Likewise.
6186 * config/libbid/bid64_next.c: Likewise.
6187 * config/libbid/bid64_noncomp.c: Likewise.
6188 * config/libbid/bid64_quantize.c: Likewise.
6189 * config/libbid/bid64_rem.c: Likewise.
6190 * config/libbid/bid64_round_integral.c: Likewise.
6191 * config/libbid/bid64_scalb.c: Likewise.
6192 * config/libbid/bid64_sqrt.c: Likewise.
6193 * config/libbid/bid64_string.c: Likewise.
6194 * config/libbid/bid64_to_bid128.c: Likewise.
6195 * config/libbid/bid64_to_int16.c: Likewise.
6196 * config/libbid/bid64_to_int32.c: Likewise.
6197 * config/libbid/bid64_to_int64.c: Likewise.
6198 * config/libbid/bid64_to_int8.c: Likewise.
6199 * config/libbid/bid64_to_uint16.c: Likewise.
6200 * config/libbid/bid64_to_uint32.c: Likewise.
6201 * config/libbid/bid64_to_uint64.c: Likewise.
6202 * config/libbid/bid64_to_uint8.c: Likewise.
6203 * config/libbid/bid_b2d.h: Likewise.
6204 * config/libbid/bid_binarydecimal.c: Likewise.
6205 * config/libbid/bid_conf.h: Likewise.
6206 * config/libbid/bid_convert_data.c: Likewise.
6207 * config/libbid/bid_decimal_data.c: Likewise.
6208 * config/libbid/bid_decimal_globals.c: Likewise.
6209 * config/libbid/bid_div_macros.h: Likewise.
6210 * config/libbid/bid_dpd.c: Likewise.
6211 * config/libbid/bid_flag_operations.c: Likewise.
6212 * config/libbid/bid_from_int.c: Likewise.
6213 * config/libbid/bid_functions.h: Likewise.
6214 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6215 * config/libbid/bid_inline_add.h: Likewise.
6216 * config/libbid/bid_internal.h: Likewise.
6217 * config/libbid/bid_round.c: Likewise.
6218 * config/libbid/bid_sqrt_macros.h: Likewise.
6220 2009-04-09 Jakub Jelinek <jakub@redhat.com>
6222 * Makefile.in: Change copyright header to refer to version
6223 3 of the GNU General Public License and to point readers at the
6224 COPYING3 file and the FSF's license web page.
6225 * config.host: Likewise.
6227 2009-04-07 Alan Modra <amodra@bigpond.net.au>
6229 * config.host: Reorder and merge to match config.gcc change.
6231 2009-04-03 Alan Modra <amodra@bigpond.net.au>
6233 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
6235 2009-03-28 Joseph Myers <joseph@codesourcery.com>
6237 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
6238 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
6239 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
6240 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
6242 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
6244 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
6245 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
6247 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
6249 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
6250 ia64/t-softfp-compat to tmake_file.
6252 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
6254 * config/ia64/__divxf3.asm: New.
6255 * config/ia64/_fixtfdi.asm: Likewise.
6256 * config/ia64/_fixunstfdi.asm: Likewise.
6257 * config/ia64/_floatditf.asm: Likewise.
6258 * config/ia64/t-fprules-softfp: Likewise.
6259 * config/ia64/t-softfp-compat: Likewise.
6260 * config/ia64/tf-signs.c: Likewise.
6262 2009-01-18 Ben Elliston <bje@au.ibm.com>
6264 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
6266 2009-01-16 Ben Elliston <bje@au.ibm.com>
6268 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
6271 2009-01-13 Ben Elliston <bje@au.ibm.com>
6273 * config/t-softfp: New file.
6274 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
6275 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
6277 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
6279 * config.host: Add m32r*-*-rtems*.
6281 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
6283 * config.host: Add m32c*-*-rtems*.
6285 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6288 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
6289 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
6290 * configure: Regenerate.
6291 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
6292 tmake_file here from gcc/config.gcc.
6293 Move extra_parts here from gcc/config.gcc.
6294 * config/i386/t-sol2: Move here from gcc/config/i386.
6295 Use gcc_srcdir instead of srcdir.
6297 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
6299 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
6302 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
6304 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
6306 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
6308 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
6310 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
6313 * config.host: Add picochip-*-*.
6315 2008-08-06 Bob Wilson <bob.wilson@acm.org>
6317 * config.host: Match more processor names for Xtensa.
6319 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
6321 * config/i386/64/t-softfp-compat: Update comments.
6323 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
6325 * config/i386/64/_divtc3-compat.c: Moved to ...
6326 * config/i386/64/_divtc3.c: Here.
6328 * config/i386/64/_multc3-compat.c: Moved to ...
6329 * config/i386/64/_multc3.c: Here.
6331 * config/i386/64/_powitf2-compat.c: Moved to ...
6332 * config/i386/64/_powitf2.c: Here.
6334 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
6335 .c suffix instead of -compat.c.
6337 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
6339 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
6340 (_FP_MUL_MEAT_D): Ditto.
6341 (_FP_DIV_MEAT_S): Ditto.
6342 (_FP_DIV_MEAT_D): Ditto.
6344 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
6346 * Makefile.in: Add support for __sync_* libgcc functions.
6348 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
6350 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
6352 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
6355 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
6356 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
6358 * config/i386/64/t-fprules-softfp: Moved to ...
6359 * config/i386/64/t-softfp-compat: This. New.
6361 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
6363 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
6364 Initialize f with 0.0.
6366 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
6369 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
6371 * config/i386/64/_divtc3-compat.c: New.
6372 * config/i386/64/_multc3-compat.c: Likewise.
6373 * config/i386/64/_powitf2-compat.c: Likewise.
6374 * config/i386/64/eqtf2.c: Likewise.
6375 * config/i386/64/getf2.c: Likewise.
6376 * config/i386/64/letf2.c: Likewise.
6377 * config/i386/64/t-fprules-softfp: Likewise.
6379 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
6381 * config.host: Add i386/${host_address}/t-fprules-softfp to
6382 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
6383 i[34567]86-*-linux*, x86_64-*-linux*.
6385 * configure.ac: Set host_address to 64 or 32 for x86.
6386 * configure: Regenerated.
6388 * Makefile.in (config.status): Also depend on
6389 $(srcdir)/config.host.
6391 * config/i386/32/t-fprules-softfp: New.
6392 * config/i386/32/tf-signs.c: Likewise.
6394 * config/i386/64/sfp-machine.h: New. Moved from gcc.
6396 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
6397 Uros Bizjak <ubizjak@gmail.com>
6399 * config/i386/32/sfp-machine.h: New.
6401 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
6403 * config/rs6000/t-ppccomm: Remove rules that conflict with
6404 auto-generated rules.
6406 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6408 * configure.ac: sinclude override.m4.
6409 * configure: Regenerate.
6411 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
6413 * configure: Regenerate.
6415 2008-06-10 Joseph Myers <joseph@codesourcery.com>
6417 * Makefile.in (DECNUMINC): Remove
6418 -I$(MULTIBUILDTOP)../../libdecnumber.
6421 2008-06-07 Joseph Myers <joseph@codesourcery.com>
6423 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
6424 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
6425 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
6426 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
6427 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
6428 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
6429 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
6430 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
6431 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
6432 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
6433 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
6434 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
6435 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
6436 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
6438 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
6440 * config.host (sh2[lbe]*-*-linux*): Allow target.
6442 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
6444 * config/rs6000/t-ppccomm: Add build rules for new files.
6445 (LIB2ADD_ST): New variable.
6447 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
6451 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
6452 * config/t-avr: New file. Build 16bit libgcc functions.
6454 2008-03-02 Jakub Jelinek <jakub@redhat.com>
6457 * config/t-slibgcc-darwin: Make install-leaf dependent on
6458 install-darwin-libgcc-stubs instead of install.
6460 2008-01-25 Joseph Myers <joseph@codesourcery.com>
6462 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
6463 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
6464 sh-*-rtemscoff*): Remove cases.
6466 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
6468 * Makefile.in (all): Use install-leaf rather than install.
6469 (install): Split most of the rule into...
6470 (install-leaf): ...this new one.
6472 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
6473 Paolo Bonzini <bonzini@gnu.org>
6476 * Makefile.in: Use @shlib_slibdir@ substitution to get
6477 correct install name on darwin.
6478 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
6480 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
6482 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
6483 cris-*-elf and cris-*-none.
6484 (crisv32-*-linux*): Similar, as cris-*-linux*.
6486 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
6488 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
6490 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
6493 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
6494 * configure: Regenerated.
6496 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
6498 * Makefile.in (dfp-filenames): Replace decimal_globals,
6499 decimal_data, binarydecimal and convert_data with
6500 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
6501 and bid_convert_data, respectively.
6503 2007-09-17 Chao-ying Fu <fu@mips.com>
6504 Nigel Stephens <nigel@mips.com>
6506 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
6507 * Makefile.in (fixed_point): Define.
6508 Check if fixed_point is yes to build support functions.
6509 * configure.ac: Check for fixed_point support.
6510 * configure: Regenerated.
6511 * gen-fixed.sh: New file to generate lists of fixed-point labels,
6512 funcs, modes, from, to.
6514 2007-09-11 Janis Johnson <janis187@us.ibm.com
6516 * Makefile.in (dfp-filenames): Add bid128_noncomp.
6518 2007-09-10 Janis Johnson <janis187@us.ibm.com>
6520 * Makefile.in (dfp-filenames): Remove decUtility, add
6521 decDouble, decPacked, decQuad, decSingle.
6523 2007-08-27 Hans Kester <hans.kester@ellips.nl>
6525 * config.host : Add x86_64-elf target.
6527 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
6529 * configure.ac (set_have_cc_tls): Add a missing =.
6530 * configure: Regenerated.
6532 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
6534 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
6535 and x86_64-*-linux*.
6537 * config/t-tls: New file.
6539 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6541 * configure.ac: Include ../config/enable.m4 and
6542 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
6543 supports TLS and substitute set_have_cc_tls.
6544 * configure: Regenerated.
6546 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
6548 * Makefile.in: Use libbid for DFP when BID is enabled.
6550 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
6552 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
6553 extra_parts. Add config/i386/t-cygming to tmake_file.
6554 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
6556 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
6557 Danny Smith <dannysmith@users.sourceforge.net>
6560 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
6561 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
6562 * config/i386/t-crtfm: Compile crtfastmath.o with
6563 -minline-all-stringops.
6565 2007-05-10 Richard Sandiford <richard@codesourcery.com>
6567 * config.host (sparc-wrs-vxworks): New target.
6569 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
6571 * config.host: Recognize fido.
6573 2007-04-04 Janis Johnson <janis187@us.ibm.com>
6575 * configure: Check host, not target, for decimal float support.
6577 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
6579 * config/i386/t-crtpc: New file.
6580 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
6581 (x86_64-*-linux*): Ditto.
6583 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
6585 * config.host (x86_64-*-mingw*): New target.
6587 2007-03-23 Michael Meissner <michael.meissner@amd.com>
6588 H.J. Lu <hongjiu.lu@intel.com>
6590 * Makefile.in (enable_decimal_float): New.
6592 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
6593 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
6594 (decbits-filenames): This.
6595 (decbits-objects): New.
6596 (libgcc-objects): Add $(decbits-objects).
6598 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
6599 Substitute enable_decimal_float.
6600 * configure: Regenerated.
6602 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
6604 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
6606 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
6608 * Makefile.in (install-info): New dummy target.
6610 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
6612 * config.host (bfin*-linux-uclibc*): Set extra_parts.
6614 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
6616 * Makefile.in: Add install-html and install-pdf dummy
6619 2007-02-05 Roger Sayle <roger@eyesopen.com>
6620 Daniel Jacobowitz <dan@codesourcery.com>
6622 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
6623 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
6624 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
6626 2007-01-29 Janis Johnson <janis187@us.ibm.com>
6628 * Makefile.in (dec-filenames): Add decExcept.
6630 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
6633 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
6636 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
6638 * configure.ac: Add --enable-version-specific-runtime-libs.
6639 Correct $slibdir default.
6640 * configure: Regenerated.
6642 2007-01-23 Joseph Myers <joseph@codesourcery.com>
6644 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
6646 2007-01-21 Andrew Pinski <pinskia@gmail.com>
6649 * config.host (alpha*-*-linux*): Set extra_parts.
6651 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
6653 * config/sh/t-linux: New.
6654 * config.host (sh*-*-linux*): Set tmake_file.
6656 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
6658 * Makefile.in (install): Handle multilibs.
6660 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
6662 * Makefile.in: Added .PHONY entry for documentation targets.
6664 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
6666 * Makefile.in: Add empty info, html, dvi, pdf targets.
6668 2007-01-04 Mike Stump <mrs@apple.com>
6670 * Makefile.in (MAKEINFO): Remove.
6673 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
6675 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
6676 * configure: Regenerate.
6677 * Makefile.in (host_subdir): Substitute it.
6678 (gcc_objdir): Use it.
6680 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
6682 * config.host (ia64*-*-linux*): Set tmake_file.
6684 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
6686 * Makefile.in (version): Define.
6688 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
6689 Paolo Bonzini <bonzini@gnu.org>
6691 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
6692 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
6693 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
6694 config/sparc/t-crtfm, config/t-slibgcc-darwin,
6695 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
6696 shared-object.mk, siditi-object.mk, static-object.mk: New files.
6697 * configure: Generated.