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