* crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
[official-gcc.git] / libgcc / ChangeLog
blob7c7d96509f0b9eb01b40558479c310fc5222f32e
1 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
3         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4         override USE_PT_GNU_EH_FRAME.
5         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
6         check USE_EH_FRAME_REGISTRY_ALWAYS against
7         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
8         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
9         variable for substituted force_explicit_eh_registry.
10         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
11         * configure.ac (explicit-exception-frame-registration):
12         New AC_ARG_ENABLE.
13         * configure: Regenerate.
15 2014-09-19  Olivier Hainque  <hainque@adacore.com>
17         * config.host (powerpc-wrs-vxworksmils): New configuration,
18         same as vxworksae.
20 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
22         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
24 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
26         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
27         bits not set bits as indicating trapping exceptions.
29 2014-09-17  Nathan sidwell  <nathan@acm.org>
31         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
32         (LIBGCOV_DRIVER): ... here.
33         * libgcov-driver.c (gcov_master): New.
34         (gcov_exit): Remove from master chain.
35         (__gcov_init): Add to master chain if version compatible.  Don't
36         clear the version.
37         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
38         (gcov_reset_int): Clear master chain, if compatible.
39         (gcov_dump_int): New internal interface.  Dump master chain, if
40         compatible.
41         (gcov_dump): Alias for gcov_dump_int.
42         * libgcov.h (struct gcov_root): Add next and prev fields.
43         (struct gcov_master): New struct.
44         (__gcov_master): New.
45         (gcov_dump_int): Declare.
47 2014-09-17  Olivier Hainque  <hainque@adacore.com>
49         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
50         and crtbegin.o + crtend.o to extra_parts.
52 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
54         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
55         __LIBGCC_HAS_SF_MODE__.
56         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
57         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
58         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
59         * config/libbid/bid_gcc_intrinsics.h
60         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
61         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
62         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
63         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
64         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
65         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
67 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
69         PR target/63223
70         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
71         and R24 as needed.  Make work for all devices and .text locations.
72         (__do_global_ctors, __do_global_dtors): Use word addresses.
73         (__tablejump__, __tablejump_elpm__): Remove functions.
74         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
75         Add _tablejump2.
76         (XICALL, XIJMP): New macros.
78 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
79         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
81         * config.host (aarch64*): Include crtfastmath.o and
82         t-crtfm.
83         * config/aarch64/crtfastmath.c: New file.
85 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
87         * config.host: Remove picochip support.
88         * config/picochip/adddi3.S: Remove.
89         * config/picochip/ashlsi3.S: Remove.
90         * config/picochip/ashlsi3.c: Remove.
91         * config/picochip/ashrsi3.S: Remove.
92         * config/picochip/ashrsi3.c: Remove.
93         * config/picochip/clzsi2.S: Remove.
94         * config/picochip/cmpsi2.S: Remove.
95         * config/picochip/divmod15.S: Remove.
96         * config/picochip/divmodhi4.S: Remove.
97         * config/picochip/divmodsi4.S: Remove.
98         * config/picochip/lib1funcs.S: Remove.
99         * config/picochip/longjmp.S: Remove.
100         * config/picochip/lshrsi3.S: Remove.
101         * config/picochip/lshrsi3.c: Remove.
102         * config/picochip/parityhi2.S: Remove.
103         * config/picochip/popcounthi2.S: Remove.
104         * config/picochip/setjmp.S: Remove.
105         * config/picochip/subdi3.S: Remove.
106         * config/picochip/t-picochip: Remove.
107         * config/picochip/ucmpsi2.S: Remove.
108         * config/picochip/udivmodhi4.S: Remove.
109         * config/picochip/udivmodsi4.S: Remove.
111 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
113         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
114         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
115         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
116         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
117         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
118         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
119         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
120         defined and LIBGCC2_HAS_DF_MODE is defined.
121         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
122         defined and LIBGCC2_HAS_XF_MODE is defined.
123         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
124         defined and LIBGCC2_HAS_TF_MODE is defined.
126 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
128         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
129         and ROUND_TOWARDS_ZERO conditionals.
131 2014-09-07  Nathan sidwell  <nathan@acm.org>
133         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
134         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
136 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
138         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
139         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
140         uses to __LIBGCC_STACK_POINTER_REGNUM__.
141         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
142         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
143         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
144         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
145         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
146         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
147         (DWARF_FRAME_REGISTERS): Change all uses to
148         __LIBGCC_DWARF_FRAME_REGISTERS__.
149         (EH_RETURN_STACKADJ_RTX): Change all uses to
150         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
151         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
152         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
153         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
154         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
155         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
156         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
157         to __LIBGCC_EH_FRAME_SECTION_NAME__.
158         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
159         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
160         __LIBGCC_STACK_POINTER_REGNUM__.
161         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
162         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
163         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
164         to __LIBGCC_STACK_POINTER_REGNUM__.
165         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
166         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
167         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
168         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
169         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
170         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
171         (STACK_POINTER_REGNUM): Change all uses to
172         __LIBGCC_STACK_POINTER_REGNUM__.
173         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
174         use to __LIBGCC_STACK_POINTER_REGNUM__.
175         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
176         uses to __LIBGCC_STACK_POINTER_REGNUM__.
177         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
178         to __LIBGCC_DWARF_FRAME_REGISTERS__.
179         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
180         to __LIBGCC_DWARF_FRAME_REGISTERS__.
181         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
182         to __LIBGCC_STACK_POINTER_REGNUM__.
183         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
184         Remove conditional definition.
185         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
186         __LIBGCC_TEXT_SECTION_ASM_OP__.
187         (EH_FRAME_SECTION_NAME): Change all uses to
188         __LIBGCC_EH_FRAME_SECTION_NAME__.
189         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
190         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
191         (CTORS_SECTION_ASM_OP): Change all uses to
192         __LIBGCC_CTORS_SECTION_ASM_OP__.
193         (DTORS_SECTION_ASM_OP): Change all uses to
194         __LIBGCC_DTORS_SECTION_ASM_OP__.
195         (JCR_SECTION_NAME): Change all uses to
196         __LIBGCC_JCR_SECTION_NAME__.
197         (INIT_SECTION_ASM_OP): Change all uses to
198         __LIBGCC_INIT_SECTION_ASM_OP__.
199         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
200         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
201         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
202         __LIBGCC_STACK_GROWS_DOWNWARD__.
203         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
204         __LIBGCC_INIT_SECTION_ASM_OP__.
205         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
206         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
207         (EH_FRAME_SECTION_NAME): Change all uses to
208         __LIBGCC_EH_FRAME_SECTION_NAME__.
209         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
210         definitions.  Change all uses to
211         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
212         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
213         __LIBGCC_STACK_GROWS_DOWNWARD__.
214         (DWARF_FRAME_REGISTERS): Change all uses to
215         __LIBGCC_DWARF_FRAME_REGISTERS__.
216         (EH_RETURN_STACKADJ_RTX): Change all uses to
217         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
218         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
219         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
220         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
221         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
222         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
224 2014-09-02  Nathan sidwell  <nathan@acm.org>
226         * libgcov-interface.c (STRONG_ALIAS): New.
227         (__gcov_flush): Call __gcov_reset_int.
228         (__gcov_reset): Strong alias for ...
229         (__gcov_reset_ing): ... this renamed hidden version.
230         * libgcov.h (__gcov_reset_int): New declaration.
232 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
234         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
235         call from here...
236         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
237         (__dso_handle): Define on Cygwin.
238         * config/i386/t-cygming (crtbeginS.o): New rule.
239         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
241         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
242         declaration syntax.
244 2014-08-13  Steve Ellcey  <sellcey@mips.com>
246         * crtstuff.c: Undef caddr_t.
248 2014-08-12  Steve Ellcey  <sellcey@mips.com>
250         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
252 2014-08-07  Nathan Sidwell  <nathan@acm.org>
254         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
255         (LIBGCOV_DRIVER): ... to here.
256         * libgcov.h (gcov_do_dump): New #define.
257         (struct gcov_root): New.
258         (__gcov_root): New declaration.
259         (__gcov_dump_one): Declare.
260         * libgcov-driver.c (gcov_list, gcov_dump_complete,
261         run_accounted): Delete.
262         (gcov_compute_histogram): Add LIST argument, adjust.
263         (compute_summary): Adjust gcov_compute_histogram call.
264         (gcov_do_dump): Not hidden, static in libgcov.
265         (gcov_clear): Move  to interface.c.
266         (__gcov_dump_one): New, broken out of ...
267         (gcov_exit): ... here.  Make static.
268         (__gcov_root): New.
269         (__gcov_init): Adjust.
270         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
271         declarations.
272         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
273         (gcov_clear): Moved from driver.c.   Add LIST argument.
274         (__gcov_reset): Adjust for changed interfaces.
275         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
277 2014-08-04  Rohit  <rohitarulraj@freescale.com>
279         PR target/60102
280         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
281         based on change in SPE high register numbers and 3 HTM registers.
283 2014-08-01  Nathan Sidwell  <nathan@acm.org>
285         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
286         LIBGCOV_INTERFACE): Reformat.
287         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
288         IN_GCOV_TOOL.
289         * libgcov-interface.c: Reformat some comments.
290         (__gcov_flush_mx): Add declaration.  Tidy up definition.
292 2014-07-31  Alan Modra  <amodra@gmail.com>
293             Peter Bergner  <bergner@vnet.ibm.com>
295         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
296         (pack_ldouble): New function.
297         (__gcc_qadd): Use it.
298         (__gcc_qmul): Likewise.
299         (__gcc_qdiv): Likewise.
300         (__gcc_qneg): Likewise.
301         (__gcc_stoq): Likewise.
302         (__gcc_dtoq): Likewise.
304 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
306         * config/s390/tpf-unwind.h: Include <stdbool.h>.
307         (__tpf_eh_return): Add original return address as second parameter.
308         Handle cases where unwinder routines were called directly, instead
309         of from within the C++ library.
311 2014-07-29  Nathan Sidwell  <nathan@acm.org>
313         * libgcov.h: Move renaming of entry points to lib gcov specific
314         portion.
315         (gcov_do_dump): New rename.
316         (gcov_rewrite): Remove inline, make HIDDEN.
317         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
318         (gcov_exit_compute_summary): Rename to ...
319         (compute_summary): ... here.  Add LIST argument.
320         (gcov_exit_merge_gcda): Rename to ...
321         (merge_one_data): ... here.
322         (gcov_exit_write_gcda): Rename to ...
323         (write_one_data): ... here.
324         (gcov_exit_merge_summary): Rename to ...
325         (merge_summary): Add RUN_COUNTED argument.
326         (gcov_exit_dump_gcov): Rename to ...
327         (dump_one_gcov): Add RUN_COUNTED argument.
328         (gcov_do_dump): New function, broken out of ...
329         (gcov_exit): ... here.  Call it.
331 2014-07-27  Anthony Green  <green@moxielogic.com>
333         * config.host: Add moxiebox configuration suppport.
335 2014-07-27  Nathan Sidwell  <nathan@acm.org>
337         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
338         (struct gcov_filename): ... here.  Include buffer and max length
339         fields.
340         (gcov_max_filename): Remove.
341         (gi_filename): Remove.
342         (gcov_exit_compute_summary): Compute max filename here.
343         (gcov_exit_merge_gcda): Add filename parm, adjust.
344         (gcov_exit_merge_summary): Likewise.
345         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
346         (gcov_exit): Likewise.
347         (__gcov_init): Don't calculate max length here.
348         * libgcov_util.c (max_filename_len): Remove.
349         (read_gcda_file): Don't calculate max length here.
350         (gcov_read_profile_dir): Don't propagate here.
351         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
352         struct gcov_filename changes.
353         (gcov_exit_open_gcda_file): Likewise.
355 2014-07-25  Nathan Sidwell  <nathan@acm.org>
357         * libgcov-driver.c (set_gcov_dump_complete,
358         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
359         functions polluting user's namespace.
360         (gcov_exit): Set variable directly.
361         (gcov_clear): Reset variable directly.
362         * libgcov-interface.c (get_gcov_dymp_complete,
363         reset_gov_dump_complete): Remove declarations.
364         (__gcov_reset, __gcov_dump): Don't call them.
366 2014-07-24  DJ Delorie  <dj@redhat.com>
368         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
369         (__gcc_deregister_frame): Move logic to detect deregister function
370         to ...
371         (__gcc_register_frame): here, so it's consistent with the register
372         logic.
374 2014-07-23  Nathan Sidwell  <nathan@acm.org>
376         * libgcov-driver.c (set_gcov_list): Remove.
377         (gcov_list): Make non-static in GCOV_TOOL.
378         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
380 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
382         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
383         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
384         Don't use SYNC_LOCK_RELEASE for int type.
386 2014-07-14  Richard Biener  <rguenther@suse.de>
388         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
390 2014-07-11  Rong Xu  <xur@google.com>
392         * libgcov-util.c (gcov_max_filename): Fix declartion.
394 2014-07-10  Rong Xu  <xur@google.com>
396         Add gcov-tool: an offline gcda profile processing tool
397         Support.
398         * libgcov-driver.c (gcov_max_filename): Make available
399         to gcov-tool.
400         * libgcov-merge.c (__gcov_merge_add): Replace
401         gcov_read_counter() with a Macro.
402         (__gcov_merge_ior): Ditto.
403         (__gcov_merge_time_profile): Ditto.
404         (__gcov_merge_single): Ditto.
405         (__gcov_merge_delta): Ditto.
406         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
407         in the utility functions.
408         (set_fn_ctrs): Utility function for reading gcda files to in-memory
409         gcov_list object link lists.
410         (tag_function): Ditto.
411         (tag_blocks): Ditto.
412         (tag_arcs): Ditto.
413         (tag_lines): Ditto.
414         (tag_counters): Ditto.
415         (tag_summary): Ditto.
416         (read_gcda_finalize): Ditto.
417         (read_gcda_file): Ditto.
418         (ftw_read_file): Ditto.
419         (read_profile_dir_init): Ditto.
420         (gcov_read_profile_dir): Ditto.
421         (gcov_read_counter_mem): Ditto.
422         (gcov_get_merge_weight): Ditto.
423         (merge_wrapper): A wrapper function that calls merging handler.
424         (gcov_merge): Merge two gcov_info objects with weights.
425         (find_match_gcov_info): Find the matched gcov_info in the list.
426         (gcov_profile_merge): Merge two gcov_info object lists.
427         (__gcov_add_counter_op): Process edge profile counter values.
428         (__gcov_ior_counter_op): Process IOR profile counter values.
429         (__gcov_delta_counter_op): Process delta profile counter values.
430         (__gcov_single_counter_op): Process single  profile counter values.
431         (fp_scale): Callback function for float-point scaling.
432         (int_scale): Callback function for integer fraction scaling. 
433         (gcov_profile_scale): Scaling profile counters.
434         (gcov_profile_normalize): Normalize profile counters.
435         * libgcov.h: Add headers and functions for gcov-tool use.
436         (gcov_get_counter): New.
437         (gcov_get_counter_target): Ditto.
438         (struct gcov_info): Make the functions field mutable in gcov-tool
439         compilation.
441 2014-06-23  Kai Tietz  <ktietz@redhat.com>
443         PR libgcc/61585
444         * unwind-seh.c (_Unwind_GetGR): Check for proper
445         index range.
446         (_Unwind_SetGR): Likewise.
448 2014-05-22  Nick Clifton  <nickc@redhat.com>
450         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
451         -mhwmult=none.
453 2014-05-22  Teresa Johnson  <tejohnson@google.com>
455         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
456         include.
458 2014-05-20  John Marino  <gnugcc@marino.st>
460         * config.host (*-*-dragonfly*): New target.
461         * crtstuff.c: Make dl_iterate_support generic on *bsd.
462         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
463         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
464         * config/i386/dragonfly-unwind.h: New.
466 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
468         PR libgcc/60166
469         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
470         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
472 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
474         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
475         implementation.
477 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
479         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
481 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
483         PR libgcc/61097
484         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
485         if --enable-shared.
487 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
489         Work around for current cygwin32 build problems.
490         * config/i386/cygming-crtbegin.c (__register_frame_info,
491         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
492         functions only for 64-bit systems.
494 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
496         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
497         (sigill_caught, sigill_hdlr): Remove.
499 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
501         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
502         check.
503         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
504         Solaris 9 single-threaded support.
505         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
506         Solaris 9 single-threaded support.  Add call_user_handler code
507         sequences.
508         (sparc_is_sighandler): Likewise.
510 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
512         * config.host: Append t-floattodi to tmake_file depending on
513         host_address.
515 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
517         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
519 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
521         PR libgcc/60472
522         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
523         variable to avoid array subscript is above array bounds warnings.
524         Use __builtin_expect when checking *jcr_list for NULL.
526 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
528         PR libgcc/59339
529         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
530         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
531         vtv_*.o to extra_parts if enable_vtable_verify.
533 2014-03-06  Nick Clifton  <nickc@redhat.com>
535         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
536         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
538 2014-02-28  Joey Ye  <joey.ye@arm.com>
540         PR libgcc/60166
541         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
542         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
543         Set to zero.
545 2014-02-24  Walter Lee  <walt@tilera.com>
547         * config.host: Support "tilegx*" and "tilepro*" triplets.
548         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
549         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
551 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
552             Chung-Lin Tang  <cltang@codesourcery.com>
554         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
555         * config/nios2/crti.S: Remove .file directive.
556         * config/nios2/crtn.S: Likewise.
558 2014-02-18  Kai Tietz  <ktietz@redhat.com>
559         Jonathan Schleifer  <js@webkeks.org>
561         PR objc/56870
562         * unwind-seh.c (_GCC_specific_handler): Pass proper
563         value to unwind-handler.
565 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
567         * soft-fp/adddf3.c: Update from glibc.
568         * soft-fp/addsf3.c: Likewise.
569         * soft-fp/addtf3.c: Likewise.
570         * soft-fp/divdf3.c: Likewise.
571         * soft-fp/divsf3.c: Likewise.
572         * soft-fp/divtf3.c: Likewise.
573         * soft-fp/double.h: Likewise.
574         * soft-fp/eqdf2.c: Likewise.
575         * soft-fp/eqsf2.c: Likewise.
576         * soft-fp/eqtf2.c: Likewise.
577         * soft-fp/extenddftf2.c: Likewise.
578         * soft-fp/extended.h: Likewise.
579         * soft-fp/extendsfdf2.c: Likewise.
580         * soft-fp/extendsftf2.c: Likewise.
581         * soft-fp/extendxftf2.c: Likewise.
582         * soft-fp/fixdfdi.c: Likewise.
583         * soft-fp/fixdfsi.c: Likewise.
584         * soft-fp/fixdfti.c: Likewise.
585         * soft-fp/fixsfdi.c: Likewise.
586         * soft-fp/fixsfsi.c: Likewise.
587         * soft-fp/fixsfti.c: Likewise.
588         * soft-fp/fixtfdi.c: Likewise.
589         * soft-fp/fixtfsi.c: Likewise.
590         * soft-fp/fixtfti.c: Likewise.
591         * soft-fp/fixunsdfdi.c: Likewise.
592         * soft-fp/fixunsdfsi.c: Likewise.
593         * soft-fp/fixunsdfti.c: Likewise.
594         * soft-fp/fixunssfdi.c: Likewise.
595         * soft-fp/fixunssfsi.c: Likewise.
596         * soft-fp/fixunssfti.c: Likewise.
597         * soft-fp/fixunstfdi.c: Likewise.
598         * soft-fp/fixunstfsi.c: Likewise.
599         * soft-fp/fixunstfti.c: Likewise.
600         * soft-fp/floatdidf.c: Likewise.
601         * soft-fp/floatdisf.c: Likewise.
602         * soft-fp/floatditf.c: Likewise.
603         * soft-fp/floatsidf.c: Likewise.
604         * soft-fp/floatsisf.c: Likewise.
605         * soft-fp/floatsitf.c: Likewise.
606         * soft-fp/floattidf.c: Likewise.
607         * soft-fp/floattisf.c: Likewise.
608         * soft-fp/floattitf.c: Likewise.
609         * soft-fp/floatundidf.c: Likewise.
610         * soft-fp/floatundisf.c: Likewise.
611         * soft-fp/floatunditf.c: Likewise.
612         * soft-fp/floatunsidf.c: Likewise.
613         * soft-fp/floatunsisf.c: Likewise.
614         * soft-fp/floatunsitf.c: Likewise.
615         * soft-fp/floatuntidf.c: Likewise.
616         * soft-fp/floatuntisf.c: Likewise.
617         * soft-fp/floatuntitf.c: Likewise.
618         * soft-fp/gedf2.c: Likewise.
619         * soft-fp/gesf2.c: Likewise.
620         * soft-fp/getf2.c: Likewise.
621         * soft-fp/ledf2.c: Likewise.
622         * soft-fp/lesf2.c: Likewise.
623         * soft-fp/letf2.c: Likewise.
624         * soft-fp/muldf3.c: Likewise.
625         * soft-fp/mulsf3.c: Likewise.
626         * soft-fp/multf3.c: Likewise.
627         * soft-fp/negdf2.c: Likewise.
628         * soft-fp/negsf2.c: Likewise.
629         * soft-fp/negtf2.c: Likewise.
630         * soft-fp/op-1.h: Likewise.
631         * soft-fp/op-2.h: Likewise.
632         * soft-fp/op-4.h: Likewise.
633         * soft-fp/op-8.h: Likewise.
634         * soft-fp/op-common.h: Likewise.
635         * soft-fp/quad.h: Likewise.
636         * soft-fp/single.h: Likewise.
637         * soft-fp/soft-fp.h: Likewise.
638         * soft-fp/subdf3.c: Likewise.
639         * soft-fp/subsf3.c: Likewise.
640         * soft-fp/subtf3.c: Likewise.
641         * soft-fp/truncdfsf2.c: Likewise.
642         * soft-fp/trunctfdf2.c: Likewise.
643         * soft-fp/trunctfsf2.c: Likewise.
644         * soft-fp/trunctfxf2.c: Likewise.
645         * soft-fp/unorddf2.c: Likewise.
646         * soft-fp/unordsf2.c: Likewise.
647         * soft-fp/unordtf2.c: Likewise.
648         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
649         macro.
650         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
651         Likewise.
652         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
653         Likewise.
654         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
655         Likewise.
656         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
657         Likewise.
658         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
659         Likewise.
660         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
661         Likewise.
662         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
663         Likewise.
664         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
665         Likewise.
666         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
667         Likewise.
668         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
669         Likewise.
670         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
671         Likewise.
672         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
673         Likewise.
674         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
675         Likewise.
676         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
677         Likewise.
678         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
679         Likewise.
681 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
683         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
684         cannot be represented.
685         * config/s390/32/_fixsfdi.c: Likewise.
686         * config/s390/32/_fixtfdi.c: Likewise.
687         * config/s390/32/_fixunsdfdi.c: Likewise.
688         * config/s390/32/_fixunssfdi.c: Likewise.
689         * config/s390/32/_fixunstfdi.c: Likewise.
691 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
693         * configure.ac (libgcc_cv_mips_hard_float): New.
694         * configure: Regenerate.
695         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
696         t-softfp-sfdf for hard-float targets.
697         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
698         (softfp_float_modes, softfp_int_modes, softfp_extensions)
699         (softfp_truncations, softfp_exclude_libgcc2): New.
700         * config/t-hardfp: New file.
701         * config/t-hardfp-sfdf: Likewise.
702         * config/hardfp.c: Likewise.
704 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
706         * config.host: Include t-floattodi also for s390x.
707         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
708         * config/s390/32/_fixsfdi.c: Likewise.
709         * config/s390/32/_fixtfdi.c: Likewise.
710         * config/s390/32/_fixunsdfdi.c: Likewise.
711         * config/s390/32/_fixunssfdi.c: Likewise.
712         * config/s390/32/_fixunstfdi.c: Likewise.
714 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
716         PR target/59788
717         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
718         (install-libgcc-unwind-map-forbuild): New target.
719         (all): Depend on install-libgcc-unwind-map-forbuild.
720         (install-libgcc-unwind-map): New target.
721         (install): Depend on install-libgcc-unwind-map.
723 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
725         * config/nios2/crti.S (_init): Initialize GOT pointer from
726         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
728 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
730         * configure.ac: Check __mips64 when setting host_address.
731         * configure: Regenerate.
732         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
733         mips/t-mips64 and t-softfp.
734         (mips*-*-linux*): Don't add mips/t-tpbit.
735         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
736         (DPBIT, DPBIT_CFLAGS): Delete.
737         * config/mips/sfp-machine.h: New file.
738         * config/mips/t-mips64: Likewise.
739         * config/mips/t-softfp-tf: Likewise.
740         * config/mips/t-tpbit: Delete.
742 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
744         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
745         as long long.
747 2014-01-25  Walter Lee  <walt@tilera.com>
749         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
750         config.h or system.h.
751         (bool) Define.
753 2014-01-25  Walter Lee  <walt@tilera.com>
755         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
756         (post_atomic_barrier): Ditto.
757         (__fetch_and_do): New macro.
758         (__atomic_fetch_and_do): Use __fetch_and_do.
759         (__sync_fetch_and_do): New macro.
760         (__sync_fetch_and_add_4): New function.
761         (__sync_fetch_and_sub_4): New function.
762         (__sync_fetch_and_or_4): New function.
763         (__sync_fetch_and_and_4): New function.
764         (__sync_fetch_and_xor_4): New function.
765         (__sync_fetch_and_nand_4): New function.
766         (__sync_fetch_and_add_8): New function.
767         (__sync_fetch_and_sub_8): New function.
768         (__sync_fetch_and_or_8): New function.
769         (__sync_fetch_and_and_8): New function.
770         (__sync_fetch_and_xor_8): New function.
771         (__sync_fetch_and_nand_8): New function.
772         (__do_and_fetch): New macro.
773         (__atomic_do_and_fetch): Use __do_and_fetch.
774         (__sync_do_and_fetch): New macro.
775         (__sync_add_and_fetch_4): New function.
776         (__sync_sub_and_fetch_4): New function.
777         (__sync_or_and_fetch_4): New function.
778         (__sync_and_and_fetch_4): New function.
779         (__sync_xor_and_fetch_4): New function.
780         (__sync_nand_and_fetch_4): New function.
781         (__sync_add_and_fetch_8): New function.
782         (__sync_sub_and_fetch_8): New function.
783         (__sync_or_and_fetch_8): New function.
784         (__sync_and_and_fetch_8): New function.
785         (__sync_xor_and_fetch_8): New function.
786         (__sync_nand_and_fetch_8): New function.
787         (__sync_exchange_methods): New macro.
788         (__sync_val_compare_and_swap_4): New function.
789         (__sync_bool_compare_and_swap_4): New function.
790         (__sync_lock_test_and_test_4): New function.
791         (__sync_val_compare_and_swap_8): New function.
792         (__sync_bool_compare_and_swap_8): New function.
793         (__sync_lock_test_and_test_8): New function.
794         (__subword_cmpxchg_body): New macro.
795         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
796         (__atomic_compare_exchange_2): Ditto.
797         (__sync_subword_cmpxchg): New macro.
798         (__sync_val_compare_and_swap_1): New function.
799         (__sync_bool_compare_and_swap_1): New function.
800         (__sync_val_compare_and_swap_2): New function.
801         (__sync_bool_compare_and_swap_2): New function.
802         (__atomic_subword): Rename to ...
803         (__subword): ... New name.
804         (__atomic_subword_fetch): Use __subword.
805         (__sync_subword_fetch): New macro.
806         (__sync_fetch_and_add_1): New function.
807         (__sync_fetch_and_sub_1): New function.
808         (__sync_fetch_and_or_1): New function.
809         (__sync_fetch_and_and_1): New function.
810         (__sync_fetch_and_xor_1): New function.
811         (__sync_fetch_and_nand_1): New function.
812         (__sync_fetch_and_add_2): New function.
813         (__sync_fetch_and_sub_2): New function.
814         (__sync_fetch_and_or_2): New function.
815         (__sync_fetch_and_and_2): New function.
816         (__sync_fetch_and_xor_2): New function.
817         (__sync_fetch_and_nand_2): New function.
818         (__sync_add_and_fetch_1): New function.
819         (__sync_sub_and_fetch_1): New function.
820         (__sync_or_and_fetch_1): New function.
821         (__sync_and_and_fetch_1): New function.
822         (__sync_xor_and_fetch_1): New function.
823         (__sync_nand_and_fetch_1): New function.
824         (__sync_add_and_fetch_2): New function.
825         (__sync_sub_and_fetch_2): New function.
826         (__sync_or_and_fetch_2): New function.
827         (__sync_and_and_fetch_2): New function.
828         (__sync_xor_and_fetch_2): New function.
829         (__sync_nand_and_fetch_2): New function.
830         (__atomic_subword_lock): Use __subword.
831         (__sync_subword_lock): New macro.
832         (__sync_lock_test_and_set_1): New function.
833         (__sync_lock_test_and_set_2): New function.
835 2014-01-25  Walter Lee  <walt@tilera.com>
837         * config/tilepro/atomic.c (BIT_OFFSET): Define.
838         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
839         (__atomic_subword): Ditto.
841 2014-01-25  Walter Lee  <walt@tilera.com>
843         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
844         a prefix op argument.
845         (__atomic_nand_fetch_4): Add prefix op.
846         (__atomic_nand_fetch_8): Ditto.
848 2014-01-21  Baruch Siach <barch@tkos.co.il>
850         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
852 2014-01-09  Rong Xu  <xur@google.com>
854         * libgcov-driver.c (this_prg): make it local to save
855         bss space.
856         (gcov_exit_compute_summary): Ditto.
857         (gcov_exit_merge_gcda): Ditto.
858         (gcov_exit_merge_summary): Ditto.
859         (gcov_exit_dump_gcov): Ditto.
861 2014-01-08  Rong Xu  <xur@google.com> 
863         * libgcov-driver.c: Use libgcov.h.
864         (buffer_fn_data): Use xmalloc instead of malloc.
865         (gcov_exit_merge_gcda): Ditto.
866         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
867         * libgcov.h: New common header files for libgcov-*.h.
868         * libgcov-interface.c: Use libgcov.h
869         * libgcov-merge.c: Ditto.
870         * libgcov-profiler.c: Ditto.
871         * Makefile.in: Add dependence to libgcov.h
873 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
875         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
876         case of small numerator and finite nonzero result.
878 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
880         Update copyright years
882 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
884         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
885         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
886         config/arc/dp-hack.h, config/arc/fp-hack.h,
887         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
888         config/arc/ieee-754/arc600-dsp/divdf3.S,
889         config/arc/ieee-754/arc600-dsp/divsf3.S,
890         config/arc/ieee-754/arc600-dsp/muldf3.S,
891         config/arc/ieee-754/arc600-dsp/mulsf3.S,
892         config/arc/ieee-754/arc600-mul64/divdf3.S,
893         config/arc/ieee-754/arc600-mul64/divsf3.S,
894         config/arc/ieee-754/arc600-mul64/muldf3.S,
895         config/arc/ieee-754/arc600-mul64/mulsf3.S,
896         config/arc/ieee-754/arc600/divsf3.S,
897         config/arc/ieee-754/arc600/mulsf3.S,
898         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
899         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
900         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
901         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
902         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
903         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
904         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
905         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
906         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
907         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
908         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
909         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
910         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
911         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
912         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
913         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
914         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
915         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
916         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
917         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
918         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
919         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
920         vtv_start_preinit.c: Use the standard form for the copyright notice.
922 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
923             Chung-Lin Tang  <cltang@codesourcery.com>
924             Based on patches from Altera Corporation
926         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
927         * config/nios2/lib2-nios2.h: New file.
928         * config/nios2/lib2-divmod-hi.c: New file.
929         * config/nios2/linux-unwind.h: New file.
930         * config/nios2/lib2-divmod.c: New file.
931         * config/nios2/linux-atomic.c: New file.
932         * config/nios2/t-nios2: New file.
933         * config/nios2/crti.asm: New file.
934         * config/nios2/t-linux: New file.
935         * config/nios2/lib2-divtable.c: New file.
936         * config/nios2/lib2-mul.c: New file.
937         * config/nios2/tramp.c: New file.
938         * config/nios2/crtn.asm: New file.
940 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
942         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
943         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
944         from cpuid.h to check vendor signatures.
946 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
948         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
949         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
950         (get_amd_cpu): Likewise.
952 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
954         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
955         Haswell.
957 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
958             H.J. Lu  <hongjiu.lu@intel.com>
960         PR target/59422
961         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
962         and AMD_JAGUAR.
963         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
964         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
965         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
966         FEATURE_XOP and FEATURE_FMA.
967         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
968         AMDFAM15H_BDVER3.
969         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
970         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
971         FEATURE_FMA4 and FEATURE_XOP.
973 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
975         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
976         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
977         (get_intel_cpu): Updated.
979 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
981         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
983 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
985         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
986         instructions when __SSE_MATH__ is defined.
988 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
990         * config.host (microblaze-*-rtems*): New.
992 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
994         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
995         architectures that do not have hardware divide instruction.
996         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
998 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
1000         * longlong.h: Delete (moved to include/).
1002 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1004         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
1005         of normal number and qNaN to not raise an inexact exception.
1007 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
1009         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
1011 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
1013         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
1014         for correct opcodes on BE.
1016 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
1018         * soft-fp/op-4.h: Update from glibc.
1020 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
1022         * libgcc2.c (__udivmoddi4): Define new implementation when
1023         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
1024         divide instructions.
1026 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
1028         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
1030 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1032         * config/t-softfp (soft-fp-objects-base): New variable.
1033         (soft-fp-objects): Use it.
1035 2013-11-23  David Edelson  <dje.gcc@gmail.com>
1036             Andrew Dixie  <andrewd@gentrack.com>
1038         PR target/33704
1039         * config/rs6000/aixinitfini.c: New file.
1040         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
1041         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
1042         symbols.
1044 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
1046         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
1048 2013-11-18  Jan Hubicka  <jh@suse.cz>
1050         * libgcov-driver.c (run_accounted): Make global level static.
1051         (gcov_exit_merge_summary): Silence warning; do not clear
1052         run_accounted here.
1053         (gcov_exit): Clear it here.
1055         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
1056         run_accounted.
1058         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
1059         (all_prg, crc32): Remove static vars.
1060         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
1061         all_prg.
1062         (gcov_exit_merge_gcda): Add crc32 parameter.
1063         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
1064         do not account run if it was already accounted.
1065         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
1066         (gcov_exit): Initialize all_prg; update.
1068 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
1070         * configure: Regenerate.
1072 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1073             Alan Modra  <amodra@gmail.com>
1075         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
1076         (frob_update_context): Use it.
1078 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1079             Alan Modra  <amodra@gmail.com>
1081         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
1082         (trampoline_initial): Provide ELFv2 variant.
1083         (__trampoline_setup): Likewise.
1085         * config/rs6000/linux-unwind.h (frob_update_context): Do not
1086         check for AIX indirect function call sequence if _CALL_ELF == 2.
1088 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1089             Alan Modra  <amodra@gmail.com>
1091         * config/rs6000/linux-unwind.h (get_regs): Do not support
1092         old kernel versions if _CALL_ELF == 2.
1093         (frob_update_context): Do not support PLT stub variants only
1094         generated by old linkers if _CALL_ELF == 2.
1096 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1097             Alan Modra  <amodra@gmail.com>
1099         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
1100         location of CR save area for 64-bit little-endian systems.
1102 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
1104         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
1105         in tmake_file.
1106         * config/arm/t-vxworks: Delete.
1108 2013-11-10  Kai Tietz  <ktietz@redhat.com>
1110         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
1111         Increment load-count on use of LIBGCC_SONAME DLL.
1112         (hmod_libgcc): New static variable to hold handle of
1113         LIBGCC_SONAME DLL.
1114         (__gcc_deregister_frame): Decrement load-count of
1115         LIBGCC_SONAME DLL.
1117 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
1119         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
1120         availability.
1121         * configure: Regenerate
1123 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
1125         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
1126         FP_EX_DENORM.  Store result to volatile location after SSE division
1127         to close interrupt window.  Remove unneeded fwait after x87
1128         division since interrupt window will be closed by emitted fstp.
1129         Rewrite FP_EX_INEXACT handling.
1131 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
1133         * soft-fp/README: Update.
1134         * soft-fp/adddf3.c: Update from glibc.
1135         * soft-fp/addsf3.c: Likewise.
1136         * soft-fp/addtf3.c: Likewise.
1137         * soft-fp/divdf3.c: Likewise.
1138         * soft-fp/divsf3.c: Likewise.
1139         * soft-fp/divtf3.c: Likewise.
1140         * soft-fp/double.h: Likewise.
1141         * soft-fp/eqdf2.c: Likewise.
1142         * soft-fp/eqsf2.c: Likewise.
1143         * soft-fp/eqtf2.c: Likewise.
1144         * soft-fp/extenddftf2.c: Likewise.
1145         * soft-fp/extended.h: Likewise.
1146         * soft-fp/extendsfdf2.c: Likewise.
1147         * soft-fp/extendsftf2.c: Likewise.
1148         * soft-fp/extendxftf2.c: Likewise.
1149         * soft-fp/fixdfdi.c: Likewise.
1150         * soft-fp/fixdfsi.c: Likewise.
1151         * soft-fp/fixdfti.c: Likewise.
1152         * soft-fp/fixsfdi.c: Likewise.
1153         * soft-fp/fixsfsi.c: Likewise.
1154         * soft-fp/fixsfti.c: Likewise.
1155         * soft-fp/fixtfdi.c: Likewise.
1156         * soft-fp/fixtfsi.c: Likewise.
1157         * soft-fp/fixtfti.c: Likewise.
1158         * soft-fp/fixunsdfdi.c: Likewise.
1159         * soft-fp/fixunsdfsi.c: Likewise.
1160         * soft-fp/fixunsdfti.c: Likewise.
1161         * soft-fp/fixunssfdi.c: Likewise.
1162         * soft-fp/fixunssfsi.c: Likewise.
1163         * soft-fp/fixunssfti.c: Likewise.
1164         * soft-fp/fixunstfdi.c: Likewise.
1165         * soft-fp/fixunstfsi.c: Likewise.
1166         * soft-fp/fixunstfti.c: Likewise.
1167         * soft-fp/floatdidf.c: Likewise.
1168         * soft-fp/floatdisf.c: Likewise.
1169         * soft-fp/floatditf.c: Likewise.
1170         * soft-fp/floatsidf.c: Likewise.
1171         * soft-fp/floatsisf.c: Likewise.
1172         * soft-fp/floatsitf.c: Likewise.
1173         * soft-fp/floattidf.c: Likewise.
1174         * soft-fp/floattisf.c: Likewise.
1175         * soft-fp/floattitf.c: Likewise.
1176         * soft-fp/floatundidf.c: Likewise.
1177         * soft-fp/floatundisf.c: Likewise.
1178         * soft-fp/floatunditf.c: Likewise.
1179         * soft-fp/floatunsidf.c: Likewise.
1180         * soft-fp/floatunsisf.c: Likewise.
1181         * soft-fp/floatunsitf.c: Likewise.
1182         * soft-fp/floatuntidf.c: Likewise.
1183         * soft-fp/floatuntisf.c: Likewise.
1184         * soft-fp/floatuntitf.c: Likewise.
1185         * soft-fp/gedf2.c: Likewise.
1186         * soft-fp/gesf2.c: Likewise.
1187         * soft-fp/getf2.c: Likewise.
1188         * soft-fp/ledf2.c: Likewise.
1189         * soft-fp/lesf2.c: Likewise.
1190         * soft-fp/letf2.c: Likewise.
1191         * soft-fp/muldf3.c: Likewise.
1192         * soft-fp/mulsf3.c: Likewise.
1193         * soft-fp/multf3.c: Likewise.
1194         * soft-fp/negdf2.c: Likewise.
1195         * soft-fp/negsf2.c: Likewise.
1196         * soft-fp/negtf2.c: Likewise.
1197         * soft-fp/op-1.h: Likewise.
1198         * soft-fp/op-2.h: Likewise.
1199         * soft-fp/op-4.h: Likewise.
1200         * soft-fp/op-8.h: Likewise.
1201         * soft-fp/op-common.h: Likewise.
1202         * soft-fp/quad.h: Likewise.
1203         * soft-fp/single.h: Likewise.
1204         * soft-fp/soft-fp.h: Likewise.
1205         * soft-fp/subdf3.c: Likewise.
1206         * soft-fp/subsf3.c: Likewise.
1207         * soft-fp/subtf3.c: Likewise.
1208         * soft-fp/truncdfsf2.c: Likewise.
1209         * soft-fp/trunctfdf2.c: Likewise.
1210         * soft-fp/trunctfsf2.c: Likewise.
1211         * soft-fp/trunctfxf2.c: Likewise.
1212         * soft-fp/unorddf2.c: Likewise.
1213         * soft-fp/unordsf2.c: Likewise.
1214         * soft-fp/unordtf2.c: Likewise.
1216 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
1218         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
1219         (_FP_MUL_MEAT_D): Ditto.
1220         (_FP_DIV_MEAT_S): Ditto.
1221         (_FP_DIV_MEAT_D): Ditto.
1222         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
1223         t-softfp-sfdf and t-softfp to tmake_file.
1225 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
1227         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
1228         * config/i386/crtprec.c: Ditto.
1230 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
1231             Shiva Chen  <shiva0217@gmail.com>
1233         * config.host (nds32*-elf*): Add nds32 target.
1234         * config/nds32 : New directory and files.
1236 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
1238         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
1239         * config.host (cpu_type) <Setting default>: Add entry for
1240         crisv32-*-*.
1241         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
1242         <crisv32-*-linux*>: Adjust.
1243         * longlong.h: Wrap the whole CRIS section in a single
1244         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
1245         and sub_ddmmss.
1246         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
1247         defined.
1248         [__CRIS__] (__umulsidi3): Define.
1249         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
1250         * config/cris/sfp-machine.h: New file.
1251         * config/cris/umulsidi3.S: New file.
1252         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
1253         * config/cris/arit.c (SIGNMULT): New macro.
1254         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
1255         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
1256         saving 3 out of originally 33 cycles from the fastest
1257         path, 3 out of 54 from the medium path and one from the longest
1258         path.  Improve comments.
1260 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
1262         * sync.c: Remove static aliases and define each function directly
1263         under its real name.
1265 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
1267         * config.host (hppa*64*-*-linux*): Define extra_parts.
1268         (hppa*-*-linux*): Likewise.
1270 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
1272         * config/arc/crtgend.S: Add 2013 to Copyright years.
1273         * config/arc/gmon/atomic.h: Likewise.
1274         * config/arc/gmon/auxreg.h: Likewise.
1275         * config/arc/gmon/sys/gmon_out.h: Likewise.
1276         * config/arc/gmon/sys/gmon.h: Likewise.
1277         * config/arc/gmon/prof-freq.c: Likewise.
1278         * config/arc/gmon/mcount.c: Likewise.
1279         * config/arc/gmon/prof-freq-stub.S: Likewise.
1280         * config/arc/gmon/gmon.c: Likewise.
1281         * config/arc/gmon/machine-gmon.h: Likewise.
1282         * config/arc/gmon/profil.S: Likewise.
1283         * config/arc/gmon/dcache_linesz.S: Likewise.
1284         * config/arc/crtg.S: Likewise.
1285         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
1286         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
1287         * config/arc/ieee-754/adddf3.S: Likewise.
1288         * config/arc/ieee-754/truncdfsf2.S: Likewise.
1289         * config/arc/ieee-754/fixsfsi.S: Likewise.
1290         * config/arc/ieee-754/gtsf2.S: Likewise.
1291         * config/arc/ieee-754/floatsisf.S: Likewise.
1292         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
1293         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
1294         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
1295         * config/arc/ieee-754/fixdfsi.S: Likewise.
1296         * config/arc/ieee-754/addsf3.S: Likewise.
1297         * config/arc/ieee-754/gesf2.S: Likewise.
1298         * config/arc/ieee-754/floatsidf.S: Likewise.
1299         * config/arc/ieee-754/extendsfdf2.S: Likewise.
1300         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
1301         * config/arc/ieee-754/gtdf2.S: Likewise.
1302         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
1303         * config/arc/ieee-754/uneqdf2.S: Likewise.
1304         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1305         * config/arc/ieee-754/uneqsf2.S: Likewise.
1306         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
1307         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
1308         * config/arc/ieee-754/eqdf2.S: Likewise.
1309         * config/arc/ieee-754/ordsf2.S: Likewise.
1310         * config/arc/ieee-754/divsf3.S: Likewise.
1311         * config/arc/ieee-754/divdf3.S: Likewise.
1312         * config/arc/ieee-754/floatunsidf.S: Likewise.
1313         * config/arc/ieee-754/orddf2.S: Likewise.
1314         * config/arc/ieee-754/eqsf2.S: Likewise.
1315         * config/arc/ieee-754/gedf2.S: Likewise.
1316         * config/arc/crtn.S: Likewise.
1317         * config/arc/crti.S: Likewise.
1318         * config/arc/t-arc700-uClibc: Likewise.
1319         * config/arc/asm.h: Likewise.
1320         * config/arc/libgcc-excl.ver: Likewise.
1321         * config/arc/t-arc-newlib: Likewise.
1322         * config/arc/divtab-arc700.c: Likewise.
1323         * config/arc/initfini.c: Likewise.
1324         * config/arc/fp-hack.h: Likewise.
1326 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
1327             Diego Novillo  <dnovillo@google.com>
1329         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
1330         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
1331         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
1332         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
1334 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
1335             Brendan Kehoe  <brendan@zen.org>
1336             Simon Cook  <simon.cook@embecosm.com>
1338         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
1339         * config/arc: New directory.
1340         * longlong.h [__arc__] (umul_ppmm): Remove.
1341         [__arc__] (__umulsidi3): Define.
1342         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
1343         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
1345 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
1347         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
1348         CreateSemaphoreA.
1349         * config/i386/gthr-win32.h: Likewise.
1351 2013-09-16  DJ Delorie  <dj@redhat.com>
1353         * config/rl78/vregs.h: Add G10 register definitions.
1354         * config/rl78/lib2mul.c: Enable for RL78/G10.
1355         * config/rl78/lib2div.c: Likewise.
1356         * config/rl78/lshrsi3.S: Use vregs.h.
1357         * config/rl78/cmpsi2.S: Likewise.
1358         * config/rl78/trampoline.S: Likewise.
1359         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
1361 2013-09-14  DJ Delorie  <dj@redhat.com>
1362             Nick Clifton  <nickc@redhat.com>
1364         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
1365         * config/rl78/vregs.h: New.
1366         * config/rl78/signbit.S: New file.  Implements signbit function.
1367         * config/rl78/divmodsi.S: New.
1368         * config/rl78/divmodhi.S: New.
1369         * config/rl78/divmodqi.S: New.
1370         * config/rl78/t-rl78: Build them here...
1371         * config/rl78/lib2div.c: ...but not here.
1373 2013-09-12  DJ Delorie  <dj@redhat.com>
1375         * config.host (msp*-*-elf): New.
1376         * config/msp430/: New port.
1378 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
1380         PR gcov-profile/58127
1381         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
1382         __thread var for emulated TLS.
1383         (__gcov_indirect_call_counters): Likewise.
1385 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
1386             Catherine Moore  <clm@codesourcery.com>
1387             Richard Sandiford <rdsandiford@googlemail.com>
1389         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
1390         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
1391         (CALL_STUB_NO_RET): Likewise.
1392         (CALL_STUB_RET): Likewise.
1393         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
1394         __mips16_ret call/return stub symbols.
1395         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
1396         to tmake_file.
1398 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
1400         * config.host <mips*-*-linux*>: Remove a stray comment.
1402 2013-08-10  Jan Hubicka  <jh@suse.cz>
1404         Work around binutils PR14342
1405         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
1406         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
1407         (L_gcov_indirect_call_profiler_v2): New.
1409 2013-08-06  Jan Hubicka  <jh@suse.cz>
1411         * libgcov.c (__gcov_indirect_call_callee,
1412         __gcov_indirect_call_counters): New global vars.
1413         (__gcov_indirect_call_profiler): replace by ...
1414         (__gcov_indirect_call_profiler_v2) ... this one.
1416 2013-08-06  Caroline Tice  <cmtice@google.com>
1418         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
1419         vtv_start_preinit.o and vtv_end_preinit.o.
1420         * configure.ac: Add code to check/set enable_vtable_verify.
1421         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
1422         true.
1423         * vtv_start_preinit.c: New file.
1424         * vtv_end_preinit.c: New file.
1425         * vtv_start.c: New file.
1426         * vtv_end.c: New file.
1427         * configure: Regenerated.
1429 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
1431         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
1432         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
1433         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
1434         GPL-3.0-with-GCC-exception.
1436 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
1438         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
1439         ISA and up.
1441 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1443         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
1444         mapping for FPRs when creating the fallback framestate.
1446 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
1448         PR target/57516
1449         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
1450         (__round_s2_const, __round_u2_const)
1451         (__round_s4_const, __round_u4_const, __round_x8):
1452         Saturate result if addition result cannot be represented.
1454 2013-07-15  Matthias Klose  <doko@ubuntu.com>
1456         * libgcc2.c: Don't include <limits.h>.
1458 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
1460         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
1462 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
1464         PR target/29776
1465         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
1467 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
1469         PR middle-end/36041
1470         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
1471         Define.
1472         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
1473         instead of table lookups.
1474         (__popcountDI2): Likewise.
1476 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
1478         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
1479         correctly.
1481 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
1483         PR other/53317
1484         * soft-fp/adddf3.c: Update from glibc.
1485         * soft-fp/addsf3.c: Likewise.
1486         * soft-fp/addtf3.c: Likewise.
1487         * soft-fp/divdf3.c: Likewise.
1488         * soft-fp/divsf3.c: Likewise.
1489         * soft-fp/divtf3.c: Likewise.
1490         * soft-fp/double.h: Likewise.
1491         * soft-fp/eqdf2.c: Likewise.
1492         * soft-fp/eqsf2.c: Likewise.
1493         * soft-fp/eqtf2.c: Likewise.
1494         * soft-fp/extenddftf2.c: Likewise.
1495         * soft-fp/extended.h: Likewise.
1496         * soft-fp/extendsfdf2.c: Likewise.
1497         * soft-fp/extendsftf2.c: Likewise.
1498         * soft-fp/fixdfdi.c: Likewise.
1499         * soft-fp/fixdfsi.c: Likewise.
1500         * soft-fp/fixsfdi.c: Likewise.
1501         * soft-fp/fixsfsi.c: Likewise.
1502         * soft-fp/fixtfdi.c: Likewise.
1503         * soft-fp/fixtfsi.c: Likewise.
1504         * soft-fp/fixunsdfdi.c: Likewise.
1505         * soft-fp/fixunsdfsi.c: Likewise.
1506         * soft-fp/fixunssfdi.c: Likewise.
1507         * soft-fp/fixunssfsi.c: Likewise.
1508         * soft-fp/fixunstfdi.c: Likewise.
1509         * soft-fp/fixunstfsi.c: Likewise.
1510         * soft-fp/floatdidf.c: Likewise.
1511         * soft-fp/floatdisf.c: Likewise.
1512         * soft-fp/floatditf.c: Likewise.
1513         * soft-fp/floatsidf.c: Likewise.
1514         * soft-fp/floatsisf.c: Likewise.
1515         * soft-fp/floatsitf.c: Likewise.
1516         * soft-fp/floatundidf.c: Likewise.
1517         * soft-fp/floatundisf.c: Likewise.
1518         * soft-fp/floatunditf.c: Likewise.
1519         * soft-fp/floatunsidf.c: Likewise.
1520         * soft-fp/floatunsisf.c: Likewise.
1521         * soft-fp/floatunsitf.c: Likewise.
1522         * soft-fp/gedf2.c: Likewise.
1523         * soft-fp/gesf2.c: Likewise.
1524         * soft-fp/getf2.c: Likewise.
1525         * soft-fp/ledf2.c: Likewise.
1526         * soft-fp/lesf2.c: Likewise.
1527         * soft-fp/letf2.c: Likewise.
1528         * soft-fp/muldf3.c: Likewise.
1529         * soft-fp/mulsf3.c: Likewise.
1530         * soft-fp/multf3.c: Likewise.
1531         * soft-fp/negdf2.c: Likewise.
1532         * soft-fp/negsf2.c: Likewise.
1533         * soft-fp/negtf2.c: Likewise.
1534         * soft-fp/op-1.h: Likewise.
1535         * soft-fp/op-2.h: Likewise.
1536         * soft-fp/op-4.h: Likewise.
1537         * soft-fp/op-8.h: Likewise.
1538         * soft-fp/op-common.h: Likewise.
1539         * soft-fp/quad.h: Likewise.
1540         * soft-fp/single.h: Likewise.
1541         * soft-fp/soft-fp.h: Likewise.
1542         * soft-fp/subdf3.c: Likewise.
1543         * soft-fp/subsf3.c: Likewise.
1544         * soft-fp/subtf3.c: Likewise.
1545         * soft-fp/truncdfsf2.c: Likewise.
1546         * soft-fp/trunctfdf2.c: Likewise.
1547         * soft-fp/trunctfsf2.c: Likewise.
1548         * soft-fp/unorddf2.c: Likewise.
1549         * soft-fp/unordsf2.c: Likewise.
1550         * soft-fp/unordtf2.c: Likewise.
1551         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
1552         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1553         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1554         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1555         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1556         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1557         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1558         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1559         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1560         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
1561         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
1562         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1564 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
1566         * config/mips/lib2funcs.c: New file.
1567         * config/mips/t-mips (LIB2ADD_ST): Add it.
1569 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
1571         PR target/6526
1572         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
1573         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
1575 2013-06-08  Walter Lee  <walt@tilera.com>
1577         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
1578         Replace int64_t with long long.  Add __extension__ where
1579         appropriate.
1580         * config/tilepro/atomic.c: Include config.h.
1582 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
1584         * config.host (arm-wrs-vxworks): Configure with other soft float.
1586 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
1588         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
1589         (mips64r5900el-*-elf*): New configurations.
1591 2013-06-04  Alan Modra  <amodra@gmail.com>
1593         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
1595 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
1597         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
1599 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
1601         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
1602         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
1603         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
1605 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
1607         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
1608         (powerpc-wrs-vxworks): Likewise.
1610 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
1612         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
1613         signal frames as well.
1614         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
1615         STACK_BIAS to the CFA offset.
1617 2013-05-17  Richard Henderson  <rth@redhat.com>
1619         PR target/49146
1620         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
1621         (execute_cfa_program): Use it when storing to fs->regs.
1623 2013-05-08  Kai Tietz  <ktietz@redhat.com>
1625         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
1626         (__deregister_frame_info): Likewise.
1628 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
1630         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
1631         NaN's payload.
1633         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
1635 2013-04-25  Alan Modra  <amodra@gmail.com>
1637         * config.host: Match little-endian powerpc-linux.
1639 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
1641         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
1642         as 'unsigned long long' instead of 'unsigned long'.
1643         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
1644         'signed long'.
1646 2013-04-10  Julian Brown  <julian@codesourcery.com>
1648         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
1649         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
1650         unsigned char/unsigned short.
1651         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
1653 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1655         PR other/55274
1656         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
1658 2013-04-04  Meador Inge  <meadori@codesourcery.com>
1660         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
1661         computing the location of the link register.
1662         (aeabi_uldivmod): Ditto.
1664 2013-03-27  Kai Tietz  <ktietz@redhat.com>
1666         * config.host: Add support for cygwin x64 target.
1667         * configure: Regenerated.
1669 2013-03-26  Walter Lee  <walt@tilera.com>
1671         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
1672         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
1674 2013-03-25  Kai Tietz  <ktietz@redhat.com>
1676         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
1678 2013-03-20  Robert Mason  <rbmj@verizon.net>
1680         * config/vxlib-tls.c (__gthread_get_tsd_data,)
1681         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
1682         (__gthread_leave_tsd_dtor_context): Add prototypes.
1683         (tls_delete_hook): Update.
1685 2013-03-20  Catherine Moore  <clm@codesourcery.com>
1686             Joseph Myers  <joseph@codesourcery.com>
1687             Chao-ying Fu  <fu@mips.com>
1689         * config/mips/mips16.S:  Don't build for microMIPS.
1690         * config/mips/linux-unwind.h: Handle microMIPS frame.
1691         * config/mips/crtn.S (fini, init): New labels.
1693 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
1695         PR tree-optimization/53265
1696         * unwind-dw2.c (execute_cfa_program): Avoid
1697         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
1698         on targets with DWARF_FRAME_REGISTERS < 32.
1700 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
1702         PR target/49880
1703         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
1704         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
1706 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
1708         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
1709         sandybridge processors.
1711 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
1713         PR target/56529
1714         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
1715         inclusion list.
1717 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
1719         * config/microblaze/crti.S: Setup stack protection at entry
1721 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
1723         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
1724         (__rotldi3): Shift bytewise if applicable.
1726 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
1728         * config/aarch64/sync-cache.c
1729         (__aarch64_sync_cache_range): Silence warnings.
1731 2013-02-25  Catherine Moore  <clm@codesourcery.com>
1733         Revert:
1734         2013-02-24  Catherine Moore  <clm@codesourcery.com>
1735             Joseph Myers  <joseph@codesourcery.com>
1736             Chao-ying Fu  <fu@mips.com>
1738         * config/mips/mips16.S:  Don't build for microMIPS.
1739         * config/mips/linux-unwind.h: Handle microMIPS frame.
1740         * config/mips/crtn.S (fini, init): New labels.
1742 2013-02-24  Catherine Moore  <clm@codesourcery.com>
1743             Joseph Myers  <joseph@codesourcery.com>
1744             Chao-ying Fu  <fu@mips.com>
1746         * config/mips/mips16.S:  Don't build for microMIPS.
1747         * config/mips/linux-unwind.h: Handle microMIPS frame.
1748         * config/mips/crtn.S (fini, init): New labels.
1750 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
1751         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000 
1752         as dividend.
1754 2013-02-16  Alan Modra  <amodra@gmail.com>
1756         PR target/55431
1757         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
1758         (ppc_fallback_frame_state): Always set up save locations for fp
1759         and altivec.  Don't bother with non-callee-saved regs, r0-r13
1760         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
1762 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
1764         PR target/54222
1765         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
1766         _ssmulHA, _ssmulSA.
1767         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
1768         _ssmulha3, _usmulusa3, _ssmulsa3.
1769         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
1770         (__muldi3): XCALL __muldi3_6 instead of rcall.
1771         (__umulsidi3, __mulsidi3): New functions.
1772         (do_prologue_saves, do_epilogue_restores): New .macros.
1773         (__divdi3_moddi3): Use them.
1774         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
1775         (__usmulusa3, __ssmulsa3): New functions.
1777 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
1778             Jack Howarth  <howarth@bromo.med.uc.edu>
1779             Patrick Marlier  <patrick.marlier@gmail.com>
1781         PR libitm/55693
1782         * config/darwin-crt-tm.c: Remove dummy functions hack.
1784 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
1786         PR target/54222
1787         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
1788         * config/avr/lib2-object.mk: New iterator to build objects from it.
1789         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
1790         lib2funcs.c.
1791         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
1792         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
1793         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
1794         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
1795         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
1796         * config/avr/lib1funcs-fixed.S: Implement them.
1798 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
1800         Update copyright years.
1802 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
1804         PR target/54601
1805         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
1806         Add crtcxa to extra_parts.
1807         * config/rs6000/exit.h: New file.
1808         * config/rs6000/cxa_atexit.c: New file.
1809         * config/rs6000/cxa_finalize.c: New file.
1810         * config/rs6000/crtcxa.c: New file.
1811         * config/rs6000/t-aix-cxa: New file.
1812         * config/rs6000/libgcc-aix-cxa.ver: New file.
1814 2013-01-31  Nick Clifton  <nickc@redhat.com>
1816         * config/v850/lib1funcs.S: Add support for e3v5 architecture
1817         variant.
1819 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
1821         PR target/54222
1822         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
1823         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
1824         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
1825         _divQQ,  _divHQ,  _divHA,  _divSA,
1826         _divUQQ, _divUHQ, _divUHA, _divUSA.
1828 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
1830         * config.host(microblaze*-linux*): tmake_file: Remove
1831         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
1832         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
1833         to exclude functions from being built with libgcc.c and use
1834         the microblaze assembly.
1836 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
1838         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
1839         extra_parts.
1841 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
1843         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
1844         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
1845         __UINTPTR_TYPE__; also cast 'base' to the same type before the
1846         alignment operation.
1848 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
1850         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
1851         loop start address for cache clearing.
1853 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
1855         * config/avr/lib1funcs.S: Remove trailing blanks.
1856         * config/avr/lib1funcs-fixed.S: Ditto.
1858 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
1860         * config/avr/avr-lib.h: Add GPL copyright notice.
1862 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
1864         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
1865         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
1866         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
1867         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
1869 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
1871         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
1872         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
1874 2013-01-04  Nick Clifton  <nickc@redhat.com>
1876         * config/v850/lib1funcs.S: Only provide CALLT support functions if
1877         the CALLT instruction is supported.
1879 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
1881         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
1882         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
1884 2012-12-13  John Tytgat  <John@bass-software.com>
1886         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
1887         is 25.
1889 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
1891         PR libgcc/55451
1892         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
1893         undefined signed overflows.
1895 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
1897         PR target/55344
1898         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
1900 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
1902         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
1903         (FP_TRAPPING_EXCEPTIONS): Define.
1904         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
1905         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
1907 2012-12-04  Richard Henderson  <rth@redhat.com>
1909         PR bootstrap/55571
1910         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
1912 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
1914         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
1915         (FP_EX_SHIFT): Define.
1916         (FP_TRAPPING_EXCEPTIONS): Define.
1918 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
1920         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
1921         (FP_ROUNDMODE): Use FP_RND_MASK.
1922         * config/aarch64/sfp-exceptions.c: New.
1923         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1924         Use __sfp_handle_exceptions.
1926 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
1928         * config.host: (arm*-*-freebsd*): Remove.
1929         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
1930         (arm*-*-elf*): Remove.
1931         (arm*-*-wince-pe*): Remove.
1932         * arm/unwind-arm.c (struct fpa_reg): Delete.
1933         (struct fpa_regs): Delete.
1934         (phase1_vrs): Remove fpa element.
1935         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
1936         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
1937         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
1938         * ieee754-sf.S (floatundisf): Remove FPA support.
1939         (floatdisf): Likewise.
1940         * ieee75f-df.S (floatundidf): Likewise.
1941         (floatdidf): Likewise.
1943 2012-11-29  Kai Tietz  <ktietz@redhat.com>
1945         PR target/55445
1946         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
1947         * unwind-generic.h: Likewise.
1948         * unwind-seh.c: Likewise.
1950 2012-11-28  Richard Henderson  <rth@redhat.com>
1952         PR libgcc/48076
1953         * emutls.c (__emutls_get_address): Avoid race condition between
1954         obj->loc.offset read and emutls_key initialization.
1956 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
1958         Adjust decimal point of signed accum mode to GCC default.
1960         PR target/54222
1961         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
1962         _divqq_helper.
1963         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
1964         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
1965         (__mulha3, __mulsa3)
1966         (__divqq3, __divha3, __divsa3): Adjust to new position of
1967         decimal point of signed accum types.
1969         (__mulusa3_round): New function.
1970         (__mulusa3): Use it.
1971         (__divqq_helper): New function.
1972         (__udivuqq3): Use it.
1974 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
1976         PR bootstrap/55370
1977         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
1979 2012-11-18  Teresa Johnson  <tejohnson@google.com>
1981         PR bootstrap/55051
1982         * libgcov.c (gcov_exit): Remove merged program summary
1983         comparison unless !GCOV_LOCKED.
1985 2012-11-15  Marcus Shawcroft <marcus.shawcroft@arm.com>
1987         * soft-fp: Updated from glibc upstream.
1989 2012-11-06  Ian Lance Taylor  <iant@google.com>
1991         * generic-morestack.c (__generic_morestack): Align the returned
1992         stack pointer to a 32 byte boundary.
1993         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
1994         increment the return address until we have decided that we don't
1995         have a varargs function.
1996         (__morestack) [32-bit]: Align stack correctly when calling C
1997         functions.
1998         (__morestack) [64-bit]: Likewise.
2000 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
2002         * configure: Regenerate.
2004 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
2006         PR target/55175
2007         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
2008         * config/i386/sfp-machine.h: Guard exception handling
2009         code with _SOFT_FLOAT.
2010         * config/i386/32/sfp-machine.h: Guard rounding handling
2011         code with _SOFT_FLOAT.
2012         * config/i386/64/sfp-machine.h: Ditto.
2014 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
2016         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
2017         as extra_parts.
2019 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
2021         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
2022         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
2023         when appropriate.  Correct structure element types.
2024         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
2025         -minline-all-stringops from compile flags.
2027 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
2029         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
2031 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
2033         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
2035 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2037         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
2038         tmake_file.
2040 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
2041             Jim MacArthur  <jim.macarthur@arm.com>
2042             Marcus Shawcroft  <marcus.shawcroft@arm.com>
2043             Nigel Stephens  <nigel.stephens@arm.com>
2044             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2045             Richard Earnshaw  <rearnsha@arm.com>
2046             Sofiane Naci  <sofiane.naci@arm.com>
2047             Stephen Thomas  <stephen.thomas@arm.com>
2048             Tejas Belagod  <tejas.belagod@arm.com>
2049             Yufeng Zhang  <yufeng.zhang@arm.com>
2051         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
2052         * config/aarch64/crti.S: New file.
2053         * config/aarch64/crtn.S: New file.
2054         * config/aarch64/linux-unwind.h: New file.
2055         * config/aarch64/sfp-machine.h: New file.
2056         * config/aarch64/sync-cache.c: New file.
2057         * config/aarch64/t-aarch64: New file.
2058         * config/aarch64/t-softfp: New file.
2060 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
2062         * config/mmix/crti.S: Mark program and data addresses using PRELD.
2063         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
2064         no-longer-needed LDBU insns.
2066 2012-10-18  Sebastian Huber <sebastian.huber@embedded-brains.de>
2068         * config.host
2069         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
2070         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
2072 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
2074         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
2076 2012-10-15  Matthias Klose  <doko@ubuntu.com>
2078         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
2080 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
2082         * configure: Regenerate.
2083         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
2085 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
2087         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
2088         instructions for 64bit targets only.
2090 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
2092         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
2093         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
2094         * config/i386/32/sfp-machine.h: ... here.
2095         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
2096         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
2097         New defines.
2099 2012-10-07  Matthias Klose  <doko@ubuntu.com>
2101         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
2102         as unused.
2103         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
2105 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
2107         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
2108         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
2109         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
2110         (ElfW): Likewise.
2112 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
2114         PR other/53889
2115         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
2116         Fix parameter names.
2118 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
2120         PR target/33135
2121         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
2122         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
2123         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
2125 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
2127         PR target/50457
2128         * config/sh/linux-atomic.S: Delete.
2129         * config/sh/linux-atomic.c: New.
2130         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
2131         linux-atomic.c.  Add cflags to disable warnings.
2133 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
2135         PR other/53889
2136         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
2137         function.
2138         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
2139         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
2140         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
2141         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
2142         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
2143         Likewise.
2144         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
2145         Likewise.
2146         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
2147         Likewise.
2148         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
2149         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
2151 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
2153         * config.host (hppa-*-openbsd*): New target.
2154         * config/pa/t-openbsd: New file.
2156 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
2158         PR target/54222
2159         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
2160         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
2161         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
2162         (__divsa3): Use __negsi2 to negate r_quoL.
2163         * config/avr/lib1funcs.S (FALIAS): New macro.
2164         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
2165         (__negsi2): ...this new function.
2166         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
2167         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
2168         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
2169         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
2170         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
2171         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
2173 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
2175         PR target/54089
2176         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
2177         (lshrsi3): Reimplement as lshrsi3_r0.
2179 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
2181         PR target/46191
2182         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
2183         of libgcc.a.
2185 2012-09-07  Teresa Johnson  <tejohnson@google.com>
2187         PR gcov-profile/54487
2188         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
2189         differences.
2191 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
2193         PR target/54461
2194         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
2195         not configured --with-avrlibc=no.
2196         * config/avr/t-avrlibc: New file.
2197         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
2198         (DPBIT_FUNCS): Ditto.
2199         (TPBIT_FUNCS): Ditto.
2201 2012-09-04  Teresa Johnson  <tejohnson@google.com>
2203         * libgcov.c (struct gcov_summary_buffer): New structure.
2204         (gcov_histogram_insert): New function.
2205         (gcov_compute_histogram): Ditto.
2206         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
2207         histograms during summary merging.
2209 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
2211         * config.host (x86_64-*-openbsd*): New target.
2213 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
2215         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
2216         attribute.
2218 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
2220         PR target/54222
2221         * config/avr/t-avr (conv_X): Rename to func_X.
2223 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
2225         PR target/54222
2226         * config/avr/lib1funcs-fixed.S: New file.
2227         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
2228         after they are used.
2229         (neg2, neg4): New macros.
2230         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
2231         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
2232         (__umulhisi3): Speed up MUL variant if there is enough flash.
2233         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
2234         avr-modes.def.
2235         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
2236         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
2237         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
2238         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
2239         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
2240         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
2241         (LIB2FUNCS_EXCLUDE): Add supported functions.
2243 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
2245         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
2246         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
2247         libgcc-s-objects.
2248         * fixed-obj.mk: Only expand dependency if $o is not in
2249         LIB2FUNCS_EXCLUDE.
2251 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
2253         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
2255 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
2257         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
2258         depend on --enable-shared.
2259         ($(lib1asmfuncs-o)): Use %.vis files independent of
2260         --enable-shared.
2261         * static-object.mk ($(base)$(objext), $(base).vis)
2262         ($(base)_s$(objext)): Use same rules for visibility handling as in
2263         shared-object.mk.
2265 2012-08-21  Ian Lance Taylor  <iant@google.com>
2267         * config/i386/morestack.S (__morestack_non_split): Increase amount
2268         of space allocated for non-split code stack.
2270 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
2272         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
2273         even if inhibit_libc.
2275 2012-08-17  Julian Brown  <julian@codesourcery.com>
2277         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
2278         -fexceptions -fnon-call-exceptions if not defined.
2279         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
2280         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
2282 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
2284         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
2285         type.
2287 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
2289         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
2290         rs6000/t-slibgcc-aix.
2292 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
2294         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
2296 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
2298         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
2300 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
2302         PR driver/54171
2303         * Makefile.in (version): Replace top_srcdir with srcdir.
2305 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
2307         * Makefile.in (version): set to BASE-VER file from gcc directory.
2309 2012-08-01  Nick Clifton  <nickc@redhat.com>
2311         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
2312         Implements __clrsb for an HImode argument.
2314 2012-07-31  Nick Clifton  <nickc@redhat.com>
2316         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
2317         Implements __clrsb for an HImode argument.
2318         * config/stormy16/clrsbhi2.c: New file:
2319         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
2321 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
2323         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
2325 2012-07-19  Tristan Gingold  <gingold@adacore.com>
2326             Richard Henderson  <rth@redhat.com>
2328         * unwind-seh.c: New file.
2329         * unwind-generic.h: Include windows.h for SEH.
2330         (_Unwind_Exception): Use 6 private fields for SEH.
2331         (_GCC_specific_handler): Declare.
2332         * unwind-c.c (__gcc_personality_seh0): New function.
2333         Adjust for SEH.
2334         * config/i386/libgcc-cygming.ver: New file.
2335         * config/i386/t-seh-eh: New file.
2336         * config.host (x86_64-*-mingw*): Default to seh.
2338 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
2340         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
2342 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
2344         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
2345         __builtin_expect when checking for exceptions.
2346         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
2348 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
2350         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
2351         function declaration.
2352         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
2353         (FP_RND_MASK): New.
2354         * config/ia64/sfp-exceptions.c: New.
2355         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
2357 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
2359         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
2360         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
2361         * config/i386/64/sfp-machine: ... (delete here) ...
2362         * config/i386/sfp-machine.h: ... to here.
2363         (FP_EX_MASK): Remove.
2364         (FP_RND_MASK): New.
2365         (FP_INIT_ROUNDMODE): Declare asm as volatile.
2367 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
2369         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
2370         * config/i386/libgcc-sol2.ver: Ditto.
2371         * config/i386/libgcc-glibc.ver: Ditto.
2373 2012-06-11  Roland McGrath  <mcgrathr@google.com>
2375         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
2376         If __GLIBC__ is defined, refer to __pthread_key_create instead of
2377         pthread_cancel.
2379 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
2381         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
2382         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
2383         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
2384         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
2385         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
2386         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
2387         * config/i386/64/sfp-machine: ... (delete here) ...
2388         * config/i386/sfp-machine.h: ... to here.
2389         (FP_EX_MASK): New.
2390         (__sfp_handle_exceptions): New function declaration.
2391         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
2392         * config/i386/sfp-exceptions.c: New.
2393         * config/i386/t-softfp: New.
2394         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
2395         i386/t-softfp to tmake_file.
2397 2012-06-03  David S. Miller  <davem@davemloft.net>
2399         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
2400         change.
2402 2012-05-31  David S. Miller  <davem@davemloft.net>
2404         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
2405         multiply and divide instructions on 32-bit when V9.
2406         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
2408 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
2410         * config/arm/ieee754-df.S: Fix typos.
2411         * config/arm/ieee754-sf.S: Fix typos.
2412         * config/c6x/libunwind.S: Fix typos.
2413         * config/epiphany/udivsi3-float.c: Fix typos.
2414         * config/microblaze/muldi3_hard.S: Fix typos.
2415         * config/picochip/adddi3.S: Fix typos.
2416         * config/picochip/ashlsi3.S: Fix typos.
2417         * config/picochip/ashrsi3.S: Fix typos.
2418         * config/picochip/clzsi2.S: Fix typos.
2419         * config/picochip/cmpsi2.S: Fix typos.
2420         * config/picochip/divmod15.S: Fix typos.
2421         * config/picochip/divmodhi4.S: Fix typos.
2422         * config/picochip/divmodsi4.S: Fix typos.
2423         * config/picochip/longjmp.S: Fix typos.
2424         * config/picochip/lshrsi3.S: Fix typos.
2425         * config/picochip/parityhi2.S: Fix typos.
2426         * config/picochip/popcounthi2.S: Fix typos.
2427         * config/picochip/setjmp.S: Fix typos.
2428         * config/picochip/subdi3.S: Fix typos.
2429         * config/picochip/ucmpsi2.S: Fix typos.
2430         * config/picochip/udivmodhi4.S: Fix typos.
2431         * config/picochip/udivmodsi4.S: Fix typos.
2432         * config/spu/divv2df3.c: Fix typos.
2433         * config/spu/mfc_multi_tag_release.c: Fix typos.
2434         * config/spu/mfc_tag_release.c: Fix typos.
2435         * configure.ac: Fix typos.
2436         * configure: Regenerate.
2438 2012-05-25  Ian Lance Taylor  <iant@google.com>
2440         * config/i386/morestack.S (__morestack_non_split): Check whether
2441         caller is varargs and needs %bp to hold the stack frame on return.
2443 2012-05-25  Olivier Hainque  <hainque@adacore.com>
2445         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
2446         sequence in the non pic case on VxWorks.
2448 2012-05-24  Olivier Hainque  <hainque@adacore.com>
2450         * Makefile.in: Move dependency on install-unwind_h from
2451         "install-leaf" to "install".
2453 2012-05-24  Olivier Hainque  <hainque@adacore.com>
2455         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
2456         Use a separate command for stamp removals.
2458 2012-05-21  Andrew Pinski  <apinski@cavium.com>
2460         PR bootstrap/53183
2461         * configure.ac: Define the default includes to being none.
2462         * configure: Regenerate.
2464 2012-05-16  Olivier Hainque  <hainque@adacore.com>
2466         * Makefile.in (install-unwind_h): Rename into ...
2467         (install-unwind_h-forbuild): New target.
2468         (all): Use it instead of the former install-unwind_h.
2469         (install-unwind_h): Reinstate, copy to user install destination
2470         for include files, not to the internal gcc object directory one.
2471         (install-leaf): Depend on it.
2473 2012-05-15  Olivier Hainque  <hainque@adacore.com>
2475         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
2476         register numbers. LR_REGNO replaces R_LR.
2477         (ucontext_for): New, helper for ...
2478         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
2479         and 5.3 of ...
2480         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
2482 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2484         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
2485         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
2486         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
2487         i386/t-cpuinfo ...
2488         (i[34567]86-*-*, x86_64-*-*): ... here.
2490         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
2491         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
2493         * config/i386/i386-cpuinfo.c: Rename to ...
2494         * config/i386/cpuinfo.c: ... this.
2495         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
2497         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
2498         (libgcc_cv_init_priority): New test.
2499         * configure: Regenerate.
2500         * config.in: New file.
2501         * Makefile.in (clean): Rename config.h to auto-target.h.
2502         (config.h): Likewise.
2503         (stamp-h): Likewise.
2505         * config/i386/cpuinfo.c (auto-target.h): Include.
2506         (CONSTRUCTOR_PRIORITY): Define.
2507         (__cpu_indicator_init): Use it.
2509 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
2511         * longlong.h: Use a URL instead of an FSF postal address.
2512         Replace spaces with tab.
2514 2012-05-08  Teresa Johnson  <tejohnson@google.com>
2516         * libgcov.c (gcov_clear, __gcov_reset): New functions.
2517         (__gcov_dump): Ditto.
2518         (gcov_dump_complete): New global variable.
2519         (gcov_exit): Export hidden to enable use in L_gcov_dump.
2520         (__gcov_flush): Outline functionality now in gcov_clear.
2521         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
2523 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
2525         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
2526         (mips*-*-linux*): Include mips/t-tpbit when long double is
2527         16 bytes long.
2529 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
2531         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
2532         (get_available_features): New argument. Check for AVX2.
2533         (__cpu_indicator_init): Modify call to get_available_features.
2535 2012-04-25  Alan Modra  <amodra@gmail.com>
2537         * config/rs6000/crtsavevr.S: New file.
2538         * config/rs6000/crtrestvr.S: New file.
2539         * config/rs6000/t-savresfgpr: Build the above.
2540         * config/rs6000/t-netbsd: Likewise.
2542 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
2544         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
2546 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
2548         * libgcc/config/i386/i386-cpuinfo.c: New file.
2549         * libgcc/config/i386/t-cpuinfo: New file.
2550         * libgcc/config.host: Include t-cpuinfo.
2551         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
2553 2012-04-24  Chao-ying Fu  <fu@mips.com>
2555         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
2557 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
2559         struct siginfo vs. siginfo_t
2561         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
2562         siginfo_t instead of struct siginfo.
2563         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
2564         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
2565         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
2566         (ia64_handle_unwabi): Likewise.
2567         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
2568         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
2569         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
2570         (sh_fallback_frame_state): Likewise.
2571         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
2572         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
2574 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
2576         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
2577         system call number.
2579 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
2581         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
2582         if it hasn't been previously saved.
2584 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
2586         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
2587         only for glibc.
2589 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
2591         PR target/52737
2592         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
2593         instead of __AVR_HAVE_8BIT_SP__.
2595 2012-03-26  Tristan Gingold  <gingold@adacore.com>
2597         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
2598         (unw_table_entry): Use unw_word instead of unsigned long.
2599         (_Unwind_FindTableEntry): Likewise.
2600         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
2601         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
2602         (_Unwind_FindTableEntry): Likewise.
2603         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
2604         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
2605         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
2606         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
2607         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
2608         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
2609         (uw_init_context_1, uw_install_context): Likewise.
2610         (unw_word): Move to unwind-ia64.h
2612 2012-03-26  Tristan Gingold  <gingold@adacore.com>
2614         * config/vms/vms-ucrt0.c: Update copyright years.
2615         Add a sanity check.
2616         (___gcc_main_flags): Declare.
2617         (__main): Check flags to remap argv and exit code.
2618         * config.host (*-*-*vms*): Adjust extra_parts.
2619         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
2620         (crt0.o): Add.
2622 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
2624         * arm/lib1funcs.asm (ctzsi2): New function.
2625         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
2626         * arm/t-linux (LIB1ASMFUNCS): Likewise.
2627         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
2628         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
2629         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
2630         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
2632 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
2634         * config.host: Add bits to support powerpc64-*-freebsd*.
2635         * config/rs6000/freebsd-unwind.h: New file.
2636         * config/rs6000/t-freebsd64: New file.
2638 2012-03-20  Richard Guenther  <rguenther@suse.de>
2640         PR gcov-profile/52627
2641         * libgcov.c (init_mx): Fix mutex name.
2643 2012-03-16  Tristan Gingold  <gingold@adacore.com>
2645         * config/ia64/vms-unwind.h: Remove ulong (and replace
2646         it by unw_reg where used).  Define unw_reg with __int64.
2648 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2650         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2651         Solaris 8 handling.
2652         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
2653         Solaris 8 handling.
2654         (sparc_is_sighandler): Likewise.
2656 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
2658         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
2659         <= saved reg size.
2661 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2663         * config/arm/crtn.S: Fix typo.
2665 2012-03-13  Richard Guenther  <rguenther@suse.de>
2667         * libgcov.c: Remove stdio.h include and NULL un-define.
2669 2012-03-13  Richard Guenther  <rguenther@suse.de>
2671         PR target/52569
2672         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
2674 2012-03-13  Richard Guenther  <rguenther@suse.de>
2676         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
2678 2012-03-13  Richard Guenther  <rguenther@suse.de>
2680         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
2681         and __gthread_mutex_init_function definitions.
2683 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2685         * config.host (mips*-*-openbsd*): Remove.
2687 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2689         * config.host: Remove alpha*-dec-osf5.1* handling.
2690         * config/alpha/gthr-posix.c: Remove.
2691         * config/alpha/libgcc-osf5.ver: Remove.
2692         * config/alpha/osf5-unwind.h: Remove.
2693         * config/alpha/t-osf-pthread: Remove.
2694         * config/alpha/t-slibgcc-osf: Remove.
2695         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
2696         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
2697         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
2698         * mkmap-flat.awk: Remove osf_export handling.
2700 2012-03-12  Richard Guenther  <rguenther@suse.de>
2702         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
2703         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
2704         (__gthread_mutex_init_function): New function.
2705         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
2707         PR gcov/49484
2708         * libgcov.c: Include gthr.h.
2709         (__gcov_flush_mx): New global variable.
2710         (init_mx, init_mx_once): New functions.
2711         (__gcov_flush): Protect self with a mutex.
2712         (__gcov_fork): Re-initialize mutex after forking.
2713         * unwind-dw2-fde.c: Change condition under which to use
2714         __GTHREAD_MUTEX_INIT_FUNCTION.
2716 2012-03-12  Tristan Gingold  <gingold@adacore.com>
2718         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
2719         * config/ia64/t-vms: Likewise.
2721 2012-03-11  Michael Hope  <michael.hope@linaro.org>
2723         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
2724         for Thumb-2.
2726 2012-03-07  Walter Lee  <walt@tilera.com>
2728         * config/tilepro/atomic.c: Rename "atomic_" prefix to
2729         "arch_atomic_".
2730         (atomic_xor): Rename and move definition to
2731         config/tilepro/atomic.h.
2732         (atomic_nand): Ditto.
2733         * config/tilepro/atomic.h: Rename "atomic_" prefix to
2734         "arch_atomic_".
2735         (arch_atomic_xor): Move from config/tilepro/atomic.c.
2736         (arch_atomic_nand): Ditto.
2738 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
2740         PR target/52507
2741         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
2743 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
2745         PR target/52505
2746         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
2747         from RAM.
2749 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
2751         PR target/52461
2752         PR target/52508
2753         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
2754         if RAMPZ affects reading from RAM.
2755         (__tablejump_elpm__): Ditto.
2756         (.xload): Ditto.
2757         (__movmemx_hi): Ditto.
2758         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
2759         (__do_global_dtors): Ditto.
2760         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
2761         (__movmemx_hi): Ditto.
2763 2012-03-05  Richard Henderson  <rth@redhat.com>
2765         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
2766         [ARM] (count_trailing_zeros): Use the builtin.
2768 2012-03-01  Kai Tietz  <ktietz@redhat.com>
2770         * soft-fp: Imported from glibc upstream.
2772 2012-02-28  Kai Tietz  <ktietz@redhat.com>
2774         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
2775         for mingw-targets as attribute gcc_struct.
2777 2012-02-28  Ian Lance Taylor  <iant@google.com>
2779         * generic-morestack.c (__splitstack_releasecontext): Correct call
2780         to __morestack_release_segments.
2782 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2784         PR target/52390
2785         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
2786         for __linux__ when removing signals from __morestack_fullmask.
2788 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
2790         PR target/52261
2791         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
2793 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2795         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
2796         instead of HAVE_INITFINI_ARRAY.
2797         * config/ia64/crtend.S: Likewise.
2799 2012-02-20  Kai Tietz  <ktietz@redhat.com>
2801         PR libstdc++/52300
2802         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
2804         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
2805         to w32-unwind.h header.
2807 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
2809         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
2810         (mips*-*-linux*): Remove t-slibgcc-libgcc.
2811         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
2812         * config/mips/mips16.S (__mips16_rdhwr): Delete.
2814 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
2816         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
2818 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
2820         PR libitm/52220
2821         * config/darwin-crt-tm.c: Correct typo.
2823 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
2824             Patrick Marlier  <patrick.marlier@gmail.com>
2826         PR libitm/52220
2827         * config/darwin-crt-tm.c: Generate dummy functions.
2829 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
2830             Patrick Marlier  <patrick.marlier@gmail.com>
2832         PR libitm/52042
2833         * config/darwin-crt-tm.c (getTMCloneTable): New function.
2834         (__doTMRegistrations): Call it.
2835         (__doTMdeRegistrations): Likewise.
2837 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
2838             Anatoly Sokolov <aesok@post.ru>
2839             Eric Weddington <eric.weddington@atmel.com>
2841         PR target/52261
2842         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
2843         (__epilogue_restores__): Ditto.
2845 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
2847         PR target/51921
2848         PR target/52205
2849         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
2850         Solaris 11 and slightly reformat.
2851         (sparc_is_sighandler): Likewise.
2853 2012-02-14  Walter Lee  <walt@tilera.com>
2855         * config.host: Handle tilegx and tilepro.
2856         * config/tilegx/sfp-machine.h: New file.
2857         * config/tilegx/sfp-machine32.h: New file.
2858         * config/tilegx/sfp-machine64.h: New file.
2859         * config/tilegx/t-crtstuff: New file.
2860         * config/tilegx/t-softfp: New file.
2861         * config/tilegx/t-tilegx: New file.
2862         * config/tilepro/atomic.c: New file.
2863         * config/tilepro/atomic.h: New file.
2864         * config/tilepro/linux-unwind.h: New file.
2865         * config/tilepro/sfp-machine.h: New file.
2866         * config/tilepro/softdivide.c: New file.
2867         * config/tilepro/softmpy.S: New file.
2868         * config/tilepro/t-crtstuff: New file.
2869         * config/tilepro/t-tilepro: New file.
2871 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
2873         PR libstdc++/51296
2874         PR libstdc++/51906
2875         * gthr-posix.h: Allow static initializer macros to be disabled.
2876         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
2878 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
2880         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
2881         Add t-slibgcc-libgcc to tmake_file.
2882         * config/mips/libgcc-mips16.ver: Revert previous patch.
2883         * config/mips/mips16.S (__mips16_rdhwr): Hide.
2885 2012-02-02  Sumanth G <sumanth.gundapaneni@kpitcummins.com>
2886             Jayant R Sonar <jayant.sonar@kpitcummins.com>
2888         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
2889         * config/cr16/crti.S: New file.
2890         * config/cr16/crtlibid.S: New file.
2891         * config/cr16/crtn.S: New file.
2892         * config/cr16/lib1funcs.S: New file.
2893         * config/cr16/t-cr16: New file.
2894         * config/cr16/t-crtlibid: New file.
2895         * config/cr16/unwind-dw2.h: New file.
2896         * config/cr16/unwind-cr16.c: New file.
2897         * config/cr16/divmodhi3.c: New file.
2899 2012-01-25  Alan Modra  <amodra@gmail.com>
2901         * config/rs6000/t-linux64: Delete.  Move..
2902         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
2903         * config/rs6000/t-linux: ..and libgcc flags to here.
2905 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
2907         * config.host (i[34567]86-*-interix3*):
2908         Change triplet to i[34567]86-*-interix[3-9]*.
2909         * configure: Regenerate.
2911 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
2912             Richard Sandiford  <rdsandiford@googlemail.com>
2914         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
2915         * config/mips/mips16.S (__mips16_rdhwr): New function.
2916         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
2918 2012-01-11  Nathan Sidwell  <nathan@acm.org>
2920         * libgcov.c (__gcov_init): Ignore objects with no functions.
2922 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
2924         PR target/49868
2925         Extend __pgmx semantics to linearize memory.
2926         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
2927         * config/avr/lib1funcs.S (__xload_1): New function.
2928         (__movmemx_qi, __movmemx_hi): New functions.
2929         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
2930         semantics.
2932 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
2934         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
2935         purported sigacthandler address isn't null before dereferencing it.
2936         (sparc_is_sighandler): Likewise.
2938 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
2940         PR ada/41929
2941         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
2942         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
2943         (sparc_is_sighandler): Likewise.
2944         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
2946 2012-01-06  Tristan Gingold  <gingold@adacore.com>
2948         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
2949         compatibility thunks...
2950         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
2951         (crtbeginS.o, crtendS.o): ... and these to ...
2952         * config/ia64/t-ia64-elf: ... this new file.
2953         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
2954         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
2956 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2958         * configure: Regenerate.
2959         * config/s390/t-crtstuff: Remove -fPIC.
2961 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
2963         PR bootstrap/51006
2964         * enable-execute-stack-mprotect.c (getpagesize): Do not define
2965         for NetBSD.
2967 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
2969         PR target/51345
2970         * config/avr/lib1funcs.S: Remove FIXME comments.
2971         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
2973 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
2975         Implement light-weight DImode support.
2976         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
2977         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
2978         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
2979         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
2981 2011-12-30  Nathan Sidwell  <nathan@acm.org>
2983         * libgcov.c (gcov_crc32): Remove global var.
2984         (free_fn_data): New function.
2985         (buffer_fn_data): Pass in filename, more robust error recovery.
2986         (crc32_unsigned): New function.
2987         (gcov_exit): More robust detection of new program. More robust
2988         error recovery.
2989         (__gcov_init): Do not update program's crc here.
2991 2011-12-21  Tristan Gingold  <gingold@adacore.com>
2993         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
2995 2011-12-21  Ian Lance Taylor  <iant@google.com>
2997         * config/i386/morestack.S: Simplify CFI opcodes throughout.
2999 2011-12-20  Ian Lance Taylor  <iant@google.com>
3001         * config/i386/morestack.S (__morestack_non_split): If there is
3002         enough stack space already, don't split.  Ask for more stack space
3003         than we required.
3005 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
3007         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
3008         `sys/sdt.h'.
3009         (_Unwind_DebugHook): New function.
3010         (uw_restore_core_regs): New define.
3011         (unwind_phase2): Use uw_restore_core_regs instead of
3012         restore_core_regs.
3013         (unwind_phase2_forced): Likewise.
3014         (__gnu_Unwind_Resume): Likewise.
3016 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
3018         * config/alpha/linux-unwind.h: Update copyright years.
3019         (MD_FROB_UPDATE_CONTEXT): New define.
3020         (alpha_frob_update_context): New function.
3022 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
3024         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
3025         tmake_file rather replacing it.
3027 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
3029         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
3030         function is not used for PPC64.
3031         (save_world): Amend comments.  Update the VRsave mask to reflect the
3032         saved regs.
3033         (rest_world): Update comments, do not  clobber r10, do not use r8.
3034         (eh_rest_world_r10): Amend comments, do not use r8.
3035         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
3036         no longer used, move restore of CR and target address to the end of
3037         the routine.
3039 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
3041         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
3042         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
3044 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
3046         PR target/49313
3047         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
3048         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
3050 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
3052         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
3054 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
3056         PR target/49313
3057         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
3058         * config/avr/lib1funcs.S (__muldi3): New function.
3060 2011-12-06  Andrew Pinski  <apinski@cavium.com>
3062         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
3063         size of func_ptr.
3064         (__frame_dummy_init_array_entry): Likewise.
3066 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
3068         Forward-port from gcc-4_6-branch r181936 2011-12-02.
3070         PR target/51345
3071         PR target/51002
3072         * config/avr/lib1funcs.S (__prologue_saves__,
3073         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
3074         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
3076 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
3078         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
3080 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3082         PR other/51272
3083         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
3084         (_ITM_deregisterTMCloneTable): Likewise.
3085         (__register_frame_info): Fix unused warning.
3086         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
3087         pthread_default_stacksize_np): Likewise.
3088         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
3090 2011-11-29  DJ Delorie  <dj@redhat.com>
3092         * config.host (rl78-*-elf): New case.
3093         * config/rl78: New directory for the Renesas RL78.
3095 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
3097         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
3098         formatting.
3100 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3102         PR other/51022
3103         * config/rs6000/t-savresfgpr: New file.
3104         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
3105         $(srcdir)/config/rs6000/eabi.S.
3106         * config/rs6000/t-ppccomm-ldbl: Remove.
3107         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
3108         tmake_file.
3109         (powerpc-*-eabispe*): Likewise.
3110         (powerpc-*-eabi*): Likewise.
3111         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3112         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
3113         to tmake_file, remove rs6000/t-ppccomm-ldbl.
3114         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
3115         tmake_file.
3116         (powerpc-*-eabisim*): Likewise.
3117         (powerpc-*-elf*): Likewise.
3118         (powerpc-*-eabialtivec*): Likewise.
3119         (powerpc-xilinx-eabi*): Likewise.
3120         (powerpc-*-rtems*): Likewise.
3121         (powerpcle-*-elf*): Likewise.
3122         (powerpcle-*-eabisim*): Likewise.
3123         (powerpcle-*-eabi*): Likewise.
3125 2011-11-27  Ian Lance Taylor  <iant@google.com>
3127         * generic-morestack.c (__splitstack_find): Check for NULL old
3128         stack value.
3129         (__splitstack_resetcontext): New function.
3130         (__splitstack_releasecontext): New function.
3131         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
3133 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
3135         * config/darwin-crt-tm.c: Correct comments, use correct licence.
3137 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
3139         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
3141 2011-11-26  Richard Henderson  <rth@redhat.com>
3143         * config/m68k/linux-atomic.c: New file.
3144         * config/m68k/t-linux: New file.
3145         * config.host (m68k-uclinux, m68k-linux): Use it.
3147 2011-11-26  Richard Henderson  <rth@redhat.com>
3149         * crtstuff.c (__TMC_LIST__): Mark used not unused.
3150         (__TMC_END__): Only declare if hidden is available; in the definition,
3151         if hidden is unavailable add a null record.
3152         (deregister_tm_clones, register_tm_clones): New.
3153         (__do_global_dtors_aux, frame_dummy): Use them.
3154         (__do_global_dtors, __do_global_ctors_1): Likewise.
3156 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
3158         * config/darwin-crt-tm.c: New file.
3159         * config.host (darwin): Build crttms.o crttme.o to provide
3160         startup and shutdown for tm clones.
3161         * config/t-darwin (crttms.o): New build rule.
3162         (crttme.o): Likewise.
3164 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
3166         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
3167         et al.
3169 2011-11-21  Richard Henderson  <rth@redhat.com>
3171         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
3172         (__TMC_LIST__, __TMC_END__): New.
3173         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
3174         (__do_global_dtors): Likewise.
3175         (frame_dummy): Call _ITM_registerTMCloneTable.
3176         (__do_global_ctors_1): Likewise.
3178 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3180         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
3181         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
3182         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
3183         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
3184         * config/i386/t-darwin64: Remove.
3185         * config/sh/t-netbsd (LIB2ADD): Remove.
3187 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
3189         PR target/49313
3190         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
3191         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
3192         * config/avr/lib1funcs.S (wmov): New assembler macro.
3193         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
3194         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
3195         (__udivmod64): New function.
3196         (__negdi2): New function.
3198 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
3200         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
3201         *-*-freebsd*aout*): Remove.
3203 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
3205         * static-object.mk (c_flags-$o): Save c_flags.
3206         ($(base)$(objext)): Use it.
3208 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
3210         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
3212 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
3214         PR target/49868
3215         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
3216         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
3217         New functions.
3219 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
3221         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
3222         functions.
3223         (aeabi_uidivmod): Likewise.
3224         (umodsi3): Likewise.
3225         (divsi3): Likewise.
3226         (aeabi_idivmod): Likewise.
3227         (modsi3): Likewise.
3229 2011-11-16  Tristan Gingold  <gingold@adacore.com>
3231         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
3233 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
3235         PR target/49868
3236         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
3237         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
3239 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3241         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
3242         tmake_file list.
3243         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
3244         * config/pa/t-stublib64: Delete.
3246 2011-11-12  Richard Henderson  <rth@redhat.com>
3248         * config/rs6000/linux-unwind.h (frob_update_context): Properly
3249         cast the pointer argument to _Unwind_SetGRPtr.
3251 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3253         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
3255 2011-11-09  Ian Lance Taylor  <iant@google.com>
3257         * generic-morestack.c: Include <string.h>.
3258         (uintptr_type): Define.
3259         (struct initial_sp): Add dont_block_signals field.  Reduce size of
3260         extra array by 1.
3261         (allocate_segment): Set prev field to NULL.  Don't set
3262         __morestack_current_segment or __morestack_segments.
3263         (__generic_morestack): Update current->prev and *pp after calling
3264         allocate_segment.
3265         (__morestack_block_signals): Don't do anything if
3266         dont_block_signals is set.
3267         (__morestack_unblock_signals): Likewise.
3268         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
3269         uintptr_type.
3270         (__splitstack_block_signals): New function.
3271         (enum __splitstack_content_offsets): Define.
3272         (__splitstack_getcontext, __splitstack_setcontext): New functions.
3273         (__splitstack_makecontext): New function.
3274         (__splitstack_block_signals_context): New function.
3275         (__splitstack_find_context): New function.
3276         * config/i386/morestack.S (__morestack_get_guard): New function.
3277         (__morestack_set_guard, __morestack_make_guard): New functions.
3278         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
3280 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3282         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
3283         (i[34567]86-*-mingw*): ... here.
3284         (x86_64-*-mingw*): ... here.
3286 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3288         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
3290 2011-11-07  Nathan Sidwell  <nathan@acm.org>
3292         * libgcov.c (struct gcov_fn_buffer): New struct.
3293         (buffer_fn_data): New helper.
3294         (gcov_exit): Rework for new gcov data structures.
3296 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
3298         PR target/49313
3299         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
3301 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3303         * config.host (tmake_file): Correct comment.
3304         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
3305         t-libgcc-pic.
3306         (bfin*-uclinux*): Likewise.
3307         (bfin*-linux-uclibc*): Likewise.
3308         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
3310         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
3311         assigning.
3312         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3313         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
3314         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3315         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
3316         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3317         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
3318         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
3319         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3320         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
3321         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
3322         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
3323         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
3324         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
3326         * config/bfin/t-elf: Remove.
3327         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
3329 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3331         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
3332         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
3333         (lm32-*-elf*, lm32-*-rtems*): Split into ...
3334         (lm32-*-elf*): ... this.
3335         (lm32-*-rtems*): ... and this.
3336         Add to tmake_file.
3337         (m32r-*-rtems*): Add to tmake_file.
3338         (moxie-*-rtems*): Likewise.
3339         (sparc-*-rtems*): Likewise.
3340         Remove t-rtems from tmake_file.
3341         (sparc64-*-rtems*): Likewise.
3342         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
3343         instead.
3345 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3347         PR bootstrap/50982
3348         * config/gthr-posix.h: Move ...
3349         * gthr-posix.h: ... here.
3350         * config/gthr-lynx.h: Reflect this.
3351         * config/gthr-vxworks.h: Likewise.
3352         * config/rs6000/gthr-aix.h: Likewise.
3353         * configure.ac (target_thread_file): Likewise.
3354         * configure: Regenerate.
3356 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3358         * config.host (arm*-*-rtemseabi*): New target.
3360 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3362         PR other/50991
3363         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
3364         extra-parts.
3366 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
3368         * config.host (epiphany-*-elf*): New configuration.
3369         * config/epiphany: New Directory.
3371 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
3373         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
3374         * config/avr/t-rtems: New.
3375         Filter out _exit from LIB1ASMFUNCS.
3377 2011-11-04  David S. Miller  <davem@davemloft.net>
3379         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
3380         * configure: Rebuild.
3382 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3384         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
3385         variable.
3387 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
3389         PR target/50931
3390         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
3391         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
3393 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
3395         PR target/50989
3396         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
3398 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3400         * config/c6x/t-elf (LIB2ADDEH): Set.
3401         * config/c6x/t-c6x-elf: Remove.
3403 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3405         * config/i386/sol2-ci.S: Rename to ...
3406         * config/i386/crti.S: ... this.
3407         * config/i386/sol2-cn.S: Rename to ...
3408         * config/i386/crtn.S: ... this.
3409         * config/sparc/sol2-ci.S: Rename to ...
3410         * config/sparc/crti.S: ... this.
3411         * config/sparc/sol2-cn.S: Rename to ...
3412         * config/sparc/crtn.S: ... this.
3413         * config/t-sol2 (CUSTOM_CRTIN): Remove.
3414         (crti.o, crtn.o): Remove.
3416 2011-11-04  Tristan Gingold  <gingold@adacore.com>
3418         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
3420 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
3422         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
3424 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
3426         * config.host (crisv32-*-none, cris-*-none): Remove.
3427         (crisv32-*-elf): Append to tmake_file, don't just set it.
3428         (cris-*-elf): Add missing t-fdpbit to tmake_file.
3430 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3432         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
3433         (ecrtn$(objext)): Likewise.
3434         (ncrti$(objext)): Likewise.
3435         (ncrtn$(objext)): Likewise.
3437 2011-11-03  Andreas Schwab  <schwab@redhat.com>
3439         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
3441 2011-11-02  David S. Miller  <davem@davemloft.net>
3443         * configure.ac: Set host_address on sparc too.
3444         * configure: Regenerate.
3445         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
3446         based upon host_address.
3447         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
3449 2011-11-02  Jason Merrill  <jason@redhat.com>
3451         * config/rs6000/t-ppccomm: Add missing \.
3453 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3455         * gthr-single.h, gthr.h: New files.
3456         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
3457         config/gthr-vxworks.h, config/i386/gthr-win32.h,
3458         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
3459         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
3460         * config/i386/gthr-win32.c: Include "gthr-win32.h".
3461         * configure.ac (thread_header): New variable.
3462         Set it depending on target_thread_file.
3463         (gthr-default.h): Link from $thread_header.
3464         * configure: Regenerate.
3465         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
3467 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3469         * configure.ac (tm_file_): New variable.
3470         Determine from tm_file.
3471         (tm_file, tm_defines): Substitute.
3472         * configure: Regenerate.
3473         * mkheader.sh: New file.
3474         * Makefile.in (clean): Remove libgcc_tm.h.
3475         ($(objects)): Depend on libgcc_tm.h.
3476         (libgcc_tm_defines, libgcc_tm_file): New variables.
3477         (libgcc_tm.h, libgcc_tm.stamp): New targets.
3478         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
3479         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
3480         ($(extra-parts)): Depend on libgcc_tm.h.
3481         * config.host (tm_defines, tm_file): New variable.
3482         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
3483         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
3484         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
3485         (avr-*-rtems*): Likewise.
3486         (avr-*-*): Likewise.
3487         (frv-*-elf): Likewise.
3488         (frv-*-*linux*): Likewise.
3489         (h8300-*-rtems*): Likewise.
3490         (h8300-*-elf*): Likewise.
3491         (i[34567]86-*-darwin*): Likewise.
3492         (x86_64-*-darwin*): Likewise.
3493         (rx-*-elf): Likewise.
3494         (tic6x-*-uclinux): Likewise.
3495         (tic6x-*-elf): Likewise.
3496         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
3497         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
3498         * config/i386/cygming-crtbegin.c: Likewise.
3499         * config/i386/cygming-crtend.c: Likewise.
3500         * config/ia64/fde-vms.c: Likewise.
3501         * config/ia64/unwind-ia64.c: Likewise.
3502         * config/libbid/bid_gcc_intrinsics.h: Likewise.
3503         * config/rs6000/darwin-fallback.c: Likewise.
3504         * config/stormy16/lib2funcs.c: Likewise.
3505         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
3506         * crtstuff.c: Likewise.
3507         * dfp-bit.h: Likewise.
3508         * emutls.c: Likewise.
3509         * fixed-bit.c: Likewise.
3510         * fp-bit.c: Likewise.
3511         * generic-morestack-thread.c: Likewise.
3512         * generic-morestack.c: Likewise.
3513         * libgcc2.c: Likewise.
3514         * libgcov.c: Likewise.
3515         * unwind-dw2-fde-dip.c: Likewise.
3516         * unwind-dw2-fde.c: Likewise.
3517         * unwind-dw2.c: Likewise.
3518         * unwind-sjlj.c: Likewise.
3520 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3522         * configure.ac: Include ../config/picflag.m4.
3523         (GCC_PICFLAG): Call it.
3524         Substitute.
3525         * configure: Regenerate.
3526         * Makefile.in (gcc_srcdir): Remove.
3527         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
3528         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
3529         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
3530         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
3531         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
3532         Use $<.
3533         Remove comment.
3534         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
3535         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
3536         to refer to libgcc2.c.
3537         Use $<.
3538         * config/darwin-64.c: New file.
3539         * config/darwin-crt3.c: Remove comment.
3540         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
3541         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
3542         config/udivmodsi4.c: New files.
3543         * config/memcmp.c, config/memcpy.c, config/memmove.c,
3544         config/memset.c: New files.
3545         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
3546         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
3547         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
3548         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
3549         * config/t-openbsd-thread: New file.
3550         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
3551         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
3552         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
3553         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
3554         qrnnd.S.
3555         Adapt filename.
3556         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
3557         to refer to gthr-posix.c.
3558         * config/alpha/t-vms (LIB2ADD): Set.
3559         * config/alpha/vms-gcc_shell_handler.c: New file.
3560         * config/arm/bpabi.c, config/arm/fp16.c,
3561         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
3562         config/arm/unaligned-funcs.c: New files.
3563         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
3564         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
3565         * config/arm/t-linux: Likewise.
3566         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
3567         * config/arm/t-netbsd: New file.
3568         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
3569         * config/arm/t-symbian (LIB2ADD_ST): Set.
3570         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
3571         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3572         * config/bfin/t-elf: New file.
3573         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
3574         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
3575         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
3576         config/c6x/ltf.c: New files.
3577         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
3578         (HOST_LIBGCC2_CFLAGS): Set.
3579         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
3580         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3581         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
3582         New files.
3583         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
3584         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
3585         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
3586         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
3587         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
3588         files.
3589         * config/frv/t-frv (LIB2ADD): Set.
3590         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3591         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
3592         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
3593         config/h8300/popcounthi2.c: New files.
3594         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
3595         * config/i386/gthr-win32.c: New file.
3596         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
3597         * config/i386/t-cygwin: Likewise.
3598         * config/i386/t-darwin, config/i386/t-darwin64,
3599         config/i386/t-gthr-win32, config/i386/t-interix: New files.
3600         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
3601         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3602         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3603         * config/ia64/quadlib.c: New file.
3604         * config/ia64/t-hpux (LIB2ADD): Set.
3605         * config/ia64/t-ia64: Add comment.
3606         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
3607         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3608         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
3609         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
3610         * config/m32c/t-m32c (LIB2ADD): Set.
3611         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
3612         * config/m32r/t-m32r: Likewise.
3613         * config/m68k/fpgnulib.c: New file.
3614         * config/m68k/t-floatlib (LIB2ADD): Set.
3615         (xfgnulib.c): New target.
3616         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
3617         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
3618         * config/mep/t-mep (LIB2ADD): Set.
3619         * config/microblaze/divsi3.asm: Rename to divsi3.S.
3620         * config/microblaze/moddi3.asm: Rename to moddi3.S.
3621         * config/microblaze/modsi3.asm: Rename to modsi3.S.
3622         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
3623         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
3624         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
3625         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
3626         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
3627         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
3628         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
3629         New files.
3630         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
3631         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
3632         * config/pa/fptr.c, config/pa/lib2funcs.S,
3633         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
3634         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
3635         (LIB2ADD, LIB2ADD_ST): Set.
3636         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
3637         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
3638         Set.
3639         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
3640         * config/pdp11/t-pdp11: New file.
3641         * config/picochip/libgccExtras/adddi3.S,
3642         config/picochip/libgccExtras/ashlsi3.S,
3643         config/picochip/libgccExtras/ashrsi3.S,
3644         config/picochip/libgccExtras/clzsi2.S,
3645         config/picochip/libgccExtras/cmpsi2.S,
3646         config/picochip/libgccExtras/divmod15.S,
3647         config/picochip/libgccExtras/divmodhi4.S,
3648         config/picochip/libgccExtras/divmodsi4.S,
3649         config/picochip/libgccExtras/lshrsi3.S,
3650         config/picochip/libgccExtras/parityhi2.S,
3651         config/picochip/libgccExtras/popcounthi2.S,
3652         config/picochip/libgccExtras/subdi3.S,
3653         config/picochip/libgccExtras/ucmpsi2.S,
3654         config/picochip/libgccExtras/udivmodhi4.S,
3655         config/picochip/libgccExtras/udivmodsi4.S: New files.
3656         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
3657         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
3658         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
3659         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
3660         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
3661         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
3662         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
3663         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
3664         files.
3665         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
3666         (HOST_LIBGCC2_CFLAGS): Set.
3667         * config/rs6000/t-darwin64: New file.
3668         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
3669         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
3670         * config/rs6000/t-ppccomm (LIB2ADD): Add
3671         $(srcdir)/config/rs6000/tramp.S.
3672         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
3673         Add  $(srcdir)/config/rs6000/eabi.S.
3674         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
3675         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
3676         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
3677         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
3678         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
3679         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
3680         * config/rs6000/tramp.S: New file.
3681         * config/s390/t-tpf: Remove.
3682         * config/sh/linux-atomic.S: New file.
3683         * config/sh/t-linux (LIB2ADD): Set.
3684         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
3685         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
3686         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
3687         to unwind-dw2.c.
3688         (HOST_LIBGCC2_CFLAGS): Set.
3689         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3690         * config/spu/divmodti4.c, config/spu/divv2df3.c,
3691         config/spu/float_disf.c, config/spu/float_unsdidf.c,
3692         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
3693         config/spu/mfc_multi_tag_release.c,
3694         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
3695         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
3696         config/spu/multi3.c: New files.
3697         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
3698         (HOST_LIBGCC2_CFLAGS): Set.
3699         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
3700         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
3701         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
3702         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
3703         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
3704         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
3705         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
3706         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
3707         config/stormy16/umodsi3.c: New files.
3708         * config/xtensa/lib2funcs.S: New file.
3709         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
3710         * config/xtensa/t-xtensa (LIB2ADD): Set.
3711         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
3712         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
3713         Add t-freebsd-thread to tmake_file for posix threads.
3714         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
3715         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
3716         (*-*-lynxos*): Likewise.
3717         (*-*-netbsd*): Likewise.
3718         (*-*-openbsd*): Likewise.
3719         Add t-openbsd-thread to tmake_file for posix threads.
3720         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
3721         (*-*-vxworks*): Set tmake_file.
3722         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
3723         (alpha*-*-freebsd*): Likewise.
3724         (alpha*-*-netbsd*): Likewise.
3725         (alpha*-*-openbsd*): Likewise.
3726         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
3727         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
3728         (alpha*-dec-*vms*): Likewise.
3729         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
3730         (bfin*-elf*): Add bfin/t-elf to tmake_file.
3731         (bfin*-uclinux*): Likewise.
3732         (bfin*-linux-uclibc*): Likewise.
3733         (crisv32-*-elf): Add cris/t-cris to tmake_file.
3734         (crisv32-*-none): Likewise.
3735         (cris-*-elf): Likewise.
3736         (cris-*-none): Likewise.
3737         (cris-*-linux*, crisv32-*-linux*): Likewise.
3738         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
3739         tmake_file.
3740         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
3741         tmake_file.
3742         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
3743         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
3744         (x86_64-*-elf*): Likewise.
3745         (i[34567]86-*-nto-qnx*): Likewise.
3746         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
3747         win32 threads.
3748         (x86_64-*-mingw*): Likewise.
3749         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
3750         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
3751         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
3752         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
3753         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
3754         tmake_file.
3755         (mipsisa64sr71k-*-elf*): Likewise.
3756         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
3757         (mips-*-elf*, mipsel-*-elf*): Likewise.
3758         (mips64-*-elf*, mips64el-*-elf*): Likewise.
3759         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
3760         (mips*-*-rtems*): Likewise.
3761         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
3762         to tmake_file.
3763         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
3764         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
3765         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
3766         (spu-*-elf*): Likewise.
3767         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
3769 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3771         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
3772         $(srcdir) to refer to $(LIB1ASMSRC).
3773         Use $<.
3774         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
3775         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
3776         config/arm/lib1funcs.S: New files.
3777         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
3778         * config/arm/t-arm: New file.
3779         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
3780         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
3781         config/arm/t-strongarm-elf: New files.
3782         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
3783         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
3784         * config/avr/lib1funcs.S: New file.
3785         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3786         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
3787         * config/c6x/lib1funcs.S: New file.
3788         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3789         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
3790         * config/frv/lib1funcs.S: New file.
3791         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3792         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
3793         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
3794         * config/ia64/__divxf3.asm: Rename to ...
3795         * config/ia64/__divxf3.S: ... this.
3796         Adapt lib1funcs.asm filename.
3797         * config/ia64/_fixtfdi.asm: Rename to ...
3798         * config/ia64/_fixtfdi.S: ... this.
3799         Adapt lib1funcs.asm filename.
3800         * config/ia64/_fixunstfdi.asm: Rename to ...
3801         * config/ia64/_fixunstfdi.S: ... this.
3802         Adapt lib1funcs.asm filename.
3803         * config/ia64/_floatditf.asm: Rename to ...
3804         * config/ia64/_floatditf.S: ... this.
3805         Adapt lib1funcs.asm filename.
3806         * config/ia64/lib1funcs.S: New file.
3807         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
3808         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3809         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
3810         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
3811         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
3812         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
3813         * config/mep/lib1funcs.S: New file.
3814         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3815         * config/mips/mips16.S: New file.
3816         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3817         * config/pa/milli64.S: New file.
3818         * config/pa/t-linux, config/pa/t-linux64: New files.
3819         * config/picochip/lib1funcs.S: New file.
3820         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3821         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
3822         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
3823         * config/sh/t-netbsd: New file.
3824         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
3825         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
3826         * config/sh/t-sh64: New file.
3827         * config/sparc/lb1spc.S: New file.
3828         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
3829         filename.
3830         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
3831         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
3832         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
3833         config/xtensa/lib1funcs.S: New files.
3834         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3835         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
3836         tmake_file.
3837         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
3838         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
3839         (arm*-*-linux*): Likewise.
3840         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
3841         arm*-*-linux-*eabi, add arm/t-linux otherwise.
3842         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
3843         (arm*-*-ecos-elf): Likewise.
3844         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3845         (arm*-*-rtems*): Likewise.
3846         (arm*-*-elf): Likewise.
3847         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
3848         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
3849         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
3850         (bfin*-uclinux*): Likewise.
3851         (bfin*-linux-uclibc*): Likewise.
3852         (bfin*-rtems*): Likewise.
3853         (bfin*-*): Likewise.
3854         (fido-*-elf): Merge into m68k-*-elf*.
3855         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
3856         (frv-*-*linux*): Add frv/t-frv to tmake_file.
3857         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
3858         (h8300-*-elf*): Likewise.
3859         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
3860         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
3861         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
3862         (i[34567]86-*-mingw*): Likewise.
3863         (x86_64-*-mingw*): Likewise.
3864         (i[34567]86-*-interix3*): Likewise.
3865         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
3866         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
3867         (m68k-*-elf*): Also handle fido-*-elf.
3868         Add m68k/t-floatlib to tmake_file.
3869         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
3870         (m68k-*-linux*): Likewise.
3871         (m68k-*-rtems*): Likewise.
3872         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
3873         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
3874         sh64*-*-*.
3875         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
3876         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
3877         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
3878         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
3879         sh/t-netbsd to tmake_file.
3880         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
3881         (sh-*-rtems*): Add sh/t-sh to tmake_file.
3882         (sh-wrs-vxworks): Likewise.
3883         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
3884         *-leon[3-9]*.
3885         (v850*-*-*): Add v850/t-v850 to tmake_file.
3886         (vax-*-linux*): Add vax/t-linux to tmake_file.
3887         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
3889 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3891         * crtstuff.c: New file.
3892         * Makefile.in (CRTSTUFF_CFLAGS): Define.
3893         (CRTSTUFF_T_CFLAGS): Define.
3894         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
3895         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
3896         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
3897         crtstuff.c.
3898         Use $<.
3899         (crtbeginT.o): Use $(objext).
3900         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
3901         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
3902         (gcc-extra-parts): Remove.
3903         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
3904         Set extra_parts.
3905         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3906         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
3907         Add t-crtstuff-pic to tmake_file.
3908         (*-*-lynxos*): New case.
3909         Set tmake_file, extra_parts.
3910         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
3911         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
3912         *-*-netbsdelf[2-9]*.
3913         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
3914         (*-*-rtems*): Set extra_parts.
3915         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
3916         (*-*-uclinux*): New case.
3917         Set extra_parts.
3918         (*-*-vms*): New case.
3919         Set tmake_file, extra_parts.
3920         (*-*-elf): Set extra_parts.
3921         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
3922         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
3923         vms/t-vms64.
3924         Set extra_parts.
3925         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
3926         Set extra_parts.
3927         (arm*-*-freebsd*): Add t-crtin to tmake_file.
3928         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
3929         (arm-wrs-vxworks): Append to tmake_file.
3930         Set extra_parts.
3931         (arm*-*-uclinux*): Set extra_parts.
3932         (arm*-*-ecos-elf): Likewise.
3933         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
3934         arm*-*-eabi*.
3935         (arm*-*-rtems*): Set extra_parts.
3936         (arm*-*-elf): Likewise.
3937         (avr-*-rtems*): Clear extra_parts.
3938         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
3939         Set extra_parts.
3940         (bfin*-uclinux*): Likewise.
3941         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
3942         (bfin*-rtems*): Append to tmake_file.
3943         Set extra_parts.
3944         (bfin*-*): Likewise.
3945         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
3946         (crisv32-*-elf): ... this.
3947         (crisv32-*-none): ... this.
3948         (cris-*-elf, cris-*-none): New cases.
3949         Add cris/t-elfmulti to tmake_file.
3950         (fr30-*-elf): Append to tmake_file.
3951         Set extra_parts.
3952         (frv-*-elf): Append to tmake_file, add frv/t-frv.
3953         Set extra_parts.
3954         (h8300-*-rtems*): Append to tmake_file.
3955         Set extra_parts.
3956         (h8300-*-elf*): Likewise.
3957         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
3958         Set extra_parts.
3959         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
3960         Set extra_parts.
3961         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
3962         (x86_64-*-elf*): Likewise.
3963         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
3964         (x86_64-*-freebsd*): Likewise.
3965         (x86_64-*-netbsd*): Likewise.
3966         (i[34567]86-*-linux*): Likewise.
3967         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3968         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3969         (x86_64-*-linux*): Likewise.
3970         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3971         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
3972         tmake_file.
3973         Set extra_parts.
3974         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
3975         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
3976         Append to extra_parts, remove crtbegin.o, crtend.o.
3977         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
3978         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
3979         crtend.o, crtbeginS.o, crtendS.o.
3980         (ia64*-*-linux*): Comment extra_parts.
3981         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
3982         Set extra_parts.
3983         (iq2000*-*-elf*): Clear extra_parts.
3984         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
3985         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
3986         (m32r-*-elf*, m32r-*-rtems*): Split off ...
3987         (m32r-*-rtems*): ... this.
3988         Add m32r/t-m32r to tmake_file.
3989         (m68k-*-elf*): Add t-crtin to tmake_file.
3990         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
3991         (mcore-*-elf): Likewise.
3992         (microblaze*-*-*): Set extra_parts.
3993         (mips*-sde-elf*): New case.
3994         Set tmake_file, extra_parts.
3995         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
3996         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
3997         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
3998         tmake_file.
3999         Set extra_parts.
4000         (mipsisa64sr71k-*-elf*): Likewise.
4001         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
4002         (mips-*-elf*, mipsel-*-elf*): Likewise.
4003         (mips64-*-elf*, mips64el-*-elf*): Likewise.
4004         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
4005         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
4006         (mips*-*-rtems*): Likewise.
4007         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
4008         (moxie-*-*): Split into ...
4009         (moxie-*-elf, moxie-*-uclinux*): ... this.
4010         Add to extra_parts, remove crtbegin.o, crtend.o.
4011         (moxie-*-rtems*): New case.
4012         Set tmake_file.
4013         Clear extra_parts.
4014         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
4015         Set extra_parts.
4016         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
4017         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
4018         tmake_file.
4019         Set extra_parts.
4020         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
4021         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
4022         Set extra_parts.
4023         (powerpc-*-eabisim*): Likewise.
4024         (powerpc-*-elf*): Likewise.
4025         (powerpc-*-eabialtivec*): Likewise.
4026         (powerpc-xilinx-eabi*): Likewise.
4027         (powerpc-*-eabi*): Likewise.
4028         (powerpc-*-rtems*): Likewise.
4029         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
4030         tmake_file.
4031         Set extra_parts.
4032         (powerpc-*-lynxos*): Add to tmake_file.
4033         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
4034         rs6000/t-crtstuff, t-crtstuff-pic.
4035         Set extra_parts.
4036         (powerpcle-*-eabisim*): Likewise.
4037         (powerpcle-*-eabi*): Likewise.
4038         (rx-*-elf): Remove extra_parts.
4039         (s390x-ibm-tpf*): Set extra_parts.
4040         (score-*-elf): Set extra_parts.
4041         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
4042         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
4043         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
4044         (sh64l*-*-netbsd*): Split into ...
4045         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
4046         Add t-crtstuff-pic to tmake_file.
4047         Set extra_parts.
4048         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
4049         Set extra_parts.
4050         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
4051         (sparc-*-elf*): Remove t-crtin from tmake_file.
4052         Add to extra_parts, remove crtbegin.o, crtend.o.
4053         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
4054         (sparc64-*-linux*): Likewise.
4055         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
4056         Add to extra_parts, remove crtbegin.o, crtend.o.
4057         (sparc64-*-elf*): Remove t-crtin from tmake_file.
4058         Add to extra_parts, remove crtbegin.o, crtend.o.
4059         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
4060         Add to extra_parts, remove crtbegin.o, crtend.o.
4061         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
4062         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
4063         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
4064         Set extra_parts.
4065         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
4066         Set extra_parts.
4067         (tic6x-*-*): Change to ...
4068         (tic6x-*-elf): ... this.
4069         Set extra_parts.
4070         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
4071         Set extra_parts.
4072         (am33_2.0-*-linux*): Add comment.
4073         (mep*-*-*): Add mep/t-mep to tmake_file.
4074         Set extra_parts.
4075         * config/alpha/t-vms: New file.
4076         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
4077         * config/arm/crti.S, config/arm/crtn.S: New files.
4078         * config/bfin/crti.S, config/bfin/crtn.S: New files.
4079         * config/bfin/crtlibid.S: New file.
4080         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
4081         * config/c6x/crti.S, config/c6x/crtn.S: New files.
4082         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
4083         (crti.o, crtin.o): New rules.
4084         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
4085         * config/c6x/t-uclinux: New file.
4086         * config/cris/t-elfmulti: New file.
4087         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
4088         * config/fr30/crti.S, config/fr30/crtn.S: New files.
4089         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
4090         * config/frv/t-frv: New file.
4091         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
4092         * config/h8300/crti.S, config/h8300/crtn.S: New files.
4093         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
4094         New files.
4095         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
4096         refer to cygming-crtbegin.c, cygming-crtend.c.
4097         Use $<.
4098         * config/i386/t-nto: New file.
4099         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
4100         * config/ia64/crti.S, config/ia64/crtn.S: New files.
4101         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
4102         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
4103         Use .S extension.
4104         Use $<.
4105         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
4106         (crtinitS.o): New rule.
4107         * config/ia64/vms-crtinit.S: New file.
4108         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
4109         * config/m32r/initfini.c: New file.
4110         * config/m32r/t-linux, config/m32r/t-m32r: New files.
4111         * config/m68k/crti.S, config/m68k/crtn.S: New files.
4112         * config/mcore/crti.S, config/mcore/crtn.S: New files.
4113         * config/mep/t-mep: New file.
4114         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
4115         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
4116         * config/mips/crti.S, config/mips/crtn.S: New files.
4117         * config/mips/t-crtstuff: New file.
4118         * config/mmix/crti.S, config/mmix/crtn.S: New files.
4119         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
4120         (CUSTOM_CRTIN): Set.
4121         ($(T)crti.o, $(T)crtn.o): Remove $(T),
4122         dependencies.
4123         Use $(srcdir) to refer to crti.S, crtn.S.
4124         Use .S extension, $<.
4125         * config/moxie/crti.asm: Rename to ...
4126         * config/moxie/crti.S: ... this.
4127         * config/moxie/crtn.asm: Rename to ...
4128         * config/moxie/crtn.S: ... this.
4129         * config/moxie/t-moxie: Remove.
4130         * config/pa/stublib.c: New file.
4131         * config/pa/t-stublib, config/pa/t-stublib64: New files.
4132         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
4133         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
4134         * config/rs6000/t-crtstuff: New file.
4135         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
4136         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
4137         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
4138         Make output file explicit.
4139         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
4140         Make output file explicit.
4141         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
4142         Make output file explicit.
4143         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
4144         Make output file explicit.
4145         * config/score/crti.S, config/score/crtn.S: New files.
4146         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
4147         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
4148         files.
4149         * config/sh/t-sh, config/sh/t-superh: New files.
4150         * config/sparc/t-linux64: New file.
4151         * config/spu/cache.S, config/spu/cachemgr.c: New files.
4152         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
4153         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
4154         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
4155         * config/t-crtin: Remove.
4156         * config/t-crtstuff-pic: New file.
4157         * config/t-sol2 (CUSTOM_CRTIN): Set.
4158         (crti.o, crtn.o): New rules.
4159         * config/vms/t-vms: New file.
4160         * config/vms/vms-ucrt0.c: New file.
4161         * config/xtensa/t-elf: New file.
4163 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4165         * Makefile.in (SHLIB_NM_FLAGS): Set.
4166         * mkmap-flat.awk, mkmap-symver.awk: New files.
4167         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
4168         exceptions.
4169         * configure: Regenerate.
4170         * config/libgcc-glibc.ver: New file.
4171         * config/libgcc-libsystem.ver: New file.
4172         * config/t-libunwind (SHLIB_LC): Set.
4173         * config/t-linux: New file.
4174         * config/t-slibgcc (INSTALL_SHLIB): New.
4175         (SHLIB_INSTALL): Use it.
4176         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
4177         to mkmap-symver.awk.
4178         (SHLIB_MAPFILES): Don't append, adapt pathname.
4179         (SHLIB_VERPFX): Set.
4180         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
4181         to mkmap-symver.awk.
4182         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
4183         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
4184         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
4185         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
4186         to mkmap-flat.awk.
4187         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
4188         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
4189         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
4190         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
4191         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
4192         * config/i386/libgcc-darwin.10.4.ver,
4193         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
4194         New files.
4195         * config/i386/t-darwin: Remove.
4196         * config/i386/t-darwin64: Likewise.
4197         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
4198         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
4199         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
4200         * config/i386/t-linux: New file.
4201         * config/i386/t-mingw32: New file.
4202         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
4203         * config/ia64/t-glibc: Rename to ...
4204         * config/ia64/t-linux: ... this.
4205         (SHLIB_MAPFILES): Set.
4206         * config/ia64/t-glibc-libunwind: Rename to ...
4207         * config/ia64/t-linux-libunwind: ... this.
4208         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
4209         * config/ia64/t-slibgcc-hpux: New file.
4210         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
4211         * config/m68k/t-slibgcc-elf-ver: New file.
4212         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
4213         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
4214         to mkmap-flat.awk.
4215         * config/pa/t-slibgcc-hpux: New file.
4216         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
4217         files.
4218         * config/rs6000/libgcc-darwin.10.4.ver,
4219         config/rs6000/libgcc-darwin.10.5.ver: New files.
4220         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
4221         config/rs6000/libgcc-glibc.ver.
4222         * config/rs6000/libgcc-ppc64.ver: Rename to
4223         config/rs6000/libgcc-ibm-ldouble.ver.
4224         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
4225         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
4226         * config/rs6000/t-ldbl128: Rename to ...
4227         * config/rs6000/t-linux: ... this.
4228         (SHLIB_MAPFILES): Adapt filename.
4229         * config/rs6000/t-slibgcc-aix: New file.
4230         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
4231         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
4232         libgcc-excl.ver, libgcc-glibc.ver.
4233         (SHLIB_LINK, SHLIB_INSTALL): Remove.
4234         * config/sparc/libgcc-glibc.ver: New file.
4235         * config/sparc/t-linux: New file.
4236         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
4237         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
4238         t-slibgcc-elf-ver to tmake_file.
4239         Add t-slibgcc-nolc-override to tmake_file for posix threads on
4240         *-*-freebsd[34].
4241         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4242         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
4243         t-slibgcc-elf-ver, t-linux to tmake_file.
4244         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
4245         tmake_file.
4246         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
4247         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
4248         (alpha*-dec-*vms*): Likewise.
4249         (arm*-*-freebsd*): Append to tmake_file.
4250         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
4251         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
4252         arm*-*-linux-*eabi.
4253         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
4254         tmake_file for arm*-*-symbianelf*.
4255         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
4256         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
4257         cris/t-linux.
4258         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
4259         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
4260         pa/t-slibgcc-dwarf-ver to tmake_file.
4261         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
4262         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
4263         (hppa*64*-*-hpux11*): Likewise.
4264         (hppa[12]*-*-hpux11*): Likewise.
4265         (x86_64-*-darwin*): Don't override tmake_file, but only keep
4266         i386/t-crtpc, i386/t-crtfm.
4267         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
4268         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
4269         to tmake_file.
4270         Add i386/t-cygwin to tmake_file.
4271         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
4272         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
4273         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
4274         to tmake_file.
4275         Add i386/t-mingw32 to tmake_file.
4276         (x86_64-*-mingw*): Likewise.
4277         (ia64*-*-freebsd*): Append to tmake_file.
4278         (ia64*-*-linux*): Append to tmake_file.
4279         Replace ia64/t-glibc by ia64/t-linux.
4280         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
4281         system libunwind.
4282         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
4283         t-slibgcc-hpux to tmake_file.
4284         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
4285         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
4286         (m32rle-*-linux*): Likewise.
4287         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
4288         sjlj exceptions.
4289         (microblaze*-linux*): New case.
4290         Append to tmake_file, add t-slibgcc-nolc-override.
4291         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
4292         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
4293         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
4294         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
4295         rs6000/t-slibgcc-aix to tmake_file.
4296         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4297         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4298         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
4299         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
4300         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
4301         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
4302         sh*-*-linux*.
4303         (sparc-*-linux*): Append to tmake_file for *-leon*.
4304         Add sparc/t-linux to tmake_file for non-Leon targets.
4305         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
4306         (tic6x-*-uclinux): New case.
4307         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
4308         (tic6x-*-*): Add c6x/t-elf to tmake_file.
4309         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
4310         (am33_2.0-*-linux*): Append to tmake_file.
4311         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4312         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
4313         x86_64-*-kfreebsd*-gnu.
4314         Add i386/t-linux to tmake_file.
4316 2011-10-28  Ian Lance Taylor  <iant@google.com>
4318         * config/i386/morestack.S: Correct CFI information to do proper
4319         returns throughout function.  In 32-bit mode, save %ebx so that it
4320         is restored on unwind.
4322 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
4324         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
4325         case where B3 isn't the return register.
4327         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
4328         logic for doubleword pops.
4330 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
4332         * config/rs6000/t-freebsd: Add wildcard.
4334 2011-10-21  Paul Brook  <paul@codesourcery.com>
4336         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
4338 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
4339             Eric Botcazou  <ebotcazou@adacore.com>
4341         PR target/50737
4342         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
4343         fs->signal_frame to 1.
4345 2011-10-07  Ian Lance Taylor  <iant@google.com>
4347         * generic-morestack-thread.c: #include <errno.h>.
4349 2011-10-07  Ian Lance Taylor  <iant@google.com>
4351         PR target/46093
4352         * generic-morestack.c (__generic_morestack): Make sure the segment
4353         is large enough for both the stack frame and the copied
4354         parameters.
4356 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4358         PR bootstrap/49804
4359         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
4360         extra_parts.
4362 2011-09-28  Nick Clifton  <nickc@redhat.com>
4364         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
4365         64-bit doubles are not enabled.
4366         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
4367         and floatunsisf functions.
4369 2011-09-13  Paul Brook  <paul@codesourcery.com>
4371         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
4372         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
4373         * unwind-arm-common.inc: New file.
4374         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
4375         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
4376         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
4377         * config/c6x/libunwind.S: New file.
4378         * config/c6x/pr-support.c: New file.
4379         * config/c6x/unwind-c6x.c: New file.
4380         * config/c6x/unwind-c6x.h: New file.
4381         * config/c6x/t-c6x-elf: New file.
4383 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
4385         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
4386         (ASM_DIVZERO): Ditto.
4387         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
4389 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
4391         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
4393 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
4395         PR target/50090
4396         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
4397         instead of an assembly one.
4399 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
4401         PR bootstrap/50047
4402         * Makefile.in (install-unwind_h): Create
4403         $(gcc_objdir)/include/unwind.h atomically.
4405 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4407         * Makefile.in (install-unwind_h): Remove destination file first.
4409 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4411         * sync.c: New file.
4412         * config/mips/t-mips16: New file.
4413         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
4414         (mips*-*-linux*): Likewise.
4415         (mips*-sde-elf*): Likewise.
4416         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
4417         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
4418         Add mips/t-mips16 to tmake_file.
4419         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
4420         (mips-*-elf*): Likewise.
4421         (mips64-*-elf*): Likewise.
4422         (mips64orion-*-elf*): Likewise.
4423         (mips*-*-rtems*): Likewise.
4424         (mipstx39-*-elf*): Likewise.
4425         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
4426         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
4427         LIBGCC_SYNC_CFLAGS.
4428         Use $(srcdir) to refer to sync.c.
4429         Use $<.
4430         ($(libgcc-sync-funcs-o)): Likewise.
4431         ($(libgcc-sync-size-funcs-s-o)): Likewise.
4432         ($(libgcc-sync-funcs-s-o)): Likewise.
4434 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
4436         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
4437         t-libunwind.
4439 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
4441         PR other/48007
4442         * config/i386/value-unwind.h: New.
4444 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
4446         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
4447         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
4448         Add to tmake_file rather than overriding it.
4450 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4452         * config/t-softfp: Remove.
4453         * soft-fp: Moved from ../gcc/config.
4454         * soft-fp/README: Remove t-softfp reference.
4455         * soft-fp/t-softfp: Move to config/t-softfp.
4456         (softfp_machine_header): Remove.
4457         (softfp_file_list): Remove config subdir.
4458         (soft-fp-objects): New variable.
4459         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
4460         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
4461         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
4462         * config/t-softfp-excl: New file.
4463         * config/t-softfp-sfdf: New file.
4464         * config/t-softfp-tf: New file.
4465         * config/no-sfp-machine.h: New file.
4466         * config/arm/sfp-machine.h: New file.
4467         * config/arm/t-softfp: New file.
4468         * config/c6x/sfp-machine.h: New file.
4469         * config/i386/32/t-fprules-softfp: Rename to ...
4470         * config/i386/32/t-softfp: ... this.
4471         (tifunctions, LIB2ADD): Remove.
4472         (softfp_int_modes): Override.
4473         * config/i386/64/t-softfp-compat (tf-functions): Remove config
4474         subdir.
4475         * config/i386/64/eqtf2.c: Likewise.
4476         * config/i386/64/getf2.c: Likewise.
4477         * config/i386/64/letf2.c: Likewise.
4478         * config/ia64/sft-machine.h: New file.
4479         * config/ia64/t-fprules-softfp: Rename to ...
4480         * config/ia64/t-softfp: ... this.
4481         * config/lm32/sfp-machine.h: New file.
4482         * config/moxie/t-moxie-softfp: Remove.
4483         * config/rs6000/ibm-ldouble-format: New file.
4484         * config/rs6000/ibm-ldouble.c: New file.
4485         * config/rs6000/libgcc-ppc-glibc.ver: New file
4486         * config/rs6000/libgcc-ppc64.ver: New file
4487         * config/rs6000/sfp-machine.h: New file.
4488         * config/rs6000/t-freebsd: New file.
4489         * config/rs6000/t-ibm-ldouble: New file.
4490         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
4491         libgcc-ppc-glibc.ver.
4492         * config/rs6000/t-linux64: New file.
4493         * config/rs6000/t-ppccomm (LIB2ADD): Add
4494         $(srcdir)/config/rs6000/ibm-ldouble.c.
4495         * config/rs6000/t-ppccomm-ldbl: New file.
4496         * config/score/sfp-machine.h: New file.
4497         * config.host (sfp_machine_header): Explain.
4498         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
4499         t-softfp to tmake_file.
4500         (arm*-*-uclinux*): Likewise.
4501         (arm*-*-ecos-elf): Likewise.
4502         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
4503         (arm*-*-rtems*): Likewise.
4504         (arm*-*-elf): Likewise.
4505         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
4506         in tmake_file.
4507         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
4508         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
4509         (lm32-*-uclinux*): Likewise.
4510         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
4511         t-softfp-excl, t-softfp.
4512         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
4513         (powerpc64-*-darwin*): Likewise.
4514         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
4515         to tmake_file.
4516         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
4517         tmake_file.
4518         (powerpc-*-eabisim*): Likewise.
4519         (powerpc-*-elf*): Likewise.
4520         (powerpc-*-eabialtivec*): Likewise.
4521         (powerpc-xilinx-eabi*): Likewise.
4522         (powerpc-*-rtems*): Likewise.
4523         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
4524         t-softfp-excl, t-softfp to tmake_file.
4525         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
4526         rs6000/t-ppccomm-ldbl to tmake_file.
4527         (powerpcle-*-elf*): Likewise.
4528         (powerpcle-*-eabisim*): Likewise.
4529         (powerpcle-*-eabi*): Likewise.
4530         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
4531         rs6000/t-ibm-ldouble to tmake_file.
4532         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4533         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4534         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
4535         (tic6x-*-*): Likewise.
4536         (i[34567]86-*-darwin*, x86_64-*-darwin*,
4537         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
4538         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
4539         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
4540         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
4541         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
4542         t-softfp to tmake_file.
4543         * configure.ac (sfp_machine_header): Provide default if unset.
4544         Substitute.
4545         Link sfp-machine.h to config/$sfp_machine_header.
4546         * configure: Regenerate.
4548 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4550         * Makefile.in (double_type_size, long_double_type_size): Set.
4551         Remove $(fpbit-in-libgcc) support.
4552         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
4553         (fpbit-src): New variable.
4554         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
4555         Compile with -DFLOAT $(FPBIT_CFLAGS).
4556         Use $<.
4557         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
4558         Compile with $(FPBIT_CFLAGS).
4559         Use $<.
4560         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
4561         Compile with -DFLOAT $(TPBIT_CFLAGS).
4562         Use $<.
4563         * configure.ac (double_type_size, long_double_type_size):
4564         Determine and substitute.
4565         * configure: Regenerate.
4566         * fp-bit.c, fp-bit.h: New files.
4567         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
4568         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
4569         * config/mips/t-mips: New file.
4570         * config/mips/t-sdemtk: New file.
4571         * config/rs6000/ppc64-fp.c: New file.
4572         * config/rs6000/t-darwin (LIB2ADD): Add
4573         $(srcdir)/config/rs6000/ppc64-fp.c.
4574         * config/rs6000/t-ppc64-fp: New file.
4575         * config/rx/rx-lib.h: New file.
4576         * config/rx/t-rx (FPBIT): Set to true.
4577         ($(gcc_objdir)/fp-bit.c): Remove.
4578         (DPBIT): Set to true only with -m64bit-doubles.
4579         ($(gcc_objdir)/dp-bit.c): Remove.
4580         * config/sparc/t-softfp: Remove.
4581         * config/spu/t-elf: New file.
4582         * config/t-fdpbit, config/t-fpbit: New files.
4583         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
4584         (mips*-*-*): Likewise.
4585         (arm-wrs-vxworks): Likewise.
4586         (arm*-*-freebsd*): Likewise.
4587         (avr-*-rtems*): Add t-fpbit to tmake_file.
4588         (avr-*-*): Likewise.
4589         (bfin*-elf*): Add t-fdpbit to tmake_file.
4590         (bfin*-uclinux*): Likewise.
4591         (bfin*-linux-uclibc*): Likewise.
4592         (bfin*-rtems*): New case.
4593         Add t-fdpbit to tmake_file.
4594         (bfin*-*): Add t-fdpbit to tmake_file.
4595         (crisv32-*-elf): Likewise.
4596         (cris-*-linux*): Likewise.
4597         (fr30-*-elf): Likewise.
4598         (frv-*-elf, frv-*-*linux*): Likewise.
4599         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
4600         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
4601         (m32r-*-elf*): Likewise.
4602         (m32rle-*-elf*): Likewise.
4603         (m32r-*-linux*): Likewise.
4604         (m32rle-*-linux*): Likewise.
4605         (mcore-*-elf): Add t-fdpbit to tmake_file.
4606         (microblaze*-*-*): Likewise.
4607         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
4608         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
4609         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
4610         Fix typo.
4611         Add mips/t-tpbit to tmake-file.
4612         (mips*-*-linux*): Fix typo.
4613         (mips*-sde-elf*): New case
4614         Add mips/t-sdemtk unless using newlib.
4615         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
4616         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
4617         (mn10300-*-*): Likewise.
4618         (pdp11-*-*): Likewise.
4619         (picochip-*-*): Add t-fpbit to tmake_file.
4620         (powerpc-*-eabisimaltivec*): Likewise.
4621         (powerpc-*-eabisim*): Likewise.
4622         (powerpc-*-elf*): Likewise.
4623         (powerpc-*-eabialtivec*): Likewise.
4624         (powerpc-xilinx-eabi*): New case.
4625         Add t-fdpbit to tmake_file.
4626         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
4627         (powerpc-*-rtems*): Likewise.
4628         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
4629         tmake_file.
4630         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
4631         tmake_file.
4632         (powerpc-*-lynxos*): Likewise.
4633         (powerpcle-*-elf*): Likewise.
4634         (powerpcle-*-eabisim*): Likewise.
4635         (powerpcle-*-eabi*): Likewise.
4636         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
4637         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
4638         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4639         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4640         (rx-*-elf): Add t-fdpbit to tmake_file.
4641         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
4642         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
4643         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
4644         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
4645         sh*-*-netbsd*.
4646         (sh-*-rtems*): Add t-fdpbit to tmake_file.
4647         (sh-wrs-vxworks): Likewise.
4648         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
4649         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
4650         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
4651         (sparc64-*-rtems*): ... new case.
4652         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
4653         (spu-*-elf*): Likewise.
4654         Add spu/t-elf to tmake_file.
4655         (v850*-*-*): Add t-fdpbit to tmake_file.
4656         (xstormy16-*-elf): Likewise.
4657         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
4658         (mep*-*-*): Likewise.
4660 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4662         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
4663         variables.
4664         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
4665         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
4666         (install-unwind_h): New target.
4667         (all): Depend on it.
4668         * config.host (unwind_header): New variable.
4669         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
4670         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4671         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
4672         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
4673         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
4674         Set unwind_header.
4675         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
4676         Set unwind_header.
4677         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
4678         arm*-*-eabi*.
4679         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
4680         Set unwind_header.
4681         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
4682         (ia64*-*-freebsd*): Likewise.
4683         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
4684         tmake_file.
4685         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
4686         $with_system_libunwind.
4687         (ia64*-*-hpux*): Set tmake_file.
4688         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
4689         (picochip-*-*): Set tmake_file.
4690         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
4691         md_unwind_header.
4692         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4693         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4694         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
4695         (xtensa*-*-elf*): Set tmake_file.
4696         (xtensa*-*-linux*): Likewise.
4697         * configure.ac: Include ../config/unwind_ipinfo.m4.
4698         Call GCC_CHECK_UNWIND_GETIPINFO.
4699         Link unwind.h to $unwind_header.
4700         * configure: Regenerate.
4701         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
4702         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
4703         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
4704         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
4705         * config/unwind-dw2-fde-darwin.c: New file.
4706         * config/arm/libunwind.S, config/arm/pr-support.c,
4707         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
4708         config/arm/unwind-arm.h,: New files.
4709         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
4710         config/ia64/t-eh-ia64, config/ia64/t-glibc,
4711         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
4712         config/ia64/t-vms, config/ia64/unwind-ia64.c,
4713         config/ia64/unwind-ia64.h: New files.
4714         * config/picochip/t-picochip: New file.
4715         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
4716         files.
4717         * config/rs6000/t-darwin (LIB2ADDEH): Set.
4718         * config/s390/t-tpf (LIB2ADDEH): Remove.
4719         * config/t-darwin (LIB2ADDEH): Set.
4720         * config/t-eh-dw2-dip: New file.
4721         * config/t-libunwind, config/t-libunwind-elf: New files.
4722         * config/t-sol2 (LIB2ADDEH): Remove.
4723         * config/xtensa/t-xtensa: New file.
4725 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
4727         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
4728         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
4729         long long to check rt_sigreturn syscall.
4731 2011-08-02  Alan Modra  <amodra@gmail.com>
4733         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
4734         Restore for indirect call bcrtl from correct stack slot, and only
4735         if cfa+40 isn't valid.
4737 2011-08-01  Julian Brown  <julian@codesourcery.com>
4739         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
4740         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
4741         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
4743 2011-08-01  Julian Brown  <julian@codesourcery.com>
4745         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
4746         (libgcc-std.ver.in): Use above.
4747         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
4748         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
4749         throughout file.
4750         * config/t-fixedpoint-gnu-prefix: New file.
4751         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
4752         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
4753         instead of __PFX__.
4755 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
4757         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
4758         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
4759         for x86-64.  Properly check __x86_64__ and __LP64__.
4761 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
4763         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
4764         version.
4765         (_FP_WS_TYPE): Likewise.
4766         (_FP_I_TYPE): Likewise.
4768 2011-07-28  Alan Modra  <amodra@gmail.com>
4770         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
4771         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
4772         in a plt call stub.  Do restore r2 if stopped on bctrl.
4774 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4776         * config.host (i[3456x]86-*-netware*): Remove.
4777         * config/i386/netware-crt0.c, config/i386/t-nwld,
4778         config/i386/t-slibgcc-nwld: Remove.
4780 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
4782         * config.host: Handle tic6x-*-*.
4783         * config/c6x/c6x-abi.h: New file.
4785 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4787         * config/i386/crtprec.c: New file.
4788         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
4789         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
4790         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
4791         (x86_64-*-darwin*): Likewise.
4792         (i[34567]86-*-solaris2*: Likewise.
4794 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4796         * config/alpha/crtfastmath.c: New file.
4797         * config/i386/crtfastmath.c: New file.
4798         * config/ia64/crtfastmath.c: New file.
4799         * config/mips/crtfastmath.c: New file.
4800         * config/sparc/crtfastmath.c: New file.
4802         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
4803         crtfastmath.c.
4804         Add -frandom-seed=gcc-crtfastmath.
4805         * config/alpha/t-crtfm: Remove.
4806         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
4807         * config/ia64/t-ia64 (crtfastmath.o): Remove.
4809         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
4810         (alpha*-dec-osf5.1*): Likewise.
4811         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
4812         Add crtfastmath.o to extra_parts.
4813         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
4814         Add crtfastmath.o to extra_parts.
4815         (x86_64-*-darwin*): Likewise.
4816         (x86_64-*-mingw*): Likewise.
4817         (ia64*-*-elf*): Add t-crtfm to tmake_file.
4818         (ia64*-*-freebsd*): Likewise.
4819         (ia64*-*-linux*): Likewise.
4820         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
4821         Add crtfastmath.o to extra_parts.
4823 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4825         * config/darwin-crt3.o: New file.
4826         * config/rs6000/darwin-crt2.c: New file.
4827         * config/t-darwin: New file.
4828         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
4829         (crt2.o): New rule.
4830         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
4831         (powerpc-*-darwin*): Add crt2.o to extra_parts.
4832         (powerpc64-*-darwin*): Likewise.
4834 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4836         * config/i386/netware-crt0.c: New file.
4837         * config/i386/t-nwld: Rename to ...
4838         * config/i386/t-slibgcc-nwld: ... this.
4839         * config/i386/t-nwld: New file.
4840         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
4841         tmake_file.
4842         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
4843         extra_parts.
4845 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4847         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
4848         i386/t-crtstuff.
4849         * configure: Regenerate.
4851 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4853         * dfp-bit.c, dfp-bit.h: New files.
4854         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
4855         variables.
4856         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
4857         ($(d64pbit-o)): Likewise.
4858         ($(d128pbit-o)): Likewise.
4859         * config/t-dfprules: New file.
4860         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
4861         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
4862         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
4863         (x86_64-*-linux*): Likewise.
4864         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
4865         (i[34567]86-*-cygwin*): Likewise.
4866         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
4867         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
4869 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4871         * Makfile.in (LIBGCOV): New variable.
4872         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
4873         * libgcov.c: New file.
4875 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4877         * fixed-bit.c, fixed-bit.h: New files.
4878         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
4879         refer to fixed-bit.c.
4881 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
4883         * config.host (*local*): Remove.
4885 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4887         PR target/39150
4888         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
4889         like i?86-*-solaris2.1[0-9]*.
4890         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
4891         * configure.ac (i?86-*-solaris2*): Likewise.
4892         * configure: Regenerate.
4894 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
4896         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
4897         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
4898         md_unwind_header by splitting out of...
4899         (i[34567]86-*-linux*): ... this.
4900         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
4901         Remove md_unwind_header by splitting out of...
4902         (x86_64-*-linux*): ... this.
4904 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
4906         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
4908 2011-06-28  Nick Clifton  <nickc@redhat.com>
4910         * config.host: Recognize all V850 variants.
4912 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
4914         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
4916 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4918         * shared-object.mk (c_flags-$o): Save c_flags.
4919         ($(base)$(objext)): Use it.
4920         ($(base)_s$(objext)): Likewise.
4922 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
4924         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
4925         * libgcc-std.ver.in (GCC_4.7.0): New section.
4927 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
4929         PR target/49313
4930         PR target/29524
4931         * config/avr/t-avr: Fix line endings.
4932         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
4933         _parityXX2.
4935 2011-06-14  Olivier Hainque  <hainque@adacore.com>
4936             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4938         * config/mips/irix6-unwind.h: New file.
4939         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
4941 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
4943         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
4944         (sparc64_fallback_frame_state): Use it.
4945         (sparc64_frob_update_context): Further adjust context.
4946         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
4947         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
4948         * config/sparc/sol2-cn.S: Likewise.
4950 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4952         * enable-execute-stack-empty.c: New file.
4953         * enable-execute-stack-mprotect.c: New file.
4954         * config/i386/enable-execute-stack-mingw32.c: New file.
4955         * config.host (enable_execute_stack): New variable.
4956         Select appropriate variants.
4957         * configure.ac: Link enable-execute-stack.c to
4958         $enable_execute_stack.
4959         * configure: Regenerate.
4960         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
4961         (lib2funcs): Remove _enable_execute_stack.
4963 2011-06-09  David S. Miller  <davem@davemloft.net>
4964             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4966         * config.host (sparc-*-linux*): Correct md_unwind_header
4967         filename.
4968         (s390x-ibm-tpf*): Fix typo.
4970 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4972         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
4973         Add crtfastmath.o to extra_parts.
4974         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
4975         mips/t-crtfm.
4976         * config/mips/t-crtfm: Remove.
4978 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4980         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
4982 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
4984         * config.host (sh*-*-linux*): Fix typo.
4986 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4988         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
4989         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
4990         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
4991         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
4992         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
4993         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
4994         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
4995         Wrap in !__MINGW64__.
4996         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
4997         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
4998         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
4999         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
5000         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
5001         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
5002         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
5003         Wrap in !__LP64__.
5004         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
5005         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
5006         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
5007         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
5008         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
5009         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
5010         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
5011         * config/no-unwind.h: New file.
5012         * config.host (md_unwind_header): Document.
5013         Define.
5014         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
5015         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
5016         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
5017         hppa[12]*-*-hpux11*): Set md_unwind_header.
5018         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
5019         Set md_unwind_header.
5020         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
5021         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
5022         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
5023         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
5024         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
5025         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
5026         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
5027         md_unwind_header.
5028         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
5029         * configure: Regenerate.
5031 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5033         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
5034         Set tmake_file, extra_parts.
5035         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
5036         Remove O32 support.
5037         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
5038         Remove O32 support.
5039         * config/mips/t-irix6: New file.
5040         * config/mips/t-slibgcc-irix: New file.
5042 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5044         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
5045         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
5047 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5049         * configure.ac (target_thread_file): Determine thread model.
5050         * configure: Regenerate.
5051         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
5052         * config/alpha/t-alpha: New file.
5053         * config/alpha/t-crtfm: Use $<.
5054         * config/alpha/t-ieee: New file.
5055         * config/alpha/t-osf-pthread: New file.
5056         * config/alpha/t-slibgcc-osf: New file.
5057         * config/alpha/libgcc-osf5.ver: New file.
5059 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5061         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
5062         tmake_file.
5063         Add crtfastmath.o to extra_parts.
5065 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5067         * config/gmon-sol2.c: Reindent.
5068         Cleanup comments.
5069         Remove, correct casts.
5070         Use STDERR_FILENO, NULL.
5071         (BASEADDRESS): Remove.
5072         (minbrk): Remove.
5073         (errno, sbrk): Remove declarations.
5074         (monstartup) [hp300]: Remove.
5075         (mcount): Remove.
5077 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5079         * Makefile.in (cpu_type): Define.
5080         * config.host (i[34567]86-*-rtems*): Handle it.
5081         (i[34567]86-*-solaris2*): Move body ...
5082         (*-*-solaris2*): ... here.
5083         New case, generalize.
5084         (sparc-*-elf*): Handle it.
5085         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
5086         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
5087         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
5088         Fold into ...
5089         (sparc*-*-solaris2*): ... this.
5090         New case.
5091         (sparc64-*-elf*): Handle it.
5092         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
5093         Merge ../gcc/config/i386/gmon-sol2.c.
5094         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
5095         Use C comments.
5096         Merge ../gcc/config/i386/sol2-gc1.asm.
5097         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
5098         Use C comments.
5099         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
5100         Use C comments.
5101         * config/i386/t-crtfm (crtfastmath.o): Use $<.
5102         * config/i386/t-crtstuff: New file.
5103         * config/i386/t-softfp: New file.
5104         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
5105         $(T)crti.o, $(T)crtn.o): Remove.
5106         (gcrt1.o): New rule.
5107         (TARGET_LIBGCC2_CFLAGS): Remove.
5108         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
5109         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
5110         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
5111         * config/sparc/t-sol2: New file.
5112         * config/sparc/t-crtfm: Move to ...
5113         * config/t-crtfm: ... this.
5114         Use $(cpu_type), $<.
5115         * config/t-crtin: New file.
5116         * config/sparc/t-softfp: New file.
5117         * config/sparc/t-softmul: New file.
5118         * config/t-rtems: New file.
5119         * config/t-slibgcc: New file.
5120         * config/t-slibgcc-elf-ver: New file.
5121         * config/t-slibgcc-gld: New file.
5122         * config/t-slibgcc-sld: New file.
5123         * config/t-sol2: New file.
5124         * configure.ac: Include ../config/lib-ld.m4.
5125         Call AC_LIB_PROG_LD_GNU.
5126         Substitute cpu_type.
5127         * configure: Regenerate.
5129 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
5131         PR bootstrap/49173
5132         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
5133         libgcc-std.ver in the build directory.
5134         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
5135         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
5137 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
5139         * libgcc-std.ver.in: New file.
5140         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
5141         variables.
5142         (libgcc-std.ver): New rule.
5143         * config/t-gnu-prefix: New file.
5145 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5147         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
5149 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
5151         * config/i386/darwin-lib.h: New file.
5153 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
5155         * config/arm/symbian-lib.h: New.
5157 2011-05-04  Chris Demetriou  <cgd@google.com>
5159         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
5160         (__x86.get_pc_thunk.bx): ...this.
5161         (__morestack): Adjust for rename, remove undef of __i686.
5163 2011-05-03  Chris Demetriou  <cgd@google.com>
5165         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
5167 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
5169         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
5170         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
5171         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
5172         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
5173         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
5174         Remove cases.
5176 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
5178         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
5179         Adjust copyright year.
5181 2011-03-07  Ian Lance Taylor  <iant@google.com>
5183         * generic-morestack.c (__splitstack_find): Adjust returned stack
5184         pointer to include all registers pushed by __morestack.
5186 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
5188         PR target/40125
5189         * configure.ac: Call ACX_NONCANONICAL_TARGET.
5190         (toolexecdir): Calculate and AC_SUBST.
5191         (toolexeclibdir): Likewise.
5192         * Makefile.in (target_noncanonical): Import.
5193         (toolexecdir): Likewise.
5194         (toolexeclibdir): Likewise.
5195         * configure: Regenerate.
5197 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
5199         PR target/46040
5200         * config/arm/bpabi.h: Rename to...
5201         * config/arm/bpabi-lib.h: ...this.
5203 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5205         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
5206         appropriate.
5207         * configure: Regenerate.
5209 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
5211         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
5212         __FLOAT_WORD_ORDER__.
5213         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
5214         Delete.
5216 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5218         PR other/46202
5219         * Makefile.in (install-strip): New phony target.
5221 2010-11-07  Ian Lance Taylor  <iant@google.com>
5223         PR target/46089
5224         * config/i386/morestack.S (__morestack_large_model): New
5225         function.
5227 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
5229         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
5230         Delete.
5231         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
5233 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
5235         * config/arm/bpabi.h: New file.
5236         * config/frv/frv-abi.h: New file.
5238 2010-10-01  Ian Lance Taylor  <iant@google.com>
5240         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
5241         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
5243 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
5245         PR target/45858
5246         * config.host: Add the missing `$'.
5248 2010-09-30  Michael Eager  <eager@eagercon.com>
5250         * config.host: Add microblaze*-*-*.
5251         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
5252         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
5253         udivsi3.asm,umodsi3.asm}:  New.
5255 2010-09-28  Ian Lance Taylor  <iant@google.com>
5257         * configure.ac: Adjust CFI test to test assembler directly rather
5258         than checking gcc preprocessor macro.
5259         * configure: Rebuild.
5261 2010-09-27  Ian Lance Taylor  <iant@google.com>
5263         * configure.ac: Test whether assembler supports CFI directives.
5264         * config.host: Only add t-stack and i386/t-stack-i386 to
5265         tmake_file if libgcc_cv_cfi is "yes".
5266         * configure: Rebuild.
5268 2010-09-27  Ian Lance Taylor  <iant@google.com>
5270         * generic-morestack.h: New file.
5271         * generic-morestack.c: New file.
5272         * generic-morestack-thread.c: New file.
5273         * config/i386/morestack.S: New file.
5274         * config/t-stack: New file.
5275         * config/i386/t-stack-i386: New file.
5276         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
5277         i386/t-stack-i386 to tmake_file.
5279 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
5281         * Makefile.in (libgcc-extra-parts):  Check for static archives and
5282         invoke ranlib after installing them.
5283         (gcc-extra-parts): Likewise.
5284         (install-leaf): Likewise.
5286 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
5288         * configure: Regenerated.
5290 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
5292         * configure: Regenerated.
5294 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
5295             Andrew Pinski  <pinskia@gmail.com>
5297         PR target/40959
5298         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
5300 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5302         PR target/45524
5303         * configure: Regenerated.
5305 2010-09-06  Andreas Schwab  <schwab@redhat.com>
5307         * configure: Regenerate.
5309 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
5311         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
5312         64bit targets.
5313         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
5314         for 64bit targets.
5316 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
5317             Iain Sandoe  <iains@gcc.gnu.org>
5319         PR target/45476
5320         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
5321         LIB2FUNCS_EXCLUDE functions.
5323 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5325         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
5326         Include dfp.m4.
5327         * configure: Regenerate.
5329 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
5331         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
5332         i386/t-freebsd to tmake_file.
5333         * config/i386/t-freebsd: New file.
5334         * config/i386/libgcc-bsd.ver: New file.
5336 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
5338         * config.host (powerpc*-eabispe*): Set tmake_file.
5339         (powerpc*-eabi*): Likewise.
5340         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
5341         crtbeginS, crtendS, crtbeginT.
5343 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
5345         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
5346         to tmake_file.  Add crtfastmath.o to extra_parts.
5347         * config/mips/t-crtfm: New.
5349 2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
5351         * config.host (sparc64-*-rtems*): New target.
5353 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5355         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
5356         assembler syntax.
5358 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
5360         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
5362 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5364         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
5365         alpha-dec-osf5.0* support.
5367 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
5369         * config.host: Add lm32-*-rtems*.
5371 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5372             Uros Bizjak <ubizjak@gmail.com>
5374         PR target/39048
5375         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
5376         like other remaining 32-bit x86 OSes.
5377         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
5378         assembler syntax.
5379         * config/i386/libgcc-sol2.ver: New file.
5380         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
5382 2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>
5384         PR c/43553
5385         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
5386         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
5387         is used and substitute set_use_emutls.
5388         * configure: Regenerated.
5390 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
5392         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
5394 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5396         PR target/38085
5397         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
5398         MULTILIB_CFLAGS.
5399         ($(T)gcrt1.o): Likewise.
5400         ($(T)crt1.o): Likewise.
5401         ($(T)crti.o): Likewise.
5402         ($(T)crtn.o): Likewise.
5404 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5406         PR other/42980
5407         * Makefile.in (install): Use $(MAKE) string in rule, for
5408         parallel make.
5410 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
5412         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
5413         * config/mmix/t-mmix: New file.
5414         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
5416 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
5418         PR java/41991
5419         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
5420         SHLIB_MAPFILES.
5422 2010-01-04  Anthony Green  <green@moxielogic.com>
5424         * config/moxie/crti.asm, config/moxie/crtn.asm,
5425         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
5426         config/moxie/t-moxie: New files.
5427         * config.host: Add t-moxie-softfp reference.
5429 2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
5431         PR other/39888
5432         * config/t-slibgcc-darwin: Fix embedded rpaths for
5433         --enable-version-specific-runtime-libs, build extension stub
5434         libs exposing features available from current libgcc_s.
5436 2009-11-11  Jon Beniston <jon@beniston.com>
5438         * config.host: Add lm32 targets.
5439         * config/lm32: New directory.
5440         * config/lm32/libgcc_lm32.h: New file.
5441         * config/lm32/_mulsi3.c: New file.
5442         * config/lm32/_udivmodsi4.c: New file.
5443         * config/lm32/_divsi3.c: New file.
5444         * config/lm32/_modsi3.c: New file.
5445         * config/lm32/_udivsi3.c: New file.
5446         * config/lm32/_umodsi3.c: New file.
5447         * config/lm32/_lshrsi3.S: New file.
5448         * config/lm32/_ashrsi3.S: New file.
5449         * config/lm32/_ashlsi3.S: New file.
5450         * config/lm32/crti.S: New file.
5451         * config/lm32/crtn.S: New file.
5452         * config/lm32/t-lm32: New file.
5453         * config/lm32/t-elf: New file.
5454         * config/lm32/t-uclinux: New file.
5456 2009-10-26  Nick Clifton  <nickc@redhat.com>
5458         * config.host: Add support for RX target.
5459         * config/rx: New directory.
5460         * config/rx/rx-abi-functions.c: New file. Supplementary
5461         functions for libgcc to support the RX ABI.
5462         * config/rx/rx-abi.h: New file.  Supplementary header file for
5463         libgcc RX ABI functions.
5464         * config/rx/t-rx: New file: Makefile fragment for building
5465         libgcc for the RX.
5467 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
5469         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
5470         constraint of y0 to "g".
5472 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5474         * config.host: Include the s390 makefile fragments.
5475         * config/s390/32/_fixdfdi.c: New file.
5476         * config/s390/32/_fixsfdi.c: New file.
5477         * config/s390/32/_fixtfdi.c: New file.
5478         * config/s390/32/_fixunsdfdi.c: New file.
5479         * config/s390/32/_fixunssfdi.c: New file.
5480         * config/s390/32/_fixunstfdi.c: New file.
5481         * config/s390/32/t-floattodi: New file.
5482         * config/s390/libgcc-glibc.ver: New file.
5483         * config/s390/t-crtstuff: New file.
5484         * config/s390/t-linux: New file.
5485         * config/s390/t-tpf: New file.
5487 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5489         * configure.ac (AC_PREREQ): Bump to 2.64.
5491 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
5493         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
5495 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5497         * configure: Regenerate.
5499 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
5501         * config.host (ia64-hp-*vms*): New target.
5502         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
5503         with ia64-hp-*vms*.
5505 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5507         * configure.ac: Add snippet for maintainer-mode.
5508         * configure: Regenerate.
5509         * Makefile.in (AUTOCONF, configure_deps): New variables.
5510         ($(srcdir)/configure)): New rule, active only with maintainer
5511         mode turned on.
5513 2009-06-23  DJ Delorie  <dj@redhat.com>
5515         Add MeP port.
5516         * config.host: Add mep support.
5518 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
5520         * config.host: Add i386/${host_address}/t-fprules-softfp and
5521         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
5523         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
5524         for mingw targets.
5525         * config/i386/64/_multc3.c: Likewise.
5526         * config/i386/64/_powitf2.c: Likewise.
5527         * config/i386/64/eqtf2.c: Likewise.
5528         * config/i386/64/getf2.c: Likewise.
5529         * config/i386/64/letf2.c: Likewise.
5530         * config/i386/64/letf2.c: Likewise.
5531         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
5532         unsigned long long for x64 mingw targets.
5533         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
5534         (_FP_I_TYPE): Define as long long for x64 mingw target.
5536 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
5538         * config.host (vax-*-linux*): New.
5540 2009-05-31  Anthony Green  <green@moxielogic.com>
5542         * config.host: Add moxie support.
5543         * config/moxie/t-moxie: New file.
5545 2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
5547         * config.host: Add i386/${host_address}/t-fprules-softfp and
5548         t-softfp to tmake_file for i[34567]86-*-cygwin*.
5550 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
5552         * config.host: Add i386/${host_address}/t-fprules-softfp to
5553         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
5555 2009-04-09  Nick Clifton  <nickc@redhat.com>
5557         * config/ia64/tf-signs.c: Change copyright header to refer to
5558         version 3 of the GNU General Public License with version 3.1
5559         of the GCC Runtime Library Exception and to point readers at
5560         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
5561         web page.
5562         * config/i386/32/tf-signs.c: Likewise.
5563         * config/libbid/_addsub_dd.c: Likewise.
5564         * config/libbid/_addsub_sd.c: Likewise.
5565         * config/libbid/_addsub_td.c: Likewise.
5566         * config/libbid/_dd_to_df.c: Likewise.
5567         * config/libbid/_dd_to_di.c: Likewise.
5568         * config/libbid/_dd_to_sd.c: Likewise.
5569         * config/libbid/_dd_to_sf.c: Likewise.
5570         * config/libbid/_dd_to_si.c: Likewise.
5571         * config/libbid/_dd_to_td.c: Likewise.
5572         * config/libbid/_dd_to_tf.c: Likewise.
5573         * config/libbid/_dd_to_udi.c: Likewise.
5574         * config/libbid/_dd_to_usi.c: Likewise.
5575         * config/libbid/_dd_to_xf.c: Likewise.
5576         * config/libbid/_df_to_dd.c: Likewise.
5577         * config/libbid/_df_to_sd.c: Likewise.
5578         * config/libbid/_df_to_td.c: Likewise.
5579         * config/libbid/_di_to_dd.c: Likewise.
5580         * config/libbid/_di_to_sd.c: Likewise.
5581         * config/libbid/_di_to_td.c: Likewise.
5582         * config/libbid/_div_dd.c: Likewise.
5583         * config/libbid/_div_sd.c: Likewise.
5584         * config/libbid/_div_td.c: Likewise.
5585         * config/libbid/_eq_dd.c: Likewise.
5586         * config/libbid/_eq_sd.c: Likewise.
5587         * config/libbid/_eq_td.c: Likewise.
5588         * config/libbid/_ge_dd.c: Likewise.
5589         * config/libbid/_ge_sd.c: Likewise.
5590         * config/libbid/_ge_td.c: Likewise.
5591         * config/libbid/_gt_dd.c: Likewise.
5592         * config/libbid/_gt_sd.c: Likewise.
5593         * config/libbid/_gt_td.c: Likewise.
5594         * config/libbid/_isinfd128.c: Likewise.
5595         * config/libbid/_isinfd32.c: Likewise.
5596         * config/libbid/_isinfd64.c: Likewise.
5597         * config/libbid/_le_dd.c: Likewise.
5598         * config/libbid/_le_sd.c: Likewise.
5599         * config/libbid/_le_td.c: Likewise.
5600         * config/libbid/_lt_dd.c: Likewise.
5601         * config/libbid/_lt_sd.c: Likewise.
5602         * config/libbid/_lt_td.c: Likewise.
5603         * config/libbid/_mul_dd.c: Likewise.
5604         * config/libbid/_mul_sd.c: Likewise.
5605         * config/libbid/_mul_td.c: Likewise.
5606         * config/libbid/_ne_dd.c: Likewise.
5607         * config/libbid/_ne_sd.c: Likewise.
5608         * config/libbid/_ne_td.c: Likewise.
5609         * config/libbid/_sd_to_dd.c: Likewise.
5610         * config/libbid/_sd_to_df.c: Likewise.
5611         * config/libbid/_sd_to_di.c: Likewise.
5612         * config/libbid/_sd_to_sf.c: Likewise.
5613         * config/libbid/_sd_to_si.c: Likewise.
5614         * config/libbid/_sd_to_td.c: Likewise.
5615         * config/libbid/_sd_to_tf.c: Likewise.
5616         * config/libbid/_sd_to_udi.c: Likewise.
5617         * config/libbid/_sd_to_usi.c: Likewise.
5618         * config/libbid/_sd_to_xf.c: Likewise.
5619         * config/libbid/_sf_to_dd.c: Likewise.
5620         * config/libbid/_sf_to_sd.c: Likewise.
5621         * config/libbid/_sf_to_td.c: Likewise.
5622         * config/libbid/_si_to_dd.c: Likewise.
5623         * config/libbid/_si_to_sd.c: Likewise.
5624         * config/libbid/_si_to_td.c: Likewise.
5625         * config/libbid/_td_to_dd.c: Likewise.
5626         * config/libbid/_td_to_df.c: Likewise.
5627         * config/libbid/_td_to_di.c: Likewise.
5628         * config/libbid/_td_to_sd.c: Likewise.
5629         * config/libbid/_td_to_sf.c: Likewise.
5630         * config/libbid/_td_to_si.c: Likewise.
5631         * config/libbid/_td_to_tf.c: Likewise.
5632         * config/libbid/_td_to_udi.c: Likewise.
5633         * config/libbid/_td_to_usi.c: Likewise.
5634         * config/libbid/_td_to_xf.c: Likewise.
5635         * config/libbid/_tf_to_dd.c: Likewise.
5636         * config/libbid/_tf_to_sd.c: Likewise.
5637         * config/libbid/_tf_to_td.c: Likewise.
5638         * config/libbid/_udi_to_dd.c: Likewise.
5639         * config/libbid/_udi_to_sd.c: Likewise.
5640         * config/libbid/_udi_to_td.c: Likewise.
5641         * config/libbid/_unord_dd.c: Likewise.
5642         * config/libbid/_unord_sd.c: Likewise.
5643         * config/libbid/_unord_td.c: Likewise.
5644         * config/libbid/_usi_to_dd.c: Likewise.
5645         * config/libbid/_usi_to_sd.c: Likewise.
5646         * config/libbid/_usi_to_td.c: Likewise.
5647         * config/libbid/_xf_to_dd.c: Likewise.
5648         * config/libbid/_xf_to_sd.c: Likewise.
5649         * config/libbid/_xf_to_td.c: Likewise.
5650         * config/libbid/bid128.c: Likewise.
5651         * config/libbid/bid128_2_str.h: Likewise.
5652         * config/libbid/bid128_2_str_macros.h: Likewise.
5653         * config/libbid/bid128_2_str_tables.c: Likewise.
5654         * config/libbid/bid128_add.c: Likewise.
5655         * config/libbid/bid128_compare.c: Likewise.
5656         * config/libbid/bid128_div.c: Likewise.
5657         * config/libbid/bid128_fma.c: Likewise.
5658         * config/libbid/bid128_logb.c: Likewise.
5659         * config/libbid/bid128_minmax.c: Likewise.
5660         * config/libbid/bid128_mul.c: Likewise.
5661         * config/libbid/bid128_next.c: Likewise.
5662         * config/libbid/bid128_noncomp.c: Likewise.
5663         * config/libbid/bid128_quantize.c: Likewise.
5664         * config/libbid/bid128_rem.c: Likewise.
5665         * config/libbid/bid128_round_integral.c: Likewise.
5666         * config/libbid/bid128_scalb.c: Likewise.
5667         * config/libbid/bid128_sqrt.c: Likewise.
5668         * config/libbid/bid128_string.c: Likewise.
5669         * config/libbid/bid128_to_int16.c: Likewise.
5670         * config/libbid/bid128_to_int32.c: Likewise.
5671         * config/libbid/bid128_to_int64.c: Likewise.
5672         * config/libbid/bid128_to_int8.c: Likewise.
5673         * config/libbid/bid128_to_uint16.c: Likewise.
5674         * config/libbid/bid128_to_uint32.c: Likewise.
5675         * config/libbid/bid128_to_uint64.c: Likewise.
5676         * config/libbid/bid128_to_uint8.c: Likewise.
5677         * config/libbid/bid32_to_bid128.c: Likewise.
5678         * config/libbid/bid32_to_bid64.c: Likewise.
5679         * config/libbid/bid64_add.c: Likewise.
5680         * config/libbid/bid64_compare.c: Likewise.
5681         * config/libbid/bid64_div.c: Likewise.
5682         * config/libbid/bid64_fma.c: Likewise.
5683         * config/libbid/bid64_logb.c: Likewise.
5684         * config/libbid/bid64_minmax.c: Likewise.
5685         * config/libbid/bid64_mul.c: Likewise.
5686         * config/libbid/bid64_next.c: Likewise.
5687         * config/libbid/bid64_noncomp.c: Likewise.
5688         * config/libbid/bid64_quantize.c: Likewise.
5689         * config/libbid/bid64_rem.c: Likewise.
5690         * config/libbid/bid64_round_integral.c: Likewise.
5691         * config/libbid/bid64_scalb.c: Likewise.
5692         * config/libbid/bid64_sqrt.c: Likewise.
5693         * config/libbid/bid64_string.c: Likewise.
5694         * config/libbid/bid64_to_bid128.c: Likewise.
5695         * config/libbid/bid64_to_int16.c: Likewise.
5696         * config/libbid/bid64_to_int32.c: Likewise.
5697         * config/libbid/bid64_to_int64.c: Likewise.
5698         * config/libbid/bid64_to_int8.c: Likewise.
5699         * config/libbid/bid64_to_uint16.c: Likewise.
5700         * config/libbid/bid64_to_uint32.c: Likewise.
5701         * config/libbid/bid64_to_uint64.c: Likewise.
5702         * config/libbid/bid64_to_uint8.c: Likewise.
5703         * config/libbid/bid_b2d.h: Likewise.
5704         * config/libbid/bid_binarydecimal.c: Likewise.
5705         * config/libbid/bid_conf.h: Likewise.
5706         * config/libbid/bid_convert_data.c: Likewise.
5707         * config/libbid/bid_decimal_data.c: Likewise.
5708         * config/libbid/bid_decimal_globals.c: Likewise.
5709         * config/libbid/bid_div_macros.h: Likewise.
5710         * config/libbid/bid_dpd.c: Likewise.
5711         * config/libbid/bid_flag_operations.c: Likewise.
5712         * config/libbid/bid_from_int.c: Likewise.
5713         * config/libbid/bid_functions.h: Likewise.
5714         * config/libbid/bid_gcc_intrinsics.h: Likewise.
5715         * config/libbid/bid_inline_add.h: Likewise.
5716         * config/libbid/bid_internal.h: Likewise.
5717         * config/libbid/bid_round.c: Likewise.
5718         * config/libbid/bid_sqrt_macros.h: Likewise.
5720 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
5722         * Makefile.in: Change copyright header to refer to version
5723         3 of the GNU General Public License and to point readers at the
5724         COPYING3 file and the FSF's license web page.
5725         * config.host: Likewise.
5727 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
5729         * config.host: Reorder and merge to match config.gcc change.
5731 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
5733         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
5735 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
5737         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
5738         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
5739         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
5740         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
5742 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
5744         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
5745         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
5747 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
5749         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
5750         ia64/t-softfp-compat to tmake_file.
5752         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
5754         * config/ia64/__divxf3.asm: New.
5755         * config/ia64/_fixtfdi.asm: Likewise.
5756         * config/ia64/_fixunstfdi.asm: Likewise.
5757         * config/ia64/_floatditf.asm: Likewise.
5758         * config/ia64/t-fprules-softfp: Likewise.
5759         * config/ia64/t-softfp-compat: Likewise.
5760         * config/ia64/tf-signs.c: Likewise.
5762 2009-01-18  Ben Elliston  <bje@au.ibm.com>
5764         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
5766 2009-01-16  Ben Elliston  <bje@au.ibm.com>
5768         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
5769         to tmake_file.
5771 2009-01-13  Ben Elliston  <bje@au.ibm.com>
5773         * config/t-softfp: New file.
5774         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
5775         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
5777 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
5779         * config.host: Add m32r*-*-rtems*.
5781 2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
5783         * config.host: Add m32c*-*-rtems*.
5785 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5787         PR bootstrap/33100
5788         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
5789         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
5790         * configure: Regenerate.
5791         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
5792         tmake_file here from gcc/config.gcc.
5793         Move extra_parts here from gcc/config.gcc.
5794         * config/i386/t-sol2: Move here from gcc/config/i386.
5795         Use gcc_srcdir instead of srcdir.
5797 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
5799         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
5800         case.
5802 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
5804         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
5806 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
5808         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
5810 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
5812         Add picoChip port.
5813         * config.host: Add picochip-*-*.
5815 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
5817         * config.host: Match more processor names for Xtensa.
5819 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
5821         * config/i386/64/t-softfp-compat: Update comments.
5823 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
5825         * config/i386/64/_divtc3-compat.c: Moved to ...
5826         * config/i386/64/_divtc3.c: Here.
5828         * config/i386/64/_multc3-compat.c: Moved to ...
5829         * config/i386/64/_multc3.c: Here.
5831         * config/i386/64/_powitf2-compat.c: Moved to ...
5832         * config/i386/64/_powitf2.c: Here.
5834         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
5835         .c suffix instead of -compat.c.
5837 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
5839         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
5840         (_FP_MUL_MEAT_D): Ditto.
5841         (_FP_DIV_MEAT_S): Ditto.
5842         (_FP_DIV_MEAT_D): Ditto.
5844 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
5846         * Makefile.in: Add support for __sync_* libgcc functions.
5848 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
5850         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
5852 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5854         PR boostrap/36702
5855         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
5856         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
5858         * config/i386/64/t-fprules-softfp: Moved to ...
5859         * config/i386/64/t-softfp-compat: This.  New.
5861 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
5863         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
5864         Initialize f with 0.0.
5866 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5868         PR target/36669
5869         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
5871         * config/i386/64/_divtc3-compat.c: New.
5872         * config/i386/64/_multc3-compat.c: Likewise.
5873         * config/i386/64/_powitf2-compat.c: Likewise.
5874         * config/i386/64/eqtf2.c: Likewise.
5875         * config/i386/64/getf2.c: Likewise.
5876         * config/i386/64/letf2.c: Likewise.
5877         * config/i386/64/t-fprules-softfp: Likewise.
5879 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5881         * config.host: Add i386/${host_address}/t-fprules-softfp to
5882         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
5883         i[34567]86-*-linux*, x86_64-*-linux*.
5885         * configure.ac: Set host_address to 64 or 32 for x86.
5886         * configure: Regenerated.
5888         * Makefile.in (config.status): Also depend on
5889         $(srcdir)/config.host.
5891         * config/i386/32/t-fprules-softfp: New.
5892         * config/i386/32/tf-signs.c: Likewise.
5894         * config/i386/64/sfp-machine.h: New. Moved from gcc.
5896 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5897             Uros Bizjak  <ubizjak@gmail.com>
5899         * config/i386/32/sfp-machine.h: New.
5901 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
5903         * config/rs6000/t-ppccomm: Remove rules that conflict with
5904         auto-generated rules.
5906 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5908         * configure.ac: sinclude override.m4.
5909         * configure: Regenerate.
5911 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
5913         * configure: Regenerate.
5915 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
5917         * Makefile.in (DECNUMINC): Remove
5918         -I$(MULTIBUILDTOP)../../libdecnumber.
5919         * gstdint.h: New.
5921 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
5923         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
5924         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
5925         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
5926         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
5927         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
5928         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
5929         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
5930         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
5931         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
5932         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
5933         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
5934         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
5935         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
5936         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
5938 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
5940         * config.host (sh2[lbe]*-*-linux*): Allow target.
5942 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
5944         * config/rs6000/t-ppccomm: Add build rules for new files.
5945         (LIB2ADD_ST): New variable.
5947 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
5949         PR target/34210
5950         PR target/35508
5951         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
5952         * config/t-avr: New file. Build 16bit libgcc functions.
5954 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
5956         PR target/35401
5957         * config/t-slibgcc-darwin: Make install-leaf dependent on
5958         install-darwin-libgcc-stubs instead of install.
5960 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
5962         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
5963         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
5964         sh-*-rtemscoff*): Remove cases.
5966 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
5968         * Makefile.in (all): Use install-leaf rather than install.
5969         (install): Split most of the rule into...
5970         (install-leaf): ...this new one.
5972 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
5973             Paolo Bonzini  <bonzini@gnu.org>
5975         PR target/30572
5976         * Makefile.in: Use @shlib_slibdir@ substitution to get
5977         correct install name on darwin.
5978         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
5980 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
5982         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
5983         cris-*-elf and cris-*-none.
5984         (crisv32-*-linux*): Similar, as cris-*-linux*.
5986 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
5988         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
5990 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
5992         PR regression/33926
5993         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
5994         * configure: Regenerated.
5996 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
5998         * Makefile.in (dfp-filenames): Replace decimal_globals,
5999         decimal_data, binarydecimal and convert_data with
6000         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
6001         and bid_convert_data, respectively.
6003 2007-09-17  Chao-ying Fu  <fu@mips.com>
6004             Nigel Stephens  <nigel@mips.com>
6006         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
6007         * Makefile.in (fixed_point): Define.
6008         Check if fixed_point is yes to build support functions.
6009         * configure.ac: Check for fixed_point support.
6010         * configure: Regenerated.
6011         * gen-fixed.sh: New file to generate lists of fixed-point labels,
6012         funcs, modes, from, to.
6014 2007-09-11  Janis Johnson  <janis187@us.ibm.com
6016         * Makefile.in (dfp-filenames): Add bid128_noncomp.
6018 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
6020         * Makefile.in (dfp-filenames): Remove decUtility, add
6021         decDouble, decPacked, decQuad, decSingle.
6023 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
6025         * config.host : Add x86_64-elf target.
6027 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
6029         * configure.ac (set_have_cc_tls): Add a missing =.
6030         * configure: Regenerated.
6032 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
6034         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
6035         and x86_64-*-linux*.
6037         * config/t-tls: New file.
6039         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6041         * configure.ac: Include ../config/enable.m4 and
6042         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
6043         supports TLS and substitute set_have_cc_tls.
6044         * configure: Regenerated.
6046 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
6048         * Makefile.in: Use libbid for DFP when BID is enabled.
6050 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
6052         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
6053         extra_parts. Add config/i386/t-cygming to tmake_file.
6054         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
6056 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
6057             Danny Smith  <dannysmith@users.sourceforge.net>
6059         PR target/29498
6060         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
6061         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
6062         * config/i386/t-crtfm: Compile crtfastmath.o with
6063         -minline-all-stringops.
6065 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
6067         * config.host (sparc-wrs-vxworks): New target.
6069 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
6071         * config.host: Recognize fido.
6073 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
6075         * configure: Check host, not target, for decimal float support.
6077 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
6079         * config/i386/t-crtpc: New file.
6080         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
6081         (x86_64-*-linux*): Ditto.
6083 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
6085         * config.host (x86_64-*-mingw*): New target.
6087 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
6088             H.J. Lu  <hongjiu.lu@intel.com>
6090         * Makefile.in (enable_decimal_float): New.
6091         (DECNUMINC): Add
6092         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
6093         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
6094         (decbits-filenames): This.
6095         (decbits-objects): New.
6096         (libgcc-objects): Add $(decbits-objects).
6098         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
6099         Substitute enable_decimal_float.
6100         * configure: Regenerated.
6102 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
6104         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
6106 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
6108         * Makefile.in (install-info): New dummy target.
6110 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
6112         * config.host (bfin*-linux-uclibc*): Set extra_parts.
6114 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
6116         * Makefile.in: Add install-html and install-pdf dummy
6117         targets.
6119 2007-02-05  Roger Sayle  <roger@eyesopen.com>
6120             Daniel Jacobowitz  <dan@codesourcery.com>
6122         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
6123         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
6124         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
6126 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
6128         * Makefile.in (dec-filenames): Add decExcept.
6130 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
6132         PR bootstrap/30469
6133         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
6134         -fprofile-use.
6136 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
6138         * configure.ac: Add --enable-version-specific-runtime-libs.
6139         Correct $slibdir default.
6140         * configure: Regenerated.
6142 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
6144         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
6146 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
6148         PR target/30519
6149         * config.host (alpha*-*-linux*): Set extra_parts.
6151 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
6153         * config/sh/t-linux: New.
6154         * config.host (sh*-*-linux*): Set tmake_file.
6156 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
6158         * Makefile.in (install): Handle multilibs.
6160 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
6162         * Makefile.in: Added .PHONY entry for documentation targets.
6164 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
6166         * Makefile.in: Add empty info, html, dvi, pdf targets.
6168 2007-01-04  Mike Stump  <mrs@apple.com>
6170         * Makefile.in (MAKEINFO): Remove.
6171         (PERL): Likewise.
6173 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
6175         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
6176         * configure: Regenerate.
6177         * Makefile.in (host_subdir): Substitute it.
6178         (gcc_objdir): Use it.
6180 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
6182         * config.host (ia64*-*-linux*): Set tmake_file.
6184 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
6186         * Makefile.in (version): Define.
6188 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
6189             Paolo Bonzini  <bonzini@gnu.org>
6191         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
6192         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
6193         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
6194         config/sparc/t-crtfm, config/t-slibgcc-darwin,
6195         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
6196         shared-object.mk, siditi-object.mk, static-object.mk: New files.
6197         * configure: Generated.