Remove stray newline
[official-gcc.git] / libgcc / ChangeLog
blob296a9e4792dbc293c96025b3df3c7c909995d62f
1 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
2             Thomas Schwinge  <thomas@codesourcery.com>
3             Ilya Verbin  <ilya.verbin@intel.com>
4             Andrey Turetskiy  <andrey.turetskiy@intel.com>
6         * Makefile.in (crtoffloadbegin$(objext)): New rule.
7         (crtoffloadend$(objext)): Likewise.
8         * configure: Regenerate.
9         * configure.ac (accel_dir_suffix): Compute new variable.
10         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
11         if enable_offload_targets is not empty.
12         * offloadstuff.c: New file.
14 2014-11-13  Nick Clifton  <nickc@redhat.com>
16         * config/rl78/divmodhi.S: Add support for the G10 architecture.
17         Use START_FUNC and END_FUNC macros to enable linker garbage
18         collection.
19         * config/rl78/divmodqi.S: Likewise.
20         * config/rl78/divmodsi.S: Likewise.
21         * config/rl78/mulsi3.S: Likewise.
22         * config/rl78/lib2div.c: Remove G10 functions.
23         * config/rl78/lib2muls.c: Likewise.
24         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
25         * config/rl78/vregs.h (START_FUNC): New macro.
26         (END_FUNC): New macro.
28 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
30         * config/mips/mips16.S: Set .module when supported.  Update O32
31         FP64 calling convention and use for FPXX when possible.  Add FPXX
32         calling convention fallback case.
34 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
36         * config.host: Handle nvptx-*-*.
37         * shared-object.mk (as-flags-$o): Define.
38         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
39         -xassembler-with-cpp.
40         * static-object.mk: Identical changes.
41         * config/nvptx/t-nvptx: New file.
42         * config/nvptx/crt0.s: New file.
43         * config/nvptx/free.asm: New file.
44         * config/nvptx/malloc.asm: New file.
45         * config/nvptx/realloc.c: New file.
47 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
49         * Makefile.in (libgcc.map.in): New target.
50         (libgcc.map): Use libgcc.map.in.
51         * config/t-softfp (softfp_compat): New variable to be set by
52         users.
53         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
54         variables.
55         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
56         directory.
57         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
58         that use compat symbols and disable all code unless [SHARED].
59         * config/t-softfp-compat: New file.
60         * find-symver.awk: New file.
61         * configure.ac (--with-glibc-version): New configure option.
62         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
63         * configure: Regenerate.
64         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
65         soft-float and e500.
67 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
69         * config/t-hardfp (hardfp_exclusions): Document new variable for
70         user to define.
71         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
72         * config/t-softfp (softfp_extras): Document new variable for user
73         to define.
74         (softfp_func_list): Add functions from $(softfp_extras).
75         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
76         * config.host (powerpc*-*-linux*): For e500v1, use
77         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
78         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
79         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
81 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
83         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
84         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
85         memory read accesses are ok.
87 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
89         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
90         * configure: Regenerate.
91         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
92         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
93         of soft-fp for 32-bit classic hard float.  Do not use
94         t-softfp-excl for soft float.
96 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
98         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
99         configurations.
100         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
101         Remove variables.
103 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
105         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
106         introduced with 2014-10-21 trunk r216525.
108 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
109             Vidya Praveen <vidya.praveen@atmel.com>
110             Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
111             Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
112             Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
114         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
115         order.
117         Updated library functions for AVRTINY arch.
118         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
119         Replaced occurrences of r0/r1 with tmp/zero reg macros.
120         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
121         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
122         wsubi/wadi macors.
123         (__mulsi3_helper): Update stack, preserve callee saved regs and
124         argument from stack. Restore callee save registers.
125         (__mulpsi3): Likewise.
126         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
127         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
128         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
129         AVRTINY.
130         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
131         (__do_copy_data): Added new definition for AVRTINY.
132         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
133         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
134         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
135         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
136         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
137         macors.
138         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
139         AVRTINY.
141         Fix broken long multiplication on tiny arch.
143 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
145         * soft-fp/double.h: Update from glibc.
146         * soft-fp/eqdf2.c: Likewise.
147         * soft-fp/eqsf2.c: Likewise.
148         * soft-fp/eqtf2.c: Likewise.
149         * soft-fp/extenddftf2.c: Likewise.
150         * soft-fp/extended.h: Likewise.
151         * soft-fp/extendsfdf2.c: Likewise.
152         * soft-fp/extendsftf2.c: Likewise.
153         * soft-fp/extendxftf2.c: Likewise.
154         * soft-fp/gedf2.c: Likewise.
155         * soft-fp/gesf2.c: Likewise.
156         * soft-fp/getf2.c: Likewise.
157         * soft-fp/ledf2.c: Likewise.
158         * soft-fp/lesf2.c: Likewise.
159         * soft-fp/letf2.c: Likewise.
160         * soft-fp/op-1.h: Likewise.
161         * soft-fp/op-2.h: Likewise.
162         * soft-fp/op-4.h: Likewise.
163         * soft-fp/op-8.h: Likewise.
164         * soft-fp/op-common.h: Likewise.
165         * soft-fp/quad.h: Likewise.
166         * soft-fp/single.h: Likewise.
167         * soft-fp/soft-fp.h: Likewise.
168         * soft-fp/unorddf2.c: Likewise.
169         * soft-fp/unordsf2.c: Likewise.
170         * soft-fp/unordtf2.c: Likewise.
171         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
172         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
173         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
174         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
175         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
176         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
177         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
178         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
179         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
180         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
182 2014-10-08  Rong Xu  <xur@google.com>
184         * libgcov-util.c (read_gcda_file): Fix format.
185         (find_match_gcov_info): Ditto.
186         (calculate_2_entries): New.
187         (compute_one_gcov): Ditto.
188         (gcov_info_count_all_cold): Ditto.
189         (gcov_info_count_all_zero): Ditto.
190         (extract_file_basename): Ditto.
191         (get_file_basename): Ditto.
192         (set_flag): Ditto.
193         (matched_gcov_info): Ditto.
194         (calculate_overlap): Ditto.
195         (gcov_profile_overlap): Ditto.
196         * libgcov-driver.c (compute_summary): Make
197         it avavilable for external calls.
199 2014-10-06  Rong Xu  <xur@google.com>
201         * Makefile.in: Ditto.
202         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
203         (gcov_sort_icall_topn_counter): Ditto.
204         (gcov_sort_topn_counter_arrays): Ditto.
205         (dump_one_gcov): Sort indirect_call topn counters.
206         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
207         function.
208         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
209         utility function.
210         (__gcov_indirect_call_topn_profiler): New profiler function.
211         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
212         * libgcov.h: New decls.
214 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
216         * config.host: Remove support for score-*.
218 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
220         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
221         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
222         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
223         __LIBGCC_XF_MANT_DIG__.
224         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
225         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
226         __LIBGCC_TF_MANT_DIG__.
227         * libgcc2.c (NOTRUNC): Define in terms of
228         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
229         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
231 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
233         PR target/63312
234         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
235         New macros.
237 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
239         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
240         override USE_PT_GNU_EH_FRAME.
241         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
242         check USE_EH_FRAME_REGISTRY_ALWAYS against
243         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
244         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
245         variable for substituted force_explicit_eh_registry.
246         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
247         * configure.ac (explicit-exception-frame-registration):
248         New AC_ARG_ENABLE.
249         * configure: Regenerate.
251 2014-09-19  Olivier Hainque  <hainque@adacore.com>
253         * config.host (powerpc-wrs-vxworksmils): New configuration,
254         same as vxworksae.
256 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
258         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
260 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
262         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
263         bits not set bits as indicating trapping exceptions.
265 2014-09-17  Nathan sidwell  <nathan@acm.org>
267         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
268         (LIBGCOV_DRIVER): ... here.
269         * libgcov-driver.c (gcov_master): New.
270         (gcov_exit): Remove from master chain.
271         (__gcov_init): Add to master chain if version compatible.  Don't
272         clear the version.
273         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
274         (gcov_reset_int): Clear master chain, if compatible.
275         (gcov_dump_int): New internal interface.  Dump master chain, if
276         compatible.
277         (gcov_dump): Alias for gcov_dump_int.
278         * libgcov.h (struct gcov_root): Add next and prev fields.
279         (struct gcov_master): New struct.
280         (__gcov_master): New.
281         (gcov_dump_int): Declare.
283 2014-09-17  Olivier Hainque  <hainque@adacore.com>
285         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
286         and crtbegin.o + crtend.o to extra_parts.
288 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
290         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
291         __LIBGCC_HAS_SF_MODE__.
292         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
293         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
294         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
295         * config/libbid/bid_gcc_intrinsics.h
296         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
297         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
298         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
299         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
300         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
301         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
303 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
305         PR target/63223
306         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
307         and R24 as needed.  Make work for all devices and .text locations.
308         (__do_global_ctors, __do_global_dtors): Use word addresses.
309         (__tablejump__, __tablejump_elpm__): Remove functions.
310         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
311         Add _tablejump2.
312         (XICALL, XIJMP): New macros.
314 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
315         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
317         * config.host (aarch64*): Include crtfastmath.o and
318         t-crtfm.
319         * config/aarch64/crtfastmath.c: New file.
321 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
323         * config.host: Remove picochip support.
324         * config/picochip/adddi3.S: Remove.
325         * config/picochip/ashlsi3.S: Remove.
326         * config/picochip/ashlsi3.c: Remove.
327         * config/picochip/ashrsi3.S: Remove.
328         * config/picochip/ashrsi3.c: Remove.
329         * config/picochip/clzsi2.S: Remove.
330         * config/picochip/cmpsi2.S: Remove.
331         * config/picochip/divmod15.S: Remove.
332         * config/picochip/divmodhi4.S: Remove.
333         * config/picochip/divmodsi4.S: Remove.
334         * config/picochip/lib1funcs.S: Remove.
335         * config/picochip/longjmp.S: Remove.
336         * config/picochip/lshrsi3.S: Remove.
337         * config/picochip/lshrsi3.c: Remove.
338         * config/picochip/parityhi2.S: Remove.
339         * config/picochip/popcounthi2.S: Remove.
340         * config/picochip/setjmp.S: Remove.
341         * config/picochip/subdi3.S: Remove.
342         * config/picochip/t-picochip: Remove.
343         * config/picochip/ucmpsi2.S: Remove.
344         * config/picochip/udivmodhi4.S: Remove.
345         * config/picochip/udivmodsi4.S: Remove.
347 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
349         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
350         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
351         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
352         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
353         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
354         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
355         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
356         defined and LIBGCC2_HAS_DF_MODE is defined.
357         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
358         defined and LIBGCC2_HAS_XF_MODE is defined.
359         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
360         defined and LIBGCC2_HAS_TF_MODE is defined.
362 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
364         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
365         and ROUND_TOWARDS_ZERO conditionals.
367 2014-09-07  Nathan sidwell  <nathan@acm.org>
369         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
370         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
372 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
374         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
375         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
376         uses to __LIBGCC_STACK_POINTER_REGNUM__.
377         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
378         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
379         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
380         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
381         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
382         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
383         (DWARF_FRAME_REGISTERS): Change all uses to
384         __LIBGCC_DWARF_FRAME_REGISTERS__.
385         (EH_RETURN_STACKADJ_RTX): Change all uses to
386         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
387         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
388         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
389         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
390         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
391         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
392         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
393         to __LIBGCC_EH_FRAME_SECTION_NAME__.
394         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
395         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
396         __LIBGCC_STACK_POINTER_REGNUM__.
397         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
398         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
399         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
400         to __LIBGCC_STACK_POINTER_REGNUM__.
401         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
402         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
403         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
404         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
405         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
406         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
407         (STACK_POINTER_REGNUM): Change all uses to
408         __LIBGCC_STACK_POINTER_REGNUM__.
409         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
410         use to __LIBGCC_STACK_POINTER_REGNUM__.
411         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
412         uses to __LIBGCC_STACK_POINTER_REGNUM__.
413         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
414         to __LIBGCC_DWARF_FRAME_REGISTERS__.
415         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
416         to __LIBGCC_DWARF_FRAME_REGISTERS__.
417         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
418         to __LIBGCC_STACK_POINTER_REGNUM__.
419         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
420         Remove conditional definition.
421         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
422         __LIBGCC_TEXT_SECTION_ASM_OP__.
423         (EH_FRAME_SECTION_NAME): Change all uses to
424         __LIBGCC_EH_FRAME_SECTION_NAME__.
425         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
426         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
427         (CTORS_SECTION_ASM_OP): Change all uses to
428         __LIBGCC_CTORS_SECTION_ASM_OP__.
429         (DTORS_SECTION_ASM_OP): Change all uses to
430         __LIBGCC_DTORS_SECTION_ASM_OP__.
431         (JCR_SECTION_NAME): Change all uses to
432         __LIBGCC_JCR_SECTION_NAME__.
433         (INIT_SECTION_ASM_OP): Change all uses to
434         __LIBGCC_INIT_SECTION_ASM_OP__.
435         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
436         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
437         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
438         __LIBGCC_STACK_GROWS_DOWNWARD__.
439         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
440         __LIBGCC_INIT_SECTION_ASM_OP__.
441         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
442         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
443         (EH_FRAME_SECTION_NAME): Change all uses to
444         __LIBGCC_EH_FRAME_SECTION_NAME__.
445         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
446         definitions.  Change all uses to
447         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
448         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
449         __LIBGCC_STACK_GROWS_DOWNWARD__.
450         (DWARF_FRAME_REGISTERS): Change all uses to
451         __LIBGCC_DWARF_FRAME_REGISTERS__.
452         (EH_RETURN_STACKADJ_RTX): Change all uses to
453         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
454         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
455         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
456         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
457         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
458         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
460 2014-09-02  Nathan sidwell  <nathan@acm.org>
462         * libgcov-interface.c (STRONG_ALIAS): New.
463         (__gcov_flush): Call __gcov_reset_int.
464         (__gcov_reset): Strong alias for ...
465         (__gcov_reset_ing): ... this renamed hidden version.
466         * libgcov.h (__gcov_reset_int): New declaration.
468 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
470         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
471         call from here...
472         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
473         (__dso_handle): Define on Cygwin.
474         * config/i386/t-cygming (crtbeginS.o): New rule.
475         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
477         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
478         declaration syntax.
480 2014-08-13  Steve Ellcey  <sellcey@mips.com>
482         * crtstuff.c: Undef caddr_t.
484 2014-08-12  Steve Ellcey  <sellcey@mips.com>
486         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
488 2014-08-07  Nathan Sidwell  <nathan@acm.org>
490         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
491         (LIBGCOV_DRIVER): ... to here.
492         * libgcov.h (gcov_do_dump): New #define.
493         (struct gcov_root): New.
494         (__gcov_root): New declaration.
495         (__gcov_dump_one): Declare.
496         * libgcov-driver.c (gcov_list, gcov_dump_complete,
497         run_accounted): Delete.
498         (gcov_compute_histogram): Add LIST argument, adjust.
499         (compute_summary): Adjust gcov_compute_histogram call.
500         (gcov_do_dump): Not hidden, static in libgcov.
501         (gcov_clear): Move  to interface.c.
502         (__gcov_dump_one): New, broken out of ...
503         (gcov_exit): ... here.  Make static.
504         (__gcov_root): New.
505         (__gcov_init): Adjust.
506         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
507         declarations.
508         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
509         (gcov_clear): Moved from driver.c.   Add LIST argument.
510         (__gcov_reset): Adjust for changed interfaces.
511         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
513 2014-08-04  Rohit  <rohitarulraj@freescale.com>
515         PR target/60102
516         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
517         based on change in SPE high register numbers and 3 HTM registers.
519 2014-08-01  Nathan Sidwell  <nathan@acm.org>
521         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
522         LIBGCOV_INTERFACE): Reformat.
523         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
524         IN_GCOV_TOOL.
525         * libgcov-interface.c: Reformat some comments.
526         (__gcov_flush_mx): Add declaration.  Tidy up definition.
528 2014-07-31  Alan Modra  <amodra@gmail.com>
529             Peter Bergner  <bergner@vnet.ibm.com>
531         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
532         (pack_ldouble): New function.
533         (__gcc_qadd): Use it.
534         (__gcc_qmul): Likewise.
535         (__gcc_qdiv): Likewise.
536         (__gcc_qneg): Likewise.
537         (__gcc_stoq): Likewise.
538         (__gcc_dtoq): Likewise.
540 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
542         * config/s390/tpf-unwind.h: Include <stdbool.h>.
543         (__tpf_eh_return): Add original return address as second parameter.
544         Handle cases where unwinder routines were called directly, instead
545         of from within the C++ library.
547 2014-07-29  Nathan Sidwell  <nathan@acm.org>
549         * libgcov.h: Move renaming of entry points to lib gcov specific
550         portion.
551         (gcov_do_dump): New rename.
552         (gcov_rewrite): Remove inline, make HIDDEN.
553         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
554         (gcov_exit_compute_summary): Rename to ...
555         (compute_summary): ... here.  Add LIST argument.
556         (gcov_exit_merge_gcda): Rename to ...
557         (merge_one_data): ... here.
558         (gcov_exit_write_gcda): Rename to ...
559         (write_one_data): ... here.
560         (gcov_exit_merge_summary): Rename to ...
561         (merge_summary): Add RUN_COUNTED argument.
562         (gcov_exit_dump_gcov): Rename to ...
563         (dump_one_gcov): Add RUN_COUNTED argument.
564         (gcov_do_dump): New function, broken out of ...
565         (gcov_exit): ... here.  Call it.
567 2014-07-27  Anthony Green  <green@moxielogic.com>
569         * config.host: Add moxiebox configuration suppport.
571 2014-07-27  Nathan Sidwell  <nathan@acm.org>
573         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
574         (struct gcov_filename): ... here.  Include buffer and max length
575         fields.
576         (gcov_max_filename): Remove.
577         (gi_filename): Remove.
578         (gcov_exit_compute_summary): Compute max filename here.
579         (gcov_exit_merge_gcda): Add filename parm, adjust.
580         (gcov_exit_merge_summary): Likewise.
581         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
582         (gcov_exit): Likewise.
583         (__gcov_init): Don't calculate max length here.
584         * libgcov_util.c (max_filename_len): Remove.
585         (read_gcda_file): Don't calculate max length here.
586         (gcov_read_profile_dir): Don't propagate here.
587         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
588         struct gcov_filename changes.
589         (gcov_exit_open_gcda_file): Likewise.
591 2014-07-25  Nathan Sidwell  <nathan@acm.org>
593         * libgcov-driver.c (set_gcov_dump_complete,
594         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
595         functions polluting user's namespace.
596         (gcov_exit): Set variable directly.
597         (gcov_clear): Reset variable directly.
598         * libgcov-interface.c (get_gcov_dymp_complete,
599         reset_gov_dump_complete): Remove declarations.
600         (__gcov_reset, __gcov_dump): Don't call them.
602 2014-07-24  DJ Delorie  <dj@redhat.com>
604         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
605         (__gcc_deregister_frame): Move logic to detect deregister function
606         to ...
607         (__gcc_register_frame): here, so it's consistent with the register
608         logic.
610 2014-07-23  Nathan Sidwell  <nathan@acm.org>
612         * libgcov-driver.c (set_gcov_list): Remove.
613         (gcov_list): Make non-static in GCOV_TOOL.
614         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
616 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
618         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
619         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
620         Don't use SYNC_LOCK_RELEASE for int type.
622 2014-07-14  Richard Biener  <rguenther@suse.de>
624         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
626 2014-07-11  Rong Xu  <xur@google.com>
628         * libgcov-util.c (gcov_max_filename): Fix declartion.
630 2014-07-10  Rong Xu  <xur@google.com>
632         Add gcov-tool: an offline gcda profile processing tool
633         Support.
634         * libgcov-driver.c (gcov_max_filename): Make available
635         to gcov-tool.
636         * libgcov-merge.c (__gcov_merge_add): Replace
637         gcov_read_counter() with a Macro.
638         (__gcov_merge_ior): Ditto.
639         (__gcov_merge_time_profile): Ditto.
640         (__gcov_merge_single): Ditto.
641         (__gcov_merge_delta): Ditto.
642         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
643         in the utility functions.
644         (set_fn_ctrs): Utility function for reading gcda files to in-memory
645         gcov_list object link lists.
646         (tag_function): Ditto.
647         (tag_blocks): Ditto.
648         (tag_arcs): Ditto.
649         (tag_lines): Ditto.
650         (tag_counters): Ditto.
651         (tag_summary): Ditto.
652         (read_gcda_finalize): Ditto.
653         (read_gcda_file): Ditto.
654         (ftw_read_file): Ditto.
655         (read_profile_dir_init): Ditto.
656         (gcov_read_profile_dir): Ditto.
657         (gcov_read_counter_mem): Ditto.
658         (gcov_get_merge_weight): Ditto.
659         (merge_wrapper): A wrapper function that calls merging handler.
660         (gcov_merge): Merge two gcov_info objects with weights.
661         (find_match_gcov_info): Find the matched gcov_info in the list.
662         (gcov_profile_merge): Merge two gcov_info object lists.
663         (__gcov_add_counter_op): Process edge profile counter values.
664         (__gcov_ior_counter_op): Process IOR profile counter values.
665         (__gcov_delta_counter_op): Process delta profile counter values.
666         (__gcov_single_counter_op): Process single  profile counter values.
667         (fp_scale): Callback function for float-point scaling.
668         (int_scale): Callback function for integer fraction scaling. 
669         (gcov_profile_scale): Scaling profile counters.
670         (gcov_profile_normalize): Normalize profile counters.
671         * libgcov.h: Add headers and functions for gcov-tool use.
672         (gcov_get_counter): New.
673         (gcov_get_counter_target): Ditto.
674         (struct gcov_info): Make the functions field mutable in gcov-tool
675         compilation.
677 2014-06-23  Kai Tietz  <ktietz@redhat.com>
679         PR libgcc/61585
680         * unwind-seh.c (_Unwind_GetGR): Check for proper
681         index range.
682         (_Unwind_SetGR): Likewise.
684 2014-05-22  Nick Clifton  <nickc@redhat.com>
686         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
687         -mhwmult=none.
689 2014-05-22  Teresa Johnson  <tejohnson@google.com>
691         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
692         include.
694 2014-05-20  John Marino  <gnugcc@marino.st>
696         * config.host (*-*-dragonfly*): New target.
697         * crtstuff.c: Make dl_iterate_support generic on *bsd.
698         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
699         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
700         * config/i386/dragonfly-unwind.h: New.
702 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
704         PR libgcc/60166
705         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
706         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
708 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
710         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
711         implementation.
713 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
715         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
717 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
719         PR libgcc/61097
720         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
721         if --enable-shared.
723 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
725         Work around for current cygwin32 build problems.
726         * config/i386/cygming-crtbegin.c (__register_frame_info,
727         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
728         functions only for 64-bit systems.
730 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
732         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
733         (sigill_caught, sigill_hdlr): Remove.
735 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
737         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
738         check.
739         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
740         Solaris 9 single-threaded support.
741         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
742         Solaris 9 single-threaded support.  Add call_user_handler code
743         sequences.
744         (sparc_is_sighandler): Likewise.
746 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
748         * config.host: Append t-floattodi to tmake_file depending on
749         host_address.
751 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
753         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
755 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
757         PR libgcc/60472
758         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
759         variable to avoid array subscript is above array bounds warnings.
760         Use __builtin_expect when checking *jcr_list for NULL.
762 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
764         PR libgcc/59339
765         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
766         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
767         vtv_*.o to extra_parts if enable_vtable_verify.
769 2014-03-06  Nick Clifton  <nickc@redhat.com>
771         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
772         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
774 2014-02-28  Joey Ye  <joey.ye@arm.com>
776         PR libgcc/60166
777         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
778         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
779         Set to zero.
781 2014-02-24  Walter Lee  <walt@tilera.com>
783         * config.host: Support "tilegx*" and "tilepro*" triplets.
784         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
785         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
787 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
788             Chung-Lin Tang  <cltang@codesourcery.com>
790         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
791         * config/nios2/crti.S: Remove .file directive.
792         * config/nios2/crtn.S: Likewise.
794 2014-02-18  Kai Tietz  <ktietz@redhat.com>
795         Jonathan Schleifer  <js@webkeks.org>
797         PR objc/56870
798         * unwind-seh.c (_GCC_specific_handler): Pass proper
799         value to unwind-handler.
801 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
803         * soft-fp/adddf3.c: Update from glibc.
804         * soft-fp/addsf3.c: Likewise.
805         * soft-fp/addtf3.c: Likewise.
806         * soft-fp/divdf3.c: Likewise.
807         * soft-fp/divsf3.c: Likewise.
808         * soft-fp/divtf3.c: Likewise.
809         * soft-fp/double.h: Likewise.
810         * soft-fp/eqdf2.c: Likewise.
811         * soft-fp/eqsf2.c: Likewise.
812         * soft-fp/eqtf2.c: Likewise.
813         * soft-fp/extenddftf2.c: Likewise.
814         * soft-fp/extended.h: Likewise.
815         * soft-fp/extendsfdf2.c: Likewise.
816         * soft-fp/extendsftf2.c: Likewise.
817         * soft-fp/extendxftf2.c: Likewise.
818         * soft-fp/fixdfdi.c: Likewise.
819         * soft-fp/fixdfsi.c: Likewise.
820         * soft-fp/fixdfti.c: Likewise.
821         * soft-fp/fixsfdi.c: Likewise.
822         * soft-fp/fixsfsi.c: Likewise.
823         * soft-fp/fixsfti.c: Likewise.
824         * soft-fp/fixtfdi.c: Likewise.
825         * soft-fp/fixtfsi.c: Likewise.
826         * soft-fp/fixtfti.c: Likewise.
827         * soft-fp/fixunsdfdi.c: Likewise.
828         * soft-fp/fixunsdfsi.c: Likewise.
829         * soft-fp/fixunsdfti.c: Likewise.
830         * soft-fp/fixunssfdi.c: Likewise.
831         * soft-fp/fixunssfsi.c: Likewise.
832         * soft-fp/fixunssfti.c: Likewise.
833         * soft-fp/fixunstfdi.c: Likewise.
834         * soft-fp/fixunstfsi.c: Likewise.
835         * soft-fp/fixunstfti.c: Likewise.
836         * soft-fp/floatdidf.c: Likewise.
837         * soft-fp/floatdisf.c: Likewise.
838         * soft-fp/floatditf.c: Likewise.
839         * soft-fp/floatsidf.c: Likewise.
840         * soft-fp/floatsisf.c: Likewise.
841         * soft-fp/floatsitf.c: Likewise.
842         * soft-fp/floattidf.c: Likewise.
843         * soft-fp/floattisf.c: Likewise.
844         * soft-fp/floattitf.c: Likewise.
845         * soft-fp/floatundidf.c: Likewise.
846         * soft-fp/floatundisf.c: Likewise.
847         * soft-fp/floatunditf.c: Likewise.
848         * soft-fp/floatunsidf.c: Likewise.
849         * soft-fp/floatunsisf.c: Likewise.
850         * soft-fp/floatunsitf.c: Likewise.
851         * soft-fp/floatuntidf.c: Likewise.
852         * soft-fp/floatuntisf.c: Likewise.
853         * soft-fp/floatuntitf.c: Likewise.
854         * soft-fp/gedf2.c: Likewise.
855         * soft-fp/gesf2.c: Likewise.
856         * soft-fp/getf2.c: Likewise.
857         * soft-fp/ledf2.c: Likewise.
858         * soft-fp/lesf2.c: Likewise.
859         * soft-fp/letf2.c: Likewise.
860         * soft-fp/muldf3.c: Likewise.
861         * soft-fp/mulsf3.c: Likewise.
862         * soft-fp/multf3.c: Likewise.
863         * soft-fp/negdf2.c: Likewise.
864         * soft-fp/negsf2.c: Likewise.
865         * soft-fp/negtf2.c: Likewise.
866         * soft-fp/op-1.h: Likewise.
867         * soft-fp/op-2.h: Likewise.
868         * soft-fp/op-4.h: Likewise.
869         * soft-fp/op-8.h: Likewise.
870         * soft-fp/op-common.h: Likewise.
871         * soft-fp/quad.h: Likewise.
872         * soft-fp/single.h: Likewise.
873         * soft-fp/soft-fp.h: Likewise.
874         * soft-fp/subdf3.c: Likewise.
875         * soft-fp/subsf3.c: Likewise.
876         * soft-fp/subtf3.c: Likewise.
877         * soft-fp/truncdfsf2.c: Likewise.
878         * soft-fp/trunctfdf2.c: Likewise.
879         * soft-fp/trunctfsf2.c: Likewise.
880         * soft-fp/trunctfxf2.c: Likewise.
881         * soft-fp/unorddf2.c: Likewise.
882         * soft-fp/unordsf2.c: Likewise.
883         * soft-fp/unordtf2.c: Likewise.
884         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
885         macro.
886         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
887         Likewise.
888         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
889         Likewise.
890         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
891         Likewise.
892         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
893         Likewise.
894         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
895         Likewise.
896         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
897         Likewise.
898         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
899         Likewise.
900         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
901         Likewise.
902         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
903         Likewise.
904         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
905         Likewise.
906         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
907         Likewise.
908         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
909         Likewise.
910         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
911         Likewise.
912         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
913         Likewise.
914         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
915         Likewise.
917 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
919         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
920         cannot be represented.
921         * config/s390/32/_fixsfdi.c: Likewise.
922         * config/s390/32/_fixtfdi.c: Likewise.
923         * config/s390/32/_fixunsdfdi.c: Likewise.
924         * config/s390/32/_fixunssfdi.c: Likewise.
925         * config/s390/32/_fixunstfdi.c: Likewise.
927 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
929         * configure.ac (libgcc_cv_mips_hard_float): New.
930         * configure: Regenerate.
931         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
932         t-softfp-sfdf for hard-float targets.
933         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
934         (softfp_float_modes, softfp_int_modes, softfp_extensions)
935         (softfp_truncations, softfp_exclude_libgcc2): New.
936         * config/t-hardfp: New file.
937         * config/t-hardfp-sfdf: Likewise.
938         * config/hardfp.c: Likewise.
940 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
942         * config.host: Include t-floattodi also for s390x.
943         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
944         * config/s390/32/_fixsfdi.c: Likewise.
945         * config/s390/32/_fixtfdi.c: Likewise.
946         * config/s390/32/_fixunsdfdi.c: Likewise.
947         * config/s390/32/_fixunssfdi.c: Likewise.
948         * config/s390/32/_fixunstfdi.c: Likewise.
950 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
952         PR target/59788
953         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
954         (install-libgcc-unwind-map-forbuild): New target.
955         (all): Depend on install-libgcc-unwind-map-forbuild.
956         (install-libgcc-unwind-map): New target.
957         (install): Depend on install-libgcc-unwind-map.
959 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
961         * config/nios2/crti.S (_init): Initialize GOT pointer from
962         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
964 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
966         * configure.ac: Check __mips64 when setting host_address.
967         * configure: Regenerate.
968         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
969         mips/t-mips64 and t-softfp.
970         (mips*-*-linux*): Don't add mips/t-tpbit.
971         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
972         (DPBIT, DPBIT_CFLAGS): Delete.
973         * config/mips/sfp-machine.h: New file.
974         * config/mips/t-mips64: Likewise.
975         * config/mips/t-softfp-tf: Likewise.
976         * config/mips/t-tpbit: Delete.
978 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
980         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
981         as long long.
983 2014-01-25  Walter Lee  <walt@tilera.com>
985         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
986         config.h or system.h.
987         (bool) Define.
989 2014-01-25  Walter Lee  <walt@tilera.com>
991         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
992         (post_atomic_barrier): Ditto.
993         (__fetch_and_do): New macro.
994         (__atomic_fetch_and_do): Use __fetch_and_do.
995         (__sync_fetch_and_do): New macro.
996         (__sync_fetch_and_add_4): New function.
997         (__sync_fetch_and_sub_4): New function.
998         (__sync_fetch_and_or_4): New function.
999         (__sync_fetch_and_and_4): New function.
1000         (__sync_fetch_and_xor_4): New function.
1001         (__sync_fetch_and_nand_4): New function.
1002         (__sync_fetch_and_add_8): New function.
1003         (__sync_fetch_and_sub_8): New function.
1004         (__sync_fetch_and_or_8): New function.
1005         (__sync_fetch_and_and_8): New function.
1006         (__sync_fetch_and_xor_8): New function.
1007         (__sync_fetch_and_nand_8): New function.
1008         (__do_and_fetch): New macro.
1009         (__atomic_do_and_fetch): Use __do_and_fetch.
1010         (__sync_do_and_fetch): New macro.
1011         (__sync_add_and_fetch_4): New function.
1012         (__sync_sub_and_fetch_4): New function.
1013         (__sync_or_and_fetch_4): New function.
1014         (__sync_and_and_fetch_4): New function.
1015         (__sync_xor_and_fetch_4): New function.
1016         (__sync_nand_and_fetch_4): New function.
1017         (__sync_add_and_fetch_8): New function.
1018         (__sync_sub_and_fetch_8): New function.
1019         (__sync_or_and_fetch_8): New function.
1020         (__sync_and_and_fetch_8): New function.
1021         (__sync_xor_and_fetch_8): New function.
1022         (__sync_nand_and_fetch_8): New function.
1023         (__sync_exchange_methods): New macro.
1024         (__sync_val_compare_and_swap_4): New function.
1025         (__sync_bool_compare_and_swap_4): New function.
1026         (__sync_lock_test_and_test_4): New function.
1027         (__sync_val_compare_and_swap_8): New function.
1028         (__sync_bool_compare_and_swap_8): New function.
1029         (__sync_lock_test_and_test_8): New function.
1030         (__subword_cmpxchg_body): New macro.
1031         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
1032         (__atomic_compare_exchange_2): Ditto.
1033         (__sync_subword_cmpxchg): New macro.
1034         (__sync_val_compare_and_swap_1): New function.
1035         (__sync_bool_compare_and_swap_1): New function.
1036         (__sync_val_compare_and_swap_2): New function.
1037         (__sync_bool_compare_and_swap_2): New function.
1038         (__atomic_subword): Rename to ...
1039         (__subword): ... New name.
1040         (__atomic_subword_fetch): Use __subword.
1041         (__sync_subword_fetch): New macro.
1042         (__sync_fetch_and_add_1): New function.
1043         (__sync_fetch_and_sub_1): New function.
1044         (__sync_fetch_and_or_1): New function.
1045         (__sync_fetch_and_and_1): New function.
1046         (__sync_fetch_and_xor_1): New function.
1047         (__sync_fetch_and_nand_1): New function.
1048         (__sync_fetch_and_add_2): New function.
1049         (__sync_fetch_and_sub_2): New function.
1050         (__sync_fetch_and_or_2): New function.
1051         (__sync_fetch_and_and_2): New function.
1052         (__sync_fetch_and_xor_2): New function.
1053         (__sync_fetch_and_nand_2): New function.
1054         (__sync_add_and_fetch_1): New function.
1055         (__sync_sub_and_fetch_1): New function.
1056         (__sync_or_and_fetch_1): New function.
1057         (__sync_and_and_fetch_1): New function.
1058         (__sync_xor_and_fetch_1): New function.
1059         (__sync_nand_and_fetch_1): New function.
1060         (__sync_add_and_fetch_2): New function.
1061         (__sync_sub_and_fetch_2): New function.
1062         (__sync_or_and_fetch_2): New function.
1063         (__sync_and_and_fetch_2): New function.
1064         (__sync_xor_and_fetch_2): New function.
1065         (__sync_nand_and_fetch_2): New function.
1066         (__atomic_subword_lock): Use __subword.
1067         (__sync_subword_lock): New macro.
1068         (__sync_lock_test_and_set_1): New function.
1069         (__sync_lock_test_and_set_2): New function.
1071 2014-01-25  Walter Lee  <walt@tilera.com>
1073         * config/tilepro/atomic.c (BIT_OFFSET): Define.
1074         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
1075         (__atomic_subword): Ditto.
1077 2014-01-25  Walter Lee  <walt@tilera.com>
1079         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
1080         a prefix op argument.
1081         (__atomic_nand_fetch_4): Add prefix op.
1082         (__atomic_nand_fetch_8): Ditto.
1084 2014-01-21  Baruch Siach <barch@tkos.co.il>
1086         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
1088 2014-01-09  Rong Xu  <xur@google.com>
1090         * libgcov-driver.c (this_prg): make it local to save
1091         bss space.
1092         (gcov_exit_compute_summary): Ditto.
1093         (gcov_exit_merge_gcda): Ditto.
1094         (gcov_exit_merge_summary): Ditto.
1095         (gcov_exit_dump_gcov): Ditto.
1097 2014-01-08  Rong Xu  <xur@google.com> 
1099         * libgcov-driver.c: Use libgcov.h.
1100         (buffer_fn_data): Use xmalloc instead of malloc.
1101         (gcov_exit_merge_gcda): Ditto.
1102         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
1103         * libgcov.h: New common header files for libgcov-*.h.
1104         * libgcov-interface.c: Use libgcov.h
1105         * libgcov-merge.c: Ditto.
1106         * libgcov-profiler.c: Ditto.
1107         * Makefile.in: Add dependence to libgcov.h
1109 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
1111         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
1112         case of small numerator and finite nonzero result.
1114 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
1116         Update copyright years
1118 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
1120         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
1121         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
1122         config/arc/dp-hack.h, config/arc/fp-hack.h,
1123         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
1124         config/arc/ieee-754/arc600-dsp/divdf3.S,
1125         config/arc/ieee-754/arc600-dsp/divsf3.S,
1126         config/arc/ieee-754/arc600-dsp/muldf3.S,
1127         config/arc/ieee-754/arc600-dsp/mulsf3.S,
1128         config/arc/ieee-754/arc600-mul64/divdf3.S,
1129         config/arc/ieee-754/arc600-mul64/divsf3.S,
1130         config/arc/ieee-754/arc600-mul64/muldf3.S,
1131         config/arc/ieee-754/arc600-mul64/mulsf3.S,
1132         config/arc/ieee-754/arc600/divsf3.S,
1133         config/arc/ieee-754/arc600/mulsf3.S,
1134         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
1135         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
1136         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
1137         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
1138         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
1139         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
1140         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
1141         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
1142         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
1143         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
1144         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
1145         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
1146         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
1147         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
1148         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
1149         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
1150         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
1151         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
1152         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
1153         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
1154         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
1155         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
1156         vtv_start_preinit.c: Use the standard form for the copyright notice.
1158 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
1159             Chung-Lin Tang  <cltang@codesourcery.com>
1160             Based on patches from Altera Corporation
1162         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
1163         * config/nios2/lib2-nios2.h: New file.
1164         * config/nios2/lib2-divmod-hi.c: New file.
1165         * config/nios2/linux-unwind.h: New file.
1166         * config/nios2/lib2-divmod.c: New file.
1167         * config/nios2/linux-atomic.c: New file.
1168         * config/nios2/t-nios2: New file.
1169         * config/nios2/crti.asm: New file.
1170         * config/nios2/t-linux: New file.
1171         * config/nios2/lib2-divtable.c: New file.
1172         * config/nios2/lib2-mul.c: New file.
1173         * config/nios2/tramp.c: New file.
1174         * config/nios2/crtn.asm: New file.
1176 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
1178         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
1179         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
1180         from cpuid.h to check vendor signatures.
1182 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
1184         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
1185         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
1186         (get_amd_cpu): Likewise.
1188 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
1190         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
1191         Haswell.
1193 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
1194             H.J. Lu  <hongjiu.lu@intel.com>
1196         PR target/59422
1197         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
1198         and AMD_JAGUAR.
1199         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
1200         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
1201         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
1202         FEATURE_XOP and FEATURE_FMA.
1203         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
1204         AMDFAM15H_BDVER3.
1205         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
1206         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
1207         FEATURE_FMA4 and FEATURE_XOP.
1209 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
1211         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
1212         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
1213         (get_intel_cpu): Updated.
1215 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
1217         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
1219 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
1221         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1222         instructions when __SSE_MATH__ is defined.
1224 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
1226         * config.host (microblaze-*-rtems*): New.
1228 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
1230         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
1231         architectures that do not have hardware divide instruction.
1232         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
1234 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
1236         * longlong.h: Delete (moved to include/).
1238 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1240         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
1241         of normal number and qNaN to not raise an inexact exception.
1243 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
1245         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
1247 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
1249         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
1250         for correct opcodes on BE.
1252 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
1254         * soft-fp/op-4.h: Update from glibc.
1256 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
1258         * libgcc2.c (__udivmoddi4): Define new implementation when
1259         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
1260         divide instructions.
1262 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
1264         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
1266 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1268         * config/t-softfp (soft-fp-objects-base): New variable.
1269         (soft-fp-objects): Use it.
1271 2013-11-23  David Edelson  <dje.gcc@gmail.com>
1272             Andrew Dixie  <andrewd@gentrack.com>
1274         PR target/33704
1275         * config/rs6000/aixinitfini.c: New file.
1276         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
1277         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
1278         symbols.
1280 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
1282         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
1284 2013-11-18  Jan Hubicka  <jh@suse.cz>
1286         * libgcov-driver.c (run_accounted): Make global level static.
1287         (gcov_exit_merge_summary): Silence warning; do not clear
1288         run_accounted here.
1289         (gcov_exit): Clear it here.
1291         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
1292         run_accounted.
1294         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
1295         (all_prg, crc32): Remove static vars.
1296         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
1297         all_prg.
1298         (gcov_exit_merge_gcda): Add crc32 parameter.
1299         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
1300         do not account run if it was already accounted.
1301         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
1302         (gcov_exit): Initialize all_prg; update.
1304 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
1306         * configure: Regenerate.
1308 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1309             Alan Modra  <amodra@gmail.com>
1311         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
1312         (frob_update_context): Use it.
1314 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1315             Alan Modra  <amodra@gmail.com>
1317         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
1318         (trampoline_initial): Provide ELFv2 variant.
1319         (__trampoline_setup): Likewise.
1321         * config/rs6000/linux-unwind.h (frob_update_context): Do not
1322         check for AIX indirect function call sequence if _CALL_ELF == 2.
1324 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1325             Alan Modra  <amodra@gmail.com>
1327         * config/rs6000/linux-unwind.h (get_regs): Do not support
1328         old kernel versions if _CALL_ELF == 2.
1329         (frob_update_context): Do not support PLT stub variants only
1330         generated by old linkers if _CALL_ELF == 2.
1332 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1333             Alan Modra  <amodra@gmail.com>
1335         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
1336         location of CR save area for 64-bit little-endian systems.
1338 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
1340         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
1341         in tmake_file.
1342         * config/arm/t-vxworks: Delete.
1344 2013-11-10  Kai Tietz  <ktietz@redhat.com>
1346         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
1347         Increment load-count on use of LIBGCC_SONAME DLL.
1348         (hmod_libgcc): New static variable to hold handle of
1349         LIBGCC_SONAME DLL.
1350         (__gcc_deregister_frame): Decrement load-count of
1351         LIBGCC_SONAME DLL.
1353 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
1355         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
1356         availability.
1357         * configure: Regenerate
1359 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
1361         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
1362         FP_EX_DENORM.  Store result to volatile location after SSE division
1363         to close interrupt window.  Remove unneeded fwait after x87
1364         division since interrupt window will be closed by emitted fstp.
1365         Rewrite FP_EX_INEXACT handling.
1367 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
1369         * soft-fp/README: Update.
1370         * soft-fp/adddf3.c: Update from glibc.
1371         * soft-fp/addsf3.c: Likewise.
1372         * soft-fp/addtf3.c: Likewise.
1373         * soft-fp/divdf3.c: Likewise.
1374         * soft-fp/divsf3.c: Likewise.
1375         * soft-fp/divtf3.c: Likewise.
1376         * soft-fp/double.h: Likewise.
1377         * soft-fp/eqdf2.c: Likewise.
1378         * soft-fp/eqsf2.c: Likewise.
1379         * soft-fp/eqtf2.c: Likewise.
1380         * soft-fp/extenddftf2.c: Likewise.
1381         * soft-fp/extended.h: Likewise.
1382         * soft-fp/extendsfdf2.c: Likewise.
1383         * soft-fp/extendsftf2.c: Likewise.
1384         * soft-fp/extendxftf2.c: Likewise.
1385         * soft-fp/fixdfdi.c: Likewise.
1386         * soft-fp/fixdfsi.c: Likewise.
1387         * soft-fp/fixdfti.c: Likewise.
1388         * soft-fp/fixsfdi.c: Likewise.
1389         * soft-fp/fixsfsi.c: Likewise.
1390         * soft-fp/fixsfti.c: Likewise.
1391         * soft-fp/fixtfdi.c: Likewise.
1392         * soft-fp/fixtfsi.c: Likewise.
1393         * soft-fp/fixtfti.c: Likewise.
1394         * soft-fp/fixunsdfdi.c: Likewise.
1395         * soft-fp/fixunsdfsi.c: Likewise.
1396         * soft-fp/fixunsdfti.c: Likewise.
1397         * soft-fp/fixunssfdi.c: Likewise.
1398         * soft-fp/fixunssfsi.c: Likewise.
1399         * soft-fp/fixunssfti.c: Likewise.
1400         * soft-fp/fixunstfdi.c: Likewise.
1401         * soft-fp/fixunstfsi.c: Likewise.
1402         * soft-fp/fixunstfti.c: Likewise.
1403         * soft-fp/floatdidf.c: Likewise.
1404         * soft-fp/floatdisf.c: Likewise.
1405         * soft-fp/floatditf.c: Likewise.
1406         * soft-fp/floatsidf.c: Likewise.
1407         * soft-fp/floatsisf.c: Likewise.
1408         * soft-fp/floatsitf.c: Likewise.
1409         * soft-fp/floattidf.c: Likewise.
1410         * soft-fp/floattisf.c: Likewise.
1411         * soft-fp/floattitf.c: Likewise.
1412         * soft-fp/floatundidf.c: Likewise.
1413         * soft-fp/floatundisf.c: Likewise.
1414         * soft-fp/floatunditf.c: Likewise.
1415         * soft-fp/floatunsidf.c: Likewise.
1416         * soft-fp/floatunsisf.c: Likewise.
1417         * soft-fp/floatunsitf.c: Likewise.
1418         * soft-fp/floatuntidf.c: Likewise.
1419         * soft-fp/floatuntisf.c: Likewise.
1420         * soft-fp/floatuntitf.c: Likewise.
1421         * soft-fp/gedf2.c: Likewise.
1422         * soft-fp/gesf2.c: Likewise.
1423         * soft-fp/getf2.c: Likewise.
1424         * soft-fp/ledf2.c: Likewise.
1425         * soft-fp/lesf2.c: Likewise.
1426         * soft-fp/letf2.c: Likewise.
1427         * soft-fp/muldf3.c: Likewise.
1428         * soft-fp/mulsf3.c: Likewise.
1429         * soft-fp/multf3.c: Likewise.
1430         * soft-fp/negdf2.c: Likewise.
1431         * soft-fp/negsf2.c: Likewise.
1432         * soft-fp/negtf2.c: Likewise.
1433         * soft-fp/op-1.h: Likewise.
1434         * soft-fp/op-2.h: Likewise.
1435         * soft-fp/op-4.h: Likewise.
1436         * soft-fp/op-8.h: Likewise.
1437         * soft-fp/op-common.h: Likewise.
1438         * soft-fp/quad.h: Likewise.
1439         * soft-fp/single.h: Likewise.
1440         * soft-fp/soft-fp.h: Likewise.
1441         * soft-fp/subdf3.c: Likewise.
1442         * soft-fp/subsf3.c: Likewise.
1443         * soft-fp/subtf3.c: Likewise.
1444         * soft-fp/truncdfsf2.c: Likewise.
1445         * soft-fp/trunctfdf2.c: Likewise.
1446         * soft-fp/trunctfsf2.c: Likewise.
1447         * soft-fp/trunctfxf2.c: Likewise.
1448         * soft-fp/unorddf2.c: Likewise.
1449         * soft-fp/unordsf2.c: Likewise.
1450         * soft-fp/unordtf2.c: Likewise.
1452 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
1454         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
1455         (_FP_MUL_MEAT_D): Ditto.
1456         (_FP_DIV_MEAT_S): Ditto.
1457         (_FP_DIV_MEAT_D): Ditto.
1458         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
1459         t-softfp-sfdf and t-softfp to tmake_file.
1461 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
1463         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
1464         * config/i386/crtprec.c: Ditto.
1466 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
1467             Shiva Chen  <shiva0217@gmail.com>
1469         * config.host (nds32*-elf*): Add nds32 target.
1470         * config/nds32 : New directory and files.
1472 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
1474         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
1475         * config.host (cpu_type) <Setting default>: Add entry for
1476         crisv32-*-*.
1477         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
1478         <crisv32-*-linux*>: Adjust.
1479         * longlong.h: Wrap the whole CRIS section in a single
1480         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
1481         and sub_ddmmss.
1482         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
1483         defined.
1484         [__CRIS__] (__umulsidi3): Define.
1485         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
1486         * config/cris/sfp-machine.h: New file.
1487         * config/cris/umulsidi3.S: New file.
1488         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
1489         * config/cris/arit.c (SIGNMULT): New macro.
1490         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
1491         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
1492         saving 3 out of originally 33 cycles from the fastest
1493         path, 3 out of 54 from the medium path and one from the longest
1494         path.  Improve comments.
1496 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
1498         * sync.c: Remove static aliases and define each function directly
1499         under its real name.
1501 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
1503         * config.host (hppa*64*-*-linux*): Define extra_parts.
1504         (hppa*-*-linux*): Likewise.
1506 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
1508         * config/arc/crtgend.S: Add 2013 to Copyright years.
1509         * config/arc/gmon/atomic.h: Likewise.
1510         * config/arc/gmon/auxreg.h: Likewise.
1511         * config/arc/gmon/sys/gmon_out.h: Likewise.
1512         * config/arc/gmon/sys/gmon.h: Likewise.
1513         * config/arc/gmon/prof-freq.c: Likewise.
1514         * config/arc/gmon/mcount.c: Likewise.
1515         * config/arc/gmon/prof-freq-stub.S: Likewise.
1516         * config/arc/gmon/gmon.c: Likewise.
1517         * config/arc/gmon/machine-gmon.h: Likewise.
1518         * config/arc/gmon/profil.S: Likewise.
1519         * config/arc/gmon/dcache_linesz.S: Likewise.
1520         * config/arc/crtg.S: Likewise.
1521         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
1522         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
1523         * config/arc/ieee-754/adddf3.S: Likewise.
1524         * config/arc/ieee-754/truncdfsf2.S: Likewise.
1525         * config/arc/ieee-754/fixsfsi.S: Likewise.
1526         * config/arc/ieee-754/gtsf2.S: Likewise.
1527         * config/arc/ieee-754/floatsisf.S: Likewise.
1528         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
1529         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
1530         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
1531         * config/arc/ieee-754/fixdfsi.S: Likewise.
1532         * config/arc/ieee-754/addsf3.S: Likewise.
1533         * config/arc/ieee-754/gesf2.S: Likewise.
1534         * config/arc/ieee-754/floatsidf.S: Likewise.
1535         * config/arc/ieee-754/extendsfdf2.S: Likewise.
1536         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
1537         * config/arc/ieee-754/gtdf2.S: Likewise.
1538         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
1539         * config/arc/ieee-754/uneqdf2.S: Likewise.
1540         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1541         * config/arc/ieee-754/uneqsf2.S: Likewise.
1542         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
1543         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
1544         * config/arc/ieee-754/eqdf2.S: Likewise.
1545         * config/arc/ieee-754/ordsf2.S: Likewise.
1546         * config/arc/ieee-754/divsf3.S: Likewise.
1547         * config/arc/ieee-754/divdf3.S: Likewise.
1548         * config/arc/ieee-754/floatunsidf.S: Likewise.
1549         * config/arc/ieee-754/orddf2.S: Likewise.
1550         * config/arc/ieee-754/eqsf2.S: Likewise.
1551         * config/arc/ieee-754/gedf2.S: Likewise.
1552         * config/arc/crtn.S: Likewise.
1553         * config/arc/crti.S: Likewise.
1554         * config/arc/t-arc700-uClibc: Likewise.
1555         * config/arc/asm.h: Likewise.
1556         * config/arc/libgcc-excl.ver: Likewise.
1557         * config/arc/t-arc-newlib: Likewise.
1558         * config/arc/divtab-arc700.c: Likewise.
1559         * config/arc/initfini.c: Likewise.
1560         * config/arc/fp-hack.h: Likewise.
1562 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
1563             Diego Novillo  <dnovillo@google.com>
1565         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
1566         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
1567         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
1568         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
1570 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
1571             Brendan Kehoe  <brendan@zen.org>
1572             Simon Cook  <simon.cook@embecosm.com>
1574         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
1575         * config/arc: New directory.
1576         * longlong.h [__arc__] (umul_ppmm): Remove.
1577         [__arc__] (__umulsidi3): Define.
1578         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
1579         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
1581 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
1583         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
1584         CreateSemaphoreA.
1585         * config/i386/gthr-win32.h: Likewise.
1587 2013-09-16  DJ Delorie  <dj@redhat.com>
1589         * config/rl78/vregs.h: Add G10 register definitions.
1590         * config/rl78/lib2mul.c: Enable for RL78/G10.
1591         * config/rl78/lib2div.c: Likewise.
1592         * config/rl78/lshrsi3.S: Use vregs.h.
1593         * config/rl78/cmpsi2.S: Likewise.
1594         * config/rl78/trampoline.S: Likewise.
1595         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
1597 2013-09-14  DJ Delorie  <dj@redhat.com>
1598             Nick Clifton  <nickc@redhat.com>
1600         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
1601         * config/rl78/vregs.h: New.
1602         * config/rl78/signbit.S: New file.  Implements signbit function.
1603         * config/rl78/divmodsi.S: New.
1604         * config/rl78/divmodhi.S: New.
1605         * config/rl78/divmodqi.S: New.
1606         * config/rl78/t-rl78: Build them here...
1607         * config/rl78/lib2div.c: ...but not here.
1609 2013-09-12  DJ Delorie  <dj@redhat.com>
1611         * config.host (msp*-*-elf): New.
1612         * config/msp430/: New port.
1614 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
1616         PR gcov-profile/58127
1617         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
1618         __thread var for emulated TLS.
1619         (__gcov_indirect_call_counters): Likewise.
1621 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
1622             Catherine Moore  <clm@codesourcery.com>
1623             Richard Sandiford <rdsandiford@googlemail.com>
1625         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
1626         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
1627         (CALL_STUB_NO_RET): Likewise.
1628         (CALL_STUB_RET): Likewise.
1629         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
1630         __mips16_ret call/return stub symbols.
1631         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
1632         to tmake_file.
1634 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
1636         * config.host <mips*-*-linux*>: Remove a stray comment.
1638 2013-08-10  Jan Hubicka  <jh@suse.cz>
1640         Work around binutils PR14342
1641         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
1642         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
1643         (L_gcov_indirect_call_profiler_v2): New.
1645 2013-08-06  Jan Hubicka  <jh@suse.cz>
1647         * libgcov.c (__gcov_indirect_call_callee,
1648         __gcov_indirect_call_counters): New global vars.
1649         (__gcov_indirect_call_profiler): replace by ...
1650         (__gcov_indirect_call_profiler_v2) ... this one.
1652 2013-08-06  Caroline Tice  <cmtice@google.com>
1654         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
1655         vtv_start_preinit.o and vtv_end_preinit.o.
1656         * configure.ac: Add code to check/set enable_vtable_verify.
1657         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
1658         true.
1659         * vtv_start_preinit.c: New file.
1660         * vtv_end_preinit.c: New file.
1661         * vtv_start.c: New file.
1662         * vtv_end.c: New file.
1663         * configure: Regenerated.
1665 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
1667         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
1668         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
1669         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
1670         GPL-3.0-with-GCC-exception.
1672 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
1674         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
1675         ISA and up.
1677 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1679         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
1680         mapping for FPRs when creating the fallback framestate.
1682 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
1684         PR target/57516
1685         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
1686         (__round_s2_const, __round_u2_const)
1687         (__round_s4_const, __round_u4_const, __round_x8):
1688         Saturate result if addition result cannot be represented.
1690 2013-07-15  Matthias Klose  <doko@ubuntu.com>
1692         * libgcc2.c: Don't include <limits.h>.
1694 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
1696         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
1698 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
1700         PR target/29776
1701         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
1703 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
1705         PR middle-end/36041
1706         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
1707         Define.
1708         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
1709         instead of table lookups.
1710         (__popcountDI2): Likewise.
1712 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
1714         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
1715         correctly.
1717 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
1719         PR other/53317
1720         * soft-fp/adddf3.c: Update from glibc.
1721         * soft-fp/addsf3.c: Likewise.
1722         * soft-fp/addtf3.c: Likewise.
1723         * soft-fp/divdf3.c: Likewise.
1724         * soft-fp/divsf3.c: Likewise.
1725         * soft-fp/divtf3.c: Likewise.
1726         * soft-fp/double.h: Likewise.
1727         * soft-fp/eqdf2.c: Likewise.
1728         * soft-fp/eqsf2.c: Likewise.
1729         * soft-fp/eqtf2.c: Likewise.
1730         * soft-fp/extenddftf2.c: Likewise.
1731         * soft-fp/extended.h: Likewise.
1732         * soft-fp/extendsfdf2.c: Likewise.
1733         * soft-fp/extendsftf2.c: Likewise.
1734         * soft-fp/fixdfdi.c: Likewise.
1735         * soft-fp/fixdfsi.c: Likewise.
1736         * soft-fp/fixsfdi.c: Likewise.
1737         * soft-fp/fixsfsi.c: Likewise.
1738         * soft-fp/fixtfdi.c: Likewise.
1739         * soft-fp/fixtfsi.c: Likewise.
1740         * soft-fp/fixunsdfdi.c: Likewise.
1741         * soft-fp/fixunsdfsi.c: Likewise.
1742         * soft-fp/fixunssfdi.c: Likewise.
1743         * soft-fp/fixunssfsi.c: Likewise.
1744         * soft-fp/fixunstfdi.c: Likewise.
1745         * soft-fp/fixunstfsi.c: Likewise.
1746         * soft-fp/floatdidf.c: Likewise.
1747         * soft-fp/floatdisf.c: Likewise.
1748         * soft-fp/floatditf.c: Likewise.
1749         * soft-fp/floatsidf.c: Likewise.
1750         * soft-fp/floatsisf.c: Likewise.
1751         * soft-fp/floatsitf.c: Likewise.
1752         * soft-fp/floatundidf.c: Likewise.
1753         * soft-fp/floatundisf.c: Likewise.
1754         * soft-fp/floatunditf.c: Likewise.
1755         * soft-fp/floatunsidf.c: Likewise.
1756         * soft-fp/floatunsisf.c: Likewise.
1757         * soft-fp/floatunsitf.c: Likewise.
1758         * soft-fp/gedf2.c: Likewise.
1759         * soft-fp/gesf2.c: Likewise.
1760         * soft-fp/getf2.c: Likewise.
1761         * soft-fp/ledf2.c: Likewise.
1762         * soft-fp/lesf2.c: Likewise.
1763         * soft-fp/letf2.c: Likewise.
1764         * soft-fp/muldf3.c: Likewise.
1765         * soft-fp/mulsf3.c: Likewise.
1766         * soft-fp/multf3.c: Likewise.
1767         * soft-fp/negdf2.c: Likewise.
1768         * soft-fp/negsf2.c: Likewise.
1769         * soft-fp/negtf2.c: Likewise.
1770         * soft-fp/op-1.h: Likewise.
1771         * soft-fp/op-2.h: Likewise.
1772         * soft-fp/op-4.h: Likewise.
1773         * soft-fp/op-8.h: Likewise.
1774         * soft-fp/op-common.h: Likewise.
1775         * soft-fp/quad.h: Likewise.
1776         * soft-fp/single.h: Likewise.
1777         * soft-fp/soft-fp.h: Likewise.
1778         * soft-fp/subdf3.c: Likewise.
1779         * soft-fp/subsf3.c: Likewise.
1780         * soft-fp/subtf3.c: Likewise.
1781         * soft-fp/truncdfsf2.c: Likewise.
1782         * soft-fp/trunctfdf2.c: Likewise.
1783         * soft-fp/trunctfsf2.c: Likewise.
1784         * soft-fp/unorddf2.c: Likewise.
1785         * soft-fp/unordsf2.c: Likewise.
1786         * soft-fp/unordtf2.c: Likewise.
1787         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
1788         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1789         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1790         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1791         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1792         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1793         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1794         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1795         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1796         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
1797         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
1798         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1800 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
1802         * config/mips/lib2funcs.c: New file.
1803         * config/mips/t-mips (LIB2ADD_ST): Add it.
1805 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
1807         PR target/6526
1808         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
1809         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
1811 2013-06-08  Walter Lee  <walt@tilera.com>
1813         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
1814         Replace int64_t with long long.  Add __extension__ where
1815         appropriate.
1816         * config/tilepro/atomic.c: Include config.h.
1818 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
1820         * config.host (arm-wrs-vxworks): Configure with other soft float.
1822 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
1824         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
1825         (mips64r5900el-*-elf*): New configurations.
1827 2013-06-04  Alan Modra  <amodra@gmail.com>
1829         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
1831 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
1833         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
1835 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
1837         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
1838         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
1839         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
1841 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
1843         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
1844         (powerpc-wrs-vxworks): Likewise.
1846 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
1848         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
1849         signal frames as well.
1850         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
1851         STACK_BIAS to the CFA offset.
1853 2013-05-17  Richard Henderson  <rth@redhat.com>
1855         PR target/49146
1856         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
1857         (execute_cfa_program): Use it when storing to fs->regs.
1859 2013-05-08  Kai Tietz  <ktietz@redhat.com>
1861         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
1862         (__deregister_frame_info): Likewise.
1864 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
1866         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
1867         NaN's payload.
1869         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
1871 2013-04-25  Alan Modra  <amodra@gmail.com>
1873         * config.host: Match little-endian powerpc-linux.
1875 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
1877         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
1878         as 'unsigned long long' instead of 'unsigned long'.
1879         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
1880         'signed long'.
1882 2013-04-10  Julian Brown  <julian@codesourcery.com>
1884         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
1885         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
1886         unsigned char/unsigned short.
1887         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
1889 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1891         PR other/55274
1892         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
1894 2013-04-04  Meador Inge  <meadori@codesourcery.com>
1896         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
1897         computing the location of the link register.
1898         (aeabi_uldivmod): Ditto.
1900 2013-03-27  Kai Tietz  <ktietz@redhat.com>
1902         * config.host: Add support for cygwin x64 target.
1903         * configure: Regenerated.
1905 2013-03-26  Walter Lee  <walt@tilera.com>
1907         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
1908         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
1910 2013-03-25  Kai Tietz  <ktietz@redhat.com>
1912         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
1914 2013-03-20  Robert Mason  <rbmj@verizon.net>
1916         * config/vxlib-tls.c (__gthread_get_tsd_data,)
1917         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
1918         (__gthread_leave_tsd_dtor_context): Add prototypes.
1919         (tls_delete_hook): Update.
1921 2013-03-20  Catherine Moore  <clm@codesourcery.com>
1922             Joseph Myers  <joseph@codesourcery.com>
1923             Chao-ying Fu  <fu@mips.com>
1925         * config/mips/mips16.S:  Don't build for microMIPS.
1926         * config/mips/linux-unwind.h: Handle microMIPS frame.
1927         * config/mips/crtn.S (fini, init): New labels.
1929 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
1931         PR tree-optimization/53265
1932         * unwind-dw2.c (execute_cfa_program): Avoid
1933         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
1934         on targets with DWARF_FRAME_REGISTERS < 32.
1936 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
1938         PR target/49880
1939         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
1940         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
1942 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
1944         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
1945         sandybridge processors.
1947 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
1949         PR target/56529
1950         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
1951         inclusion list.
1953 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
1955         * config/microblaze/crti.S: Setup stack protection at entry
1957 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
1959         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
1960         (__rotldi3): Shift bytewise if applicable.
1962 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
1964         * config/aarch64/sync-cache.c
1965         (__aarch64_sync_cache_range): Silence warnings.
1967 2013-02-25  Catherine Moore  <clm@codesourcery.com>
1969         Revert:
1970         2013-02-24  Catherine Moore  <clm@codesourcery.com>
1971             Joseph Myers  <joseph@codesourcery.com>
1972             Chao-ying Fu  <fu@mips.com>
1974         * config/mips/mips16.S:  Don't build for microMIPS.
1975         * config/mips/linux-unwind.h: Handle microMIPS frame.
1976         * config/mips/crtn.S (fini, init): New labels.
1978 2013-02-24  Catherine Moore  <clm@codesourcery.com>
1979             Joseph Myers  <joseph@codesourcery.com>
1980             Chao-ying Fu  <fu@mips.com>
1982         * config/mips/mips16.S:  Don't build for microMIPS.
1983         * config/mips/linux-unwind.h: Handle microMIPS frame.
1984         * config/mips/crtn.S (fini, init): New labels.
1986 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
1987         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000 
1988         as dividend.
1990 2013-02-16  Alan Modra  <amodra@gmail.com>
1992         PR target/55431
1993         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
1994         (ppc_fallback_frame_state): Always set up save locations for fp
1995         and altivec.  Don't bother with non-callee-saved regs, r0-r13
1996         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
1998 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
2000         PR target/54222
2001         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
2002         _ssmulHA, _ssmulSA.
2003         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
2004         _ssmulha3, _usmulusa3, _ssmulsa3.
2005         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
2006         (__muldi3): XCALL __muldi3_6 instead of rcall.
2007         (__umulsidi3, __mulsidi3): New functions.
2008         (do_prologue_saves, do_epilogue_restores): New .macros.
2009         (__divdi3_moddi3): Use them.
2010         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
2011         (__usmulusa3, __ssmulsa3): New functions.
2013 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
2014             Jack Howarth  <howarth@bromo.med.uc.edu>
2015             Patrick Marlier  <patrick.marlier@gmail.com>
2017         PR libitm/55693
2018         * config/darwin-crt-tm.c: Remove dummy functions hack.
2020 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
2022         PR target/54222
2023         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
2024         * config/avr/lib2-object.mk: New iterator to build objects from it.
2025         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
2026         lib2funcs.c.
2027         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
2028         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
2029         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
2030         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
2031         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
2032         * config/avr/lib1funcs-fixed.S: Implement them.
2034 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
2036         Update copyright years.
2038 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
2040         PR target/54601
2041         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
2042         Add crtcxa to extra_parts.
2043         * config/rs6000/exit.h: New file.
2044         * config/rs6000/cxa_atexit.c: New file.
2045         * config/rs6000/cxa_finalize.c: New file.
2046         * config/rs6000/crtcxa.c: New file.
2047         * config/rs6000/t-aix-cxa: New file.
2048         * config/rs6000/libgcc-aix-cxa.ver: New file.
2050 2013-01-31  Nick Clifton  <nickc@redhat.com>
2052         * config/v850/lib1funcs.S: Add support for e3v5 architecture
2053         variant.
2055 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
2057         PR target/54222
2058         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
2059         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
2060         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
2061         _divQQ,  _divHQ,  _divHA,  _divSA,
2062         _divUQQ, _divUHQ, _divUHA, _divUSA.
2064 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
2066         * config.host(microblaze*-linux*): tmake_file: Remove
2067         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
2068         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
2069         to exclude functions from being built with libgcc.c and use
2070         the microblaze assembly.
2072 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
2074         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
2075         extra_parts.
2077 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
2079         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
2080         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
2081         __UINTPTR_TYPE__; also cast 'base' to the same type before the
2082         alignment operation.
2084 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
2086         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
2087         loop start address for cache clearing.
2089 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
2091         * config/avr/lib1funcs.S: Remove trailing blanks.
2092         * config/avr/lib1funcs-fixed.S: Ditto.
2094 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
2096         * config/avr/avr-lib.h: Add GPL copyright notice.
2098 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
2100         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
2101         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
2102         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
2103         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
2105 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
2107         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
2108         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2110 2013-01-04  Nick Clifton  <nickc@redhat.com>
2112         * config/v850/lib1funcs.S: Only provide CALLT support functions if
2113         the CALLT instruction is supported.
2115 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
2117         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
2118         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
2120 2012-12-13  John Tytgat  <John@bass-software.com>
2122         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
2123         is 25.
2125 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
2127         PR libgcc/55451
2128         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
2129         undefined signed overflows.
2131 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
2133         PR target/55344
2134         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
2136 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
2138         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
2139         (FP_TRAPPING_EXCEPTIONS): Define.
2140         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
2141         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
2143 2012-12-04  Richard Henderson  <rth@redhat.com>
2145         PR bootstrap/55571
2146         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
2148 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
2150         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
2151         (FP_EX_SHIFT): Define.
2152         (FP_TRAPPING_EXCEPTIONS): Define.
2154 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
2156         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
2157         (FP_ROUNDMODE): Use FP_RND_MASK.
2158         * config/aarch64/sfp-exceptions.c: New.
2159         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2160         Use __sfp_handle_exceptions.
2162 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
2164         * config.host: (arm*-*-freebsd*): Remove.
2165         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
2166         (arm*-*-elf*): Remove.
2167         (arm*-*-wince-pe*): Remove.
2168         * arm/unwind-arm.c (struct fpa_reg): Delete.
2169         (struct fpa_regs): Delete.
2170         (phase1_vrs): Remove fpa element.
2171         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
2172         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
2173         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
2174         * ieee754-sf.S (floatundisf): Remove FPA support.
2175         (floatdisf): Likewise.
2176         * ieee75f-df.S (floatundidf): Likewise.
2177         (floatdidf): Likewise.
2179 2012-11-29  Kai Tietz  <ktietz@redhat.com>
2181         PR target/55445
2182         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
2183         * unwind-generic.h: Likewise.
2184         * unwind-seh.c: Likewise.
2186 2012-11-28  Richard Henderson  <rth@redhat.com>
2188         PR libgcc/48076
2189         * emutls.c (__emutls_get_address): Avoid race condition between
2190         obj->loc.offset read and emutls_key initialization.
2192 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
2194         Adjust decimal point of signed accum mode to GCC default.
2196         PR target/54222
2197         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
2198         _divqq_helper.
2199         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
2200         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
2201         (__mulha3, __mulsa3)
2202         (__divqq3, __divha3, __divsa3): Adjust to new position of
2203         decimal point of signed accum types.
2205         (__mulusa3_round): New function.
2206         (__mulusa3): Use it.
2207         (__divqq_helper): New function.
2208         (__udivuqq3): Use it.
2210 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
2212         PR bootstrap/55370
2213         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
2215 2012-11-18  Teresa Johnson  <tejohnson@google.com>
2217         PR bootstrap/55051
2218         * libgcov.c (gcov_exit): Remove merged program summary
2219         comparison unless !GCOV_LOCKED.
2221 2012-11-15  Marcus Shawcroft <marcus.shawcroft@arm.com>
2223         * soft-fp: Updated from glibc upstream.
2225 2012-11-06  Ian Lance Taylor  <iant@google.com>
2227         * generic-morestack.c (__generic_morestack): Align the returned
2228         stack pointer to a 32 byte boundary.
2229         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
2230         increment the return address until we have decided that we don't
2231         have a varargs function.
2232         (__morestack) [32-bit]: Align stack correctly when calling C
2233         functions.
2234         (__morestack) [64-bit]: Likewise.
2236 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
2238         * configure: Regenerate.
2240 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
2242         PR target/55175
2243         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
2244         * config/i386/sfp-machine.h: Guard exception handling
2245         code with _SOFT_FLOAT.
2246         * config/i386/32/sfp-machine.h: Guard rounding handling
2247         code with _SOFT_FLOAT.
2248         * config/i386/64/sfp-machine.h: Ditto.
2250 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
2252         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
2253         as extra_parts.
2255 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
2257         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
2258         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
2259         when appropriate.  Correct structure element types.
2260         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
2261         -minline-all-stringops from compile flags.
2263 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
2265         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
2267 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
2269         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
2271 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2273         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
2274         tmake_file.
2276 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
2277             Jim MacArthur  <jim.macarthur@arm.com>
2278             Marcus Shawcroft  <marcus.shawcroft@arm.com>
2279             Nigel Stephens  <nigel.stephens@arm.com>
2280             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2281             Richard Earnshaw  <rearnsha@arm.com>
2282             Sofiane Naci  <sofiane.naci@arm.com>
2283             Stephen Thomas  <stephen.thomas@arm.com>
2284             Tejas Belagod  <tejas.belagod@arm.com>
2285             Yufeng Zhang  <yufeng.zhang@arm.com>
2287         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
2288         * config/aarch64/crti.S: New file.
2289         * config/aarch64/crtn.S: New file.
2290         * config/aarch64/linux-unwind.h: New file.
2291         * config/aarch64/sfp-machine.h: New file.
2292         * config/aarch64/sync-cache.c: New file.
2293         * config/aarch64/t-aarch64: New file.
2294         * config/aarch64/t-softfp: New file.
2296 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
2298         * config/mmix/crti.S: Mark program and data addresses using PRELD.
2299         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
2300         no-longer-needed LDBU insns.
2302 2012-10-18  Sebastian Huber <sebastian.huber@embedded-brains.de>
2304         * config.host
2305         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
2306         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
2308 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
2310         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
2312 2012-10-15  Matthias Klose  <doko@ubuntu.com>
2314         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
2316 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
2318         * configure: Regenerate.
2319         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
2321 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
2323         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
2324         instructions for 64bit targets only.
2326 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
2328         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
2329         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
2330         * config/i386/32/sfp-machine.h: ... here.
2331         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
2332         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
2333         New defines.
2335 2012-10-07  Matthias Klose  <doko@ubuntu.com>
2337         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
2338         as unused.
2339         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
2341 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
2343         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
2344         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
2345         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
2346         (ElfW): Likewise.
2348 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
2350         PR other/53889
2351         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
2352         Fix parameter names.
2354 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
2356         PR target/33135
2357         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
2358         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
2359         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
2361 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
2363         PR target/50457
2364         * config/sh/linux-atomic.S: Delete.
2365         * config/sh/linux-atomic.c: New.
2366         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
2367         linux-atomic.c.  Add cflags to disable warnings.
2369 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
2371         PR other/53889
2372         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
2373         function.
2374         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
2375         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
2376         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
2377         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
2378         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
2379         Likewise.
2380         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
2381         Likewise.
2382         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
2383         Likewise.
2384         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
2385         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
2387 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
2389         * config.host (hppa-*-openbsd*): New target.
2390         * config/pa/t-openbsd: New file.
2392 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
2394         PR target/54222
2395         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
2396         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
2397         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
2398         (__divsa3): Use __negsi2 to negate r_quoL.
2399         * config/avr/lib1funcs.S (FALIAS): New macro.
2400         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
2401         (__negsi2): ...this new function.
2402         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
2403         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
2404         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
2405         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
2406         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
2407         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
2409 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
2411         PR target/54089
2412         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
2413         (lshrsi3): Reimplement as lshrsi3_r0.
2415 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
2417         PR target/46191
2418         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
2419         of libgcc.a.
2421 2012-09-07  Teresa Johnson  <tejohnson@google.com>
2423         PR gcov-profile/54487
2424         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
2425         differences.
2427 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
2429         PR target/54461
2430         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
2431         not configured --with-avrlibc=no.
2432         * config/avr/t-avrlibc: New file.
2433         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
2434         (DPBIT_FUNCS): Ditto.
2435         (TPBIT_FUNCS): Ditto.
2437 2012-09-04  Teresa Johnson  <tejohnson@google.com>
2439         * libgcov.c (struct gcov_summary_buffer): New structure.
2440         (gcov_histogram_insert): New function.
2441         (gcov_compute_histogram): Ditto.
2442         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
2443         histograms during summary merging.
2445 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
2447         * config.host (x86_64-*-openbsd*): New target.
2449 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
2451         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
2452         attribute.
2454 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
2456         PR target/54222
2457         * config/avr/t-avr (conv_X): Rename to func_X.
2459 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
2461         PR target/54222
2462         * config/avr/lib1funcs-fixed.S: New file.
2463         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
2464         after they are used.
2465         (neg2, neg4): New macros.
2466         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
2467         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
2468         (__umulhisi3): Speed up MUL variant if there is enough flash.
2469         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
2470         avr-modes.def.
2471         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
2472         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
2473         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
2474         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
2475         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
2476         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
2477         (LIB2FUNCS_EXCLUDE): Add supported functions.
2479 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
2481         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
2482         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
2483         libgcc-s-objects.
2484         * fixed-obj.mk: Only expand dependency if $o is not in
2485         LIB2FUNCS_EXCLUDE.
2487 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
2489         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
2491 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
2493         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
2494         depend on --enable-shared.
2495         ($(lib1asmfuncs-o)): Use %.vis files independent of
2496         --enable-shared.
2497         * static-object.mk ($(base)$(objext), $(base).vis)
2498         ($(base)_s$(objext)): Use same rules for visibility handling as in
2499         shared-object.mk.
2501 2012-08-21  Ian Lance Taylor  <iant@google.com>
2503         * config/i386/morestack.S (__morestack_non_split): Increase amount
2504         of space allocated for non-split code stack.
2506 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
2508         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
2509         even if inhibit_libc.
2511 2012-08-17  Julian Brown  <julian@codesourcery.com>
2513         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
2514         -fexceptions -fnon-call-exceptions if not defined.
2515         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
2516         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
2518 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
2520         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
2521         type.
2523 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
2525         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
2526         rs6000/t-slibgcc-aix.
2528 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
2530         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
2532 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
2534         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
2536 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
2538         PR driver/54171
2539         * Makefile.in (version): Replace top_srcdir with srcdir.
2541 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
2543         * Makefile.in (version): set to BASE-VER file from gcc directory.
2545 2012-08-01  Nick Clifton  <nickc@redhat.com>
2547         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
2548         Implements __clrsb for an HImode argument.
2550 2012-07-31  Nick Clifton  <nickc@redhat.com>
2552         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
2553         Implements __clrsb for an HImode argument.
2554         * config/stormy16/clrsbhi2.c: New file:
2555         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
2557 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
2559         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
2561 2012-07-19  Tristan Gingold  <gingold@adacore.com>
2562             Richard Henderson  <rth@redhat.com>
2564         * unwind-seh.c: New file.
2565         * unwind-generic.h: Include windows.h for SEH.
2566         (_Unwind_Exception): Use 6 private fields for SEH.
2567         (_GCC_specific_handler): Declare.
2568         * unwind-c.c (__gcc_personality_seh0): New function.
2569         Adjust for SEH.
2570         * config/i386/libgcc-cygming.ver: New file.
2571         * config/i386/t-seh-eh: New file.
2572         * config.host (x86_64-*-mingw*): Default to seh.
2574 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
2576         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
2578 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
2580         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
2581         __builtin_expect when checking for exceptions.
2582         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
2584 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
2586         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
2587         function declaration.
2588         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
2589         (FP_RND_MASK): New.
2590         * config/ia64/sfp-exceptions.c: New.
2591         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
2593 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
2595         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
2596         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
2597         * config/i386/64/sfp-machine: ... (delete here) ...
2598         * config/i386/sfp-machine.h: ... to here.
2599         (FP_EX_MASK): Remove.
2600         (FP_RND_MASK): New.
2601         (FP_INIT_ROUNDMODE): Declare asm as volatile.
2603 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
2605         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
2606         * config/i386/libgcc-sol2.ver: Ditto.
2607         * config/i386/libgcc-glibc.ver: Ditto.
2609 2012-06-11  Roland McGrath  <mcgrathr@google.com>
2611         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
2612         If __GLIBC__ is defined, refer to __pthread_key_create instead of
2613         pthread_cancel.
2615 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
2617         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
2618         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
2619         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
2620         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
2621         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
2622         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
2623         * config/i386/64/sfp-machine: ... (delete here) ...
2624         * config/i386/sfp-machine.h: ... to here.
2625         (FP_EX_MASK): New.
2626         (__sfp_handle_exceptions): New function declaration.
2627         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
2628         * config/i386/sfp-exceptions.c: New.
2629         * config/i386/t-softfp: New.
2630         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
2631         i386/t-softfp to tmake_file.
2633 2012-06-03  David S. Miller  <davem@davemloft.net>
2635         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
2636         change.
2638 2012-05-31  David S. Miller  <davem@davemloft.net>
2640         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
2641         multiply and divide instructions on 32-bit when V9.
2642         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
2644 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
2646         * config/arm/ieee754-df.S: Fix typos.
2647         * config/arm/ieee754-sf.S: Fix typos.
2648         * config/c6x/libunwind.S: Fix typos.
2649         * config/epiphany/udivsi3-float.c: Fix typos.
2650         * config/microblaze/muldi3_hard.S: Fix typos.
2651         * config/picochip/adddi3.S: Fix typos.
2652         * config/picochip/ashlsi3.S: Fix typos.
2653         * config/picochip/ashrsi3.S: Fix typos.
2654         * config/picochip/clzsi2.S: Fix typos.
2655         * config/picochip/cmpsi2.S: Fix typos.
2656         * config/picochip/divmod15.S: Fix typos.
2657         * config/picochip/divmodhi4.S: Fix typos.
2658         * config/picochip/divmodsi4.S: Fix typos.
2659         * config/picochip/longjmp.S: Fix typos.
2660         * config/picochip/lshrsi3.S: Fix typos.
2661         * config/picochip/parityhi2.S: Fix typos.
2662         * config/picochip/popcounthi2.S: Fix typos.
2663         * config/picochip/setjmp.S: Fix typos.
2664         * config/picochip/subdi3.S: Fix typos.
2665         * config/picochip/ucmpsi2.S: Fix typos.
2666         * config/picochip/udivmodhi4.S: Fix typos.
2667         * config/picochip/udivmodsi4.S: Fix typos.
2668         * config/spu/divv2df3.c: Fix typos.
2669         * config/spu/mfc_multi_tag_release.c: Fix typos.
2670         * config/spu/mfc_tag_release.c: Fix typos.
2671         * configure.ac: Fix typos.
2672         * configure: Regenerate.
2674 2012-05-25  Ian Lance Taylor  <iant@google.com>
2676         * config/i386/morestack.S (__morestack_non_split): Check whether
2677         caller is varargs and needs %bp to hold the stack frame on return.
2679 2012-05-25  Olivier Hainque  <hainque@adacore.com>
2681         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
2682         sequence in the non pic case on VxWorks.
2684 2012-05-24  Olivier Hainque  <hainque@adacore.com>
2686         * Makefile.in: Move dependency on install-unwind_h from
2687         "install-leaf" to "install".
2689 2012-05-24  Olivier Hainque  <hainque@adacore.com>
2691         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
2692         Use a separate command for stamp removals.
2694 2012-05-21  Andrew Pinski  <apinski@cavium.com>
2696         PR bootstrap/53183
2697         * configure.ac: Define the default includes to being none.
2698         * configure: Regenerate.
2700 2012-05-16  Olivier Hainque  <hainque@adacore.com>
2702         * Makefile.in (install-unwind_h): Rename into ...
2703         (install-unwind_h-forbuild): New target.
2704         (all): Use it instead of the former install-unwind_h.
2705         (install-unwind_h): Reinstate, copy to user install destination
2706         for include files, not to the internal gcc object directory one.
2707         (install-leaf): Depend on it.
2709 2012-05-15  Olivier Hainque  <hainque@adacore.com>
2711         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
2712         register numbers. LR_REGNO replaces R_LR.
2713         (ucontext_for): New, helper for ...
2714         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
2715         and 5.3 of ...
2716         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
2718 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2720         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
2721         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
2722         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
2723         i386/t-cpuinfo ...
2724         (i[34567]86-*-*, x86_64-*-*): ... here.
2726         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
2727         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
2729         * config/i386/i386-cpuinfo.c: Rename to ...
2730         * config/i386/cpuinfo.c: ... this.
2731         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
2733         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
2734         (libgcc_cv_init_priority): New test.
2735         * configure: Regenerate.
2736         * config.in: New file.
2737         * Makefile.in (clean): Rename config.h to auto-target.h.
2738         (config.h): Likewise.
2739         (stamp-h): Likewise.
2741         * config/i386/cpuinfo.c (auto-target.h): Include.
2742         (CONSTRUCTOR_PRIORITY): Define.
2743         (__cpu_indicator_init): Use it.
2745 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
2747         * longlong.h: Use a URL instead of an FSF postal address.
2748         Replace spaces with tab.
2750 2012-05-08  Teresa Johnson  <tejohnson@google.com>
2752         * libgcov.c (gcov_clear, __gcov_reset): New functions.
2753         (__gcov_dump): Ditto.
2754         (gcov_dump_complete): New global variable.
2755         (gcov_exit): Export hidden to enable use in L_gcov_dump.
2756         (__gcov_flush): Outline functionality now in gcov_clear.
2757         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
2759 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
2761         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
2762         (mips*-*-linux*): Include mips/t-tpbit when long double is
2763         16 bytes long.
2765 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
2767         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
2768         (get_available_features): New argument. Check for AVX2.
2769         (__cpu_indicator_init): Modify call to get_available_features.
2771 2012-04-25  Alan Modra  <amodra@gmail.com>
2773         * config/rs6000/crtsavevr.S: New file.
2774         * config/rs6000/crtrestvr.S: New file.
2775         * config/rs6000/t-savresfgpr: Build the above.
2776         * config/rs6000/t-netbsd: Likewise.
2778 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
2780         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
2782 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
2784         * libgcc/config/i386/i386-cpuinfo.c: New file.
2785         * libgcc/config/i386/t-cpuinfo: New file.
2786         * libgcc/config.host: Include t-cpuinfo.
2787         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
2789 2012-04-24  Chao-ying Fu  <fu@mips.com>
2791         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
2793 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
2795         struct siginfo vs. siginfo_t
2797         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
2798         siginfo_t instead of struct siginfo.
2799         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
2800         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
2801         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
2802         (ia64_handle_unwabi): Likewise.
2803         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
2804         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
2805         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
2806         (sh_fallback_frame_state): Likewise.
2807         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
2808         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
2810 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
2812         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
2813         system call number.
2815 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
2817         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
2818         if it hasn't been previously saved.
2820 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
2822         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
2823         only for glibc.
2825 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
2827         PR target/52737
2828         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
2829         instead of __AVR_HAVE_8BIT_SP__.
2831 2012-03-26  Tristan Gingold  <gingold@adacore.com>
2833         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
2834         (unw_table_entry): Use unw_word instead of unsigned long.
2835         (_Unwind_FindTableEntry): Likewise.
2836         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
2837         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
2838         (_Unwind_FindTableEntry): Likewise.
2839         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
2840         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
2841         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
2842         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
2843         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
2844         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
2845         (uw_init_context_1, uw_install_context): Likewise.
2846         (unw_word): Move to unwind-ia64.h
2848 2012-03-26  Tristan Gingold  <gingold@adacore.com>
2850         * config/vms/vms-ucrt0.c: Update copyright years.
2851         Add a sanity check.
2852         (___gcc_main_flags): Declare.
2853         (__main): Check flags to remap argv and exit code.
2854         * config.host (*-*-*vms*): Adjust extra_parts.
2855         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
2856         (crt0.o): Add.
2858 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
2860         * arm/lib1funcs.asm (ctzsi2): New function.
2861         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
2862         * arm/t-linux (LIB1ASMFUNCS): Likewise.
2863         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
2864         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
2865         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
2866         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
2868 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
2870         * config.host: Add bits to support powerpc64-*-freebsd*.
2871         * config/rs6000/freebsd-unwind.h: New file.
2872         * config/rs6000/t-freebsd64: New file.
2874 2012-03-20  Richard Guenther  <rguenther@suse.de>
2876         PR gcov-profile/52627
2877         * libgcov.c (init_mx): Fix mutex name.
2879 2012-03-16  Tristan Gingold  <gingold@adacore.com>
2881         * config/ia64/vms-unwind.h: Remove ulong (and replace
2882         it by unw_reg where used).  Define unw_reg with __int64.
2884 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2886         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2887         Solaris 8 handling.
2888         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
2889         Solaris 8 handling.
2890         (sparc_is_sighandler): Likewise.
2892 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
2894         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
2895         <= saved reg size.
2897 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2899         * config/arm/crtn.S: Fix typo.
2901 2012-03-13  Richard Guenther  <rguenther@suse.de>
2903         * libgcov.c: Remove stdio.h include and NULL un-define.
2905 2012-03-13  Richard Guenther  <rguenther@suse.de>
2907         PR target/52569
2908         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
2910 2012-03-13  Richard Guenther  <rguenther@suse.de>
2912         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
2914 2012-03-13  Richard Guenther  <rguenther@suse.de>
2916         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
2917         and __gthread_mutex_init_function definitions.
2919 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2921         * config.host (mips*-*-openbsd*): Remove.
2923 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2925         * config.host: Remove alpha*-dec-osf5.1* handling.
2926         * config/alpha/gthr-posix.c: Remove.
2927         * config/alpha/libgcc-osf5.ver: Remove.
2928         * config/alpha/osf5-unwind.h: Remove.
2929         * config/alpha/t-osf-pthread: Remove.
2930         * config/alpha/t-slibgcc-osf: Remove.
2931         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
2932         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
2933         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
2934         * mkmap-flat.awk: Remove osf_export handling.
2936 2012-03-12  Richard Guenther  <rguenther@suse.de>
2938         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
2939         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
2940         (__gthread_mutex_init_function): New function.
2941         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
2943         PR gcov/49484
2944         * libgcov.c: Include gthr.h.
2945         (__gcov_flush_mx): New global variable.
2946         (init_mx, init_mx_once): New functions.
2947         (__gcov_flush): Protect self with a mutex.
2948         (__gcov_fork): Re-initialize mutex after forking.
2949         * unwind-dw2-fde.c: Change condition under which to use
2950         __GTHREAD_MUTEX_INIT_FUNCTION.
2952 2012-03-12  Tristan Gingold  <gingold@adacore.com>
2954         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
2955         * config/ia64/t-vms: Likewise.
2957 2012-03-11  Michael Hope  <michael.hope@linaro.org>
2959         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
2960         for Thumb-2.
2962 2012-03-07  Walter Lee  <walt@tilera.com>
2964         * config/tilepro/atomic.c: Rename "atomic_" prefix to
2965         "arch_atomic_".
2966         (atomic_xor): Rename and move definition to
2967         config/tilepro/atomic.h.
2968         (atomic_nand): Ditto.
2969         * config/tilepro/atomic.h: Rename "atomic_" prefix to
2970         "arch_atomic_".
2971         (arch_atomic_xor): Move from config/tilepro/atomic.c.
2972         (arch_atomic_nand): Ditto.
2974 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
2976         PR target/52507
2977         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
2979 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
2981         PR target/52505
2982         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
2983         from RAM.
2985 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
2987         PR target/52461
2988         PR target/52508
2989         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
2990         if RAMPZ affects reading from RAM.
2991         (__tablejump_elpm__): Ditto.
2992         (.xload): Ditto.
2993         (__movmemx_hi): Ditto.
2994         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
2995         (__do_global_dtors): Ditto.
2996         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
2997         (__movmemx_hi): Ditto.
2999 2012-03-05  Richard Henderson  <rth@redhat.com>
3001         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
3002         [ARM] (count_trailing_zeros): Use the builtin.
3004 2012-03-01  Kai Tietz  <ktietz@redhat.com>
3006         * soft-fp: Imported from glibc upstream.
3008 2012-02-28  Kai Tietz  <ktietz@redhat.com>
3010         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
3011         for mingw-targets as attribute gcc_struct.
3013 2012-02-28  Ian Lance Taylor  <iant@google.com>
3015         * generic-morestack.c (__splitstack_releasecontext): Correct call
3016         to __morestack_release_segments.
3018 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3020         PR target/52390
3021         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
3022         for __linux__ when removing signals from __morestack_fullmask.
3024 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
3026         PR target/52261
3027         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
3029 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3031         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
3032         instead of HAVE_INITFINI_ARRAY.
3033         * config/ia64/crtend.S: Likewise.
3035 2012-02-20  Kai Tietz  <ktietz@redhat.com>
3037         PR libstdc++/52300
3038         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
3040         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
3041         to w32-unwind.h header.
3043 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
3045         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
3046         (mips*-*-linux*): Remove t-slibgcc-libgcc.
3047         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
3048         * config/mips/mips16.S (__mips16_rdhwr): Delete.
3050 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
3052         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
3054 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
3056         PR libitm/52220
3057         * config/darwin-crt-tm.c: Correct typo.
3059 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
3060             Patrick Marlier  <patrick.marlier@gmail.com>
3062         PR libitm/52220
3063         * config/darwin-crt-tm.c: Generate dummy functions.
3065 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
3066             Patrick Marlier  <patrick.marlier@gmail.com>
3068         PR libitm/52042
3069         * config/darwin-crt-tm.c (getTMCloneTable): New function.
3070         (__doTMRegistrations): Call it.
3071         (__doTMdeRegistrations): Likewise.
3073 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
3074             Anatoly Sokolov <aesok@post.ru>
3075             Eric Weddington <eric.weddington@atmel.com>
3077         PR target/52261
3078         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
3079         (__epilogue_restores__): Ditto.
3081 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
3083         PR target/51921
3084         PR target/52205
3085         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
3086         Solaris 11 and slightly reformat.
3087         (sparc_is_sighandler): Likewise.
3089 2012-02-14  Walter Lee  <walt@tilera.com>
3091         * config.host: Handle tilegx and tilepro.
3092         * config/tilegx/sfp-machine.h: New file.
3093         * config/tilegx/sfp-machine32.h: New file.
3094         * config/tilegx/sfp-machine64.h: New file.
3095         * config/tilegx/t-crtstuff: New file.
3096         * config/tilegx/t-softfp: New file.
3097         * config/tilegx/t-tilegx: New file.
3098         * config/tilepro/atomic.c: New file.
3099         * config/tilepro/atomic.h: New file.
3100         * config/tilepro/linux-unwind.h: New file.
3101         * config/tilepro/sfp-machine.h: New file.
3102         * config/tilepro/softdivide.c: New file.
3103         * config/tilepro/softmpy.S: New file.
3104         * config/tilepro/t-crtstuff: New file.
3105         * config/tilepro/t-tilepro: New file.
3107 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
3109         PR libstdc++/51296
3110         PR libstdc++/51906
3111         * gthr-posix.h: Allow static initializer macros to be disabled.
3112         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
3114 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
3116         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
3117         Add t-slibgcc-libgcc to tmake_file.
3118         * config/mips/libgcc-mips16.ver: Revert previous patch.
3119         * config/mips/mips16.S (__mips16_rdhwr): Hide.
3121 2012-02-02  Sumanth G <sumanth.gundapaneni@kpitcummins.com>
3122             Jayant R Sonar <jayant.sonar@kpitcummins.com>
3124         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
3125         * config/cr16/crti.S: New file.
3126         * config/cr16/crtlibid.S: New file.
3127         * config/cr16/crtn.S: New file.
3128         * config/cr16/lib1funcs.S: New file.
3129         * config/cr16/t-cr16: New file.
3130         * config/cr16/t-crtlibid: New file.
3131         * config/cr16/unwind-dw2.h: New file.
3132         * config/cr16/unwind-cr16.c: New file.
3133         * config/cr16/divmodhi3.c: New file.
3135 2012-01-25  Alan Modra  <amodra@gmail.com>
3137         * config/rs6000/t-linux64: Delete.  Move..
3138         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
3139         * config/rs6000/t-linux: ..and libgcc flags to here.
3141 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
3143         * config.host (i[34567]86-*-interix3*):
3144         Change triplet to i[34567]86-*-interix[3-9]*.
3145         * configure: Regenerate.
3147 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
3148             Richard Sandiford  <rdsandiford@googlemail.com>
3150         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
3151         * config/mips/mips16.S (__mips16_rdhwr): New function.
3152         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
3154 2012-01-11  Nathan Sidwell  <nathan@acm.org>
3156         * libgcov.c (__gcov_init): Ignore objects with no functions.
3158 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
3160         PR target/49868
3161         Extend __pgmx semantics to linearize memory.
3162         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
3163         * config/avr/lib1funcs.S (__xload_1): New function.
3164         (__movmemx_qi, __movmemx_hi): New functions.
3165         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
3166         semantics.
3168 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
3170         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
3171         purported sigacthandler address isn't null before dereferencing it.
3172         (sparc_is_sighandler): Likewise.
3174 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
3176         PR ada/41929
3177         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
3178         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
3179         (sparc_is_sighandler): Likewise.
3180         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
3182 2012-01-06  Tristan Gingold  <gingold@adacore.com>
3184         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
3185         compatibility thunks...
3186         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
3187         (crtbeginS.o, crtendS.o): ... and these to ...
3188         * config/ia64/t-ia64-elf: ... this new file.
3189         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
3190         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
3192 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3194         * configure: Regenerate.
3195         * config/s390/t-crtstuff: Remove -fPIC.
3197 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
3199         PR bootstrap/51006
3200         * enable-execute-stack-mprotect.c (getpagesize): Do not define
3201         for NetBSD.
3203 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
3205         PR target/51345
3206         * config/avr/lib1funcs.S: Remove FIXME comments.
3207         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
3209 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
3211         Implement light-weight DImode support.
3212         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
3213         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
3214         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
3215         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
3217 2011-12-30  Nathan Sidwell  <nathan@acm.org>
3219         * libgcov.c (gcov_crc32): Remove global var.
3220         (free_fn_data): New function.
3221         (buffer_fn_data): Pass in filename, more robust error recovery.
3222         (crc32_unsigned): New function.
3223         (gcov_exit): More robust detection of new program. More robust
3224         error recovery.
3225         (__gcov_init): Do not update program's crc here.
3227 2011-12-21  Tristan Gingold  <gingold@adacore.com>
3229         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
3231 2011-12-21  Ian Lance Taylor  <iant@google.com>
3233         * config/i386/morestack.S: Simplify CFI opcodes throughout.
3235 2011-12-20  Ian Lance Taylor  <iant@google.com>
3237         * config/i386/morestack.S (__morestack_non_split): If there is
3238         enough stack space already, don't split.  Ask for more stack space
3239         than we required.
3241 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
3243         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
3244         `sys/sdt.h'.
3245         (_Unwind_DebugHook): New function.
3246         (uw_restore_core_regs): New define.
3247         (unwind_phase2): Use uw_restore_core_regs instead of
3248         restore_core_regs.
3249         (unwind_phase2_forced): Likewise.
3250         (__gnu_Unwind_Resume): Likewise.
3252 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
3254         * config/alpha/linux-unwind.h: Update copyright years.
3255         (MD_FROB_UPDATE_CONTEXT): New define.
3256         (alpha_frob_update_context): New function.
3258 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
3260         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
3261         tmake_file rather replacing it.
3263 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
3265         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
3266         function is not used for PPC64.
3267         (save_world): Amend comments.  Update the VRsave mask to reflect the
3268         saved regs.
3269         (rest_world): Update comments, do not  clobber r10, do not use r8.
3270         (eh_rest_world_r10): Amend comments, do not use r8.
3271         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
3272         no longer used, move restore of CR and target address to the end of
3273         the routine.
3275 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
3277         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
3278         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
3280 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
3282         PR target/49313
3283         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
3284         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
3286 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
3288         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
3290 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
3292         PR target/49313
3293         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
3294         * config/avr/lib1funcs.S (__muldi3): New function.
3296 2011-12-06  Andrew Pinski  <apinski@cavium.com>
3298         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
3299         size of func_ptr.
3300         (__frame_dummy_init_array_entry): Likewise.
3302 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
3304         Forward-port from gcc-4_6-branch r181936 2011-12-02.
3306         PR target/51345
3307         PR target/51002
3308         * config/avr/lib1funcs.S (__prologue_saves__,
3309         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
3310         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
3312 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
3314         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
3316 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3318         PR other/51272
3319         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
3320         (_ITM_deregisterTMCloneTable): Likewise.
3321         (__register_frame_info): Fix unused warning.
3322         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
3323         pthread_default_stacksize_np): Likewise.
3324         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
3326 2011-11-29  DJ Delorie  <dj@redhat.com>
3328         * config.host (rl78-*-elf): New case.
3329         * config/rl78: New directory for the Renesas RL78.
3331 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
3333         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
3334         formatting.
3336 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3338         PR other/51022
3339         * config/rs6000/t-savresfgpr: New file.
3340         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
3341         $(srcdir)/config/rs6000/eabi.S.
3342         * config/rs6000/t-ppccomm-ldbl: Remove.
3343         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
3344         tmake_file.
3345         (powerpc-*-eabispe*): Likewise.
3346         (powerpc-*-eabi*): Likewise.
3347         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3348         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
3349         to tmake_file, remove rs6000/t-ppccomm-ldbl.
3350         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
3351         tmake_file.
3352         (powerpc-*-eabisim*): Likewise.
3353         (powerpc-*-elf*): Likewise.
3354         (powerpc-*-eabialtivec*): Likewise.
3355         (powerpc-xilinx-eabi*): Likewise.
3356         (powerpc-*-rtems*): Likewise.
3357         (powerpcle-*-elf*): Likewise.
3358         (powerpcle-*-eabisim*): Likewise.
3359         (powerpcle-*-eabi*): Likewise.
3361 2011-11-27  Ian Lance Taylor  <iant@google.com>
3363         * generic-morestack.c (__splitstack_find): Check for NULL old
3364         stack value.
3365         (__splitstack_resetcontext): New function.
3366         (__splitstack_releasecontext): New function.
3367         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
3369 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
3371         * config/darwin-crt-tm.c: Correct comments, use correct licence.
3373 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
3375         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
3377 2011-11-26  Richard Henderson  <rth@redhat.com>
3379         * config/m68k/linux-atomic.c: New file.
3380         * config/m68k/t-linux: New file.
3381         * config.host (m68k-uclinux, m68k-linux): Use it.
3383 2011-11-26  Richard Henderson  <rth@redhat.com>
3385         * crtstuff.c (__TMC_LIST__): Mark used not unused.
3386         (__TMC_END__): Only declare if hidden is available; in the definition,
3387         if hidden is unavailable add a null record.
3388         (deregister_tm_clones, register_tm_clones): New.
3389         (__do_global_dtors_aux, frame_dummy): Use them.
3390         (__do_global_dtors, __do_global_ctors_1): Likewise.
3392 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
3394         * config/darwin-crt-tm.c: New file.
3395         * config.host (darwin): Build crttms.o crttme.o to provide
3396         startup and shutdown for tm clones.
3397         * config/t-darwin (crttms.o): New build rule.
3398         (crttme.o): Likewise.
3400 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
3402         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
3403         et al.
3405 2011-11-21  Richard Henderson  <rth@redhat.com>
3407         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
3408         (__TMC_LIST__, __TMC_END__): New.
3409         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
3410         (__do_global_dtors): Likewise.
3411         (frame_dummy): Call _ITM_registerTMCloneTable.
3412         (__do_global_ctors_1): Likewise.
3414 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3416         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
3417         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
3418         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
3419         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
3420         * config/i386/t-darwin64: Remove.
3421         * config/sh/t-netbsd (LIB2ADD): Remove.
3423 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
3425         PR target/49313
3426         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
3427         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
3428         * config/avr/lib1funcs.S (wmov): New assembler macro.
3429         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
3430         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
3431         (__udivmod64): New function.
3432         (__negdi2): New function.
3434 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
3436         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
3437         *-*-freebsd*aout*): Remove.
3439 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
3441         * static-object.mk (c_flags-$o): Save c_flags.
3442         ($(base)$(objext)): Use it.
3444 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
3446         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
3448 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
3450         PR target/49868
3451         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
3452         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
3453         New functions.
3455 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
3457         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
3458         functions.
3459         (aeabi_uidivmod): Likewise.
3460         (umodsi3): Likewise.
3461         (divsi3): Likewise.
3462         (aeabi_idivmod): Likewise.
3463         (modsi3): Likewise.
3465 2011-11-16  Tristan Gingold  <gingold@adacore.com>
3467         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
3469 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
3471         PR target/49868
3472         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
3473         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
3475 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3477         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
3478         tmake_file list.
3479         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
3480         * config/pa/t-stublib64: Delete.
3482 2011-11-12  Richard Henderson  <rth@redhat.com>
3484         * config/rs6000/linux-unwind.h (frob_update_context): Properly
3485         cast the pointer argument to _Unwind_SetGRPtr.
3487 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3489         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
3491 2011-11-09  Ian Lance Taylor  <iant@google.com>
3493         * generic-morestack.c: Include <string.h>.
3494         (uintptr_type): Define.
3495         (struct initial_sp): Add dont_block_signals field.  Reduce size of
3496         extra array by 1.
3497         (allocate_segment): Set prev field to NULL.  Don't set
3498         __morestack_current_segment or __morestack_segments.
3499         (__generic_morestack): Update current->prev and *pp after calling
3500         allocate_segment.
3501         (__morestack_block_signals): Don't do anything if
3502         dont_block_signals is set.
3503         (__morestack_unblock_signals): Likewise.
3504         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
3505         uintptr_type.
3506         (__splitstack_block_signals): New function.
3507         (enum __splitstack_content_offsets): Define.
3508         (__splitstack_getcontext, __splitstack_setcontext): New functions.
3509         (__splitstack_makecontext): New function.
3510         (__splitstack_block_signals_context): New function.
3511         (__splitstack_find_context): New function.
3512         * config/i386/morestack.S (__morestack_get_guard): New function.
3513         (__morestack_set_guard, __morestack_make_guard): New functions.
3514         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
3516 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3518         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
3519         (i[34567]86-*-mingw*): ... here.
3520         (x86_64-*-mingw*): ... here.
3522 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3524         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
3526 2011-11-07  Nathan Sidwell  <nathan@acm.org>
3528         * libgcov.c (struct gcov_fn_buffer): New struct.
3529         (buffer_fn_data): New helper.
3530         (gcov_exit): Rework for new gcov data structures.
3532 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
3534         PR target/49313
3535         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
3537 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3539         * config.host (tmake_file): Correct comment.
3540         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
3541         t-libgcc-pic.
3542         (bfin*-uclinux*): Likewise.
3543         (bfin*-linux-uclibc*): Likewise.
3544         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
3546         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
3547         assigning.
3548         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3549         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
3550         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3551         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
3552         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3553         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
3554         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
3555         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3556         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
3557         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
3558         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
3559         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
3560         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
3562         * config/bfin/t-elf: Remove.
3563         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
3565 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3567         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
3568         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
3569         (lm32-*-elf*, lm32-*-rtems*): Split into ...
3570         (lm32-*-elf*): ... this.
3571         (lm32-*-rtems*): ... and this.
3572         Add to tmake_file.
3573         (m32r-*-rtems*): Add to tmake_file.
3574         (moxie-*-rtems*): Likewise.
3575         (sparc-*-rtems*): Likewise.
3576         Remove t-rtems from tmake_file.
3577         (sparc64-*-rtems*): Likewise.
3578         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
3579         instead.
3581 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3583         PR bootstrap/50982
3584         * config/gthr-posix.h: Move ...
3585         * gthr-posix.h: ... here.
3586         * config/gthr-lynx.h: Reflect this.
3587         * config/gthr-vxworks.h: Likewise.
3588         * config/rs6000/gthr-aix.h: Likewise.
3589         * configure.ac (target_thread_file): Likewise.
3590         * configure: Regenerate.
3592 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3594         * config.host (arm*-*-rtemseabi*): New target.
3596 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3598         PR other/50991
3599         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
3600         extra-parts.
3602 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
3604         * config.host (epiphany-*-elf*): New configuration.
3605         * config/epiphany: New Directory.
3607 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
3609         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
3610         * config/avr/t-rtems: New.
3611         Filter out _exit from LIB1ASMFUNCS.
3613 2011-11-04  David S. Miller  <davem@davemloft.net>
3615         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
3616         * configure: Rebuild.
3618 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3620         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
3621         variable.
3623 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
3625         PR target/50931
3626         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
3627         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
3629 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
3631         PR target/50989
3632         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
3634 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3636         * config/c6x/t-elf (LIB2ADDEH): Set.
3637         * config/c6x/t-c6x-elf: Remove.
3639 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3641         * config/i386/sol2-ci.S: Rename to ...
3642         * config/i386/crti.S: ... this.
3643         * config/i386/sol2-cn.S: Rename to ...
3644         * config/i386/crtn.S: ... this.
3645         * config/sparc/sol2-ci.S: Rename to ...
3646         * config/sparc/crti.S: ... this.
3647         * config/sparc/sol2-cn.S: Rename to ...
3648         * config/sparc/crtn.S: ... this.
3649         * config/t-sol2 (CUSTOM_CRTIN): Remove.
3650         (crti.o, crtn.o): Remove.
3652 2011-11-04  Tristan Gingold  <gingold@adacore.com>
3654         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
3656 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
3658         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
3660 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
3662         * config.host (crisv32-*-none, cris-*-none): Remove.
3663         (crisv32-*-elf): Append to tmake_file, don't just set it.
3664         (cris-*-elf): Add missing t-fdpbit to tmake_file.
3666 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3668         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
3669         (ecrtn$(objext)): Likewise.
3670         (ncrti$(objext)): Likewise.
3671         (ncrtn$(objext)): Likewise.
3673 2011-11-03  Andreas Schwab  <schwab@redhat.com>
3675         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
3677 2011-11-02  David S. Miller  <davem@davemloft.net>
3679         * configure.ac: Set host_address on sparc too.
3680         * configure: Regenerate.
3681         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
3682         based upon host_address.
3683         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
3685 2011-11-02  Jason Merrill  <jason@redhat.com>
3687         * config/rs6000/t-ppccomm: Add missing \.
3689 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3691         * gthr-single.h, gthr.h: New files.
3692         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
3693         config/gthr-vxworks.h, config/i386/gthr-win32.h,
3694         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
3695         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
3696         * config/i386/gthr-win32.c: Include "gthr-win32.h".
3697         * configure.ac (thread_header): New variable.
3698         Set it depending on target_thread_file.
3699         (gthr-default.h): Link from $thread_header.
3700         * configure: Regenerate.
3701         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
3703 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3705         * configure.ac (tm_file_): New variable.
3706         Determine from tm_file.
3707         (tm_file, tm_defines): Substitute.
3708         * configure: Regenerate.
3709         * mkheader.sh: New file.
3710         * Makefile.in (clean): Remove libgcc_tm.h.
3711         ($(objects)): Depend on libgcc_tm.h.
3712         (libgcc_tm_defines, libgcc_tm_file): New variables.
3713         (libgcc_tm.h, libgcc_tm.stamp): New targets.
3714         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
3715         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
3716         ($(extra-parts)): Depend on libgcc_tm.h.
3717         * config.host (tm_defines, tm_file): New variable.
3718         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
3719         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
3720         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
3721         (avr-*-rtems*): Likewise.
3722         (avr-*-*): Likewise.
3723         (frv-*-elf): Likewise.
3724         (frv-*-*linux*): Likewise.
3725         (h8300-*-rtems*): Likewise.
3726         (h8300-*-elf*): Likewise.
3727         (i[34567]86-*-darwin*): Likewise.
3728         (x86_64-*-darwin*): Likewise.
3729         (rx-*-elf): Likewise.
3730         (tic6x-*-uclinux): Likewise.
3731         (tic6x-*-elf): Likewise.
3732         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
3733         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
3734         * config/i386/cygming-crtbegin.c: Likewise.
3735         * config/i386/cygming-crtend.c: Likewise.
3736         * config/ia64/fde-vms.c: Likewise.
3737         * config/ia64/unwind-ia64.c: Likewise.
3738         * config/libbid/bid_gcc_intrinsics.h: Likewise.
3739         * config/rs6000/darwin-fallback.c: Likewise.
3740         * config/stormy16/lib2funcs.c: Likewise.
3741         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
3742         * crtstuff.c: Likewise.
3743         * dfp-bit.h: Likewise.
3744         * emutls.c: Likewise.
3745         * fixed-bit.c: Likewise.
3746         * fp-bit.c: Likewise.
3747         * generic-morestack-thread.c: Likewise.
3748         * generic-morestack.c: Likewise.
3749         * libgcc2.c: Likewise.
3750         * libgcov.c: Likewise.
3751         * unwind-dw2-fde-dip.c: Likewise.
3752         * unwind-dw2-fde.c: Likewise.
3753         * unwind-dw2.c: Likewise.
3754         * unwind-sjlj.c: Likewise.
3756 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3758         * configure.ac: Include ../config/picflag.m4.
3759         (GCC_PICFLAG): Call it.
3760         Substitute.
3761         * configure: Regenerate.
3762         * Makefile.in (gcc_srcdir): Remove.
3763         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
3764         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
3765         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
3766         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
3767         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
3768         Use $<.
3769         Remove comment.
3770         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
3771         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
3772         to refer to libgcc2.c.
3773         Use $<.
3774         * config/darwin-64.c: New file.
3775         * config/darwin-crt3.c: Remove comment.
3776         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
3777         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
3778         config/udivmodsi4.c: New files.
3779         * config/memcmp.c, config/memcpy.c, config/memmove.c,
3780         config/memset.c: New files.
3781         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
3782         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
3783         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
3784         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
3785         * config/t-openbsd-thread: New file.
3786         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
3787         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
3788         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
3789         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
3790         qrnnd.S.
3791         Adapt filename.
3792         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
3793         to refer to gthr-posix.c.
3794         * config/alpha/t-vms (LIB2ADD): Set.
3795         * config/alpha/vms-gcc_shell_handler.c: New file.
3796         * config/arm/bpabi.c, config/arm/fp16.c,
3797         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
3798         config/arm/unaligned-funcs.c: New files.
3799         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
3800         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
3801         * config/arm/t-linux: Likewise.
3802         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
3803         * config/arm/t-netbsd: New file.
3804         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
3805         * config/arm/t-symbian (LIB2ADD_ST): Set.
3806         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
3807         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3808         * config/bfin/t-elf: New file.
3809         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
3810         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
3811         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
3812         config/c6x/ltf.c: New files.
3813         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
3814         (HOST_LIBGCC2_CFLAGS): Set.
3815         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
3816         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3817         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
3818         New files.
3819         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
3820         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
3821         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
3822         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
3823         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
3824         files.
3825         * config/frv/t-frv (LIB2ADD): Set.
3826         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3827         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
3828         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
3829         config/h8300/popcounthi2.c: New files.
3830         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
3831         * config/i386/gthr-win32.c: New file.
3832         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
3833         * config/i386/t-cygwin: Likewise.
3834         * config/i386/t-darwin, config/i386/t-darwin64,
3835         config/i386/t-gthr-win32, config/i386/t-interix: New files.
3836         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
3837         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3838         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3839         * config/ia64/quadlib.c: New file.
3840         * config/ia64/t-hpux (LIB2ADD): Set.
3841         * config/ia64/t-ia64: Add comment.
3842         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
3843         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3844         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
3845         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
3846         * config/m32c/t-m32c (LIB2ADD): Set.
3847         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
3848         * config/m32r/t-m32r: Likewise.
3849         * config/m68k/fpgnulib.c: New file.
3850         * config/m68k/t-floatlib (LIB2ADD): Set.
3851         (xfgnulib.c): New target.
3852         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
3853         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
3854         * config/mep/t-mep (LIB2ADD): Set.
3855         * config/microblaze/divsi3.asm: Rename to divsi3.S.
3856         * config/microblaze/moddi3.asm: Rename to moddi3.S.
3857         * config/microblaze/modsi3.asm: Rename to modsi3.S.
3858         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
3859         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
3860         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
3861         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
3862         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
3863         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
3864         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
3865         New files.
3866         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
3867         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
3868         * config/pa/fptr.c, config/pa/lib2funcs.S,
3869         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
3870         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
3871         (LIB2ADD, LIB2ADD_ST): Set.
3872         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
3873         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
3874         Set.
3875         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
3876         * config/pdp11/t-pdp11: New file.
3877         * config/picochip/libgccExtras/adddi3.S,
3878         config/picochip/libgccExtras/ashlsi3.S,
3879         config/picochip/libgccExtras/ashrsi3.S,
3880         config/picochip/libgccExtras/clzsi2.S,
3881         config/picochip/libgccExtras/cmpsi2.S,
3882         config/picochip/libgccExtras/divmod15.S,
3883         config/picochip/libgccExtras/divmodhi4.S,
3884         config/picochip/libgccExtras/divmodsi4.S,
3885         config/picochip/libgccExtras/lshrsi3.S,
3886         config/picochip/libgccExtras/parityhi2.S,
3887         config/picochip/libgccExtras/popcounthi2.S,
3888         config/picochip/libgccExtras/subdi3.S,
3889         config/picochip/libgccExtras/ucmpsi2.S,
3890         config/picochip/libgccExtras/udivmodhi4.S,
3891         config/picochip/libgccExtras/udivmodsi4.S: New files.
3892         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
3893         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
3894         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
3895         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
3896         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
3897         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
3898         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
3899         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
3900         files.
3901         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
3902         (HOST_LIBGCC2_CFLAGS): Set.
3903         * config/rs6000/t-darwin64: New file.
3904         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
3905         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
3906         * config/rs6000/t-ppccomm (LIB2ADD): Add
3907         $(srcdir)/config/rs6000/tramp.S.
3908         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
3909         Add  $(srcdir)/config/rs6000/eabi.S.
3910         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
3911         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
3912         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
3913         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
3914         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
3915         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
3916         * config/rs6000/tramp.S: New file.
3917         * config/s390/t-tpf: Remove.
3918         * config/sh/linux-atomic.S: New file.
3919         * config/sh/t-linux (LIB2ADD): Set.
3920         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
3921         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
3922         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
3923         to unwind-dw2.c.
3924         (HOST_LIBGCC2_CFLAGS): Set.
3925         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3926         * config/spu/divmodti4.c, config/spu/divv2df3.c,
3927         config/spu/float_disf.c, config/spu/float_unsdidf.c,
3928         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
3929         config/spu/mfc_multi_tag_release.c,
3930         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
3931         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
3932         config/spu/multi3.c: New files.
3933         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
3934         (HOST_LIBGCC2_CFLAGS): Set.
3935         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
3936         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
3937         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
3938         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
3939         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
3940         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
3941         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
3942         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
3943         config/stormy16/umodsi3.c: New files.
3944         * config/xtensa/lib2funcs.S: New file.
3945         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
3946         * config/xtensa/t-xtensa (LIB2ADD): Set.
3947         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
3948         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
3949         Add t-freebsd-thread to tmake_file for posix threads.
3950         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
3951         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
3952         (*-*-lynxos*): Likewise.
3953         (*-*-netbsd*): Likewise.
3954         (*-*-openbsd*): Likewise.
3955         Add t-openbsd-thread to tmake_file for posix threads.
3956         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
3957         (*-*-vxworks*): Set tmake_file.
3958         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
3959         (alpha*-*-freebsd*): Likewise.
3960         (alpha*-*-netbsd*): Likewise.
3961         (alpha*-*-openbsd*): Likewise.
3962         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
3963         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
3964         (alpha*-dec-*vms*): Likewise.
3965         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
3966         (bfin*-elf*): Add bfin/t-elf to tmake_file.
3967         (bfin*-uclinux*): Likewise.
3968         (bfin*-linux-uclibc*): Likewise.
3969         (crisv32-*-elf): Add cris/t-cris to tmake_file.
3970         (crisv32-*-none): Likewise.
3971         (cris-*-elf): Likewise.
3972         (cris-*-none): Likewise.
3973         (cris-*-linux*, crisv32-*-linux*): Likewise.
3974         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
3975         tmake_file.
3976         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
3977         tmake_file.
3978         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
3979         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
3980         (x86_64-*-elf*): Likewise.
3981         (i[34567]86-*-nto-qnx*): Likewise.
3982         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
3983         win32 threads.
3984         (x86_64-*-mingw*): Likewise.
3985         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
3986         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
3987         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
3988         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
3989         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
3990         tmake_file.
3991         (mipsisa64sr71k-*-elf*): Likewise.
3992         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
3993         (mips-*-elf*, mipsel-*-elf*): Likewise.
3994         (mips64-*-elf*, mips64el-*-elf*): Likewise.
3995         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
3996         (mips*-*-rtems*): Likewise.
3997         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
3998         to tmake_file.
3999         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
4000         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
4001         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
4002         (spu-*-elf*): Likewise.
4003         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
4005 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4007         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
4008         $(srcdir) to refer to $(LIB1ASMSRC).
4009         Use $<.
4010         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
4011         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
4012         config/arm/lib1funcs.S: New files.
4013         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
4014         * config/arm/t-arm: New file.
4015         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
4016         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
4017         config/arm/t-strongarm-elf: New files.
4018         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
4019         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
4020         * config/avr/lib1funcs.S: New file.
4021         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4022         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
4023         * config/c6x/lib1funcs.S: New file.
4024         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4025         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
4026         * config/frv/lib1funcs.S: New file.
4027         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4028         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
4029         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
4030         * config/ia64/__divxf3.asm: Rename to ...
4031         * config/ia64/__divxf3.S: ... this.
4032         Adapt lib1funcs.asm filename.
4033         * config/ia64/_fixtfdi.asm: Rename to ...
4034         * config/ia64/_fixtfdi.S: ... this.
4035         Adapt lib1funcs.asm filename.
4036         * config/ia64/_fixunstfdi.asm: Rename to ...
4037         * config/ia64/_fixunstfdi.S: ... this.
4038         Adapt lib1funcs.asm filename.
4039         * config/ia64/_floatditf.asm: Rename to ...
4040         * config/ia64/_floatditf.S: ... this.
4041         Adapt lib1funcs.asm filename.
4042         * config/ia64/lib1funcs.S: New file.
4043         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
4044         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4045         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
4046         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
4047         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
4048         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
4049         * config/mep/lib1funcs.S: New file.
4050         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4051         * config/mips/mips16.S: New file.
4052         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4053         * config/pa/milli64.S: New file.
4054         * config/pa/t-linux, config/pa/t-linux64: New files.
4055         * config/picochip/lib1funcs.S: New file.
4056         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4057         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
4058         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
4059         * config/sh/t-netbsd: New file.
4060         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
4061         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
4062         * config/sh/t-sh64: New file.
4063         * config/sparc/lb1spc.S: New file.
4064         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
4065         filename.
4066         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
4067         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
4068         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
4069         config/xtensa/lib1funcs.S: New files.
4070         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4071         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
4072         tmake_file.
4073         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
4074         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
4075         (arm*-*-linux*): Likewise.
4076         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
4077         arm*-*-linux-*eabi, add arm/t-linux otherwise.
4078         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
4079         (arm*-*-ecos-elf): Likewise.
4080         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
4081         (arm*-*-rtems*): Likewise.
4082         (arm*-*-elf): Likewise.
4083         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
4084         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
4085         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
4086         (bfin*-uclinux*): Likewise.
4087         (bfin*-linux-uclibc*): Likewise.
4088         (bfin*-rtems*): Likewise.
4089         (bfin*-*): Likewise.
4090         (fido-*-elf): Merge into m68k-*-elf*.
4091         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
4092         (frv-*-*linux*): Add frv/t-frv to tmake_file.
4093         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
4094         (h8300-*-elf*): Likewise.
4095         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
4096         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
4097         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
4098         (i[34567]86-*-mingw*): Likewise.
4099         (x86_64-*-mingw*): Likewise.
4100         (i[34567]86-*-interix3*): Likewise.
4101         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
4102         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
4103         (m68k-*-elf*): Also handle fido-*-elf.
4104         Add m68k/t-floatlib to tmake_file.
4105         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
4106         (m68k-*-linux*): Likewise.
4107         (m68k-*-rtems*): Likewise.
4108         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
4109         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
4110         sh64*-*-*.
4111         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
4112         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
4113         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
4114         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
4115         sh/t-netbsd to tmake_file.
4116         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
4117         (sh-*-rtems*): Add sh/t-sh to tmake_file.
4118         (sh-wrs-vxworks): Likewise.
4119         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
4120         *-leon[3-9]*.
4121         (v850*-*-*): Add v850/t-v850 to tmake_file.
4122         (vax-*-linux*): Add vax/t-linux to tmake_file.
4123         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
4125 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4127         * crtstuff.c: New file.
4128         * Makefile.in (CRTSTUFF_CFLAGS): Define.
4129         (CRTSTUFF_T_CFLAGS): Define.
4130         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
4131         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
4132         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
4133         crtstuff.c.
4134         Use $<.
4135         (crtbeginT.o): Use $(objext).
4136         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
4137         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
4138         (gcc-extra-parts): Remove.
4139         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
4140         Set extra_parts.
4141         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4142         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
4143         Add t-crtstuff-pic to tmake_file.
4144         (*-*-lynxos*): New case.
4145         Set tmake_file, extra_parts.
4146         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
4147         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
4148         *-*-netbsdelf[2-9]*.
4149         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
4150         (*-*-rtems*): Set extra_parts.
4151         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
4152         (*-*-uclinux*): New case.
4153         Set extra_parts.
4154         (*-*-vms*): New case.
4155         Set tmake_file, extra_parts.
4156         (*-*-elf): Set extra_parts.
4157         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
4158         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
4159         vms/t-vms64.
4160         Set extra_parts.
4161         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
4162         Set extra_parts.
4163         (arm*-*-freebsd*): Add t-crtin to tmake_file.
4164         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
4165         (arm-wrs-vxworks): Append to tmake_file.
4166         Set extra_parts.
4167         (arm*-*-uclinux*): Set extra_parts.
4168         (arm*-*-ecos-elf): Likewise.
4169         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
4170         arm*-*-eabi*.
4171         (arm*-*-rtems*): Set extra_parts.
4172         (arm*-*-elf): Likewise.
4173         (avr-*-rtems*): Clear extra_parts.
4174         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
4175         Set extra_parts.
4176         (bfin*-uclinux*): Likewise.
4177         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
4178         (bfin*-rtems*): Append to tmake_file.
4179         Set extra_parts.
4180         (bfin*-*): Likewise.
4181         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
4182         (crisv32-*-elf): ... this.
4183         (crisv32-*-none): ... this.
4184         (cris-*-elf, cris-*-none): New cases.
4185         Add cris/t-elfmulti to tmake_file.
4186         (fr30-*-elf): Append to tmake_file.
4187         Set extra_parts.
4188         (frv-*-elf): Append to tmake_file, add frv/t-frv.
4189         Set extra_parts.
4190         (h8300-*-rtems*): Append to tmake_file.
4191         Set extra_parts.
4192         (h8300-*-elf*): Likewise.
4193         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
4194         Set extra_parts.
4195         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
4196         Set extra_parts.
4197         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
4198         (x86_64-*-elf*): Likewise.
4199         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
4200         (x86_64-*-freebsd*): Likewise.
4201         (x86_64-*-netbsd*): Likewise.
4202         (i[34567]86-*-linux*): Likewise.
4203         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
4204         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
4205         (x86_64-*-linux*): Likewise.
4206         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
4207         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
4208         tmake_file.
4209         Set extra_parts.
4210         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
4211         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
4212         Append to extra_parts, remove crtbegin.o, crtend.o.
4213         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
4214         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
4215         crtend.o, crtbeginS.o, crtendS.o.
4216         (ia64*-*-linux*): Comment extra_parts.
4217         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
4218         Set extra_parts.
4219         (iq2000*-*-elf*): Clear extra_parts.
4220         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
4221         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
4222         (m32r-*-elf*, m32r-*-rtems*): Split off ...
4223         (m32r-*-rtems*): ... this.
4224         Add m32r/t-m32r to tmake_file.
4225         (m68k-*-elf*): Add t-crtin to tmake_file.
4226         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
4227         (mcore-*-elf): Likewise.
4228         (microblaze*-*-*): Set extra_parts.
4229         (mips*-sde-elf*): New case.
4230         Set tmake_file, extra_parts.
4231         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
4232         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
4233         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
4234         tmake_file.
4235         Set extra_parts.
4236         (mipsisa64sr71k-*-elf*): Likewise.
4237         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
4238         (mips-*-elf*, mipsel-*-elf*): Likewise.
4239         (mips64-*-elf*, mips64el-*-elf*): Likewise.
4240         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
4241         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
4242         (mips*-*-rtems*): Likewise.
4243         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
4244         (moxie-*-*): Split into ...
4245         (moxie-*-elf, moxie-*-uclinux*): ... this.
4246         Add to extra_parts, remove crtbegin.o, crtend.o.
4247         (moxie-*-rtems*): New case.
4248         Set tmake_file.
4249         Clear extra_parts.
4250         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
4251         Set extra_parts.
4252         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
4253         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
4254         tmake_file.
4255         Set extra_parts.
4256         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
4257         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
4258         Set extra_parts.
4259         (powerpc-*-eabisim*): Likewise.
4260         (powerpc-*-elf*): Likewise.
4261         (powerpc-*-eabialtivec*): Likewise.
4262         (powerpc-xilinx-eabi*): Likewise.
4263         (powerpc-*-eabi*): Likewise.
4264         (powerpc-*-rtems*): Likewise.
4265         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
4266         tmake_file.
4267         Set extra_parts.
4268         (powerpc-*-lynxos*): Add to tmake_file.
4269         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
4270         rs6000/t-crtstuff, t-crtstuff-pic.
4271         Set extra_parts.
4272         (powerpcle-*-eabisim*): Likewise.
4273         (powerpcle-*-eabi*): Likewise.
4274         (rx-*-elf): Remove extra_parts.
4275         (s390x-ibm-tpf*): Set extra_parts.
4276         (score-*-elf): Set extra_parts.
4277         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
4278         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
4279         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
4280         (sh64l*-*-netbsd*): Split into ...
4281         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
4282         Add t-crtstuff-pic to tmake_file.
4283         Set extra_parts.
4284         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
4285         Set extra_parts.
4286         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
4287         (sparc-*-elf*): Remove t-crtin from tmake_file.
4288         Add to extra_parts, remove crtbegin.o, crtend.o.
4289         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
4290         (sparc64-*-linux*): Likewise.
4291         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
4292         Add to extra_parts, remove crtbegin.o, crtend.o.
4293         (sparc64-*-elf*): Remove t-crtin from tmake_file.
4294         Add to extra_parts, remove crtbegin.o, crtend.o.
4295         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
4296         Add to extra_parts, remove crtbegin.o, crtend.o.
4297         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
4298         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
4299         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
4300         Set extra_parts.
4301         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
4302         Set extra_parts.
4303         (tic6x-*-*): Change to ...
4304         (tic6x-*-elf): ... this.
4305         Set extra_parts.
4306         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
4307         Set extra_parts.
4308         (am33_2.0-*-linux*): Add comment.
4309         (mep*-*-*): Add mep/t-mep to tmake_file.
4310         Set extra_parts.
4311         * config/alpha/t-vms: New file.
4312         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
4313         * config/arm/crti.S, config/arm/crtn.S: New files.
4314         * config/bfin/crti.S, config/bfin/crtn.S: New files.
4315         * config/bfin/crtlibid.S: New file.
4316         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
4317         * config/c6x/crti.S, config/c6x/crtn.S: New files.
4318         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
4319         (crti.o, crtin.o): New rules.
4320         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
4321         * config/c6x/t-uclinux: New file.
4322         * config/cris/t-elfmulti: New file.
4323         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
4324         * config/fr30/crti.S, config/fr30/crtn.S: New files.
4325         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
4326         * config/frv/t-frv: New file.
4327         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
4328         * config/h8300/crti.S, config/h8300/crtn.S: New files.
4329         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
4330         New files.
4331         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
4332         refer to cygming-crtbegin.c, cygming-crtend.c.
4333         Use $<.
4334         * config/i386/t-nto: New file.
4335         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
4336         * config/ia64/crti.S, config/ia64/crtn.S: New files.
4337         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
4338         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
4339         Use .S extension.
4340         Use $<.
4341         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
4342         (crtinitS.o): New rule.
4343         * config/ia64/vms-crtinit.S: New file.
4344         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
4345         * config/m32r/initfini.c: New file.
4346         * config/m32r/t-linux, config/m32r/t-m32r: New files.
4347         * config/m68k/crti.S, config/m68k/crtn.S: New files.
4348         * config/mcore/crti.S, config/mcore/crtn.S: New files.
4349         * config/mep/t-mep: New file.
4350         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
4351         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
4352         * config/mips/crti.S, config/mips/crtn.S: New files.
4353         * config/mips/t-crtstuff: New file.
4354         * config/mmix/crti.S, config/mmix/crtn.S: New files.
4355         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
4356         (CUSTOM_CRTIN): Set.
4357         ($(T)crti.o, $(T)crtn.o): Remove $(T),
4358         dependencies.
4359         Use $(srcdir) to refer to crti.S, crtn.S.
4360         Use .S extension, $<.
4361         * config/moxie/crti.asm: Rename to ...
4362         * config/moxie/crti.S: ... this.
4363         * config/moxie/crtn.asm: Rename to ...
4364         * config/moxie/crtn.S: ... this.
4365         * config/moxie/t-moxie: Remove.
4366         * config/pa/stublib.c: New file.
4367         * config/pa/t-stublib, config/pa/t-stublib64: New files.
4368         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
4369         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
4370         * config/rs6000/t-crtstuff: New file.
4371         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
4372         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
4373         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
4374         Make output file explicit.
4375         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
4376         Make output file explicit.
4377         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
4378         Make output file explicit.
4379         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
4380         Make output file explicit.
4381         * config/score/crti.S, config/score/crtn.S: New files.
4382         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
4383         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
4384         files.
4385         * config/sh/t-sh, config/sh/t-superh: New files.
4386         * config/sparc/t-linux64: New file.
4387         * config/spu/cache.S, config/spu/cachemgr.c: New files.
4388         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
4389         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
4390         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
4391         * config/t-crtin: Remove.
4392         * config/t-crtstuff-pic: New file.
4393         * config/t-sol2 (CUSTOM_CRTIN): Set.
4394         (crti.o, crtn.o): New rules.
4395         * config/vms/t-vms: New file.
4396         * config/vms/vms-ucrt0.c: New file.
4397         * config/xtensa/t-elf: New file.
4399 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4401         * Makefile.in (SHLIB_NM_FLAGS): Set.
4402         * mkmap-flat.awk, mkmap-symver.awk: New files.
4403         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
4404         exceptions.
4405         * configure: Regenerate.
4406         * config/libgcc-glibc.ver: New file.
4407         * config/libgcc-libsystem.ver: New file.
4408         * config/t-libunwind (SHLIB_LC): Set.
4409         * config/t-linux: New file.
4410         * config/t-slibgcc (INSTALL_SHLIB): New.
4411         (SHLIB_INSTALL): Use it.
4412         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
4413         to mkmap-symver.awk.
4414         (SHLIB_MAPFILES): Don't append, adapt pathname.
4415         (SHLIB_VERPFX): Set.
4416         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
4417         to mkmap-symver.awk.
4418         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
4419         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
4420         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
4421         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
4422         to mkmap-flat.awk.
4423         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
4424         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
4425         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
4426         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
4427         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
4428         * config/i386/libgcc-darwin.10.4.ver,
4429         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
4430         New files.
4431         * config/i386/t-darwin: Remove.
4432         * config/i386/t-darwin64: Likewise.
4433         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
4434         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
4435         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
4436         * config/i386/t-linux: New file.
4437         * config/i386/t-mingw32: New file.
4438         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
4439         * config/ia64/t-glibc: Rename to ...
4440         * config/ia64/t-linux: ... this.
4441         (SHLIB_MAPFILES): Set.
4442         * config/ia64/t-glibc-libunwind: Rename to ...
4443         * config/ia64/t-linux-libunwind: ... this.
4444         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
4445         * config/ia64/t-slibgcc-hpux: New file.
4446         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
4447         * config/m68k/t-slibgcc-elf-ver: New file.
4448         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
4449         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
4450         to mkmap-flat.awk.
4451         * config/pa/t-slibgcc-hpux: New file.
4452         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
4453         files.
4454         * config/rs6000/libgcc-darwin.10.4.ver,
4455         config/rs6000/libgcc-darwin.10.5.ver: New files.
4456         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
4457         config/rs6000/libgcc-glibc.ver.
4458         * config/rs6000/libgcc-ppc64.ver: Rename to
4459         config/rs6000/libgcc-ibm-ldouble.ver.
4460         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
4461         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
4462         * config/rs6000/t-ldbl128: Rename to ...
4463         * config/rs6000/t-linux: ... this.
4464         (SHLIB_MAPFILES): Adapt filename.
4465         * config/rs6000/t-slibgcc-aix: New file.
4466         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
4467         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
4468         libgcc-excl.ver, libgcc-glibc.ver.
4469         (SHLIB_LINK, SHLIB_INSTALL): Remove.
4470         * config/sparc/libgcc-glibc.ver: New file.
4471         * config/sparc/t-linux: New file.
4472         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
4473         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
4474         t-slibgcc-elf-ver to tmake_file.
4475         Add t-slibgcc-nolc-override to tmake_file for posix threads on
4476         *-*-freebsd[34].
4477         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4478         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
4479         t-slibgcc-elf-ver, t-linux to tmake_file.
4480         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
4481         tmake_file.
4482         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
4483         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
4484         (alpha*-dec-*vms*): Likewise.
4485         (arm*-*-freebsd*): Append to tmake_file.
4486         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
4487         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
4488         arm*-*-linux-*eabi.
4489         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
4490         tmake_file for arm*-*-symbianelf*.
4491         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
4492         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
4493         cris/t-linux.
4494         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
4495         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
4496         pa/t-slibgcc-dwarf-ver to tmake_file.
4497         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
4498         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
4499         (hppa*64*-*-hpux11*): Likewise.
4500         (hppa[12]*-*-hpux11*): Likewise.
4501         (x86_64-*-darwin*): Don't override tmake_file, but only keep
4502         i386/t-crtpc, i386/t-crtfm.
4503         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
4504         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
4505         to tmake_file.
4506         Add i386/t-cygwin to tmake_file.
4507         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
4508         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
4509         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
4510         to tmake_file.
4511         Add i386/t-mingw32 to tmake_file.
4512         (x86_64-*-mingw*): Likewise.
4513         (ia64*-*-freebsd*): Append to tmake_file.
4514         (ia64*-*-linux*): Append to tmake_file.
4515         Replace ia64/t-glibc by ia64/t-linux.
4516         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
4517         system libunwind.
4518         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
4519         t-slibgcc-hpux to tmake_file.
4520         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
4521         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
4522         (m32rle-*-linux*): Likewise.
4523         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
4524         sjlj exceptions.
4525         (microblaze*-linux*): New case.
4526         Append to tmake_file, add t-slibgcc-nolc-override.
4527         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
4528         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
4529         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
4530         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
4531         rs6000/t-slibgcc-aix to tmake_file.
4532         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4533         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4534         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
4535         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
4536         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
4537         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
4538         sh*-*-linux*.
4539         (sparc-*-linux*): Append to tmake_file for *-leon*.
4540         Add sparc/t-linux to tmake_file for non-Leon targets.
4541         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
4542         (tic6x-*-uclinux): New case.
4543         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
4544         (tic6x-*-*): Add c6x/t-elf to tmake_file.
4545         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
4546         (am33_2.0-*-linux*): Append to tmake_file.
4547         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4548         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
4549         x86_64-*-kfreebsd*-gnu.
4550         Add i386/t-linux to tmake_file.
4552 2011-10-28  Ian Lance Taylor  <iant@google.com>
4554         * config/i386/morestack.S: Correct CFI information to do proper
4555         returns throughout function.  In 32-bit mode, save %ebx so that it
4556         is restored on unwind.
4558 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
4560         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
4561         case where B3 isn't the return register.
4563         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
4564         logic for doubleword pops.
4566 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
4568         * config/rs6000/t-freebsd: Add wildcard.
4570 2011-10-21  Paul Brook  <paul@codesourcery.com>
4572         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
4574 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
4575             Eric Botcazou  <ebotcazou@adacore.com>
4577         PR target/50737
4578         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
4579         fs->signal_frame to 1.
4581 2011-10-07  Ian Lance Taylor  <iant@google.com>
4583         * generic-morestack-thread.c: #include <errno.h>.
4585 2011-10-07  Ian Lance Taylor  <iant@google.com>
4587         PR target/46093
4588         * generic-morestack.c (__generic_morestack): Make sure the segment
4589         is large enough for both the stack frame and the copied
4590         parameters.
4592 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4594         PR bootstrap/49804
4595         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
4596         extra_parts.
4598 2011-09-28  Nick Clifton  <nickc@redhat.com>
4600         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
4601         64-bit doubles are not enabled.
4602         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
4603         and floatunsisf functions.
4605 2011-09-13  Paul Brook  <paul@codesourcery.com>
4607         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
4608         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
4609         * unwind-arm-common.inc: New file.
4610         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
4611         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
4612         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
4613         * config/c6x/libunwind.S: New file.
4614         * config/c6x/pr-support.c: New file.
4615         * config/c6x/unwind-c6x.c: New file.
4616         * config/c6x/unwind-c6x.h: New file.
4617         * config/c6x/t-c6x-elf: New file.
4619 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
4621         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
4622         (ASM_DIVZERO): Ditto.
4623         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
4625 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
4627         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
4629 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
4631         PR target/50090
4632         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
4633         instead of an assembly one.
4635 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
4637         PR bootstrap/50047
4638         * Makefile.in (install-unwind_h): Create
4639         $(gcc_objdir)/include/unwind.h atomically.
4641 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4643         * Makefile.in (install-unwind_h): Remove destination file first.
4645 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4647         * sync.c: New file.
4648         * config/mips/t-mips16: New file.
4649         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
4650         (mips*-*-linux*): Likewise.
4651         (mips*-sde-elf*): Likewise.
4652         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
4653         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
4654         Add mips/t-mips16 to tmake_file.
4655         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
4656         (mips-*-elf*): Likewise.
4657         (mips64-*-elf*): Likewise.
4658         (mips64orion-*-elf*): Likewise.
4659         (mips*-*-rtems*): Likewise.
4660         (mipstx39-*-elf*): Likewise.
4661         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
4662         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
4663         LIBGCC_SYNC_CFLAGS.
4664         Use $(srcdir) to refer to sync.c.
4665         Use $<.
4666         ($(libgcc-sync-funcs-o)): Likewise.
4667         ($(libgcc-sync-size-funcs-s-o)): Likewise.
4668         ($(libgcc-sync-funcs-s-o)): Likewise.
4670 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
4672         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
4673         t-libunwind.
4675 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
4677         PR other/48007
4678         * config/i386/value-unwind.h: New.
4680 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
4682         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
4683         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
4684         Add to tmake_file rather than overriding it.
4686 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4688         * config/t-softfp: Remove.
4689         * soft-fp: Moved from ../gcc/config.
4690         * soft-fp/README: Remove t-softfp reference.
4691         * soft-fp/t-softfp: Move to config/t-softfp.
4692         (softfp_machine_header): Remove.
4693         (softfp_file_list): Remove config subdir.
4694         (soft-fp-objects): New variable.
4695         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
4696         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
4697         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
4698         * config/t-softfp-excl: New file.
4699         * config/t-softfp-sfdf: New file.
4700         * config/t-softfp-tf: New file.
4701         * config/no-sfp-machine.h: New file.
4702         * config/arm/sfp-machine.h: New file.
4703         * config/arm/t-softfp: New file.
4704         * config/c6x/sfp-machine.h: New file.
4705         * config/i386/32/t-fprules-softfp: Rename to ...
4706         * config/i386/32/t-softfp: ... this.
4707         (tifunctions, LIB2ADD): Remove.
4708         (softfp_int_modes): Override.
4709         * config/i386/64/t-softfp-compat (tf-functions): Remove config
4710         subdir.
4711         * config/i386/64/eqtf2.c: Likewise.
4712         * config/i386/64/getf2.c: Likewise.
4713         * config/i386/64/letf2.c: Likewise.
4714         * config/ia64/sft-machine.h: New file.
4715         * config/ia64/t-fprules-softfp: Rename to ...
4716         * config/ia64/t-softfp: ... this.
4717         * config/lm32/sfp-machine.h: New file.
4718         * config/moxie/t-moxie-softfp: Remove.
4719         * config/rs6000/ibm-ldouble-format: New file.
4720         * config/rs6000/ibm-ldouble.c: New file.
4721         * config/rs6000/libgcc-ppc-glibc.ver: New file
4722         * config/rs6000/libgcc-ppc64.ver: New file
4723         * config/rs6000/sfp-machine.h: New file.
4724         * config/rs6000/t-freebsd: New file.
4725         * config/rs6000/t-ibm-ldouble: New file.
4726         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
4727         libgcc-ppc-glibc.ver.
4728         * config/rs6000/t-linux64: New file.
4729         * config/rs6000/t-ppccomm (LIB2ADD): Add
4730         $(srcdir)/config/rs6000/ibm-ldouble.c.
4731         * config/rs6000/t-ppccomm-ldbl: New file.
4732         * config/score/sfp-machine.h: New file.
4733         * config.host (sfp_machine_header): Explain.
4734         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
4735         t-softfp to tmake_file.
4736         (arm*-*-uclinux*): Likewise.
4737         (arm*-*-ecos-elf): Likewise.
4738         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
4739         (arm*-*-rtems*): Likewise.
4740         (arm*-*-elf): Likewise.
4741         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
4742         in tmake_file.
4743         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
4744         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
4745         (lm32-*-uclinux*): Likewise.
4746         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
4747         t-softfp-excl, t-softfp.
4748         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
4749         (powerpc64-*-darwin*): Likewise.
4750         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
4751         to tmake_file.
4752         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
4753         tmake_file.
4754         (powerpc-*-eabisim*): Likewise.
4755         (powerpc-*-elf*): Likewise.
4756         (powerpc-*-eabialtivec*): Likewise.
4757         (powerpc-xilinx-eabi*): Likewise.
4758         (powerpc-*-rtems*): Likewise.
4759         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
4760         t-softfp-excl, t-softfp to tmake_file.
4761         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
4762         rs6000/t-ppccomm-ldbl to tmake_file.
4763         (powerpcle-*-elf*): Likewise.
4764         (powerpcle-*-eabisim*): Likewise.
4765         (powerpcle-*-eabi*): Likewise.
4766         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
4767         rs6000/t-ibm-ldouble to tmake_file.
4768         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4769         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4770         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
4771         (tic6x-*-*): Likewise.
4772         (i[34567]86-*-darwin*, x86_64-*-darwin*,
4773         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
4774         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
4775         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
4776         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
4777         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
4778         t-softfp to tmake_file.
4779         * configure.ac (sfp_machine_header): Provide default if unset.
4780         Substitute.
4781         Link sfp-machine.h to config/$sfp_machine_header.
4782         * configure: Regenerate.
4784 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4786         * Makefile.in (double_type_size, long_double_type_size): Set.
4787         Remove $(fpbit-in-libgcc) support.
4788         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
4789         (fpbit-src): New variable.
4790         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
4791         Compile with -DFLOAT $(FPBIT_CFLAGS).
4792         Use $<.
4793         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
4794         Compile with $(FPBIT_CFLAGS).
4795         Use $<.
4796         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
4797         Compile with -DFLOAT $(TPBIT_CFLAGS).
4798         Use $<.
4799         * configure.ac (double_type_size, long_double_type_size):
4800         Determine and substitute.
4801         * configure: Regenerate.
4802         * fp-bit.c, fp-bit.h: New files.
4803         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
4804         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
4805         * config/mips/t-mips: New file.
4806         * config/mips/t-sdemtk: New file.
4807         * config/rs6000/ppc64-fp.c: New file.
4808         * config/rs6000/t-darwin (LIB2ADD): Add
4809         $(srcdir)/config/rs6000/ppc64-fp.c.
4810         * config/rs6000/t-ppc64-fp: New file.
4811         * config/rx/rx-lib.h: New file.
4812         * config/rx/t-rx (FPBIT): Set to true.
4813         ($(gcc_objdir)/fp-bit.c): Remove.
4814         (DPBIT): Set to true only with -m64bit-doubles.
4815         ($(gcc_objdir)/dp-bit.c): Remove.
4816         * config/sparc/t-softfp: Remove.
4817         * config/spu/t-elf: New file.
4818         * config/t-fdpbit, config/t-fpbit: New files.
4819         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
4820         (mips*-*-*): Likewise.
4821         (arm-wrs-vxworks): Likewise.
4822         (arm*-*-freebsd*): Likewise.
4823         (avr-*-rtems*): Add t-fpbit to tmake_file.
4824         (avr-*-*): Likewise.
4825         (bfin*-elf*): Add t-fdpbit to tmake_file.
4826         (bfin*-uclinux*): Likewise.
4827         (bfin*-linux-uclibc*): Likewise.
4828         (bfin*-rtems*): New case.
4829         Add t-fdpbit to tmake_file.
4830         (bfin*-*): Add t-fdpbit to tmake_file.
4831         (crisv32-*-elf): Likewise.
4832         (cris-*-linux*): Likewise.
4833         (fr30-*-elf): Likewise.
4834         (frv-*-elf, frv-*-*linux*): Likewise.
4835         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
4836         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
4837         (m32r-*-elf*): Likewise.
4838         (m32rle-*-elf*): Likewise.
4839         (m32r-*-linux*): Likewise.
4840         (m32rle-*-linux*): Likewise.
4841         (mcore-*-elf): Add t-fdpbit to tmake_file.
4842         (microblaze*-*-*): Likewise.
4843         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
4844         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
4845         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
4846         Fix typo.
4847         Add mips/t-tpbit to tmake-file.
4848         (mips*-*-linux*): Fix typo.
4849         (mips*-sde-elf*): New case
4850         Add mips/t-sdemtk unless using newlib.
4851         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
4852         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
4853         (mn10300-*-*): Likewise.
4854         (pdp11-*-*): Likewise.
4855         (picochip-*-*): Add t-fpbit to tmake_file.
4856         (powerpc-*-eabisimaltivec*): Likewise.
4857         (powerpc-*-eabisim*): Likewise.
4858         (powerpc-*-elf*): Likewise.
4859         (powerpc-*-eabialtivec*): Likewise.
4860         (powerpc-xilinx-eabi*): New case.
4861         Add t-fdpbit to tmake_file.
4862         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
4863         (powerpc-*-rtems*): Likewise.
4864         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
4865         tmake_file.
4866         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
4867         tmake_file.
4868         (powerpc-*-lynxos*): Likewise.
4869         (powerpcle-*-elf*): Likewise.
4870         (powerpcle-*-eabisim*): Likewise.
4871         (powerpcle-*-eabi*): Likewise.
4872         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
4873         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
4874         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4875         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4876         (rx-*-elf): Add t-fdpbit to tmake_file.
4877         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
4878         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
4879         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
4880         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
4881         sh*-*-netbsd*.
4882         (sh-*-rtems*): Add t-fdpbit to tmake_file.
4883         (sh-wrs-vxworks): Likewise.
4884         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
4885         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
4886         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
4887         (sparc64-*-rtems*): ... new case.
4888         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
4889         (spu-*-elf*): Likewise.
4890         Add spu/t-elf to tmake_file.
4891         (v850*-*-*): Add t-fdpbit to tmake_file.
4892         (xstormy16-*-elf): Likewise.
4893         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
4894         (mep*-*-*): Likewise.
4896 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4898         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
4899         variables.
4900         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
4901         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
4902         (install-unwind_h): New target.
4903         (all): Depend on it.
4904         * config.host (unwind_header): New variable.
4905         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
4906         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4907         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
4908         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
4909         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
4910         Set unwind_header.
4911         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
4912         Set unwind_header.
4913         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
4914         arm*-*-eabi*.
4915         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
4916         Set unwind_header.
4917         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
4918         (ia64*-*-freebsd*): Likewise.
4919         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
4920         tmake_file.
4921         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
4922         $with_system_libunwind.
4923         (ia64*-*-hpux*): Set tmake_file.
4924         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
4925         (picochip-*-*): Set tmake_file.
4926         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
4927         md_unwind_header.
4928         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4929         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4930         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
4931         (xtensa*-*-elf*): Set tmake_file.
4932         (xtensa*-*-linux*): Likewise.
4933         * configure.ac: Include ../config/unwind_ipinfo.m4.
4934         Call GCC_CHECK_UNWIND_GETIPINFO.
4935         Link unwind.h to $unwind_header.
4936         * configure: Regenerate.
4937         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
4938         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
4939         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
4940         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
4941         * config/unwind-dw2-fde-darwin.c: New file.
4942         * config/arm/libunwind.S, config/arm/pr-support.c,
4943         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
4944         config/arm/unwind-arm.h,: New files.
4945         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
4946         config/ia64/t-eh-ia64, config/ia64/t-glibc,
4947         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
4948         config/ia64/t-vms, config/ia64/unwind-ia64.c,
4949         config/ia64/unwind-ia64.h: New files.
4950         * config/picochip/t-picochip: New file.
4951         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
4952         files.
4953         * config/rs6000/t-darwin (LIB2ADDEH): Set.
4954         * config/s390/t-tpf (LIB2ADDEH): Remove.
4955         * config/t-darwin (LIB2ADDEH): Set.
4956         * config/t-eh-dw2-dip: New file.
4957         * config/t-libunwind, config/t-libunwind-elf: New files.
4958         * config/t-sol2 (LIB2ADDEH): Remove.
4959         * config/xtensa/t-xtensa: New file.
4961 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
4963         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
4964         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
4965         long long to check rt_sigreturn syscall.
4967 2011-08-02  Alan Modra  <amodra@gmail.com>
4969         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
4970         Restore for indirect call bcrtl from correct stack slot, and only
4971         if cfa+40 isn't valid.
4973 2011-08-01  Julian Brown  <julian@codesourcery.com>
4975         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
4976         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
4977         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
4979 2011-08-01  Julian Brown  <julian@codesourcery.com>
4981         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
4982         (libgcc-std.ver.in): Use above.
4983         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
4984         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
4985         throughout file.
4986         * config/t-fixedpoint-gnu-prefix: New file.
4987         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
4988         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
4989         instead of __PFX__.
4991 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
4993         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
4994         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
4995         for x86-64.  Properly check __x86_64__ and __LP64__.
4997 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
4999         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
5000         version.
5001         (_FP_WS_TYPE): Likewise.
5002         (_FP_I_TYPE): Likewise.
5004 2011-07-28  Alan Modra  <amodra@gmail.com>
5006         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
5007         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
5008         in a plt call stub.  Do restore r2 if stopped on bctrl.
5010 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5012         * config.host (i[3456x]86-*-netware*): Remove.
5013         * config/i386/netware-crt0.c, config/i386/t-nwld,
5014         config/i386/t-slibgcc-nwld: Remove.
5016 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
5018         * config.host: Handle tic6x-*-*.
5019         * config/c6x/c6x-abi.h: New file.
5021 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5023         * config/i386/crtprec.c: New file.
5024         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
5025         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
5026         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
5027         (x86_64-*-darwin*): Likewise.
5028         (i[34567]86-*-solaris2*: Likewise.
5030 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5032         * config/alpha/crtfastmath.c: New file.
5033         * config/i386/crtfastmath.c: New file.
5034         * config/ia64/crtfastmath.c: New file.
5035         * config/mips/crtfastmath.c: New file.
5036         * config/sparc/crtfastmath.c: New file.
5038         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
5039         crtfastmath.c.
5040         Add -frandom-seed=gcc-crtfastmath.
5041         * config/alpha/t-crtfm: Remove.
5042         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
5043         * config/ia64/t-ia64 (crtfastmath.o): Remove.
5045         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
5046         (alpha*-dec-osf5.1*): Likewise.
5047         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
5048         Add crtfastmath.o to extra_parts.
5049         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
5050         Add crtfastmath.o to extra_parts.
5051         (x86_64-*-darwin*): Likewise.
5052         (x86_64-*-mingw*): Likewise.
5053         (ia64*-*-elf*): Add t-crtfm to tmake_file.
5054         (ia64*-*-freebsd*): Likewise.
5055         (ia64*-*-linux*): Likewise.
5056         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
5057         Add crtfastmath.o to extra_parts.
5059 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5061         * config/darwin-crt3.o: New file.
5062         * config/rs6000/darwin-crt2.c: New file.
5063         * config/t-darwin: New file.
5064         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
5065         (crt2.o): New rule.
5066         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
5067         (powerpc-*-darwin*): Add crt2.o to extra_parts.
5068         (powerpc64-*-darwin*): Likewise.
5070 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5072         * config/i386/netware-crt0.c: New file.
5073         * config/i386/t-nwld: Rename to ...
5074         * config/i386/t-slibgcc-nwld: ... this.
5075         * config/i386/t-nwld: New file.
5076         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
5077         tmake_file.
5078         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
5079         extra_parts.
5081 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5083         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
5084         i386/t-crtstuff.
5085         * configure: Regenerate.
5087 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5089         * dfp-bit.c, dfp-bit.h: New files.
5090         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
5091         variables.
5092         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
5093         ($(d64pbit-o)): Likewise.
5094         ($(d128pbit-o)): Likewise.
5095         * config/t-dfprules: New file.
5096         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
5097         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
5098         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
5099         (x86_64-*-linux*): Likewise.
5100         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
5101         (i[34567]86-*-cygwin*): Likewise.
5102         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
5103         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5105 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5107         * Makfile.in (LIBGCOV): New variable.
5108         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
5109         * libgcov.c: New file.
5111 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5113         * fixed-bit.c, fixed-bit.h: New files.
5114         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
5115         refer to fixed-bit.c.
5117 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
5119         * config.host (*local*): Remove.
5121 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5123         PR target/39150
5124         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
5125         like i?86-*-solaris2.1[0-9]*.
5126         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
5127         * configure.ac (i?86-*-solaris2*): Likewise.
5128         * configure: Regenerate.
5130 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
5132         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
5133         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
5134         md_unwind_header by splitting out of...
5135         (i[34567]86-*-linux*): ... this.
5136         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
5137         Remove md_unwind_header by splitting out of...
5138         (x86_64-*-linux*): ... this.
5140 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
5142         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
5144 2011-06-28  Nick Clifton  <nickc@redhat.com>
5146         * config.host: Recognize all V850 variants.
5148 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
5150         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
5152 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5154         * shared-object.mk (c_flags-$o): Save c_flags.
5155         ($(base)$(objext)): Use it.
5156         ($(base)_s$(objext)): Likewise.
5158 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
5160         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
5161         * libgcc-std.ver.in (GCC_4.7.0): New section.
5163 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
5165         PR target/49313
5166         PR target/29524
5167         * config/avr/t-avr: Fix line endings.
5168         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
5169         _parityXX2.
5171 2011-06-14  Olivier Hainque  <hainque@adacore.com>
5172             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5174         * config/mips/irix6-unwind.h: New file.
5175         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
5177 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
5179         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
5180         (sparc64_fallback_frame_state): Use it.
5181         (sparc64_frob_update_context): Further adjust context.
5182         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
5183         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
5184         * config/sparc/sol2-cn.S: Likewise.
5186 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5188         * enable-execute-stack-empty.c: New file.
5189         * enable-execute-stack-mprotect.c: New file.
5190         * config/i386/enable-execute-stack-mingw32.c: New file.
5191         * config.host (enable_execute_stack): New variable.
5192         Select appropriate variants.
5193         * configure.ac: Link enable-execute-stack.c to
5194         $enable_execute_stack.
5195         * configure: Regenerate.
5196         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
5197         (lib2funcs): Remove _enable_execute_stack.
5199 2011-06-09  David S. Miller  <davem@davemloft.net>
5200             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5202         * config.host (sparc-*-linux*): Correct md_unwind_header
5203         filename.
5204         (s390x-ibm-tpf*): Fix typo.
5206 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5208         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
5209         Add crtfastmath.o to extra_parts.
5210         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
5211         mips/t-crtfm.
5212         * config/mips/t-crtfm: Remove.
5214 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5216         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
5218 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
5220         * config.host (sh*-*-linux*): Fix typo.
5222 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5224         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
5225         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
5226         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
5227         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
5228         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
5229         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
5230         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
5231         Wrap in !__MINGW64__.
5232         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
5233         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
5234         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
5235         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
5236         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
5237         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
5238         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
5239         Wrap in !__LP64__.
5240         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
5241         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
5242         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
5243         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
5244         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
5245         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
5246         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
5247         * config/no-unwind.h: New file.
5248         * config.host (md_unwind_header): Document.
5249         Define.
5250         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
5251         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
5252         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
5253         hppa[12]*-*-hpux11*): Set md_unwind_header.
5254         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
5255         Set md_unwind_header.
5256         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
5257         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
5258         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
5259         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
5260         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
5261         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
5262         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
5263         md_unwind_header.
5264         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
5265         * configure: Regenerate.
5267 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5269         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
5270         Set tmake_file, extra_parts.
5271         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
5272         Remove O32 support.
5273         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
5274         Remove O32 support.
5275         * config/mips/t-irix6: New file.
5276         * config/mips/t-slibgcc-irix: New file.
5278 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5280         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
5281         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
5283 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5285         * configure.ac (target_thread_file): Determine thread model.
5286         * configure: Regenerate.
5287         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
5288         * config/alpha/t-alpha: New file.
5289         * config/alpha/t-crtfm: Use $<.
5290         * config/alpha/t-ieee: New file.
5291         * config/alpha/t-osf-pthread: New file.
5292         * config/alpha/t-slibgcc-osf: New file.
5293         * config/alpha/libgcc-osf5.ver: New file.
5295 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5297         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
5298         tmake_file.
5299         Add crtfastmath.o to extra_parts.
5301 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5303         * config/gmon-sol2.c: Reindent.
5304         Cleanup comments.
5305         Remove, correct casts.
5306         Use STDERR_FILENO, NULL.
5307         (BASEADDRESS): Remove.
5308         (minbrk): Remove.
5309         (errno, sbrk): Remove declarations.
5310         (monstartup) [hp300]: Remove.
5311         (mcount): Remove.
5313 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5315         * Makefile.in (cpu_type): Define.
5316         * config.host (i[34567]86-*-rtems*): Handle it.
5317         (i[34567]86-*-solaris2*): Move body ...
5318         (*-*-solaris2*): ... here.
5319         New case, generalize.
5320         (sparc-*-elf*): Handle it.
5321         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
5322         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
5323         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
5324         Fold into ...
5325         (sparc*-*-solaris2*): ... this.
5326         New case.
5327         (sparc64-*-elf*): Handle it.
5328         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
5329         Merge ../gcc/config/i386/gmon-sol2.c.
5330         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
5331         Use C comments.
5332         Merge ../gcc/config/i386/sol2-gc1.asm.
5333         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
5334         Use C comments.
5335         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
5336         Use C comments.
5337         * config/i386/t-crtfm (crtfastmath.o): Use $<.
5338         * config/i386/t-crtstuff: New file.
5339         * config/i386/t-softfp: New file.
5340         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
5341         $(T)crti.o, $(T)crtn.o): Remove.
5342         (gcrt1.o): New rule.
5343         (TARGET_LIBGCC2_CFLAGS): Remove.
5344         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
5345         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
5346         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
5347         * config/sparc/t-sol2: New file.
5348         * config/sparc/t-crtfm: Move to ...
5349         * config/t-crtfm: ... this.
5350         Use $(cpu_type), $<.
5351         * config/t-crtin: New file.
5352         * config/sparc/t-softfp: New file.
5353         * config/sparc/t-softmul: New file.
5354         * config/t-rtems: New file.
5355         * config/t-slibgcc: New file.
5356         * config/t-slibgcc-elf-ver: New file.
5357         * config/t-slibgcc-gld: New file.
5358         * config/t-slibgcc-sld: New file.
5359         * config/t-sol2: New file.
5360         * configure.ac: Include ../config/lib-ld.m4.
5361         Call AC_LIB_PROG_LD_GNU.
5362         Substitute cpu_type.
5363         * configure: Regenerate.
5365 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
5367         PR bootstrap/49173
5368         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
5369         libgcc-std.ver in the build directory.
5370         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
5371         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
5373 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
5375         * libgcc-std.ver.in: New file.
5376         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
5377         variables.
5378         (libgcc-std.ver): New rule.
5379         * config/t-gnu-prefix: New file.
5381 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5383         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
5385 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
5387         * config/i386/darwin-lib.h: New file.
5389 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
5391         * config/arm/symbian-lib.h: New.
5393 2011-05-04  Chris Demetriou  <cgd@google.com>
5395         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
5396         (__x86.get_pc_thunk.bx): ...this.
5397         (__morestack): Adjust for rename, remove undef of __i686.
5399 2011-05-03  Chris Demetriou  <cgd@google.com>
5401         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
5403 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
5405         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
5406         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
5407         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
5408         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
5409         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
5410         Remove cases.
5412 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
5414         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
5415         Adjust copyright year.
5417 2011-03-07  Ian Lance Taylor  <iant@google.com>
5419         * generic-morestack.c (__splitstack_find): Adjust returned stack
5420         pointer to include all registers pushed by __morestack.
5422 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
5424         PR target/40125
5425         * configure.ac: Call ACX_NONCANONICAL_TARGET.
5426         (toolexecdir): Calculate and AC_SUBST.
5427         (toolexeclibdir): Likewise.
5428         * Makefile.in (target_noncanonical): Import.
5429         (toolexecdir): Likewise.
5430         (toolexeclibdir): Likewise.
5431         * configure: Regenerate.
5433 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
5435         PR target/46040
5436         * config/arm/bpabi.h: Rename to...
5437         * config/arm/bpabi-lib.h: ...this.
5439 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5441         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
5442         appropriate.
5443         * configure: Regenerate.
5445 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
5447         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
5448         __FLOAT_WORD_ORDER__.
5449         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
5450         Delete.
5452 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5454         PR other/46202
5455         * Makefile.in (install-strip): New phony target.
5457 2010-11-07  Ian Lance Taylor  <iant@google.com>
5459         PR target/46089
5460         * config/i386/morestack.S (__morestack_large_model): New
5461         function.
5463 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
5465         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
5466         Delete.
5467         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
5469 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
5471         * config/arm/bpabi.h: New file.
5472         * config/frv/frv-abi.h: New file.
5474 2010-10-01  Ian Lance Taylor  <iant@google.com>
5476         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
5477         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
5479 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
5481         PR target/45858
5482         * config.host: Add the missing `$'.
5484 2010-09-30  Michael Eager  <eager@eagercon.com>
5486         * config.host: Add microblaze*-*-*.
5487         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
5488         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
5489         udivsi3.asm,umodsi3.asm}:  New.
5491 2010-09-28  Ian Lance Taylor  <iant@google.com>
5493         * configure.ac: Adjust CFI test to test assembler directly rather
5494         than checking gcc preprocessor macro.
5495         * configure: Rebuild.
5497 2010-09-27  Ian Lance Taylor  <iant@google.com>
5499         * configure.ac: Test whether assembler supports CFI directives.
5500         * config.host: Only add t-stack and i386/t-stack-i386 to
5501         tmake_file if libgcc_cv_cfi is "yes".
5502         * configure: Rebuild.
5504 2010-09-27  Ian Lance Taylor  <iant@google.com>
5506         * generic-morestack.h: New file.
5507         * generic-morestack.c: New file.
5508         * generic-morestack-thread.c: New file.
5509         * config/i386/morestack.S: New file.
5510         * config/t-stack: New file.
5511         * config/i386/t-stack-i386: New file.
5512         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
5513         i386/t-stack-i386 to tmake_file.
5515 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
5517         * Makefile.in (libgcc-extra-parts):  Check for static archives and
5518         invoke ranlib after installing them.
5519         (gcc-extra-parts): Likewise.
5520         (install-leaf): Likewise.
5522 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
5524         * configure: Regenerated.
5526 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
5528         * configure: Regenerated.
5530 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
5531             Andrew Pinski  <pinskia@gmail.com>
5533         PR target/40959
5534         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
5536 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5538         PR target/45524
5539         * configure: Regenerated.
5541 2010-09-06  Andreas Schwab  <schwab@redhat.com>
5543         * configure: Regenerate.
5545 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
5547         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
5548         64bit targets.
5549         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
5550         for 64bit targets.
5552 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
5553             Iain Sandoe  <iains@gcc.gnu.org>
5555         PR target/45476
5556         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
5557         LIB2FUNCS_EXCLUDE functions.
5559 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5561         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
5562         Include dfp.m4.
5563         * configure: Regenerate.
5565 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
5567         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
5568         i386/t-freebsd to tmake_file.
5569         * config/i386/t-freebsd: New file.
5570         * config/i386/libgcc-bsd.ver: New file.
5572 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
5574         * config.host (powerpc*-eabispe*): Set tmake_file.
5575         (powerpc*-eabi*): Likewise.
5576         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
5577         crtbeginS, crtendS, crtbeginT.
5579 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
5581         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
5582         to tmake_file.  Add crtfastmath.o to extra_parts.
5583         * config/mips/t-crtfm: New.
5585 2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
5587         * config.host (sparc64-*-rtems*): New target.
5589 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5591         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
5592         assembler syntax.
5594 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
5596         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
5598 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5600         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
5601         alpha-dec-osf5.0* support.
5603 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
5605         * config.host: Add lm32-*-rtems*.
5607 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5608             Uros Bizjak <ubizjak@gmail.com>
5610         PR target/39048
5611         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
5612         like other remaining 32-bit x86 OSes.
5613         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
5614         assembler syntax.
5615         * config/i386/libgcc-sol2.ver: New file.
5616         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
5618 2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>
5620         PR c/43553
5621         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
5622         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
5623         is used and substitute set_use_emutls.
5624         * configure: Regenerated.
5626 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
5628         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
5630 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5632         PR target/38085
5633         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
5634         MULTILIB_CFLAGS.
5635         ($(T)gcrt1.o): Likewise.
5636         ($(T)crt1.o): Likewise.
5637         ($(T)crti.o): Likewise.
5638         ($(T)crtn.o): Likewise.
5640 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5642         PR other/42980
5643         * Makefile.in (install): Use $(MAKE) string in rule, for
5644         parallel make.
5646 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
5648         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
5649         * config/mmix/t-mmix: New file.
5650         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
5652 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
5654         PR java/41991
5655         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
5656         SHLIB_MAPFILES.
5658 2010-01-04  Anthony Green  <green@moxielogic.com>
5660         * config/moxie/crti.asm, config/moxie/crtn.asm,
5661         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
5662         config/moxie/t-moxie: New files.
5663         * config.host: Add t-moxie-softfp reference.
5665 2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
5667         PR other/39888
5668         * config/t-slibgcc-darwin: Fix embedded rpaths for
5669         --enable-version-specific-runtime-libs, build extension stub
5670         libs exposing features available from current libgcc_s.
5672 2009-11-11  Jon Beniston <jon@beniston.com>
5674         * config.host: Add lm32 targets.
5675         * config/lm32: New directory.
5676         * config/lm32/libgcc_lm32.h: New file.
5677         * config/lm32/_mulsi3.c: New file.
5678         * config/lm32/_udivmodsi4.c: New file.
5679         * config/lm32/_divsi3.c: New file.
5680         * config/lm32/_modsi3.c: New file.
5681         * config/lm32/_udivsi3.c: New file.
5682         * config/lm32/_umodsi3.c: New file.
5683         * config/lm32/_lshrsi3.S: New file.
5684         * config/lm32/_ashrsi3.S: New file.
5685         * config/lm32/_ashlsi3.S: New file.
5686         * config/lm32/crti.S: New file.
5687         * config/lm32/crtn.S: New file.
5688         * config/lm32/t-lm32: New file.
5689         * config/lm32/t-elf: New file.
5690         * config/lm32/t-uclinux: New file.
5692 2009-10-26  Nick Clifton  <nickc@redhat.com>
5694         * config.host: Add support for RX target.
5695         * config/rx: New directory.
5696         * config/rx/rx-abi-functions.c: New file. Supplementary
5697         functions for libgcc to support the RX ABI.
5698         * config/rx/rx-abi.h: New file.  Supplementary header file for
5699         libgcc RX ABI functions.
5700         * config/rx/t-rx: New file: Makefile fragment for building
5701         libgcc for the RX.
5703 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
5705         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
5706         constraint of y0 to "g".
5708 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5710         * config.host: Include the s390 makefile fragments.
5711         * config/s390/32/_fixdfdi.c: New file.
5712         * config/s390/32/_fixsfdi.c: New file.
5713         * config/s390/32/_fixtfdi.c: New file.
5714         * config/s390/32/_fixunsdfdi.c: New file.
5715         * config/s390/32/_fixunssfdi.c: New file.
5716         * config/s390/32/_fixunstfdi.c: New file.
5717         * config/s390/32/t-floattodi: New file.
5718         * config/s390/libgcc-glibc.ver: New file.
5719         * config/s390/t-crtstuff: New file.
5720         * config/s390/t-linux: New file.
5721         * config/s390/t-tpf: New file.
5723 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5725         * configure.ac (AC_PREREQ): Bump to 2.64.
5727 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
5729         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
5731 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5733         * configure: Regenerate.
5735 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
5737         * config.host (ia64-hp-*vms*): New target.
5738         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
5739         with ia64-hp-*vms*.
5741 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5743         * configure.ac: Add snippet for maintainer-mode.
5744         * configure: Regenerate.
5745         * Makefile.in (AUTOCONF, configure_deps): New variables.
5746         ($(srcdir)/configure)): New rule, active only with maintainer
5747         mode turned on.
5749 2009-06-23  DJ Delorie  <dj@redhat.com>
5751         Add MeP port.
5752         * config.host: Add mep support.
5754 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
5756         * config.host: Add i386/${host_address}/t-fprules-softfp and
5757         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
5759         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
5760         for mingw targets.
5761         * config/i386/64/_multc3.c: Likewise.
5762         * config/i386/64/_powitf2.c: Likewise.
5763         * config/i386/64/eqtf2.c: Likewise.
5764         * config/i386/64/getf2.c: Likewise.
5765         * config/i386/64/letf2.c: Likewise.
5766         * config/i386/64/letf2.c: Likewise.
5767         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
5768         unsigned long long for x64 mingw targets.
5769         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
5770         (_FP_I_TYPE): Define as long long for x64 mingw target.
5772 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
5774         * config.host (vax-*-linux*): New.
5776 2009-05-31  Anthony Green  <green@moxielogic.com>
5778         * config.host: Add moxie support.
5779         * config/moxie/t-moxie: New file.
5781 2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
5783         * config.host: Add i386/${host_address}/t-fprules-softfp and
5784         t-softfp to tmake_file for i[34567]86-*-cygwin*.
5786 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
5788         * config.host: Add i386/${host_address}/t-fprules-softfp to
5789         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
5791 2009-04-09  Nick Clifton  <nickc@redhat.com>
5793         * config/ia64/tf-signs.c: Change copyright header to refer to
5794         version 3 of the GNU General Public License with version 3.1
5795         of the GCC Runtime Library Exception and to point readers at
5796         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
5797         web page.
5798         * config/i386/32/tf-signs.c: Likewise.
5799         * config/libbid/_addsub_dd.c: Likewise.
5800         * config/libbid/_addsub_sd.c: Likewise.
5801         * config/libbid/_addsub_td.c: Likewise.
5802         * config/libbid/_dd_to_df.c: Likewise.
5803         * config/libbid/_dd_to_di.c: Likewise.
5804         * config/libbid/_dd_to_sd.c: Likewise.
5805         * config/libbid/_dd_to_sf.c: Likewise.
5806         * config/libbid/_dd_to_si.c: Likewise.
5807         * config/libbid/_dd_to_td.c: Likewise.
5808         * config/libbid/_dd_to_tf.c: Likewise.
5809         * config/libbid/_dd_to_udi.c: Likewise.
5810         * config/libbid/_dd_to_usi.c: Likewise.
5811         * config/libbid/_dd_to_xf.c: Likewise.
5812         * config/libbid/_df_to_dd.c: Likewise.
5813         * config/libbid/_df_to_sd.c: Likewise.
5814         * config/libbid/_df_to_td.c: Likewise.
5815         * config/libbid/_di_to_dd.c: Likewise.
5816         * config/libbid/_di_to_sd.c: Likewise.
5817         * config/libbid/_di_to_td.c: Likewise.
5818         * config/libbid/_div_dd.c: Likewise.
5819         * config/libbid/_div_sd.c: Likewise.
5820         * config/libbid/_div_td.c: Likewise.
5821         * config/libbid/_eq_dd.c: Likewise.
5822         * config/libbid/_eq_sd.c: Likewise.
5823         * config/libbid/_eq_td.c: Likewise.
5824         * config/libbid/_ge_dd.c: Likewise.
5825         * config/libbid/_ge_sd.c: Likewise.
5826         * config/libbid/_ge_td.c: Likewise.
5827         * config/libbid/_gt_dd.c: Likewise.
5828         * config/libbid/_gt_sd.c: Likewise.
5829         * config/libbid/_gt_td.c: Likewise.
5830         * config/libbid/_isinfd128.c: Likewise.
5831         * config/libbid/_isinfd32.c: Likewise.
5832         * config/libbid/_isinfd64.c: Likewise.
5833         * config/libbid/_le_dd.c: Likewise.
5834         * config/libbid/_le_sd.c: Likewise.
5835         * config/libbid/_le_td.c: Likewise.
5836         * config/libbid/_lt_dd.c: Likewise.
5837         * config/libbid/_lt_sd.c: Likewise.
5838         * config/libbid/_lt_td.c: Likewise.
5839         * config/libbid/_mul_dd.c: Likewise.
5840         * config/libbid/_mul_sd.c: Likewise.
5841         * config/libbid/_mul_td.c: Likewise.
5842         * config/libbid/_ne_dd.c: Likewise.
5843         * config/libbid/_ne_sd.c: Likewise.
5844         * config/libbid/_ne_td.c: Likewise.
5845         * config/libbid/_sd_to_dd.c: Likewise.
5846         * config/libbid/_sd_to_df.c: Likewise.
5847         * config/libbid/_sd_to_di.c: Likewise.
5848         * config/libbid/_sd_to_sf.c: Likewise.
5849         * config/libbid/_sd_to_si.c: Likewise.
5850         * config/libbid/_sd_to_td.c: Likewise.
5851         * config/libbid/_sd_to_tf.c: Likewise.
5852         * config/libbid/_sd_to_udi.c: Likewise.
5853         * config/libbid/_sd_to_usi.c: Likewise.
5854         * config/libbid/_sd_to_xf.c: Likewise.
5855         * config/libbid/_sf_to_dd.c: Likewise.
5856         * config/libbid/_sf_to_sd.c: Likewise.
5857         * config/libbid/_sf_to_td.c: Likewise.
5858         * config/libbid/_si_to_dd.c: Likewise.
5859         * config/libbid/_si_to_sd.c: Likewise.
5860         * config/libbid/_si_to_td.c: Likewise.
5861         * config/libbid/_td_to_dd.c: Likewise.
5862         * config/libbid/_td_to_df.c: Likewise.
5863         * config/libbid/_td_to_di.c: Likewise.
5864         * config/libbid/_td_to_sd.c: Likewise.
5865         * config/libbid/_td_to_sf.c: Likewise.
5866         * config/libbid/_td_to_si.c: Likewise.
5867         * config/libbid/_td_to_tf.c: Likewise.
5868         * config/libbid/_td_to_udi.c: Likewise.
5869         * config/libbid/_td_to_usi.c: Likewise.
5870         * config/libbid/_td_to_xf.c: Likewise.
5871         * config/libbid/_tf_to_dd.c: Likewise.
5872         * config/libbid/_tf_to_sd.c: Likewise.
5873         * config/libbid/_tf_to_td.c: Likewise.
5874         * config/libbid/_udi_to_dd.c: Likewise.
5875         * config/libbid/_udi_to_sd.c: Likewise.
5876         * config/libbid/_udi_to_td.c: Likewise.
5877         * config/libbid/_unord_dd.c: Likewise.
5878         * config/libbid/_unord_sd.c: Likewise.
5879         * config/libbid/_unord_td.c: Likewise.
5880         * config/libbid/_usi_to_dd.c: Likewise.
5881         * config/libbid/_usi_to_sd.c: Likewise.
5882         * config/libbid/_usi_to_td.c: Likewise.
5883         * config/libbid/_xf_to_dd.c: Likewise.
5884         * config/libbid/_xf_to_sd.c: Likewise.
5885         * config/libbid/_xf_to_td.c: Likewise.
5886         * config/libbid/bid128.c: Likewise.
5887         * config/libbid/bid128_2_str.h: Likewise.
5888         * config/libbid/bid128_2_str_macros.h: Likewise.
5889         * config/libbid/bid128_2_str_tables.c: Likewise.
5890         * config/libbid/bid128_add.c: Likewise.
5891         * config/libbid/bid128_compare.c: Likewise.
5892         * config/libbid/bid128_div.c: Likewise.
5893         * config/libbid/bid128_fma.c: Likewise.
5894         * config/libbid/bid128_logb.c: Likewise.
5895         * config/libbid/bid128_minmax.c: Likewise.
5896         * config/libbid/bid128_mul.c: Likewise.
5897         * config/libbid/bid128_next.c: Likewise.
5898         * config/libbid/bid128_noncomp.c: Likewise.
5899         * config/libbid/bid128_quantize.c: Likewise.
5900         * config/libbid/bid128_rem.c: Likewise.
5901         * config/libbid/bid128_round_integral.c: Likewise.
5902         * config/libbid/bid128_scalb.c: Likewise.
5903         * config/libbid/bid128_sqrt.c: Likewise.
5904         * config/libbid/bid128_string.c: Likewise.
5905         * config/libbid/bid128_to_int16.c: Likewise.
5906         * config/libbid/bid128_to_int32.c: Likewise.
5907         * config/libbid/bid128_to_int64.c: Likewise.
5908         * config/libbid/bid128_to_int8.c: Likewise.
5909         * config/libbid/bid128_to_uint16.c: Likewise.
5910         * config/libbid/bid128_to_uint32.c: Likewise.
5911         * config/libbid/bid128_to_uint64.c: Likewise.
5912         * config/libbid/bid128_to_uint8.c: Likewise.
5913         * config/libbid/bid32_to_bid128.c: Likewise.
5914         * config/libbid/bid32_to_bid64.c: Likewise.
5915         * config/libbid/bid64_add.c: Likewise.
5916         * config/libbid/bid64_compare.c: Likewise.
5917         * config/libbid/bid64_div.c: Likewise.
5918         * config/libbid/bid64_fma.c: Likewise.
5919         * config/libbid/bid64_logb.c: Likewise.
5920         * config/libbid/bid64_minmax.c: Likewise.
5921         * config/libbid/bid64_mul.c: Likewise.
5922         * config/libbid/bid64_next.c: Likewise.
5923         * config/libbid/bid64_noncomp.c: Likewise.
5924         * config/libbid/bid64_quantize.c: Likewise.
5925         * config/libbid/bid64_rem.c: Likewise.
5926         * config/libbid/bid64_round_integral.c: Likewise.
5927         * config/libbid/bid64_scalb.c: Likewise.
5928         * config/libbid/bid64_sqrt.c: Likewise.
5929         * config/libbid/bid64_string.c: Likewise.
5930         * config/libbid/bid64_to_bid128.c: Likewise.
5931         * config/libbid/bid64_to_int16.c: Likewise.
5932         * config/libbid/bid64_to_int32.c: Likewise.
5933         * config/libbid/bid64_to_int64.c: Likewise.
5934         * config/libbid/bid64_to_int8.c: Likewise.
5935         * config/libbid/bid64_to_uint16.c: Likewise.
5936         * config/libbid/bid64_to_uint32.c: Likewise.
5937         * config/libbid/bid64_to_uint64.c: Likewise.
5938         * config/libbid/bid64_to_uint8.c: Likewise.
5939         * config/libbid/bid_b2d.h: Likewise.
5940         * config/libbid/bid_binarydecimal.c: Likewise.
5941         * config/libbid/bid_conf.h: Likewise.
5942         * config/libbid/bid_convert_data.c: Likewise.
5943         * config/libbid/bid_decimal_data.c: Likewise.
5944         * config/libbid/bid_decimal_globals.c: Likewise.
5945         * config/libbid/bid_div_macros.h: Likewise.
5946         * config/libbid/bid_dpd.c: Likewise.
5947         * config/libbid/bid_flag_operations.c: Likewise.
5948         * config/libbid/bid_from_int.c: Likewise.
5949         * config/libbid/bid_functions.h: Likewise.
5950         * config/libbid/bid_gcc_intrinsics.h: Likewise.
5951         * config/libbid/bid_inline_add.h: Likewise.
5952         * config/libbid/bid_internal.h: Likewise.
5953         * config/libbid/bid_round.c: Likewise.
5954         * config/libbid/bid_sqrt_macros.h: Likewise.
5956 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
5958         * Makefile.in: Change copyright header to refer to version
5959         3 of the GNU General Public License and to point readers at the
5960         COPYING3 file and the FSF's license web page.
5961         * config.host: Likewise.
5963 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
5965         * config.host: Reorder and merge to match config.gcc change.
5967 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
5969         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
5971 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
5973         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
5974         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
5975         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
5976         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
5978 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
5980         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
5981         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
5983 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
5985         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
5986         ia64/t-softfp-compat to tmake_file.
5988         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
5990         * config/ia64/__divxf3.asm: New.
5991         * config/ia64/_fixtfdi.asm: Likewise.
5992         * config/ia64/_fixunstfdi.asm: Likewise.
5993         * config/ia64/_floatditf.asm: Likewise.
5994         * config/ia64/t-fprules-softfp: Likewise.
5995         * config/ia64/t-softfp-compat: Likewise.
5996         * config/ia64/tf-signs.c: Likewise.
5998 2009-01-18  Ben Elliston  <bje@au.ibm.com>
6000         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
6002 2009-01-16  Ben Elliston  <bje@au.ibm.com>
6004         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
6005         to tmake_file.
6007 2009-01-13  Ben Elliston  <bje@au.ibm.com>
6009         * config/t-softfp: New file.
6010         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
6011         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
6013 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
6015         * config.host: Add m32r*-*-rtems*.
6017 2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
6019         * config.host: Add m32c*-*-rtems*.
6021 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6023         PR bootstrap/33100
6024         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
6025         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
6026         * configure: Regenerate.
6027         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
6028         tmake_file here from gcc/config.gcc.
6029         Move extra_parts here from gcc/config.gcc.
6030         * config/i386/t-sol2: Move here from gcc/config/i386.
6031         Use gcc_srcdir instead of srcdir.
6033 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
6035         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
6036         case.
6038 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
6040         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
6042 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
6044         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
6046 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
6048         Add picoChip port.
6049         * config.host: Add picochip-*-*.
6051 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
6053         * config.host: Match more processor names for Xtensa.
6055 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
6057         * config/i386/64/t-softfp-compat: Update comments.
6059 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
6061         * config/i386/64/_divtc3-compat.c: Moved to ...
6062         * config/i386/64/_divtc3.c: Here.
6064         * config/i386/64/_multc3-compat.c: Moved to ...
6065         * config/i386/64/_multc3.c: Here.
6067         * config/i386/64/_powitf2-compat.c: Moved to ...
6068         * config/i386/64/_powitf2.c: Here.
6070         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
6071         .c suffix instead of -compat.c.
6073 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
6075         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
6076         (_FP_MUL_MEAT_D): Ditto.
6077         (_FP_DIV_MEAT_S): Ditto.
6078         (_FP_DIV_MEAT_D): Ditto.
6080 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
6082         * Makefile.in: Add support for __sync_* libgcc functions.
6084 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
6086         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
6088 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6090         PR boostrap/36702
6091         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
6092         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
6094         * config/i386/64/t-fprules-softfp: Moved to ...
6095         * config/i386/64/t-softfp-compat: This.  New.
6097 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
6099         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
6100         Initialize f with 0.0.
6102 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6104         PR target/36669
6105         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
6107         * config/i386/64/_divtc3-compat.c: New.
6108         * config/i386/64/_multc3-compat.c: Likewise.
6109         * config/i386/64/_powitf2-compat.c: Likewise.
6110         * config/i386/64/eqtf2.c: Likewise.
6111         * config/i386/64/getf2.c: Likewise.
6112         * config/i386/64/letf2.c: Likewise.
6113         * config/i386/64/t-fprules-softfp: Likewise.
6115 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6117         * config.host: Add i386/${host_address}/t-fprules-softfp to
6118         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
6119         i[34567]86-*-linux*, x86_64-*-linux*.
6121         * configure.ac: Set host_address to 64 or 32 for x86.
6122         * configure: Regenerated.
6124         * Makefile.in (config.status): Also depend on
6125         $(srcdir)/config.host.
6127         * config/i386/32/t-fprules-softfp: New.
6128         * config/i386/32/tf-signs.c: Likewise.
6130         * config/i386/64/sfp-machine.h: New. Moved from gcc.
6132 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6133             Uros Bizjak  <ubizjak@gmail.com>
6135         * config/i386/32/sfp-machine.h: New.
6137 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
6139         * config/rs6000/t-ppccomm: Remove rules that conflict with
6140         auto-generated rules.
6142 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6144         * configure.ac: sinclude override.m4.
6145         * configure: Regenerate.
6147 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
6149         * configure: Regenerate.
6151 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
6153         * Makefile.in (DECNUMINC): Remove
6154         -I$(MULTIBUILDTOP)../../libdecnumber.
6155         * gstdint.h: New.
6157 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
6159         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
6160         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
6161         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
6162         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
6163         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
6164         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
6165         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
6166         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
6167         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
6168         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
6169         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
6170         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
6171         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
6172         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
6174 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
6176         * config.host (sh2[lbe]*-*-linux*): Allow target.
6178 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
6180         * config/rs6000/t-ppccomm: Add build rules for new files.
6181         (LIB2ADD_ST): New variable.
6183 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
6185         PR target/34210
6186         PR target/35508
6187         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
6188         * config/t-avr: New file. Build 16bit libgcc functions.
6190 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
6192         PR target/35401
6193         * config/t-slibgcc-darwin: Make install-leaf dependent on
6194         install-darwin-libgcc-stubs instead of install.
6196 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
6198         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
6199         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
6200         sh-*-rtemscoff*): Remove cases.
6202 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
6204         * Makefile.in (all): Use install-leaf rather than install.
6205         (install): Split most of the rule into...
6206         (install-leaf): ...this new one.
6208 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
6209             Paolo Bonzini  <bonzini@gnu.org>
6211         PR target/30572
6212         * Makefile.in: Use @shlib_slibdir@ substitution to get
6213         correct install name on darwin.
6214         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
6216 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
6218         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
6219         cris-*-elf and cris-*-none.
6220         (crisv32-*-linux*): Similar, as cris-*-linux*.
6222 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
6224         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
6226 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
6228         PR regression/33926
6229         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
6230         * configure: Regenerated.
6232 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
6234         * Makefile.in (dfp-filenames): Replace decimal_globals,
6235         decimal_data, binarydecimal and convert_data with
6236         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
6237         and bid_convert_data, respectively.
6239 2007-09-17  Chao-ying Fu  <fu@mips.com>
6240             Nigel Stephens  <nigel@mips.com>
6242         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
6243         * Makefile.in (fixed_point): Define.
6244         Check if fixed_point is yes to build support functions.
6245         * configure.ac: Check for fixed_point support.
6246         * configure: Regenerated.
6247         * gen-fixed.sh: New file to generate lists of fixed-point labels,
6248         funcs, modes, from, to.
6250 2007-09-11  Janis Johnson  <janis187@us.ibm.com
6252         * Makefile.in (dfp-filenames): Add bid128_noncomp.
6254 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
6256         * Makefile.in (dfp-filenames): Remove decUtility, add
6257         decDouble, decPacked, decQuad, decSingle.
6259 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
6261         * config.host : Add x86_64-elf target.
6263 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
6265         * configure.ac (set_have_cc_tls): Add a missing =.
6266         * configure: Regenerated.
6268 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
6270         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
6271         and x86_64-*-linux*.
6273         * config/t-tls: New file.
6275         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6277         * configure.ac: Include ../config/enable.m4 and
6278         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
6279         supports TLS and substitute set_have_cc_tls.
6280         * configure: Regenerated.
6282 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
6284         * Makefile.in: Use libbid for DFP when BID is enabled.
6286 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
6288         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
6289         extra_parts. Add config/i386/t-cygming to tmake_file.
6290         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
6292 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
6293             Danny Smith  <dannysmith@users.sourceforge.net>
6295         PR target/29498
6296         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
6297         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
6298         * config/i386/t-crtfm: Compile crtfastmath.o with
6299         -minline-all-stringops.
6301 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
6303         * config.host (sparc-wrs-vxworks): New target.
6305 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
6307         * config.host: Recognize fido.
6309 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
6311         * configure: Check host, not target, for decimal float support.
6313 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
6315         * config/i386/t-crtpc: New file.
6316         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
6317         (x86_64-*-linux*): Ditto.
6319 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
6321         * config.host (x86_64-*-mingw*): New target.
6323 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
6324             H.J. Lu  <hongjiu.lu@intel.com>
6326         * Makefile.in (enable_decimal_float): New.
6327         (DECNUMINC): Add
6328         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
6329         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
6330         (decbits-filenames): This.
6331         (decbits-objects): New.
6332         (libgcc-objects): Add $(decbits-objects).
6334         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
6335         Substitute enable_decimal_float.
6336         * configure: Regenerated.
6338 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
6340         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
6342 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
6344         * Makefile.in (install-info): New dummy target.
6346 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
6348         * config.host (bfin*-linux-uclibc*): Set extra_parts.
6350 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
6352         * Makefile.in: Add install-html and install-pdf dummy
6353         targets.
6355 2007-02-05  Roger Sayle  <roger@eyesopen.com>
6356             Daniel Jacobowitz  <dan@codesourcery.com>
6358         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
6359         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
6360         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
6362 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
6364         * Makefile.in (dec-filenames): Add decExcept.
6366 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
6368         PR bootstrap/30469
6369         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
6370         -fprofile-use.
6372 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
6374         * configure.ac: Add --enable-version-specific-runtime-libs.
6375         Correct $slibdir default.
6376         * configure: Regenerated.
6378 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
6380         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
6382 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
6384         PR target/30519
6385         * config.host (alpha*-*-linux*): Set extra_parts.
6387 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
6389         * config/sh/t-linux: New.
6390         * config.host (sh*-*-linux*): Set tmake_file.
6392 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
6394         * Makefile.in (install): Handle multilibs.
6396 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
6398         * Makefile.in: Added .PHONY entry for documentation targets.
6400 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
6402         * Makefile.in: Add empty info, html, dvi, pdf targets.
6404 2007-01-04  Mike Stump  <mrs@apple.com>
6406         * Makefile.in (MAKEINFO): Remove.
6407         (PERL): Likewise.
6409 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
6411         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
6412         * configure: Regenerate.
6413         * Makefile.in (host_subdir): Substitute it.
6414         (gcc_objdir): Use it.
6416 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
6418         * config.host (ia64*-*-linux*): Set tmake_file.
6420 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
6422         * Makefile.in (version): Define.
6424 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
6425             Paolo Bonzini  <bonzini@gnu.org>
6427         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
6428         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
6429         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
6430         config/sparc/t-crtfm, config/t-slibgcc-darwin,
6431         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
6432         shared-object.mk, siditi-object.mk, static-object.mk: New files.
6433         * configure: Generated.