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