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