1 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
4 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5 and R24 as needed. Make work for all devices and .text locations.
6 (__do_global_ctors, __do_global_dtors): Use word addresses.
7 (__tablejump__, __tablejump_elpm__): Remove functions.
8 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
10 (XICALL, XIJMP): New macros.
12 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
13 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
15 * config.host (aarch64*): Include crtfastmath.o and
17 * config/aarch64/crtfastmath.c: New file.
19 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
21 * config.host: Remove picochip support.
22 * config/picochip/adddi3.S: Remove.
23 * config/picochip/ashlsi3.S: Remove.
24 * config/picochip/ashlsi3.c: Remove.
25 * config/picochip/ashrsi3.S: Remove.
26 * config/picochip/ashrsi3.c: Remove.
27 * config/picochip/clzsi2.S: Remove.
28 * config/picochip/cmpsi2.S: Remove.
29 * config/picochip/divmod15.S: Remove.
30 * config/picochip/divmodhi4.S: Remove.
31 * config/picochip/divmodsi4.S: Remove.
32 * config/picochip/lib1funcs.S: Remove.
33 * config/picochip/longjmp.S: Remove.
34 * config/picochip/lshrsi3.S: Remove.
35 * config/picochip/lshrsi3.c: Remove.
36 * config/picochip/parityhi2.S: Remove.
37 * config/picochip/popcounthi2.S: Remove.
38 * config/picochip/setjmp.S: Remove.
39 * config/picochip/subdi3.S: Remove.
40 * config/picochip/t-picochip: Remove.
41 * config/picochip/ucmpsi2.S: Remove.
42 * config/picochip/udivmodhi4.S: Remove.
43 * config/picochip/udivmodsi4.S: Remove.
45 2014-09-08 Joseph Myers <joseph@codesourcery.com>
47 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
48 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
49 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
50 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
51 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
52 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
53 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
54 defined and LIBGCC2_HAS_DF_MODE is defined.
55 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
56 defined and LIBGCC2_HAS_XF_MODE is defined.
57 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
58 defined and LIBGCC2_HAS_TF_MODE is defined.
60 2014-09-08 Joseph Myers <joseph@codesourcery.com>
62 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
63 and ROUND_TOWARDS_ZERO conditionals.
65 2014-09-07 Nathan sidwell <nathan@acm.org>
67 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
68 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
70 2014-09-05 Joseph Myers <joseph@codesourcery.com>
72 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
73 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
74 uses to __LIBGCC_STACK_POINTER_REGNUM__.
75 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
76 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
77 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
78 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
79 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
80 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
81 (DWARF_FRAME_REGISTERS): Change all uses to
82 __LIBGCC_DWARF_FRAME_REGISTERS__.
83 (EH_RETURN_STACKADJ_RTX): Change all uses to
84 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
85 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
86 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
87 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
88 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
89 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
90 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
91 to __LIBGCC_EH_FRAME_SECTION_NAME__.
92 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
93 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
94 __LIBGCC_STACK_POINTER_REGNUM__.
95 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
96 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
97 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
98 to __LIBGCC_STACK_POINTER_REGNUM__.
99 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
100 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
101 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
102 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
103 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
104 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
105 (STACK_POINTER_REGNUM): Change all uses to
106 __LIBGCC_STACK_POINTER_REGNUM__.
107 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
108 use to __LIBGCC_STACK_POINTER_REGNUM__.
109 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
110 uses to __LIBGCC_STACK_POINTER_REGNUM__.
111 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
112 to __LIBGCC_DWARF_FRAME_REGISTERS__.
113 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
114 to __LIBGCC_DWARF_FRAME_REGISTERS__.
115 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
116 to __LIBGCC_STACK_POINTER_REGNUM__.
117 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
118 Remove conditional definition.
119 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
120 __LIBGCC_TEXT_SECTION_ASM_OP__.
121 (EH_FRAME_SECTION_NAME): Change all uses to
122 __LIBGCC_EH_FRAME_SECTION_NAME__.
123 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
124 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
125 (CTORS_SECTION_ASM_OP): Change all uses to
126 __LIBGCC_CTORS_SECTION_ASM_OP__.
127 (DTORS_SECTION_ASM_OP): Change all uses to
128 __LIBGCC_DTORS_SECTION_ASM_OP__.
129 (JCR_SECTION_NAME): Change all uses to
130 __LIBGCC_JCR_SECTION_NAME__.
131 (INIT_SECTION_ASM_OP): Change all uses to
132 __LIBGCC_INIT_SECTION_ASM_OP__.
133 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
134 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
135 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
136 __LIBGCC_STACK_GROWS_DOWNWARD__.
137 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
138 __LIBGCC_INIT_SECTION_ASM_OP__.
139 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
140 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
141 (EH_FRAME_SECTION_NAME): Change all uses to
142 __LIBGCC_EH_FRAME_SECTION_NAME__.
143 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
144 definitions. Change all uses to
145 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
146 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
147 __LIBGCC_STACK_GROWS_DOWNWARD__.
148 (DWARF_FRAME_REGISTERS): Change all uses to
149 __LIBGCC_DWARF_FRAME_REGISTERS__.
150 (EH_RETURN_STACKADJ_RTX): Change all uses to
151 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
152 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
153 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
154 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
155 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
156 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
158 2014-09-02 Nathan sidwell <nathan@acm.org>
160 * libgcov-interface.c (STRONG_ALIAS): New.
161 (__gcov_flush): Call __gcov_reset_int.
162 (__gcov_reset): Strong alias for ...
163 (__gcov_reset_ing): ... this renamed hidden version.
164 * libgcov.h (__gcov_reset_int): New declaration.
166 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
168 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
170 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
171 (__dso_handle): Define on Cygwin.
172 * config/i386/t-cygming (crtbeginS.o): New rule.
173 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
175 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
178 2014-08-13 Steve Ellcey <sellcey@mips.com>
180 * crtstuff.c: Undef caddr_t.
182 2014-08-12 Steve Ellcey <sellcey@mips.com>
184 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
186 2014-08-07 Nathan Sidwell <nathan@acm.org>
188 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
189 (LIBGCOV_DRIVER): ... to here.
190 * libgcov.h (gcov_do_dump): New #define.
191 (struct gcov_root): New.
192 (__gcov_root): New declaration.
193 (__gcov_dump_one): Declare.
194 * libgcov-driver.c (gcov_list, gcov_dump_complete,
195 run_accounted): Delete.
196 (gcov_compute_histogram): Add LIST argument, adjust.
197 (compute_summary): Adjust gcov_compute_histogram call.
198 (gcov_do_dump): Not hidden, static in libgcov.
199 (gcov_clear): Move to interface.c.
200 (__gcov_dump_one): New, broken out of ...
201 (gcov_exit): ... here. Make static.
203 (__gcov_init): Adjust.
204 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
206 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
207 (gcov_clear): Moved from driver.c. Add LIST argument.
208 (__gcov_reset): Adjust for changed interfaces.
209 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
211 2014-08-04 Rohit <rohitarulraj@freescale.com>
214 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
215 based on change in SPE high register numbers and 3 HTM registers.
217 2014-08-01 Nathan Sidwell <nathan@acm.org>
219 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
220 LIBGCOV_INTERFACE): Reformat.
221 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
223 * libgcov-interface.c: Reformat some comments.
224 (__gcov_flush_mx): Add declaration. Tidy up definition.
226 2014-07-31 Alan Modra <amodra@gmail.com>
227 Peter Bergner <bergner@vnet.ibm.com>
229 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
230 (pack_ldouble): New function.
231 (__gcc_qadd): Use it.
232 (__gcc_qmul): Likewise.
233 (__gcc_qdiv): Likewise.
234 (__gcc_qneg): Likewise.
235 (__gcc_stoq): Likewise.
236 (__gcc_dtoq): Likewise.
238 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
240 * config/s390/tpf-unwind.h: Include <stdbool.h>.
241 (__tpf_eh_return): Add original return address as second parameter.
242 Handle cases where unwinder routines were called directly, instead
243 of from within the C++ library.
245 2014-07-29 Nathan Sidwell <nathan@acm.org>
247 * libgcov.h: Move renaming of entry points to lib gcov specific
249 (gcov_do_dump): New rename.
250 (gcov_rewrite): Remove inline, make HIDDEN.
251 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
252 (gcov_exit_compute_summary): Rename to ...
253 (compute_summary): ... here. Add LIST argument.
254 (gcov_exit_merge_gcda): Rename to ...
255 (merge_one_data): ... here.
256 (gcov_exit_write_gcda): Rename to ...
257 (write_one_data): ... here.
258 (gcov_exit_merge_summary): Rename to ...
259 (merge_summary): Add RUN_COUNTED argument.
260 (gcov_exit_dump_gcov): Rename to ...
261 (dump_one_gcov): Add RUN_COUNTED argument.
262 (gcov_do_dump): New function, broken out of ...
263 (gcov_exit): ... here. Call it.
265 2014-07-27 Anthony Green <green@moxielogic.com>
267 * config.host: Add moxiebox configuration suppport.
269 2014-07-27 Nathan Sidwell <nathan@acm.org>
271 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
272 (struct gcov_filename): ... here. Include buffer and max length
274 (gcov_max_filename): Remove.
275 (gi_filename): Remove.
276 (gcov_exit_compute_summary): Compute max filename here.
277 (gcov_exit_merge_gcda): Add filename parm, adjust.
278 (gcov_exit_merge_summary): Likewise.
279 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
280 (gcov_exit): Likewise.
281 (__gcov_init): Don't calculate max length here.
282 * libgcov_util.c (max_filename_len): Remove.
283 (read_gcda_file): Don't calculate max length here.
284 (gcov_read_profile_dir): Don't propagate here.
285 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
286 struct gcov_filename changes.
287 (gcov_exit_open_gcda_file): Likewise.
289 2014-07-25 Nathan Sidwell <nathan@acm.org>
291 * libgcov-driver.c (set_gcov_dump_complete,
292 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
293 functions polluting user's namespace.
294 (gcov_exit): Set variable directly.
295 (gcov_clear): Reset variable directly.
296 * libgcov-interface.c (get_gcov_dymp_complete,
297 reset_gov_dump_complete): Remove declarations.
298 (__gcov_reset, __gcov_dump): Don't call them.
300 2014-07-24 DJ Delorie <dj@redhat.com>
302 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
303 (__gcc_deregister_frame): Move logic to detect deregister function
305 (__gcc_register_frame): here, so it's consistent with the register
308 2014-07-23 Nathan Sidwell <nathan@acm.org>
310 * libgcov-driver.c (set_gcov_list): Remove.
311 (gcov_list): Make non-static in GCOV_TOOL.
312 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
314 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
316 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
317 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
318 Don't use SYNC_LOCK_RELEASE for int type.
320 2014-07-14 Richard Biener <rguenther@suse.de>
322 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
324 2014-07-11 Rong Xu <xur@google.com>
326 * libgcov-util.c (gcov_max_filename): Fix declartion.
328 2014-07-10 Rong Xu <xur@google.com>
330 Add gcov-tool: an offline gcda profile processing tool
332 * libgcov-driver.c (gcov_max_filename): Make available
334 * libgcov-merge.c (__gcov_merge_add): Replace
335 gcov_read_counter() with a Macro.
336 (__gcov_merge_ior): Ditto.
337 (__gcov_merge_time_profile): Ditto.
338 (__gcov_merge_single): Ditto.
339 (__gcov_merge_delta): Ditto.
340 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
341 in the utility functions.
342 (set_fn_ctrs): Utility function for reading gcda files to in-memory
343 gcov_list object link lists.
344 (tag_function): Ditto.
348 (tag_counters): Ditto.
349 (tag_summary): Ditto.
350 (read_gcda_finalize): Ditto.
351 (read_gcda_file): Ditto.
352 (ftw_read_file): Ditto.
353 (read_profile_dir_init): Ditto.
354 (gcov_read_profile_dir): Ditto.
355 (gcov_read_counter_mem): Ditto.
356 (gcov_get_merge_weight): Ditto.
357 (merge_wrapper): A wrapper function that calls merging handler.
358 (gcov_merge): Merge two gcov_info objects with weights.
359 (find_match_gcov_info): Find the matched gcov_info in the list.
360 (gcov_profile_merge): Merge two gcov_info object lists.
361 (__gcov_add_counter_op): Process edge profile counter values.
362 (__gcov_ior_counter_op): Process IOR profile counter values.
363 (__gcov_delta_counter_op): Process delta profile counter values.
364 (__gcov_single_counter_op): Process single profile counter values.
365 (fp_scale): Callback function for float-point scaling.
366 (int_scale): Callback function for integer fraction scaling.
367 (gcov_profile_scale): Scaling profile counters.
368 (gcov_profile_normalize): Normalize profile counters.
369 * libgcov.h: Add headers and functions for gcov-tool use.
370 (gcov_get_counter): New.
371 (gcov_get_counter_target): Ditto.
372 (struct gcov_info): Make the functions field mutable in gcov-tool
375 2014-06-23 Kai Tietz <ktietz@redhat.com>
378 * unwind-seh.c (_Unwind_GetGR): Check for proper
380 (_Unwind_SetGR): Likewise.
382 2014-05-22 Nick Clifton <nickc@redhat.com>
384 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
387 2014-05-22 Teresa Johnson <tejohnson@google.com>
389 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
392 2014-05-20 John Marino <gnugcc@marino.st>
394 * config.host (*-*-dragonfly*): New target.
395 * crtstuff.c: Make dl_iterate_support generic on *bsd.
396 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
397 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
398 * config/i386/dragonfly-unwind.h: New.
400 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
403 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
404 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
406 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
408 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
411 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
413 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
415 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
418 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
421 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
423 Work around for current cygwin32 build problems.
424 * config/i386/cygming-crtbegin.c (__register_frame_info,
425 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
426 functions only for 64-bit systems.
428 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
430 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
431 (sigill_caught, sigill_hdlr): Remove.
433 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
435 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
437 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
438 Solaris 9 single-threaded support.
439 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
440 Solaris 9 single-threaded support. Add call_user_handler code
442 (sparc_is_sighandler): Likewise.
444 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
446 * config.host: Append t-floattodi to tmake_file depending on
449 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
451 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
453 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
456 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
457 variable to avoid array subscript is above array bounds warnings.
458 Use __builtin_expect when checking *jcr_list for NULL.
460 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
463 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
464 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
465 vtv_*.o to extra_parts if enable_vtable_verify.
467 2014-03-06 Nick Clifton <nickc@redhat.com>
469 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
470 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
472 2014-02-28 Joey Ye <joey.ye@arm.com>
475 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
476 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
479 2014-02-24 Walter Lee <walt@tilera.com>
481 * config.host: Support "tilegx*" and "tilepro*" triplets.
482 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
483 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
485 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
486 Chung-Lin Tang <cltang@codesourcery.com>
488 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
489 * config/nios2/crti.S: Remove .file directive.
490 * config/nios2/crtn.S: Likewise.
492 2014-02-18 Kai Tietz <ktietz@redhat.com>
493 Jonathan Schleifer <js@webkeks.org>
496 * unwind-seh.c (_GCC_specific_handler): Pass proper
497 value to unwind-handler.
499 2014-02-12 Joseph Myers <joseph@codesourcery.com>
501 * soft-fp/adddf3.c: Update from glibc.
502 * soft-fp/addsf3.c: Likewise.
503 * soft-fp/addtf3.c: Likewise.
504 * soft-fp/divdf3.c: Likewise.
505 * soft-fp/divsf3.c: Likewise.
506 * soft-fp/divtf3.c: Likewise.
507 * soft-fp/double.h: Likewise.
508 * soft-fp/eqdf2.c: Likewise.
509 * soft-fp/eqsf2.c: Likewise.
510 * soft-fp/eqtf2.c: Likewise.
511 * soft-fp/extenddftf2.c: Likewise.
512 * soft-fp/extended.h: Likewise.
513 * soft-fp/extendsfdf2.c: Likewise.
514 * soft-fp/extendsftf2.c: Likewise.
515 * soft-fp/extendxftf2.c: Likewise.
516 * soft-fp/fixdfdi.c: Likewise.
517 * soft-fp/fixdfsi.c: Likewise.
518 * soft-fp/fixdfti.c: Likewise.
519 * soft-fp/fixsfdi.c: Likewise.
520 * soft-fp/fixsfsi.c: Likewise.
521 * soft-fp/fixsfti.c: Likewise.
522 * soft-fp/fixtfdi.c: Likewise.
523 * soft-fp/fixtfsi.c: Likewise.
524 * soft-fp/fixtfti.c: Likewise.
525 * soft-fp/fixunsdfdi.c: Likewise.
526 * soft-fp/fixunsdfsi.c: Likewise.
527 * soft-fp/fixunsdfti.c: Likewise.
528 * soft-fp/fixunssfdi.c: Likewise.
529 * soft-fp/fixunssfsi.c: Likewise.
530 * soft-fp/fixunssfti.c: Likewise.
531 * soft-fp/fixunstfdi.c: Likewise.
532 * soft-fp/fixunstfsi.c: Likewise.
533 * soft-fp/fixunstfti.c: Likewise.
534 * soft-fp/floatdidf.c: Likewise.
535 * soft-fp/floatdisf.c: Likewise.
536 * soft-fp/floatditf.c: Likewise.
537 * soft-fp/floatsidf.c: Likewise.
538 * soft-fp/floatsisf.c: Likewise.
539 * soft-fp/floatsitf.c: Likewise.
540 * soft-fp/floattidf.c: Likewise.
541 * soft-fp/floattisf.c: Likewise.
542 * soft-fp/floattitf.c: Likewise.
543 * soft-fp/floatundidf.c: Likewise.
544 * soft-fp/floatundisf.c: Likewise.
545 * soft-fp/floatunditf.c: Likewise.
546 * soft-fp/floatunsidf.c: Likewise.
547 * soft-fp/floatunsisf.c: Likewise.
548 * soft-fp/floatunsitf.c: Likewise.
549 * soft-fp/floatuntidf.c: Likewise.
550 * soft-fp/floatuntisf.c: Likewise.
551 * soft-fp/floatuntitf.c: Likewise.
552 * soft-fp/gedf2.c: Likewise.
553 * soft-fp/gesf2.c: Likewise.
554 * soft-fp/getf2.c: Likewise.
555 * soft-fp/ledf2.c: Likewise.
556 * soft-fp/lesf2.c: Likewise.
557 * soft-fp/letf2.c: Likewise.
558 * soft-fp/muldf3.c: Likewise.
559 * soft-fp/mulsf3.c: Likewise.
560 * soft-fp/multf3.c: Likewise.
561 * soft-fp/negdf2.c: Likewise.
562 * soft-fp/negsf2.c: Likewise.
563 * soft-fp/negtf2.c: Likewise.
564 * soft-fp/op-1.h: Likewise.
565 * soft-fp/op-2.h: Likewise.
566 * soft-fp/op-4.h: Likewise.
567 * soft-fp/op-8.h: Likewise.
568 * soft-fp/op-common.h: Likewise.
569 * soft-fp/quad.h: Likewise.
570 * soft-fp/single.h: Likewise.
571 * soft-fp/soft-fp.h: Likewise.
572 * soft-fp/subdf3.c: Likewise.
573 * soft-fp/subsf3.c: Likewise.
574 * soft-fp/subtf3.c: Likewise.
575 * soft-fp/truncdfsf2.c: Likewise.
576 * soft-fp/trunctfdf2.c: Likewise.
577 * soft-fp/trunctfsf2.c: Likewise.
578 * soft-fp/trunctfxf2.c: Likewise.
579 * soft-fp/unorddf2.c: Likewise.
580 * soft-fp/unordsf2.c: Likewise.
581 * soft-fp/unordtf2.c: Likewise.
582 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
584 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
586 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
588 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
590 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
592 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
594 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
596 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
598 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
600 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
602 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
604 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
606 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
608 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
610 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
612 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
615 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
617 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
618 cannot be represented.
619 * config/s390/32/_fixsfdi.c: Likewise.
620 * config/s390/32/_fixtfdi.c: Likewise.
621 * config/s390/32/_fixunsdfdi.c: Likewise.
622 * config/s390/32/_fixunssfdi.c: Likewise.
623 * config/s390/32/_fixunstfdi.c: Likewise.
625 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
627 * configure.ac (libgcc_cv_mips_hard_float): New.
628 * configure: Regenerate.
629 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
630 t-softfp-sfdf for hard-float targets.
631 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
632 (softfp_float_modes, softfp_int_modes, softfp_extensions)
633 (softfp_truncations, softfp_exclude_libgcc2): New.
634 * config/t-hardfp: New file.
635 * config/t-hardfp-sfdf: Likewise.
636 * config/hardfp.c: Likewise.
638 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
640 * config.host: Include t-floattodi also for s390x.
641 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
642 * config/s390/32/_fixsfdi.c: Likewise.
643 * config/s390/32/_fixtfdi.c: Likewise.
644 * config/s390/32/_fixunsdfdi.c: Likewise.
645 * config/s390/32/_fixunssfdi.c: Likewise.
646 * config/s390/32/_fixunstfdi.c: Likewise.
648 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
651 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
652 (install-libgcc-unwind-map-forbuild): New target.
653 (all): Depend on install-libgcc-unwind-map-forbuild.
654 (install-libgcc-unwind-map): New target.
655 (install): Depend on install-libgcc-unwind-map.
657 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
659 * config/nios2/crti.S (_init): Initialize GOT pointer from
660 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
662 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
664 * configure.ac: Check __mips64 when setting host_address.
665 * configure: Regenerate.
666 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
667 mips/t-mips64 and t-softfp.
668 (mips*-*-linux*): Don't add mips/t-tpbit.
669 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
670 (DPBIT, DPBIT_CFLAGS): Delete.
671 * config/mips/sfp-machine.h: New file.
672 * config/mips/t-mips64: Likewise.
673 * config/mips/t-softfp-tf: Likewise.
674 * config/mips/t-tpbit: Delete.
676 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
678 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
681 2014-01-25 Walter Lee <walt@tilera.com>
683 * config/tilepro/atomic.c: Include tconfig.h. Don't include
684 config.h or system.h.
687 2014-01-25 Walter Lee <walt@tilera.com>
689 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
690 (post_atomic_barrier): Ditto.
691 (__fetch_and_do): New macro.
692 (__atomic_fetch_and_do): Use __fetch_and_do.
693 (__sync_fetch_and_do): New macro.
694 (__sync_fetch_and_add_4): New function.
695 (__sync_fetch_and_sub_4): New function.
696 (__sync_fetch_and_or_4): New function.
697 (__sync_fetch_and_and_4): New function.
698 (__sync_fetch_and_xor_4): New function.
699 (__sync_fetch_and_nand_4): New function.
700 (__sync_fetch_and_add_8): New function.
701 (__sync_fetch_and_sub_8): New function.
702 (__sync_fetch_and_or_8): New function.
703 (__sync_fetch_and_and_8): New function.
704 (__sync_fetch_and_xor_8): New function.
705 (__sync_fetch_and_nand_8): New function.
706 (__do_and_fetch): New macro.
707 (__atomic_do_and_fetch): Use __do_and_fetch.
708 (__sync_do_and_fetch): New macro.
709 (__sync_add_and_fetch_4): New function.
710 (__sync_sub_and_fetch_4): New function.
711 (__sync_or_and_fetch_4): New function.
712 (__sync_and_and_fetch_4): New function.
713 (__sync_xor_and_fetch_4): New function.
714 (__sync_nand_and_fetch_4): New function.
715 (__sync_add_and_fetch_8): New function.
716 (__sync_sub_and_fetch_8): New function.
717 (__sync_or_and_fetch_8): New function.
718 (__sync_and_and_fetch_8): New function.
719 (__sync_xor_and_fetch_8): New function.
720 (__sync_nand_and_fetch_8): New function.
721 (__sync_exchange_methods): New macro.
722 (__sync_val_compare_and_swap_4): New function.
723 (__sync_bool_compare_and_swap_4): New function.
724 (__sync_lock_test_and_test_4): New function.
725 (__sync_val_compare_and_swap_8): New function.
726 (__sync_bool_compare_and_swap_8): New function.
727 (__sync_lock_test_and_test_8): New function.
728 (__subword_cmpxchg_body): New macro.
729 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
730 (__atomic_compare_exchange_2): Ditto.
731 (__sync_subword_cmpxchg): New macro.
732 (__sync_val_compare_and_swap_1): New function.
733 (__sync_bool_compare_and_swap_1): New function.
734 (__sync_val_compare_and_swap_2): New function.
735 (__sync_bool_compare_and_swap_2): New function.
736 (__atomic_subword): Rename to ...
737 (__subword): ... New name.
738 (__atomic_subword_fetch): Use __subword.
739 (__sync_subword_fetch): New macro.
740 (__sync_fetch_and_add_1): New function.
741 (__sync_fetch_and_sub_1): New function.
742 (__sync_fetch_and_or_1): New function.
743 (__sync_fetch_and_and_1): New function.
744 (__sync_fetch_and_xor_1): New function.
745 (__sync_fetch_and_nand_1): New function.
746 (__sync_fetch_and_add_2): New function.
747 (__sync_fetch_and_sub_2): New function.
748 (__sync_fetch_and_or_2): New function.
749 (__sync_fetch_and_and_2): New function.
750 (__sync_fetch_and_xor_2): New function.
751 (__sync_fetch_and_nand_2): New function.
752 (__sync_add_and_fetch_1): New function.
753 (__sync_sub_and_fetch_1): New function.
754 (__sync_or_and_fetch_1): New function.
755 (__sync_and_and_fetch_1): New function.
756 (__sync_xor_and_fetch_1): New function.
757 (__sync_nand_and_fetch_1): New function.
758 (__sync_add_and_fetch_2): New function.
759 (__sync_sub_and_fetch_2): New function.
760 (__sync_or_and_fetch_2): New function.
761 (__sync_and_and_fetch_2): New function.
762 (__sync_xor_and_fetch_2): New function.
763 (__sync_nand_and_fetch_2): New function.
764 (__atomic_subword_lock): Use __subword.
765 (__sync_subword_lock): New macro.
766 (__sync_lock_test_and_set_1): New function.
767 (__sync_lock_test_and_set_2): New function.
769 2014-01-25 Walter Lee <walt@tilera.com>
771 * config/tilepro/atomic.c (BIT_OFFSET): Define.
772 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
773 (__atomic_subword): Ditto.
775 2014-01-25 Walter Lee <walt@tilera.com>
777 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
778 a prefix op argument.
779 (__atomic_nand_fetch_4): Add prefix op.
780 (__atomic_nand_fetch_8): Ditto.
782 2014-01-21 Baruch Siach <barch@tkos.co.il>
784 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
786 2014-01-09 Rong Xu <xur@google.com>
788 * libgcov-driver.c (this_prg): make it local to save
790 (gcov_exit_compute_summary): Ditto.
791 (gcov_exit_merge_gcda): Ditto.
792 (gcov_exit_merge_summary): Ditto.
793 (gcov_exit_dump_gcov): Ditto.
795 2014-01-08 Rong Xu <xur@google.com>
797 * libgcov-driver.c: Use libgcov.h.
798 (buffer_fn_data): Use xmalloc instead of malloc.
799 (gcov_exit_merge_gcda): Ditto.
800 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
801 * libgcov.h: New common header files for libgcov-*.h.
802 * libgcov-interface.c: Use libgcov.h
803 * libgcov-merge.c: Ditto.
804 * libgcov-profiler.c: Ditto.
805 * Makefile.in: Add dependence to libgcov.h
807 2014-01-02 Joseph Myers <joseph@codesourcery.com>
809 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
810 case of small numerator and finite nonzero result.
812 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
814 Update copyright years
816 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
818 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
819 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
820 config/arc/dp-hack.h, config/arc/fp-hack.h,
821 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
822 config/arc/ieee-754/arc600-dsp/divdf3.S,
823 config/arc/ieee-754/arc600-dsp/divsf3.S,
824 config/arc/ieee-754/arc600-dsp/muldf3.S,
825 config/arc/ieee-754/arc600-dsp/mulsf3.S,
826 config/arc/ieee-754/arc600-mul64/divdf3.S,
827 config/arc/ieee-754/arc600-mul64/divsf3.S,
828 config/arc/ieee-754/arc600-mul64/muldf3.S,
829 config/arc/ieee-754/arc600-mul64/mulsf3.S,
830 config/arc/ieee-754/arc600/divsf3.S,
831 config/arc/ieee-754/arc600/mulsf3.S,
832 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
833 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
834 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
835 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
836 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
837 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
838 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
839 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
840 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
841 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
842 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
843 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
844 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
845 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
846 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
847 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
848 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
849 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
850 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
851 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
852 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
853 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
854 vtv_start_preinit.c: Use the standard form for the copyright notice.
856 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
857 Chung-Lin Tang <cltang@codesourcery.com>
858 Based on patches from Altera Corporation
860 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
861 * config/nios2/lib2-nios2.h: New file.
862 * config/nios2/lib2-divmod-hi.c: New file.
863 * config/nios2/linux-unwind.h: New file.
864 * config/nios2/lib2-divmod.c: New file.
865 * config/nios2/linux-atomic.c: New file.
866 * config/nios2/t-nios2: New file.
867 * config/nios2/crti.asm: New file.
868 * config/nios2/t-linux: New file.
869 * config/nios2/lib2-divtable.c: New file.
870 * config/nios2/lib2-mul.c: New file.
871 * config/nios2/tramp.c: New file.
872 * config/nios2/crtn.asm: New file.
874 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
876 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
877 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
878 from cpuid.h to check vendor signatures.
880 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
882 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
883 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
884 (get_amd_cpu): Likewise.
886 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
888 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
891 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
892 H.J. Lu <hongjiu.lu@intel.com>
895 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
897 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
898 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
899 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
900 FEATURE_XOP and FEATURE_FMA.
901 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
903 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
904 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
905 FEATURE_FMA4 and FEATURE_XOP.
907 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
909 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
910 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
911 (get_intel_cpu): Updated.
913 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
915 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
917 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
919 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
920 instructions when __SSE_MATH__ is defined.
922 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
924 * config.host (microblaze-*-rtems*): New.
926 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
928 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
929 architectures that do not have hardware divide instruction.
930 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
932 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
934 * longlong.h: Delete (moved to include/).
936 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
938 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
939 of normal number and qNaN to not raise an inexact exception.
941 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
943 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
945 2013-11-28 Matthew Leach <matthew.leach@arm.com>
947 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
948 for correct opcodes on BE.
950 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
952 * soft-fp/op-4.h: Update from glibc.
954 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
956 * libgcc2.c (__udivmoddi4): Define new implementation when
957 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
960 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
962 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
964 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
966 * config/t-softfp (soft-fp-objects-base): New variable.
967 (soft-fp-objects): Use it.
969 2013-11-23 David Edelson <dje.gcc@gmail.com>
970 Andrew Dixie <andrewd@gentrack.com>
973 * config/rs6000/aixinitfini.c: New file.
974 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
975 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
978 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
980 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
982 2013-11-18 Jan Hubicka <jh@suse.cz>
984 * libgcov-driver.c (run_accounted): Make global level static.
985 (gcov_exit_merge_summary): Silence warning; do not clear
987 (gcov_exit): Clear it here.
989 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
992 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
993 (all_prg, crc32): Remove static vars.
994 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
996 (gcov_exit_merge_gcda): Add crc32 parameter.
997 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
998 do not account run if it was already accounted.
999 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
1000 (gcov_exit): Initialize all_prg; update.
1002 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
1004 * configure: Regenerate.
1006 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1007 Alan Modra <amodra@gmail.com>
1009 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
1010 (frob_update_context): Use it.
1012 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1013 Alan Modra <amodra@gmail.com>
1015 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
1016 (trampoline_initial): Provide ELFv2 variant.
1017 (__trampoline_setup): Likewise.
1019 * config/rs6000/linux-unwind.h (frob_update_context): Do not
1020 check for AIX indirect function call sequence if _CALL_ELF == 2.
1022 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1023 Alan Modra <amodra@gmail.com>
1025 * config/rs6000/linux-unwind.h (get_regs): Do not support
1026 old kernel versions if _CALL_ELF == 2.
1027 (frob_update_context): Do not support PLT stub variants only
1028 generated by old linkers if _CALL_ELF == 2.
1030 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1031 Alan Modra <amodra@gmail.com>
1033 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
1034 location of CR save area for 64-bit little-endian systems.
1036 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
1038 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
1040 * config/arm/t-vxworks: Delete.
1042 2013-11-10 Kai Tietz <ktietz@redhat.com>
1044 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
1045 Increment load-count on use of LIBGCC_SONAME DLL.
1046 (hmod_libgcc): New static variable to hold handle of
1048 (__gcc_deregister_frame): Decrement load-count of
1051 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
1053 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
1055 * configure: Regenerate
1057 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
1059 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
1060 FP_EX_DENORM. Store result to volatile location after SSE division
1061 to close interrupt window. Remove unneeded fwait after x87
1062 division since interrupt window will be closed by emitted fstp.
1063 Rewrite FP_EX_INEXACT handling.
1065 2013-11-06 Joseph Myers <joseph@codesourcery.com>
1067 * soft-fp/README: Update.
1068 * soft-fp/adddf3.c: Update from glibc.
1069 * soft-fp/addsf3.c: Likewise.
1070 * soft-fp/addtf3.c: Likewise.
1071 * soft-fp/divdf3.c: Likewise.
1072 * soft-fp/divsf3.c: Likewise.
1073 * soft-fp/divtf3.c: Likewise.
1074 * soft-fp/double.h: Likewise.
1075 * soft-fp/eqdf2.c: Likewise.
1076 * soft-fp/eqsf2.c: Likewise.
1077 * soft-fp/eqtf2.c: Likewise.
1078 * soft-fp/extenddftf2.c: Likewise.
1079 * soft-fp/extended.h: Likewise.
1080 * soft-fp/extendsfdf2.c: Likewise.
1081 * soft-fp/extendsftf2.c: Likewise.
1082 * soft-fp/extendxftf2.c: Likewise.
1083 * soft-fp/fixdfdi.c: Likewise.
1084 * soft-fp/fixdfsi.c: Likewise.
1085 * soft-fp/fixdfti.c: Likewise.
1086 * soft-fp/fixsfdi.c: Likewise.
1087 * soft-fp/fixsfsi.c: Likewise.
1088 * soft-fp/fixsfti.c: Likewise.
1089 * soft-fp/fixtfdi.c: Likewise.
1090 * soft-fp/fixtfsi.c: Likewise.
1091 * soft-fp/fixtfti.c: Likewise.
1092 * soft-fp/fixunsdfdi.c: Likewise.
1093 * soft-fp/fixunsdfsi.c: Likewise.
1094 * soft-fp/fixunsdfti.c: Likewise.
1095 * soft-fp/fixunssfdi.c: Likewise.
1096 * soft-fp/fixunssfsi.c: Likewise.
1097 * soft-fp/fixunssfti.c: Likewise.
1098 * soft-fp/fixunstfdi.c: Likewise.
1099 * soft-fp/fixunstfsi.c: Likewise.
1100 * soft-fp/fixunstfti.c: Likewise.
1101 * soft-fp/floatdidf.c: Likewise.
1102 * soft-fp/floatdisf.c: Likewise.
1103 * soft-fp/floatditf.c: Likewise.
1104 * soft-fp/floatsidf.c: Likewise.
1105 * soft-fp/floatsisf.c: Likewise.
1106 * soft-fp/floatsitf.c: Likewise.
1107 * soft-fp/floattidf.c: Likewise.
1108 * soft-fp/floattisf.c: Likewise.
1109 * soft-fp/floattitf.c: Likewise.
1110 * soft-fp/floatundidf.c: Likewise.
1111 * soft-fp/floatundisf.c: Likewise.
1112 * soft-fp/floatunditf.c: Likewise.
1113 * soft-fp/floatunsidf.c: Likewise.
1114 * soft-fp/floatunsisf.c: Likewise.
1115 * soft-fp/floatunsitf.c: Likewise.
1116 * soft-fp/floatuntidf.c: Likewise.
1117 * soft-fp/floatuntisf.c: Likewise.
1118 * soft-fp/floatuntitf.c: Likewise.
1119 * soft-fp/gedf2.c: Likewise.
1120 * soft-fp/gesf2.c: Likewise.
1121 * soft-fp/getf2.c: Likewise.
1122 * soft-fp/ledf2.c: Likewise.
1123 * soft-fp/lesf2.c: Likewise.
1124 * soft-fp/letf2.c: Likewise.
1125 * soft-fp/muldf3.c: Likewise.
1126 * soft-fp/mulsf3.c: Likewise.
1127 * soft-fp/multf3.c: Likewise.
1128 * soft-fp/negdf2.c: Likewise.
1129 * soft-fp/negsf2.c: Likewise.
1130 * soft-fp/negtf2.c: Likewise.
1131 * soft-fp/op-1.h: Likewise.
1132 * soft-fp/op-2.h: Likewise.
1133 * soft-fp/op-4.h: Likewise.
1134 * soft-fp/op-8.h: Likewise.
1135 * soft-fp/op-common.h: Likewise.
1136 * soft-fp/quad.h: Likewise.
1137 * soft-fp/single.h: Likewise.
1138 * soft-fp/soft-fp.h: Likewise.
1139 * soft-fp/subdf3.c: Likewise.
1140 * soft-fp/subsf3.c: Likewise.
1141 * soft-fp/subtf3.c: Likewise.
1142 * soft-fp/truncdfsf2.c: Likewise.
1143 * soft-fp/trunctfdf2.c: Likewise.
1144 * soft-fp/trunctfsf2.c: Likewise.
1145 * soft-fp/trunctfxf2.c: Likewise.
1146 * soft-fp/unorddf2.c: Likewise.
1147 * soft-fp/unordsf2.c: Likewise.
1148 * soft-fp/unordtf2.c: Likewise.
1150 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
1152 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
1153 (_FP_MUL_MEAT_D): Ditto.
1154 (_FP_DIV_MEAT_S): Ditto.
1155 (_FP_DIV_MEAT_D): Ditto.
1156 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
1157 t-softfp-sfdf and t-softfp to tmake_file.
1159 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
1161 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
1162 * config/i386/crtprec.c: Ditto.
1164 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
1165 Shiva Chen <shiva0217@gmail.com>
1167 * config.host (nds32*-elf*): Add nds32 target.
1168 * config/nds32 : New directory and files.
1170 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
1172 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
1173 * config.host (cpu_type) <Setting default>: Add entry for
1175 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
1176 <crisv32-*-linux*>: Adjust.
1177 * longlong.h: Wrap the whole CRIS section in a single
1178 defined(__CRIS__) conditional. Add comment about add_ssaaaa
1180 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
1182 [__CRIS__] (__umulsidi3): Define.
1183 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
1184 * config/cris/sfp-machine.h: New file.
1185 * config/cris/umulsidi3.S: New file.
1186 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
1187 * config/cris/arit.c (SIGNMULT): New macro.
1188 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
1189 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
1190 saving 3 out of originally 33 cycles from the fastest
1191 path, 3 out of 54 from the medium path and one from the longest
1192 path. Improve comments.
1194 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
1196 * sync.c: Remove static aliases and define each function directly
1197 under its real name.
1199 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
1201 * config.host (hppa*64*-*-linux*): Define extra_parts.
1202 (hppa*-*-linux*): Likewise.
1204 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
1206 * config/arc/crtgend.S: Add 2013 to Copyright years.
1207 * config/arc/gmon/atomic.h: Likewise.
1208 * config/arc/gmon/auxreg.h: Likewise.
1209 * config/arc/gmon/sys/gmon_out.h: Likewise.
1210 * config/arc/gmon/sys/gmon.h: Likewise.
1211 * config/arc/gmon/prof-freq.c: Likewise.
1212 * config/arc/gmon/mcount.c: Likewise.
1213 * config/arc/gmon/prof-freq-stub.S: Likewise.
1214 * config/arc/gmon/gmon.c: Likewise.
1215 * config/arc/gmon/machine-gmon.h: Likewise.
1216 * config/arc/gmon/profil.S: Likewise.
1217 * config/arc/gmon/dcache_linesz.S: Likewise.
1218 * config/arc/crtg.S: Likewise.
1219 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
1220 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
1221 * config/arc/ieee-754/adddf3.S: Likewise.
1222 * config/arc/ieee-754/truncdfsf2.S: Likewise.
1223 * config/arc/ieee-754/fixsfsi.S: Likewise.
1224 * config/arc/ieee-754/gtsf2.S: Likewise.
1225 * config/arc/ieee-754/floatsisf.S: Likewise.
1226 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
1227 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
1228 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
1229 * config/arc/ieee-754/fixdfsi.S: Likewise.
1230 * config/arc/ieee-754/addsf3.S: Likewise.
1231 * config/arc/ieee-754/gesf2.S: Likewise.
1232 * config/arc/ieee-754/floatsidf.S: Likewise.
1233 * config/arc/ieee-754/extendsfdf2.S: Likewise.
1234 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
1235 * config/arc/ieee-754/gtdf2.S: Likewise.
1236 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
1237 * config/arc/ieee-754/uneqdf2.S: Likewise.
1238 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1239 * config/arc/ieee-754/uneqsf2.S: Likewise.
1240 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
1241 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
1242 * config/arc/ieee-754/eqdf2.S: Likewise.
1243 * config/arc/ieee-754/ordsf2.S: Likewise.
1244 * config/arc/ieee-754/divsf3.S: Likewise.
1245 * config/arc/ieee-754/divdf3.S: Likewise.
1246 * config/arc/ieee-754/floatunsidf.S: Likewise.
1247 * config/arc/ieee-754/orddf2.S: Likewise.
1248 * config/arc/ieee-754/eqsf2.S: Likewise.
1249 * config/arc/ieee-754/gedf2.S: Likewise.
1250 * config/arc/crtn.S: Likewise.
1251 * config/arc/crti.S: Likewise.
1252 * config/arc/t-arc700-uClibc: Likewise.
1253 * config/arc/asm.h: Likewise.
1254 * config/arc/libgcc-excl.ver: Likewise.
1255 * config/arc/t-arc-newlib: Likewise.
1256 * config/arc/divtab-arc700.c: Likewise.
1257 * config/arc/initfini.c: Likewise.
1258 * config/arc/fp-hack.h: Likewise.
1260 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
1261 Diego Novillo <dnovillo@google.com>
1263 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
1264 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
1265 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
1266 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
1268 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
1269 Brendan Kehoe <brendan@zen.org>
1270 Simon Cook <simon.cook@embecosm.com>
1272 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
1273 * config/arc: New directory.
1274 * longlong.h [__arc__] (umul_ppmm): Remove.
1275 [__arc__] (__umulsidi3): Define.
1276 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
1277 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
1279 2013-09-17 Jacek Caban <jacek@codeweavers.com>
1281 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
1283 * config/i386/gthr-win32.h: Likewise.
1285 2013-09-16 DJ Delorie <dj@redhat.com>
1287 * config/rl78/vregs.h: Add G10 register definitions.
1288 * config/rl78/lib2mul.c: Enable for RL78/G10.
1289 * config/rl78/lib2div.c: Likewise.
1290 * config/rl78/lshrsi3.S: Use vregs.h.
1291 * config/rl78/cmpsi2.S: Likewise.
1292 * config/rl78/trampoline.S: Likewise.
1293 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
1295 2013-09-14 DJ Delorie <dj@redhat.com>
1296 Nick Clifton <nickc@redhat.com>
1298 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
1299 * config/rl78/vregs.h: New.
1300 * config/rl78/signbit.S: New file. Implements signbit function.
1301 * config/rl78/divmodsi.S: New.
1302 * config/rl78/divmodhi.S: New.
1303 * config/rl78/divmodqi.S: New.
1304 * config/rl78/t-rl78: Build them here...
1305 * config/rl78/lib2div.c: ...but not here.
1307 2013-09-12 DJ Delorie <dj@redhat.com>
1309 * config.host (msp*-*-elf): New.
1310 * config/msp430/: New port.
1312 2013-08-18 Iain Sandoe <iain@codesourcery.com>
1314 PR gcov-profile/58127
1315 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
1316 __thread var for emulated TLS.
1317 (__gcov_indirect_call_counters): Likewise.
1319 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
1320 Catherine Moore <clm@codesourcery.com>
1321 Richard Sandiford <rdsandiford@googlemail.com>
1323 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
1324 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
1325 (CALL_STUB_NO_RET): Likewise.
1326 (CALL_STUB_RET): Likewise.
1327 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
1328 __mips16_ret call/return stub symbols.
1329 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
1332 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
1334 * config.host <mips*-*-linux*>: Remove a stray comment.
1336 2013-08-10 Jan Hubicka <jh@suse.cz>
1338 Work around binutils PR14342
1339 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
1340 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
1341 (L_gcov_indirect_call_profiler_v2): New.
1343 2013-08-06 Jan Hubicka <jh@suse.cz>
1345 * libgcov.c (__gcov_indirect_call_callee,
1346 __gcov_indirect_call_counters): New global vars.
1347 (__gcov_indirect_call_profiler): replace by ...
1348 (__gcov_indirect_call_profiler_v2) ... this one.
1350 2013-08-06 Caroline Tice <cmtice@google.com>
1352 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
1353 vtv_start_preinit.o and vtv_end_preinit.o.
1354 * configure.ac: Add code to check/set enable_vtable_verify.
1355 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
1357 * vtv_start_preinit.c: New file.
1358 * vtv_end_preinit.c: New file.
1359 * vtv_start.c: New file.
1360 * vtv_end.c: New file.
1361 * configure: Regenerated.
1363 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
1365 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
1366 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
1367 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
1368 GPL-3.0-with-GCC-exception.
1370 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
1372 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
1375 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1377 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
1378 mapping for FPRs when creating the fallback framestate.
1380 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
1383 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
1384 (__round_s2_const, __round_u2_const)
1385 (__round_s4_const, __round_u4_const, __round_x8):
1386 Saturate result if addition result cannot be represented.
1388 2013-07-15 Matthias Klose <doko@ubuntu.com>
1390 * libgcc2.c: Don't include <limits.h>.
1392 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
1394 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
1396 2013-07-06 Jakub Jelinek <jakub@redhat.com>
1399 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
1401 2013-06-28 Jakub Jelinek <jakub@redhat.com>
1404 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
1406 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
1407 instead of table lookups.
1408 (__popcountDI2): Likewise.
1410 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
1412 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
1415 2013-06-21 Joseph Myers <joseph@codesourcery.com>
1418 * soft-fp/adddf3.c: Update from glibc.
1419 * soft-fp/addsf3.c: Likewise.
1420 * soft-fp/addtf3.c: Likewise.
1421 * soft-fp/divdf3.c: Likewise.
1422 * soft-fp/divsf3.c: Likewise.
1423 * soft-fp/divtf3.c: Likewise.
1424 * soft-fp/double.h: Likewise.
1425 * soft-fp/eqdf2.c: Likewise.
1426 * soft-fp/eqsf2.c: Likewise.
1427 * soft-fp/eqtf2.c: Likewise.
1428 * soft-fp/extenddftf2.c: Likewise.
1429 * soft-fp/extended.h: Likewise.
1430 * soft-fp/extendsfdf2.c: Likewise.
1431 * soft-fp/extendsftf2.c: Likewise.
1432 * soft-fp/fixdfdi.c: Likewise.
1433 * soft-fp/fixdfsi.c: Likewise.
1434 * soft-fp/fixsfdi.c: Likewise.
1435 * soft-fp/fixsfsi.c: Likewise.
1436 * soft-fp/fixtfdi.c: Likewise.
1437 * soft-fp/fixtfsi.c: Likewise.
1438 * soft-fp/fixunsdfdi.c: Likewise.
1439 * soft-fp/fixunsdfsi.c: Likewise.
1440 * soft-fp/fixunssfdi.c: Likewise.
1441 * soft-fp/fixunssfsi.c: Likewise.
1442 * soft-fp/fixunstfdi.c: Likewise.
1443 * soft-fp/fixunstfsi.c: Likewise.
1444 * soft-fp/floatdidf.c: Likewise.
1445 * soft-fp/floatdisf.c: Likewise.
1446 * soft-fp/floatditf.c: Likewise.
1447 * soft-fp/floatsidf.c: Likewise.
1448 * soft-fp/floatsisf.c: Likewise.
1449 * soft-fp/floatsitf.c: Likewise.
1450 * soft-fp/floatundidf.c: Likewise.
1451 * soft-fp/floatundisf.c: Likewise.
1452 * soft-fp/floatunditf.c: Likewise.
1453 * soft-fp/floatunsidf.c: Likewise.
1454 * soft-fp/floatunsisf.c: Likewise.
1455 * soft-fp/floatunsitf.c: Likewise.
1456 * soft-fp/gedf2.c: Likewise.
1457 * soft-fp/gesf2.c: Likewise.
1458 * soft-fp/getf2.c: Likewise.
1459 * soft-fp/ledf2.c: Likewise.
1460 * soft-fp/lesf2.c: Likewise.
1461 * soft-fp/letf2.c: Likewise.
1462 * soft-fp/muldf3.c: Likewise.
1463 * soft-fp/mulsf3.c: Likewise.
1464 * soft-fp/multf3.c: Likewise.
1465 * soft-fp/negdf2.c: Likewise.
1466 * soft-fp/negsf2.c: Likewise.
1467 * soft-fp/negtf2.c: Likewise.
1468 * soft-fp/op-1.h: Likewise.
1469 * soft-fp/op-2.h: Likewise.
1470 * soft-fp/op-4.h: Likewise.
1471 * soft-fp/op-8.h: Likewise.
1472 * soft-fp/op-common.h: Likewise.
1473 * soft-fp/quad.h: Likewise.
1474 * soft-fp/single.h: Likewise.
1475 * soft-fp/soft-fp.h: Likewise.
1476 * soft-fp/subdf3.c: Likewise.
1477 * soft-fp/subsf3.c: Likewise.
1478 * soft-fp/subtf3.c: Likewise.
1479 * soft-fp/truncdfsf2.c: Likewise.
1480 * soft-fp/trunctfdf2.c: Likewise.
1481 * soft-fp/trunctfsf2.c: Likewise.
1482 * soft-fp/unorddf2.c: Likewise.
1483 * soft-fp/unordsf2.c: Likewise.
1484 * soft-fp/unordtf2.c: Likewise.
1485 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
1486 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1487 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1488 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1489 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1490 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1491 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1492 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1493 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1494 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
1495 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
1496 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1498 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
1500 * config/mips/lib2funcs.c: New file.
1501 * config/mips/t-mips (LIB2ADD_ST): Add it.
1503 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
1506 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
1507 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
1509 2013-06-08 Walter Lee <walt@tilera.com>
1511 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
1512 Replace int64_t with long long. Add __extension__ where
1514 * config/tilepro/atomic.c: Include config.h.
1516 2013-06-06 Douglas B Rupp <rupp@adacore.com>
1518 * config.host (arm-wrs-vxworks): Configure with other soft float.
1520 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
1522 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
1523 (mips64r5900el-*-elf*): New configurations.
1525 2013-06-04 Alan Modra <amodra@gmail.com>
1527 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
1529 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
1531 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
1533 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
1535 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
1536 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
1537 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
1539 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
1541 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
1542 (powerpc-wrs-vxworks): Likewise.
1544 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
1546 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
1547 signal frames as well.
1548 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
1549 STACK_BIAS to the CFA offset.
1551 2013-05-17 Richard Henderson <rth@redhat.com>
1554 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
1555 (execute_cfa_program): Use it when storing to fs->regs.
1557 2013-05-08 Kai Tietz <ktietz@redhat.com>
1559 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
1560 (__deregister_frame_info): Likewise.
1562 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
1564 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
1567 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
1569 2013-04-25 Alan Modra <amodra@gmail.com>
1571 * config.host: Match little-endian powerpc-linux.
1573 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
1575 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
1576 as 'unsigned long long' instead of 'unsigned long'.
1577 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
1580 2013-04-10 Julian Brown <julian@codesourcery.com>
1582 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
1583 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
1584 unsigned char/unsigned short.
1585 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
1587 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1590 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
1592 2013-04-04 Meador Inge <meadori@codesourcery.com>
1594 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
1595 computing the location of the link register.
1596 (aeabi_uldivmod): Ditto.
1598 2013-03-27 Kai Tietz <ktietz@redhat.com>
1600 * config.host: Add support for cygwin x64 target.
1601 * configure: Regenerated.
1603 2013-03-26 Walter Lee <walt@tilera.com>
1605 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
1606 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
1608 2013-03-25 Kai Tietz <ktietz@redhat.com>
1610 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
1612 2013-03-20 Robert Mason <rbmj@verizon.net>
1614 * config/vxlib-tls.c (__gthread_get_tsd_data,)
1615 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
1616 (__gthread_leave_tsd_dtor_context): Add prototypes.
1617 (tls_delete_hook): Update.
1619 2013-03-20 Catherine Moore <clm@codesourcery.com>
1620 Joseph Myers <joseph@codesourcery.com>
1621 Chao-ying Fu <fu@mips.com>
1623 * config/mips/mips16.S: Don't build for microMIPS.
1624 * config/mips/linux-unwind.h: Handle microMIPS frame.
1625 * config/mips/crtn.S (fini, init): New labels.
1627 2013-03-14 Jakub Jelinek <jakub@redhat.com>
1629 PR tree-optimization/53265
1630 * unwind-dw2.c (execute_cfa_program): Avoid
1631 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
1632 on targets with DWARF_FRAME_REGISTERS < 32.
1634 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
1637 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
1638 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
1640 2013-03-07 Sriraman Tallam <tmsriram@google.com>
1642 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
1643 sandybridge processors.
1645 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
1648 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
1651 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
1653 * config/microblaze/crti.S: Setup stack protection at entry
1655 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
1657 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
1658 (__rotldi3): Shift bytewise if applicable.
1660 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
1662 * config/aarch64/sync-cache.c
1663 (__aarch64_sync_cache_range): Silence warnings.
1665 2013-02-25 Catherine Moore <clm@codesourcery.com>
1668 2013-02-24 Catherine Moore <clm@codesourcery.com>
1669 Joseph Myers <joseph@codesourcery.com>
1670 Chao-ying Fu <fu@mips.com>
1672 * config/mips/mips16.S: Don't build for microMIPS.
1673 * config/mips/linux-unwind.h: Handle microMIPS frame.
1674 * config/mips/crtn.S (fini, init): New labels.
1676 2013-02-24 Catherine Moore <clm@codesourcery.com>
1677 Joseph Myers <joseph@codesourcery.com>
1678 Chao-ying Fu <fu@mips.com>
1680 * config/mips/mips16.S: Don't build for microMIPS.
1681 * config/mips/linux-unwind.h: Handle microMIPS frame.
1682 * config/mips/crtn.S (fini, init): New labels.
1684 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
1685 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
1688 2013-02-16 Alan Modra <amodra@gmail.com>
1691 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
1692 (ppc_fallback_frame_state): Always set up save locations for fp
1693 and altivec. Don't bother with non-callee-saved regs, r0-r13
1694 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
1696 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
1699 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
1701 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
1702 _ssmulha3, _usmulusa3, _ssmulsa3.
1703 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
1704 (__muldi3): XCALL __muldi3_6 instead of rcall.
1705 (__umulsidi3, __mulsidi3): New functions.
1706 (do_prologue_saves, do_epilogue_restores): New .macros.
1707 (__divdi3_moddi3): Use them.
1708 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
1709 (__usmulusa3, __ssmulsa3): New functions.
1711 2013-02-11 Iain Sandoe <iain@codesourcery.com>
1712 Jack Howarth <howarth@bromo.med.uc.edu>
1713 Patrick Marlier <patrick.marlier@gmail.com>
1716 * config/darwin-crt-tm.c: Remove dummy functions hack.
1718 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
1721 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
1722 * config/avr/lib2-object.mk: New iterator to build objects from it.
1723 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
1725 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
1726 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
1727 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
1728 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
1729 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
1730 * config/avr/lib1funcs-fixed.S: Implement them.
1732 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
1734 Update copyright years.
1736 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
1739 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
1740 Add crtcxa to extra_parts.
1741 * config/rs6000/exit.h: New file.
1742 * config/rs6000/cxa_atexit.c: New file.
1743 * config/rs6000/cxa_finalize.c: New file.
1744 * config/rs6000/crtcxa.c: New file.
1745 * config/rs6000/t-aix-cxa: New file.
1746 * config/rs6000/libgcc-aix-cxa.ver: New file.
1748 2013-01-31 Nick Clifton <nickc@redhat.com>
1750 * config/v850/lib1funcs.S: Add support for e3v5 architecture
1753 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
1756 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
1757 _mulQQ, _mulHQ, _mulHA, _mulSA,
1758 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
1759 _divQQ, _divHQ, _divHA, _divSA,
1760 _divUQQ, _divUHQ, _divUHA, _divUSA.
1762 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
1764 * config.host(microblaze*-linux*): tmake_file: Remove
1765 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
1766 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
1767 to exclude functions from being built with libgcc.c and use
1768 the microblaze assembly.
1770 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
1772 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
1775 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
1777 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
1778 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
1779 __UINTPTR_TYPE__; also cast 'base' to the same type before the
1780 alignment operation.
1782 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
1784 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
1785 loop start address for cache clearing.
1787 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
1789 * config/avr/lib1funcs.S: Remove trailing blanks.
1790 * config/avr/lib1funcs-fixed.S: Ditto.
1792 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
1794 * config/avr/avr-lib.h: Add GPL copyright notice.
1796 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
1798 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
1799 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
1800 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
1801 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
1803 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
1805 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
1806 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
1808 2013-01-04 Nick Clifton <nickc@redhat.com>
1810 * config/v850/lib1funcs.S: Only provide CALLT support functions if
1811 the CALLT instruction is supported.
1813 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
1815 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
1816 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
1818 2012-12-13 John Tytgat <John@bass-software.com>
1820 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
1823 2012-12-12 Jakub Jelinek <jakub@redhat.com>
1826 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
1827 undefined signed overflows.
1829 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
1832 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
1834 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
1836 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
1837 (FP_TRAPPING_EXCEPTIONS): Define.
1838 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
1839 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
1841 2012-12-04 Richard Henderson <rth@redhat.com>
1844 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
1846 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
1848 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
1849 (FP_EX_SHIFT): Define.
1850 (FP_TRAPPING_EXCEPTIONS): Define.
1852 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
1854 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
1855 (FP_ROUNDMODE): Use FP_RND_MASK.
1856 * config/aarch64/sfp-exceptions.c: New.
1857 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1858 Use __sfp_handle_exceptions.
1860 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
1862 * config.host: (arm*-*-freebsd*): Remove.
1863 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
1864 (arm*-*-elf*): Remove.
1865 (arm*-*-wince-pe*): Remove.
1866 * arm/unwind-arm.c (struct fpa_reg): Delete.
1867 (struct fpa_regs): Delete.
1868 (phase1_vrs): Remove fpa element.
1869 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
1870 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
1871 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
1872 * ieee754-sf.S (floatundisf): Remove FPA support.
1873 (floatdisf): Likewise.
1874 * ieee75f-df.S (floatundidf): Likewise.
1875 (floatdidf): Likewise.
1877 2012-11-29 Kai Tietz <ktietz@redhat.com>
1880 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
1881 * unwind-generic.h: Likewise.
1882 * unwind-seh.c: Likewise.
1884 2012-11-28 Richard Henderson <rth@redhat.com>
1887 * emutls.c (__emutls_get_address): Avoid race condition between
1888 obj->loc.offset read and emutls_key initialization.
1890 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
1892 Adjust decimal point of signed accum mode to GCC default.
1895 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
1897 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
1898 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
1899 (__mulha3, __mulsa3)
1900 (__divqq3, __divha3, __divsa3): Adjust to new position of
1901 decimal point of signed accum types.
1903 (__mulusa3_round): New function.
1904 (__mulusa3): Use it.
1905 (__divqq_helper): New function.
1906 (__udivuqq3): Use it.
1908 2012-11-20 Jakub Jelinek <jakub@redhat.com>
1911 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
1913 2012-11-18 Teresa Johnson <tejohnson@google.com>
1916 * libgcov.c (gcov_exit): Remove merged program summary
1917 comparison unless !GCOV_LOCKED.
1919 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
1921 * soft-fp: Updated from glibc upstream.
1923 2012-11-06 Ian Lance Taylor <iant@google.com>
1925 * generic-morestack.c (__generic_morestack): Align the returned
1926 stack pointer to a 32 byte boundary.
1927 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
1928 increment the return address until we have decided that we don't
1929 have a varargs function.
1930 (__morestack) [32-bit]: Align stack correctly when calling C
1932 (__morestack) [64-bit]: Likewise.
1934 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1936 * configure: Regenerate.
1938 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
1941 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
1942 * config/i386/sfp-machine.h: Guard exception handling
1943 code with _SOFT_FLOAT.
1944 * config/i386/32/sfp-machine.h: Guard rounding handling
1945 code with _SOFT_FLOAT.
1946 * config/i386/64/sfp-machine.h: Ditto.
1948 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
1950 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
1953 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
1955 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
1956 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
1957 when appropriate. Correct structure element types.
1958 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
1959 -minline-all-stringops from compile flags.
1961 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
1963 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
1965 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
1967 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
1969 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1971 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
1974 2012-10-23 Ian Bolton <ian.bolton@arm.com>
1975 Jim MacArthur <jim.macarthur@arm.com>
1976 Marcus Shawcroft <marcus.shawcroft@arm.com>
1977 Nigel Stephens <nigel.stephens@arm.com>
1978 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1979 Richard Earnshaw <rearnsha@arm.com>
1980 Sofiane Naci <sofiane.naci@arm.com>
1981 Stephen Thomas <stephen.thomas@arm.com>
1982 Tejas Belagod <tejas.belagod@arm.com>
1983 Yufeng Zhang <yufeng.zhang@arm.com>
1985 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
1986 * config/aarch64/crti.S: New file.
1987 * config/aarch64/crtn.S: New file.
1988 * config/aarch64/linux-unwind.h: New file.
1989 * config/aarch64/sfp-machine.h: New file.
1990 * config/aarch64/sync-cache.c: New file.
1991 * config/aarch64/t-aarch64: New file.
1992 * config/aarch64/t-softfp: New file.
1994 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
1996 * config/mmix/crti.S: Mark program and data addresses using PRELD.
1997 Remove typo'd and unnecessary alignment-LOC for .data. Remove
1998 no-longer-needed LDBU insns.
2000 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
2003 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
2004 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
2006 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2008 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
2010 2012-10-15 Matthias Klose <doko@ubuntu.com>
2012 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
2014 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
2016 * configure: Regenerate.
2017 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
2019 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
2021 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
2022 instructions for 64bit targets only.
2024 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
2026 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
2027 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
2028 * config/i386/32/sfp-machine.h: ... here.
2029 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
2030 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
2033 2012-10-07 Matthias Klose <doko@ubuntu.com>
2035 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
2037 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
2039 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
2041 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
2042 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
2043 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
2046 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
2049 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
2050 Fix parameter names.
2052 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
2055 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
2056 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
2057 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
2059 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
2062 * config/sh/linux-atomic.S: Delete.
2063 * config/sh/linux-atomic.c: New.
2064 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
2065 linux-atomic.c. Add cflags to disable warnings.
2067 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
2070 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
2072 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
2073 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
2074 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
2075 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
2076 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
2078 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
2080 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
2082 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
2083 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
2085 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
2087 * config.host (hppa-*-openbsd*): New target.
2088 * config/pa/t-openbsd: New file.
2090 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
2093 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
2094 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
2095 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
2096 (__divsa3): Use __negsi2 to negate r_quoL.
2097 * config/avr/lib1funcs.S (FALIAS): New macro.
2098 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
2099 (__negsi2): ...this new function.
2100 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
2101 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
2102 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
2103 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
2104 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
2105 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
2107 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
2110 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
2111 (lshrsi3): Reimplement as lshrsi3_r0.
2113 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
2116 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
2119 2012-09-07 Teresa Johnson <tejohnson@google.com>
2121 PR gcov-profile/54487
2122 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
2125 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
2128 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
2129 not configured --with-avrlibc=no.
2130 * config/avr/t-avrlibc: New file.
2131 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
2132 (DPBIT_FUNCS): Ditto.
2133 (TPBIT_FUNCS): Ditto.
2135 2012-09-04 Teresa Johnson <tejohnson@google.com>
2137 * libgcov.c (struct gcov_summary_buffer): New structure.
2138 (gcov_histogram_insert): New function.
2139 (gcov_compute_histogram): Ditto.
2140 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
2141 histograms during summary merging.
2143 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
2145 * config.host (x86_64-*-openbsd*): New target.
2147 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
2149 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
2152 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
2155 * config/avr/t-avr (conv_X): Rename to func_X.
2157 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
2160 * config/avr/lib1funcs-fixed.S: New file.
2161 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
2162 after they are used.
2163 (neg2, neg4): New macros.
2164 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
2165 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
2166 (__umulhisi3): Speed up MUL variant if there is enough flash.
2167 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
2169 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
2170 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
2171 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
2172 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
2173 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
2174 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
2175 (LIB2FUNCS_EXCLUDE): Add supported functions.
2177 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
2179 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
2180 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
2182 * fixed-obj.mk: Only expand dependency if $o is not in
2185 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
2187 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
2189 2012-08-22 Joseph Myers <joseph@codesourcery.com>
2191 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
2192 depend on --enable-shared.
2193 ($(lib1asmfuncs-o)): Use %.vis files independent of
2195 * static-object.mk ($(base)$(objext), $(base).vis)
2196 ($(base)_s$(objext)): Use same rules for visibility handling as in
2199 2012-08-21 Ian Lance Taylor <iant@google.com>
2201 * config/i386/morestack.S (__morestack_non_split): Increase amount
2202 of space allocated for non-split code stack.
2204 2012-08-19 Joseph Myers <joseph@codesourcery.com>
2206 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
2207 even if inhibit_libc.
2209 2012-08-17 Julian Brown <julian@codesourcery.com>
2211 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
2212 -fexceptions -fnon-call-exceptions if not defined.
2213 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
2214 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
2216 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
2218 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
2221 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
2223 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
2224 rs6000/t-slibgcc-aix.
2226 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
2228 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
2230 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
2232 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
2234 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
2237 * Makefile.in (version): Replace top_srcdir with srcdir.
2239 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
2241 * Makefile.in (version): set to BASE-VER file from gcc directory.
2243 2012-08-01 Nick Clifton <nickc@redhat.com>
2245 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
2246 Implements __clrsb for an HImode argument.
2248 2012-07-31 Nick Clifton <nickc@redhat.com>
2250 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
2251 Implements __clrsb for an HImode argument.
2252 * config/stormy16/clrsbhi2.c: New file:
2253 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
2255 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
2257 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
2259 2012-07-19 Tristan Gingold <gingold@adacore.com>
2260 Richard Henderson <rth@redhat.com>
2262 * unwind-seh.c: New file.
2263 * unwind-generic.h: Include windows.h for SEH.
2264 (_Unwind_Exception): Use 6 private fields for SEH.
2265 (_GCC_specific_handler): Declare.
2266 * unwind-c.c (__gcc_personality_seh0): New function.
2268 * config/i386/libgcc-cygming.ver: New file.
2269 * config/i386/t-seh-eh: New file.
2270 * config.host (x86_64-*-mingw*): Default to seh.
2272 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
2274 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
2276 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
2278 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
2279 __builtin_expect when checking for exceptions.
2280 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
2282 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
2284 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
2285 function declaration.
2286 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
2288 * config/ia64/sfp-exceptions.c: New.
2289 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
2291 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
2293 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
2294 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
2295 * config/i386/64/sfp-machine: ... (delete here) ...
2296 * config/i386/sfp-machine.h: ... to here.
2297 (FP_EX_MASK): Remove.
2299 (FP_INIT_ROUNDMODE): Declare asm as volatile.
2301 2012-06-11 Sriraman Tallam <tmsriram@google.com>
2303 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
2304 * config/i386/libgcc-sol2.ver: Ditto.
2305 * config/i386/libgcc-glibc.ver: Ditto.
2307 2012-06-11 Roland McGrath <mcgrathr@google.com>
2309 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
2310 If __GLIBC__ is defined, refer to __pthread_key_create instead of
2313 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
2315 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
2316 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
2317 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
2318 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
2319 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
2320 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
2321 * config/i386/64/sfp-machine: ... (delete here) ...
2322 * config/i386/sfp-machine.h: ... to here.
2324 (__sfp_handle_exceptions): New function declaration.
2325 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
2326 * config/i386/sfp-exceptions.c: New.
2327 * config/i386/t-softfp: New.
2328 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
2329 i386/t-softfp to tmake_file.
2331 2012-06-03 David S. Miller <davem@davemloft.net>
2333 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
2336 2012-05-31 David S. Miller <davem@davemloft.net>
2338 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
2339 multiply and divide instructions on 32-bit when V9.
2340 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
2342 2012-05-29 Joseph Myers <joseph@codesourcery.com>
2344 * config/arm/ieee754-df.S: Fix typos.
2345 * config/arm/ieee754-sf.S: Fix typos.
2346 * config/c6x/libunwind.S: Fix typos.
2347 * config/epiphany/udivsi3-float.c: Fix typos.
2348 * config/microblaze/muldi3_hard.S: Fix typos.
2349 * config/picochip/adddi3.S: Fix typos.
2350 * config/picochip/ashlsi3.S: Fix typos.
2351 * config/picochip/ashrsi3.S: Fix typos.
2352 * config/picochip/clzsi2.S: Fix typos.
2353 * config/picochip/cmpsi2.S: Fix typos.
2354 * config/picochip/divmod15.S: Fix typos.
2355 * config/picochip/divmodhi4.S: Fix typos.
2356 * config/picochip/divmodsi4.S: Fix typos.
2357 * config/picochip/longjmp.S: Fix typos.
2358 * config/picochip/lshrsi3.S: Fix typos.
2359 * config/picochip/parityhi2.S: Fix typos.
2360 * config/picochip/popcounthi2.S: Fix typos.
2361 * config/picochip/setjmp.S: Fix typos.
2362 * config/picochip/subdi3.S: Fix typos.
2363 * config/picochip/ucmpsi2.S: Fix typos.
2364 * config/picochip/udivmodhi4.S: Fix typos.
2365 * config/picochip/udivmodsi4.S: Fix typos.
2366 * config/spu/divv2df3.c: Fix typos.
2367 * config/spu/mfc_multi_tag_release.c: Fix typos.
2368 * config/spu/mfc_tag_release.c: Fix typos.
2369 * configure.ac: Fix typos.
2370 * configure: Regenerate.
2372 2012-05-25 Ian Lance Taylor <iant@google.com>
2374 * config/i386/morestack.S (__morestack_non_split): Check whether
2375 caller is varargs and needs %bp to hold the stack frame on return.
2377 2012-05-25 Olivier Hainque <hainque@adacore.com>
2379 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
2380 sequence in the non pic case on VxWorks.
2382 2012-05-24 Olivier Hainque <hainque@adacore.com>
2384 * Makefile.in: Move dependency on install-unwind_h from
2385 "install-leaf" to "install".
2387 2012-05-24 Olivier Hainque <hainque@adacore.com>
2389 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
2390 Use a separate command for stamp removals.
2392 2012-05-21 Andrew Pinski <apinski@cavium.com>
2395 * configure.ac: Define the default includes to being none.
2396 * configure: Regenerate.
2398 2012-05-16 Olivier Hainque <hainque@adacore.com>
2400 * Makefile.in (install-unwind_h): Rename into ...
2401 (install-unwind_h-forbuild): New target.
2402 (all): Use it instead of the former install-unwind_h.
2403 (install-unwind_h): Reinstate, copy to user install destination
2404 for include files, not to the internal gcc object directory one.
2405 (install-leaf): Depend on it.
2407 2012-05-15 Olivier Hainque <hainque@adacore.com>
2409 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
2410 register numbers. LR_REGNO replaces R_LR.
2411 (ucontext_for): New, helper for ...
2412 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
2414 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
2416 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2418 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
2419 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
2420 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
2422 (i[34567]86-*-*, x86_64-*-*): ... here.
2424 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
2425 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
2427 * config/i386/i386-cpuinfo.c: Rename to ...
2428 * config/i386/cpuinfo.c: ... this.
2429 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
2431 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
2432 (libgcc_cv_init_priority): New test.
2433 * configure: Regenerate.
2434 * config.in: New file.
2435 * Makefile.in (clean): Rename config.h to auto-target.h.
2436 (config.h): Likewise.
2437 (stamp-h): Likewise.
2439 * config/i386/cpuinfo.c (auto-target.h): Include.
2440 (CONSTRUCTOR_PRIORITY): Define.
2441 (__cpu_indicator_init): Use it.
2443 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2445 * longlong.h: Use a URL instead of an FSF postal address.
2446 Replace spaces with tab.
2448 2012-05-08 Teresa Johnson <tejohnson@google.com>
2450 * libgcov.c (gcov_clear, __gcov_reset): New functions.
2451 (__gcov_dump): Ditto.
2452 (gcov_dump_complete): New global variable.
2453 (gcov_exit): Export hidden to enable use in L_gcov_dump.
2454 (__gcov_flush): Outline functionality now in gcov_clear.
2455 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
2457 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
2459 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
2460 (mips*-*-linux*): Include mips/t-tpbit when long double is
2463 2012-04-25 Sriraman Tallam <tmsriram@google.com>
2465 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
2466 (get_available_features): New argument. Check for AVX2.
2467 (__cpu_indicator_init): Modify call to get_available_features.
2469 2012-04-25 Alan Modra <amodra@gmail.com>
2471 * config/rs6000/crtsavevr.S: New file.
2472 * config/rs6000/crtrestvr.S: New file.
2473 * config/rs6000/t-savresfgpr: Build the above.
2474 * config/rs6000/t-netbsd: Likewise.
2476 2012-04-24 Sriraman Tallam <tmsriram@google.com>
2478 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
2480 2012-04-24 Sriraman Tallam <tmsriram@google.com>
2482 * libgcc/config/i386/i386-cpuinfo.c: New file.
2483 * libgcc/config/i386/t-cpuinfo: New file.
2484 * libgcc/config.host: Include t-cpuinfo.
2485 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
2487 2012-04-24 Chao-ying Fu <fu@mips.com>
2489 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
2491 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
2493 struct siginfo vs. siginfo_t
2495 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
2496 siginfo_t instead of struct siginfo.
2497 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
2498 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
2499 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
2500 (ia64_handle_unwabi): Likewise.
2501 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
2502 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
2503 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
2504 (sh_fallback_frame_state): Likewise.
2505 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
2506 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
2508 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
2510 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
2513 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
2515 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
2516 if it hasn't been previously saved.
2518 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
2520 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
2523 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
2526 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
2527 instead of __AVR_HAVE_8BIT_SP__.
2529 2012-03-26 Tristan Gingold <gingold@adacore.com>
2531 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
2532 (unw_table_entry): Use unw_word instead of unsigned long.
2533 (_Unwind_FindTableEntry): Likewise.
2534 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
2535 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
2536 (_Unwind_FindTableEntry): Likewise.
2537 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
2538 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
2539 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
2540 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
2541 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
2542 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
2543 (uw_init_context_1, uw_install_context): Likewise.
2544 (unw_word): Move to unwind-ia64.h
2546 2012-03-26 Tristan Gingold <gingold@adacore.com>
2548 * config/vms/vms-ucrt0.c: Update copyright years.
2550 (___gcc_main_flags): Declare.
2551 (__main): Check flags to remap argv and exit code.
2552 * config.host (*-*-*vms*): Adjust extra_parts.
2553 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
2556 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
2558 * arm/lib1funcs.asm (ctzsi2): New function.
2559 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
2560 * arm/t-linux (LIB1ASMFUNCS): Likewise.
2561 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
2562 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
2563 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
2564 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
2566 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
2568 * config.host: Add bits to support powerpc64-*-freebsd*.
2569 * config/rs6000/freebsd-unwind.h: New file.
2570 * config/rs6000/t-freebsd64: New file.
2572 2012-03-20 Richard Guenther <rguenther@suse.de>
2574 PR gcov-profile/52627
2575 * libgcov.c (init_mx): Fix mutex name.
2577 2012-03-16 Tristan Gingold <gingold@adacore.com>
2579 * config/ia64/vms-unwind.h: Remove ulong (and replace
2580 it by unw_reg where used). Define unw_reg with __int64.
2582 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2584 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2586 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
2588 (sparc_is_sighandler): Likewise.
2590 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
2592 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
2595 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2597 * config/arm/crtn.S: Fix typo.
2599 2012-03-13 Richard Guenther <rguenther@suse.de>
2601 * libgcov.c: Remove stdio.h include and NULL un-define.
2603 2012-03-13 Richard Guenther <rguenther@suse.de>
2606 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
2608 2012-03-13 Richard Guenther <rguenther@suse.de>
2610 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
2612 2012-03-13 Richard Guenther <rguenther@suse.de>
2614 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
2615 and __gthread_mutex_init_function definitions.
2617 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2619 * config.host (mips*-*-openbsd*): Remove.
2621 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2623 * config.host: Remove alpha*-dec-osf5.1* handling.
2624 * config/alpha/gthr-posix.c: Remove.
2625 * config/alpha/libgcc-osf5.ver: Remove.
2626 * config/alpha/osf5-unwind.h: Remove.
2627 * config/alpha/t-osf-pthread: Remove.
2628 * config/alpha/t-slibgcc-osf: Remove.
2629 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
2630 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
2631 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
2632 * mkmap-flat.awk: Remove osf_export handling.
2634 2012-03-12 Richard Guenther <rguenther@suse.de>
2636 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
2637 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
2638 (__gthread_mutex_init_function): New function.
2639 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
2642 * libgcov.c: Include gthr.h.
2643 (__gcov_flush_mx): New global variable.
2644 (init_mx, init_mx_once): New functions.
2645 (__gcov_flush): Protect self with a mutex.
2646 (__gcov_fork): Re-initialize mutex after forking.
2647 * unwind-dw2-fde.c: Change condition under which to use
2648 __GTHREAD_MUTEX_INIT_FUNCTION.
2650 2012-03-12 Tristan Gingold <gingold@adacore.com>
2652 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
2653 * config/ia64/t-vms: Likewise.
2655 2012-03-11 Michael Hope <michael.hope@linaro.org>
2657 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
2660 2012-03-07 Walter Lee <walt@tilera.com>
2662 * config/tilepro/atomic.c: Rename "atomic_" prefix to
2664 (atomic_xor): Rename and move definition to
2665 config/tilepro/atomic.h.
2666 (atomic_nand): Ditto.
2667 * config/tilepro/atomic.h: Rename "atomic_" prefix to
2669 (arch_atomic_xor): Move from config/tilepro/atomic.c.
2670 (arch_atomic_nand): Ditto.
2672 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
2675 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
2677 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
2680 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
2683 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
2687 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
2688 if RAMPZ affects reading from RAM.
2689 (__tablejump_elpm__): Ditto.
2691 (__movmemx_hi): Ditto.
2692 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
2693 (__do_global_dtors): Ditto.
2694 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
2695 (__movmemx_hi): Ditto.
2697 2012-03-05 Richard Henderson <rth@redhat.com>
2699 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
2700 [ARM] (count_trailing_zeros): Use the builtin.
2702 2012-03-01 Kai Tietz <ktietz@redhat.com>
2704 * soft-fp: Imported from glibc upstream.
2706 2012-02-28 Kai Tietz <ktietz@redhat.com>
2708 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
2709 for mingw-targets as attribute gcc_struct.
2711 2012-02-28 Ian Lance Taylor <iant@google.com>
2713 * generic-morestack.c (__splitstack_releasecontext): Correct call
2714 to __morestack_release_segments.
2716 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2719 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
2720 for __linux__ when removing signals from __morestack_fullmask.
2722 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
2725 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
2727 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2729 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
2730 instead of HAVE_INITFINI_ARRAY.
2731 * config/ia64/crtend.S: Likewise.
2733 2012-02-20 Kai Tietz <ktietz@redhat.com>
2736 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
2738 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
2739 to w32-unwind.h header.
2741 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
2743 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
2744 (mips*-*-linux*): Remove t-slibgcc-libgcc.
2745 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
2746 * config/mips/mips16.S (__mips16_rdhwr): Delete.
2748 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
2750 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
2752 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
2755 * config/darwin-crt-tm.c: Correct typo.
2757 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
2758 Patrick Marlier <patrick.marlier@gmail.com>
2761 * config/darwin-crt-tm.c: Generate dummy functions.
2763 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
2764 Patrick Marlier <patrick.marlier@gmail.com>
2767 * config/darwin-crt-tm.c (getTMCloneTable): New function.
2768 (__doTMRegistrations): Call it.
2769 (__doTMdeRegistrations): Likewise.
2771 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
2772 Anatoly Sokolov <aesok@post.ru>
2773 Eric Weddington <eric.weddington@atmel.com>
2776 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
2777 (__epilogue_restores__): Ditto.
2779 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
2783 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
2784 Solaris 11 and slightly reformat.
2785 (sparc_is_sighandler): Likewise.
2787 2012-02-14 Walter Lee <walt@tilera.com>
2789 * config.host: Handle tilegx and tilepro.
2790 * config/tilegx/sfp-machine.h: New file.
2791 * config/tilegx/sfp-machine32.h: New file.
2792 * config/tilegx/sfp-machine64.h: New file.
2793 * config/tilegx/t-crtstuff: New file.
2794 * config/tilegx/t-softfp: New file.
2795 * config/tilegx/t-tilegx: New file.
2796 * config/tilepro/atomic.c: New file.
2797 * config/tilepro/atomic.h: New file.
2798 * config/tilepro/linux-unwind.h: New file.
2799 * config/tilepro/sfp-machine.h: New file.
2800 * config/tilepro/softdivide.c: New file.
2801 * config/tilepro/softmpy.S: New file.
2802 * config/tilepro/t-crtstuff: New file.
2803 * config/tilepro/t-tilepro: New file.
2805 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
2809 * gthr-posix.h: Allow static initializer macros to be disabled.
2810 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
2812 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
2814 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
2815 Add t-slibgcc-libgcc to tmake_file.
2816 * config/mips/libgcc-mips16.ver: Revert previous patch.
2817 * config/mips/mips16.S (__mips16_rdhwr): Hide.
2819 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
2820 Jayant R Sonar <jayant.sonar@kpitcummins.com>
2822 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
2823 * config/cr16/crti.S: New file.
2824 * config/cr16/crtlibid.S: New file.
2825 * config/cr16/crtn.S: New file.
2826 * config/cr16/lib1funcs.S: New file.
2827 * config/cr16/t-cr16: New file.
2828 * config/cr16/t-crtlibid: New file.
2829 * config/cr16/unwind-dw2.h: New file.
2830 * config/cr16/unwind-cr16.c: New file.
2831 * config/cr16/divmodhi3.c: New file.
2833 2012-01-25 Alan Modra <amodra@gmail.com>
2835 * config/rs6000/t-linux64: Delete. Move..
2836 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
2837 * config/rs6000/t-linux: ..and libgcc flags to here.
2839 2012-01-22 Douglas B Rupp <rupp@gnat.com>
2841 * config.host (i[34567]86-*-interix3*):
2842 Change triplet to i[34567]86-*-interix[3-9]*.
2843 * configure: Regenerate.
2845 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
2846 Richard Sandiford <rdsandiford@googlemail.com>
2848 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
2849 * config/mips/mips16.S (__mips16_rdhwr): New function.
2850 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
2852 2012-01-11 Nathan Sidwell <nathan@acm.org>
2854 * libgcov.c (__gcov_init): Ignore objects with no functions.
2856 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
2859 Extend __pgmx semantics to linearize memory.
2860 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
2861 * config/avr/lib1funcs.S (__xload_1): New function.
2862 (__movmemx_qi, __movmemx_hi): New functions.
2863 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
2866 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
2868 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
2869 purported sigacthandler address isn't null before dereferencing it.
2870 (sparc_is_sighandler): Likewise.
2872 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
2875 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
2876 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
2877 (sparc_is_sighandler): Likewise.
2878 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
2880 2012-01-06 Tristan Gingold <gingold@adacore.com>
2882 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
2883 compatibility thunks...
2884 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
2885 (crtbeginS.o, crtendS.o): ... and these to ...
2886 * config/ia64/t-ia64-elf: ... this new file.
2887 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
2888 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
2890 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2892 * configure: Regenerate.
2893 * config/s390/t-crtstuff: Remove -fPIC.
2895 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
2898 * enable-execute-stack-mprotect.c (getpagesize): Do not define
2901 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
2904 * config/avr/lib1funcs.S: Remove FIXME comments.
2905 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
2907 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
2909 Implement light-weight DImode support.
2910 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
2911 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
2912 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
2913 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
2915 2011-12-30 Nathan Sidwell <nathan@acm.org>
2917 * libgcov.c (gcov_crc32): Remove global var.
2918 (free_fn_data): New function.
2919 (buffer_fn_data): Pass in filename, more robust error recovery.
2920 (crc32_unsigned): New function.
2921 (gcov_exit): More robust detection of new program. More robust
2923 (__gcov_init): Do not update program's crc here.
2925 2011-12-21 Tristan Gingold <gingold@adacore.com>
2927 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
2929 2011-12-21 Ian Lance Taylor <iant@google.com>
2931 * config/i386/morestack.S: Simplify CFI opcodes throughout.
2933 2011-12-20 Ian Lance Taylor <iant@google.com>
2935 * config/i386/morestack.S (__morestack_non_split): If there is
2936 enough stack space already, don't split. Ask for more stack space
2939 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
2941 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
2943 (_Unwind_DebugHook): New function.
2944 (uw_restore_core_regs): New define.
2945 (unwind_phase2): Use uw_restore_core_regs instead of
2947 (unwind_phase2_forced): Likewise.
2948 (__gnu_Unwind_Resume): Likewise.
2950 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
2952 * config/alpha/linux-unwind.h: Update copyright years.
2953 (MD_FROB_UPDATE_CONTEXT): New define.
2954 (alpha_frob_update_context): New function.
2956 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
2958 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
2959 tmake_file rather replacing it.
2961 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
2963 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
2964 function is not used for PPC64.
2965 (save_world): Amend comments. Update the VRsave mask to reflect the
2967 (rest_world): Update comments, do not clobber r10, do not use r8.
2968 (eh_rest_world_r10): Amend comments, do not use r8.
2969 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
2970 no longer used, move restore of CR and target address to the end of
2973 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
2975 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
2976 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
2978 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
2981 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
2982 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
2984 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
2986 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
2988 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
2991 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
2992 * config/avr/lib1funcs.S (__muldi3): New function.
2994 2011-12-06 Andrew Pinski <apinski@cavium.com>
2996 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
2998 (__frame_dummy_init_array_entry): Likewise.
3000 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
3002 Forward-port from gcc-4_6-branch r181936 2011-12-02.
3006 * config/avr/lib1funcs.S (__prologue_saves__,
3007 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
3008 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
3010 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
3012 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
3014 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3017 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
3018 (_ITM_deregisterTMCloneTable): Likewise.
3019 (__register_frame_info): Fix unused warning.
3020 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
3021 pthread_default_stacksize_np): Likewise.
3022 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
3024 2011-11-29 DJ Delorie <dj@redhat.com>
3026 * config.host (rl78-*-elf): New case.
3027 * config/rl78: New directory for the Renesas RL78.
3029 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
3031 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
3034 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3037 * config/rs6000/t-savresfgpr: New file.
3038 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
3039 $(srcdir)/config/rs6000/eabi.S.
3040 * config/rs6000/t-ppccomm-ldbl: Remove.
3041 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
3043 (powerpc-*-eabispe*): Likewise.
3044 (powerpc-*-eabi*): Likewise.
3045 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3046 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
3047 to tmake_file, remove rs6000/t-ppccomm-ldbl.
3048 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
3050 (powerpc-*-eabisim*): Likewise.
3051 (powerpc-*-elf*): Likewise.
3052 (powerpc-*-eabialtivec*): Likewise.
3053 (powerpc-xilinx-eabi*): Likewise.
3054 (powerpc-*-rtems*): Likewise.
3055 (powerpcle-*-elf*): Likewise.
3056 (powerpcle-*-eabisim*): Likewise.
3057 (powerpcle-*-eabi*): Likewise.
3059 2011-11-27 Ian Lance Taylor <iant@google.com>
3061 * generic-morestack.c (__splitstack_find): Check for NULL old
3063 (__splitstack_resetcontext): New function.
3064 (__splitstack_releasecontext): New function.
3065 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
3067 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
3069 * config/darwin-crt-tm.c: Correct comments, use correct licence.
3071 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
3073 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
3075 2011-11-26 Richard Henderson <rth@redhat.com>
3077 * config/m68k/linux-atomic.c: New file.
3078 * config/m68k/t-linux: New file.
3079 * config.host (m68k-uclinux, m68k-linux): Use it.
3081 2011-11-26 Richard Henderson <rth@redhat.com>
3083 * crtstuff.c (__TMC_LIST__): Mark used not unused.
3084 (__TMC_END__): Only declare if hidden is available; in the definition,
3085 if hidden is unavailable add a null record.
3086 (deregister_tm_clones, register_tm_clones): New.
3087 (__do_global_dtors_aux, frame_dummy): Use them.
3088 (__do_global_dtors, __do_global_ctors_1): Likewise.
3090 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
3092 * config/darwin-crt-tm.c: New file.
3093 * config.host (darwin): Build crttms.o crttme.o to provide
3094 startup and shutdown for tm clones.
3095 * config/t-darwin (crttms.o): New build rule.
3096 (crttme.o): Likewise.
3098 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
3100 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
3103 2011-11-21 Richard Henderson <rth@redhat.com>
3105 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
3106 (__TMC_LIST__, __TMC_END__): New.
3107 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
3108 (__do_global_dtors): Likewise.
3109 (frame_dummy): Call _ITM_registerTMCloneTable.
3110 (__do_global_ctors_1): Likewise.
3112 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3114 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
3115 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
3116 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
3117 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
3118 * config/i386/t-darwin64: Remove.
3119 * config/sh/t-netbsd (LIB2ADD): Remove.
3121 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
3124 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
3125 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
3126 * config/avr/lib1funcs.S (wmov): New assembler macro.
3127 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
3128 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
3129 (__udivmod64): New function.
3130 (__negdi2): New function.
3132 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
3134 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
3135 *-*-freebsd*aout*): Remove.
3137 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
3139 * static-object.mk (c_flags-$o): Save c_flags.
3140 ($(base)$(objext)): Use it.
3142 2011-11-18 Steve Ellcey <sje@cup.hp.com>
3144 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
3146 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
3149 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
3150 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
3153 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3155 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
3157 (aeabi_uidivmod): Likewise.
3158 (umodsi3): Likewise.
3160 (aeabi_idivmod): Likewise.
3163 2011-11-16 Tristan Gingold <gingold@adacore.com>
3165 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
3167 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
3170 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
3171 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
3173 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3175 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
3177 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
3178 * config/pa/t-stublib64: Delete.
3180 2011-11-12 Richard Henderson <rth@redhat.com>
3182 * config/rs6000/linux-unwind.h (frob_update_context): Properly
3183 cast the pointer argument to _Unwind_SetGRPtr.
3185 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3187 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
3189 2011-11-09 Ian Lance Taylor <iant@google.com>
3191 * generic-morestack.c: Include <string.h>.
3192 (uintptr_type): Define.
3193 (struct initial_sp): Add dont_block_signals field. Reduce size of
3195 (allocate_segment): Set prev field to NULL. Don't set
3196 __morestack_current_segment or __morestack_segments.
3197 (__generic_morestack): Update current->prev and *pp after calling
3199 (__morestack_block_signals): Don't do anything if
3200 dont_block_signals is set.
3201 (__morestack_unblock_signals): Likewise.
3202 (__generic_findstack): Check for initial_sp == NULL. Add casts to
3204 (__splitstack_block_signals): New function.
3205 (enum __splitstack_content_offsets): Define.
3206 (__splitstack_getcontext, __splitstack_setcontext): New functions.
3207 (__splitstack_makecontext): New function.
3208 (__splitstack_block_signals_context): New function.
3209 (__splitstack_find_context): New function.
3210 * config/i386/morestack.S (__morestack_get_guard): New function.
3211 (__morestack_set_guard, __morestack_make_guard): New functions.
3212 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
3214 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3216 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
3217 (i[34567]86-*-mingw*): ... here.
3218 (x86_64-*-mingw*): ... here.
3220 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3222 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
3224 2011-11-07 Nathan Sidwell <nathan@acm.org>
3226 * libgcov.c (struct gcov_fn_buffer): New struct.
3227 (buffer_fn_data): New helper.
3228 (gcov_exit): Rework for new gcov data structures.
3230 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
3233 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
3235 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3237 * config.host (tmake_file): Correct comment.
3238 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
3240 (bfin*-uclinux*): Likewise.
3241 (bfin*-linux-uclibc*): Likewise.
3242 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
3244 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
3246 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3247 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
3248 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3249 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
3250 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3251 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
3252 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
3253 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3254 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
3255 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
3256 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
3257 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
3258 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
3260 * config/bfin/t-elf: Remove.
3261 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
3263 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3265 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
3266 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
3267 (lm32-*-elf*, lm32-*-rtems*): Split into ...
3268 (lm32-*-elf*): ... this.
3269 (lm32-*-rtems*): ... and this.
3271 (m32r-*-rtems*): Add to tmake_file.
3272 (moxie-*-rtems*): Likewise.
3273 (sparc-*-rtems*): Likewise.
3274 Remove t-rtems from tmake_file.
3275 (sparc64-*-rtems*): Likewise.
3276 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
3279 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3282 * config/gthr-posix.h: Move ...
3283 * gthr-posix.h: ... here.
3284 * config/gthr-lynx.h: Reflect this.
3285 * config/gthr-vxworks.h: Likewise.
3286 * config/rs6000/gthr-aix.h: Likewise.
3287 * configure.ac (target_thread_file): Likewise.
3288 * configure: Regenerate.
3290 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
3292 * config.host (arm*-*-rtemseabi*): New target.
3294 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3297 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
3300 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
3302 * config.host (epiphany-*-elf*): New configuration.
3303 * config/epiphany: New Directory.
3305 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
3307 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
3308 * config/avr/t-rtems: New.
3309 Filter out _exit from LIB1ASMFUNCS.
3311 2011-11-04 David S. Miller <davem@davemloft.net>
3313 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
3314 * configure: Rebuild.
3316 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3318 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
3321 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
3324 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
3325 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
3327 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
3330 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
3332 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3334 * config/c6x/t-elf (LIB2ADDEH): Set.
3335 * config/c6x/t-c6x-elf: Remove.
3337 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3339 * config/i386/sol2-ci.S: Rename to ...
3340 * config/i386/crti.S: ... this.
3341 * config/i386/sol2-cn.S: Rename to ...
3342 * config/i386/crtn.S: ... this.
3343 * config/sparc/sol2-ci.S: Rename to ...
3344 * config/sparc/crti.S: ... this.
3345 * config/sparc/sol2-cn.S: Rename to ...
3346 * config/sparc/crtn.S: ... this.
3347 * config/t-sol2 (CUSTOM_CRTIN): Remove.
3348 (crti.o, crtn.o): Remove.
3350 2011-11-04 Tristan Gingold <gingold@adacore.com>
3352 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
3354 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
3356 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
3358 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
3360 * config.host (crisv32-*-none, cris-*-none): Remove.
3361 (crisv32-*-elf): Append to tmake_file, don't just set it.
3362 (cris-*-elf): Add missing t-fdpbit to tmake_file.
3364 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3366 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
3367 (ecrtn$(objext)): Likewise.
3368 (ncrti$(objext)): Likewise.
3369 (ncrtn$(objext)): Likewise.
3371 2011-11-03 Andreas Schwab <schwab@redhat.com>
3373 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
3375 2011-11-02 David S. Miller <davem@davemloft.net>
3377 * configure.ac: Set host_address on sparc too.
3378 * configure: Regenerate.
3379 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
3380 based upon host_address.
3381 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
3383 2011-11-02 Jason Merrill <jason@redhat.com>
3385 * config/rs6000/t-ppccomm: Add missing \.
3387 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3389 * gthr-single.h, gthr.h: New files.
3390 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
3391 config/gthr-vxworks.h, config/i386/gthr-win32.h,
3392 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
3393 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
3394 * config/i386/gthr-win32.c: Include "gthr-win32.h".
3395 * configure.ac (thread_header): New variable.
3396 Set it depending on target_thread_file.
3397 (gthr-default.h): Link from $thread_header.
3398 * configure: Regenerate.
3399 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
3401 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3403 * configure.ac (tm_file_): New variable.
3404 Determine from tm_file.
3405 (tm_file, tm_defines): Substitute.
3406 * configure: Regenerate.
3407 * mkheader.sh: New file.
3408 * Makefile.in (clean): Remove libgcc_tm.h.
3409 ($(objects)): Depend on libgcc_tm.h.
3410 (libgcc_tm_defines, libgcc_tm_file): New variables.
3411 (libgcc_tm.h, libgcc_tm.stamp): New targets.
3412 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
3413 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
3414 ($(extra-parts)): Depend on libgcc_tm.h.
3415 * config.host (tm_defines, tm_file): New variable.
3416 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
3417 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
3418 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
3419 (avr-*-rtems*): Likewise.
3420 (avr-*-*): Likewise.
3421 (frv-*-elf): Likewise.
3422 (frv-*-*linux*): Likewise.
3423 (h8300-*-rtems*): Likewise.
3424 (h8300-*-elf*): Likewise.
3425 (i[34567]86-*-darwin*): Likewise.
3426 (x86_64-*-darwin*): Likewise.
3427 (rx-*-elf): Likewise.
3428 (tic6x-*-uclinux): Likewise.
3429 (tic6x-*-elf): Likewise.
3430 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
3431 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
3432 * config/i386/cygming-crtbegin.c: Likewise.
3433 * config/i386/cygming-crtend.c: Likewise.
3434 * config/ia64/fde-vms.c: Likewise.
3435 * config/ia64/unwind-ia64.c: Likewise.
3436 * config/libbid/bid_gcc_intrinsics.h: Likewise.
3437 * config/rs6000/darwin-fallback.c: Likewise.
3438 * config/stormy16/lib2funcs.c: Likewise.
3439 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
3440 * crtstuff.c: Likewise.
3441 * dfp-bit.h: Likewise.
3442 * emutls.c: Likewise.
3443 * fixed-bit.c: Likewise.
3444 * fp-bit.c: Likewise.
3445 * generic-morestack-thread.c: Likewise.
3446 * generic-morestack.c: Likewise.
3447 * libgcc2.c: Likewise.
3448 * libgcov.c: Likewise.
3449 * unwind-dw2-fde-dip.c: Likewise.
3450 * unwind-dw2-fde.c: Likewise.
3451 * unwind-dw2.c: Likewise.
3452 * unwind-sjlj.c: Likewise.
3454 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3456 * configure.ac: Include ../config/picflag.m4.
3457 (GCC_PICFLAG): Call it.
3459 * configure: Regenerate.
3460 * Makefile.in (gcc_srcdir): Remove.
3461 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
3462 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
3463 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
3464 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
3465 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
3468 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
3469 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
3470 to refer to libgcc2.c.
3472 * config/darwin-64.c: New file.
3473 * config/darwin-crt3.c: Remove comment.
3474 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
3475 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
3476 config/udivmodsi4.c: New files.
3477 * config/memcmp.c, config/memcpy.c, config/memmove.c,
3478 config/memset.c: New files.
3479 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
3480 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
3481 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
3482 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
3483 * config/t-openbsd-thread: New file.
3484 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
3485 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
3486 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
3487 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
3490 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
3491 to refer to gthr-posix.c.
3492 * config/alpha/t-vms (LIB2ADD): Set.
3493 * config/alpha/vms-gcc_shell_handler.c: New file.
3494 * config/arm/bpabi.c, config/arm/fp16.c,
3495 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
3496 config/arm/unaligned-funcs.c: New files.
3497 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
3498 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
3499 * config/arm/t-linux: Likewise.
3500 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
3501 * config/arm/t-netbsd: New file.
3502 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
3503 * config/arm/t-symbian (LIB2ADD_ST): Set.
3504 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
3505 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3506 * config/bfin/t-elf: New file.
3507 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
3508 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
3509 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
3510 config/c6x/ltf.c: New files.
3511 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
3512 (HOST_LIBGCC2_CFLAGS): Set.
3513 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
3514 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3515 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
3517 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
3518 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
3519 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
3520 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
3521 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
3523 * config/frv/t-frv (LIB2ADD): Set.
3524 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3525 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
3526 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
3527 config/h8300/popcounthi2.c: New files.
3528 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
3529 * config/i386/gthr-win32.c: New file.
3530 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
3531 * config/i386/t-cygwin: Likewise.
3532 * config/i386/t-darwin, config/i386/t-darwin64,
3533 config/i386/t-gthr-win32, config/i386/t-interix: New files.
3534 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
3535 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3536 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3537 * config/ia64/quadlib.c: New file.
3538 * config/ia64/t-hpux (LIB2ADD): Set.
3539 * config/ia64/t-ia64: Add comment.
3540 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
3541 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3542 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
3543 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
3544 * config/m32c/t-m32c (LIB2ADD): Set.
3545 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
3546 * config/m32r/t-m32r: Likewise.
3547 * config/m68k/fpgnulib.c: New file.
3548 * config/m68k/t-floatlib (LIB2ADD): Set.
3549 (xfgnulib.c): New target.
3550 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
3551 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
3552 * config/mep/t-mep (LIB2ADD): Set.
3553 * config/microblaze/divsi3.asm: Rename to divsi3.S.
3554 * config/microblaze/moddi3.asm: Rename to moddi3.S.
3555 * config/microblaze/modsi3.asm: Rename to modsi3.S.
3556 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
3557 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
3558 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
3559 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
3560 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
3561 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
3562 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
3564 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
3565 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
3566 * config/pa/fptr.c, config/pa/lib2funcs.S,
3567 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
3568 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
3569 (LIB2ADD, LIB2ADD_ST): Set.
3570 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
3571 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
3573 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
3574 * config/pdp11/t-pdp11: New file.
3575 * config/picochip/libgccExtras/adddi3.S,
3576 config/picochip/libgccExtras/ashlsi3.S,
3577 config/picochip/libgccExtras/ashrsi3.S,
3578 config/picochip/libgccExtras/clzsi2.S,
3579 config/picochip/libgccExtras/cmpsi2.S,
3580 config/picochip/libgccExtras/divmod15.S,
3581 config/picochip/libgccExtras/divmodhi4.S,
3582 config/picochip/libgccExtras/divmodsi4.S,
3583 config/picochip/libgccExtras/lshrsi3.S,
3584 config/picochip/libgccExtras/parityhi2.S,
3585 config/picochip/libgccExtras/popcounthi2.S,
3586 config/picochip/libgccExtras/subdi3.S,
3587 config/picochip/libgccExtras/ucmpsi2.S,
3588 config/picochip/libgccExtras/udivmodhi4.S,
3589 config/picochip/libgccExtras/udivmodsi4.S: New files.
3590 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
3591 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
3592 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
3593 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
3594 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
3595 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
3596 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
3597 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
3599 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
3600 (HOST_LIBGCC2_CFLAGS): Set.
3601 * config/rs6000/t-darwin64: New file.
3602 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
3603 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
3604 * config/rs6000/t-ppccomm (LIB2ADD): Add
3605 $(srcdir)/config/rs6000/tramp.S.
3606 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
3607 Add $(srcdir)/config/rs6000/eabi.S.
3608 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
3609 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
3610 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
3611 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
3612 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
3613 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
3614 * config/rs6000/tramp.S: New file.
3615 * config/s390/t-tpf: Remove.
3616 * config/sh/linux-atomic.S: New file.
3617 * config/sh/t-linux (LIB2ADD): Set.
3618 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
3619 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
3620 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
3622 (HOST_LIBGCC2_CFLAGS): Set.
3623 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3624 * config/spu/divmodti4.c, config/spu/divv2df3.c,
3625 config/spu/float_disf.c, config/spu/float_unsdidf.c,
3626 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
3627 config/spu/mfc_multi_tag_release.c,
3628 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
3629 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
3630 config/spu/multi3.c: New files.
3631 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
3632 (HOST_LIBGCC2_CFLAGS): Set.
3633 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
3634 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
3635 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
3636 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
3637 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
3638 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
3639 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
3640 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
3641 config/stormy16/umodsi3.c: New files.
3642 * config/xtensa/lib2funcs.S: New file.
3643 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
3644 * config/xtensa/t-xtensa (LIB2ADD): Set.
3645 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
3646 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
3647 Add t-freebsd-thread to tmake_file for posix threads.
3648 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
3649 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
3650 (*-*-lynxos*): Likewise.
3651 (*-*-netbsd*): Likewise.
3652 (*-*-openbsd*): Likewise.
3653 Add t-openbsd-thread to tmake_file for posix threads.
3654 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
3655 (*-*-vxworks*): Set tmake_file.
3656 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
3657 (alpha*-*-freebsd*): Likewise.
3658 (alpha*-*-netbsd*): Likewise.
3659 (alpha*-*-openbsd*): Likewise.
3660 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
3661 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
3662 (alpha*-dec-*vms*): Likewise.
3663 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
3664 (bfin*-elf*): Add bfin/t-elf to tmake_file.
3665 (bfin*-uclinux*): Likewise.
3666 (bfin*-linux-uclibc*): Likewise.
3667 (crisv32-*-elf): Add cris/t-cris to tmake_file.
3668 (crisv32-*-none): Likewise.
3669 (cris-*-elf): Likewise.
3670 (cris-*-none): Likewise.
3671 (cris-*-linux*, crisv32-*-linux*): Likewise.
3672 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
3674 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
3676 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
3677 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
3678 (x86_64-*-elf*): Likewise.
3679 (i[34567]86-*-nto-qnx*): Likewise.
3680 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
3682 (x86_64-*-mingw*): Likewise.
3683 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
3684 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
3685 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
3686 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
3687 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
3689 (mipsisa64sr71k-*-elf*): Likewise.
3690 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
3691 (mips-*-elf*, mipsel-*-elf*): Likewise.
3692 (mips64-*-elf*, mips64el-*-elf*): Likewise.
3693 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
3694 (mips*-*-rtems*): Likewise.
3695 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
3697 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
3698 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
3699 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
3700 (spu-*-elf*): Likewise.
3701 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
3703 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3705 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
3706 $(srcdir) to refer to $(LIB1ASMSRC).
3708 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
3709 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
3710 config/arm/lib1funcs.S: New files.
3711 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
3712 * config/arm/t-arm: New file.
3713 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
3714 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
3715 config/arm/t-strongarm-elf: New files.
3716 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
3717 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
3718 * config/avr/lib1funcs.S: New file.
3719 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3720 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
3721 * config/c6x/lib1funcs.S: New file.
3722 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3723 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
3724 * config/frv/lib1funcs.S: New file.
3725 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3726 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
3727 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
3728 * config/ia64/__divxf3.asm: Rename to ...
3729 * config/ia64/__divxf3.S: ... this.
3730 Adapt lib1funcs.asm filename.
3731 * config/ia64/_fixtfdi.asm: Rename to ...
3732 * config/ia64/_fixtfdi.S: ... this.
3733 Adapt lib1funcs.asm filename.
3734 * config/ia64/_fixunstfdi.asm: Rename to ...
3735 * config/ia64/_fixunstfdi.S: ... this.
3736 Adapt lib1funcs.asm filename.
3737 * config/ia64/_floatditf.asm: Rename to ...
3738 * config/ia64/_floatditf.S: ... this.
3739 Adapt lib1funcs.asm filename.
3740 * config/ia64/lib1funcs.S: New file.
3741 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
3742 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3743 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
3744 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
3745 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
3746 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
3747 * config/mep/lib1funcs.S: New file.
3748 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3749 * config/mips/mips16.S: New file.
3750 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3751 * config/pa/milli64.S: New file.
3752 * config/pa/t-linux, config/pa/t-linux64: New files.
3753 * config/picochip/lib1funcs.S: New file.
3754 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3755 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
3756 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
3757 * config/sh/t-netbsd: New file.
3758 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
3759 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
3760 * config/sh/t-sh64: New file.
3761 * config/sparc/lb1spc.S: New file.
3762 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
3764 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
3765 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
3766 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
3767 config/xtensa/lib1funcs.S: New files.
3768 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3769 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
3771 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
3772 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
3773 (arm*-*-linux*): Likewise.
3774 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
3775 arm*-*-linux-*eabi, add arm/t-linux otherwise.
3776 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
3777 (arm*-*-ecos-elf): Likewise.
3778 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3779 (arm*-*-rtems*): Likewise.
3780 (arm*-*-elf): Likewise.
3781 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
3782 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
3783 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
3784 (bfin*-uclinux*): Likewise.
3785 (bfin*-linux-uclibc*): Likewise.
3786 (bfin*-rtems*): Likewise.
3787 (bfin*-*): Likewise.
3788 (fido-*-elf): Merge into m68k-*-elf*.
3789 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
3790 (frv-*-*linux*): Add frv/t-frv to tmake_file.
3791 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
3792 (h8300-*-elf*): Likewise.
3793 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
3794 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
3795 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
3796 (i[34567]86-*-mingw*): Likewise.
3797 (x86_64-*-mingw*): Likewise.
3798 (i[34567]86-*-interix3*): Likewise.
3799 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
3800 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
3801 (m68k-*-elf*): Also handle fido-*-elf.
3802 Add m68k/t-floatlib to tmake_file.
3803 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
3804 (m68k-*-linux*): Likewise.
3805 (m68k-*-rtems*): Likewise.
3806 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
3807 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
3809 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
3810 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
3811 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
3812 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
3813 sh/t-netbsd to tmake_file.
3814 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
3815 (sh-*-rtems*): Add sh/t-sh to tmake_file.
3816 (sh-wrs-vxworks): Likewise.
3817 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
3819 (v850*-*-*): Add v850/t-v850 to tmake_file.
3820 (vax-*-linux*): Add vax/t-linux to tmake_file.
3821 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
3823 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3825 * crtstuff.c: New file.
3826 * Makefile.in (CRTSTUFF_CFLAGS): Define.
3827 (CRTSTUFF_T_CFLAGS): Define.
3828 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
3829 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
3830 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
3833 (crtbeginT.o): Use $(objext).
3834 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
3835 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
3836 (gcc-extra-parts): Remove.
3837 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
3839 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3840 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
3841 Add t-crtstuff-pic to tmake_file.
3842 (*-*-lynxos*): New case.
3843 Set tmake_file, extra_parts.
3844 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
3845 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
3846 *-*-netbsdelf[2-9]*.
3847 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
3848 (*-*-rtems*): Set extra_parts.
3849 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
3850 (*-*-uclinux*): New case.
3852 (*-*-vms*): New case.
3853 Set tmake_file, extra_parts.
3854 (*-*-elf): Set extra_parts.
3855 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
3856 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
3859 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
3861 (arm*-*-freebsd*): Add t-crtin to tmake_file.
3862 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
3863 (arm-wrs-vxworks): Append to tmake_file.
3865 (arm*-*-uclinux*): Set extra_parts.
3866 (arm*-*-ecos-elf): Likewise.
3867 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
3869 (arm*-*-rtems*): Set extra_parts.
3870 (arm*-*-elf): Likewise.
3871 (avr-*-rtems*): Clear extra_parts.
3872 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
3874 (bfin*-uclinux*): Likewise.
3875 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
3876 (bfin*-rtems*): Append to tmake_file.
3878 (bfin*-*): Likewise.
3879 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
3880 (crisv32-*-elf): ... this.
3881 (crisv32-*-none): ... this.
3882 (cris-*-elf, cris-*-none): New cases.
3883 Add cris/t-elfmulti to tmake_file.
3884 (fr30-*-elf): Append to tmake_file.
3886 (frv-*-elf): Append to tmake_file, add frv/t-frv.
3888 (h8300-*-rtems*): Append to tmake_file.
3890 (h8300-*-elf*): Likewise.
3891 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
3893 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
3895 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
3896 (x86_64-*-elf*): Likewise.
3897 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
3898 (x86_64-*-freebsd*): Likewise.
3899 (x86_64-*-netbsd*): Likewise.
3900 (i[34567]86-*-linux*): Likewise.
3901 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3902 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3903 (x86_64-*-linux*): Likewise.
3904 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3905 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
3908 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
3909 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
3910 Append to extra_parts, remove crtbegin.o, crtend.o.
3911 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
3912 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
3913 crtend.o, crtbeginS.o, crtendS.o.
3914 (ia64*-*-linux*): Comment extra_parts.
3915 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
3917 (iq2000*-*-elf*): Clear extra_parts.
3918 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
3919 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
3920 (m32r-*-elf*, m32r-*-rtems*): Split off ...
3921 (m32r-*-rtems*): ... this.
3922 Add m32r/t-m32r to tmake_file.
3923 (m68k-*-elf*): Add t-crtin to tmake_file.
3924 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
3925 (mcore-*-elf): Likewise.
3926 (microblaze*-*-*): Set extra_parts.
3927 (mips*-sde-elf*): New case.
3928 Set tmake_file, extra_parts.
3929 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
3930 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
3931 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
3934 (mipsisa64sr71k-*-elf*): Likewise.
3935 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
3936 (mips-*-elf*, mipsel-*-elf*): Likewise.
3937 (mips64-*-elf*, mips64el-*-elf*): Likewise.
3938 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
3939 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
3940 (mips*-*-rtems*): Likewise.
3941 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
3942 (moxie-*-*): Split into ...
3943 (moxie-*-elf, moxie-*-uclinux*): ... this.
3944 Add to extra_parts, remove crtbegin.o, crtend.o.
3945 (moxie-*-rtems*): New case.
3948 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
3950 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
3951 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
3954 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
3955 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
3957 (powerpc-*-eabisim*): Likewise.
3958 (powerpc-*-elf*): Likewise.
3959 (powerpc-*-eabialtivec*): Likewise.
3960 (powerpc-xilinx-eabi*): Likewise.
3961 (powerpc-*-eabi*): Likewise.
3962 (powerpc-*-rtems*): Likewise.
3963 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
3966 (powerpc-*-lynxos*): Add to tmake_file.
3967 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
3968 rs6000/t-crtstuff, t-crtstuff-pic.
3970 (powerpcle-*-eabisim*): Likewise.
3971 (powerpcle-*-eabi*): Likewise.
3972 (rx-*-elf): Remove extra_parts.
3973 (s390x-ibm-tpf*): Set extra_parts.
3974 (score-*-elf): Set extra_parts.
3975 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3976 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3977 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3978 (sh64l*-*-netbsd*): Split into ...
3979 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
3980 Add t-crtstuff-pic to tmake_file.
3982 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
3984 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
3985 (sparc-*-elf*): Remove t-crtin from tmake_file.
3986 Add to extra_parts, remove crtbegin.o, crtend.o.
3987 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
3988 (sparc64-*-linux*): Likewise.
3989 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
3990 Add to extra_parts, remove crtbegin.o, crtend.o.
3991 (sparc64-*-elf*): Remove t-crtin from tmake_file.
3992 Add to extra_parts, remove crtbegin.o, crtend.o.
3993 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
3994 Add to extra_parts, remove crtbegin.o, crtend.o.
3995 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
3996 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
3997 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
3999 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
4001 (tic6x-*-*): Change to ...
4002 (tic6x-*-elf): ... this.
4004 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
4006 (am33_2.0-*-linux*): Add comment.
4007 (mep*-*-*): Add mep/t-mep to tmake_file.
4009 * config/alpha/t-vms: New file.
4010 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
4011 * config/arm/crti.S, config/arm/crtn.S: New files.
4012 * config/bfin/crti.S, config/bfin/crtn.S: New files.
4013 * config/bfin/crtlibid.S: New file.
4014 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
4015 * config/c6x/crti.S, config/c6x/crtn.S: New files.
4016 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
4017 (crti.o, crtin.o): New rules.
4018 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
4019 * config/c6x/t-uclinux: New file.
4020 * config/cris/t-elfmulti: New file.
4021 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
4022 * config/fr30/crti.S, config/fr30/crtn.S: New files.
4023 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
4024 * config/frv/t-frv: New file.
4025 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
4026 * config/h8300/crti.S, config/h8300/crtn.S: New files.
4027 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
4029 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
4030 refer to cygming-crtbegin.c, cygming-crtend.c.
4032 * config/i386/t-nto: New file.
4033 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
4034 * config/ia64/crti.S, config/ia64/crtn.S: New files.
4035 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
4036 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
4039 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
4040 (crtinitS.o): New rule.
4041 * config/ia64/vms-crtinit.S: New file.
4042 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
4043 * config/m32r/initfini.c: New file.
4044 * config/m32r/t-linux, config/m32r/t-m32r: New files.
4045 * config/m68k/crti.S, config/m68k/crtn.S: New files.
4046 * config/mcore/crti.S, config/mcore/crtn.S: New files.
4047 * config/mep/t-mep: New file.
4048 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
4049 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
4050 * config/mips/crti.S, config/mips/crtn.S: New files.
4051 * config/mips/t-crtstuff: New file.
4052 * config/mmix/crti.S, config/mmix/crtn.S: New files.
4053 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
4054 (CUSTOM_CRTIN): Set.
4055 ($(T)crti.o, $(T)crtn.o): Remove $(T),
4057 Use $(srcdir) to refer to crti.S, crtn.S.
4058 Use .S extension, $<.
4059 * config/moxie/crti.asm: Rename to ...
4060 * config/moxie/crti.S: ... this.
4061 * config/moxie/crtn.asm: Rename to ...
4062 * config/moxie/crtn.S: ... this.
4063 * config/moxie/t-moxie: Remove.
4064 * config/pa/stublib.c: New file.
4065 * config/pa/t-stublib, config/pa/t-stublib64: New files.
4066 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
4067 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
4068 * config/rs6000/t-crtstuff: New file.
4069 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
4070 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
4071 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
4072 Make output file explicit.
4073 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
4074 Make output file explicit.
4075 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
4076 Make output file explicit.
4077 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
4078 Make output file explicit.
4079 * config/score/crti.S, config/score/crtn.S: New files.
4080 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
4081 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
4083 * config/sh/t-sh, config/sh/t-superh: New files.
4084 * config/sparc/t-linux64: New file.
4085 * config/spu/cache.S, config/spu/cachemgr.c: New files.
4086 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
4087 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
4088 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
4089 * config/t-crtin: Remove.
4090 * config/t-crtstuff-pic: New file.
4091 * config/t-sol2 (CUSTOM_CRTIN): Set.
4092 (crti.o, crtn.o): New rules.
4093 * config/vms/t-vms: New file.
4094 * config/vms/vms-ucrt0.c: New file.
4095 * config/xtensa/t-elf: New file.
4097 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4099 * Makefile.in (SHLIB_NM_FLAGS): Set.
4100 * mkmap-flat.awk, mkmap-symver.awk: New files.
4101 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
4103 * configure: Regenerate.
4104 * config/libgcc-glibc.ver: New file.
4105 * config/libgcc-libsystem.ver: New file.
4106 * config/t-libunwind (SHLIB_LC): Set.
4107 * config/t-linux: New file.
4108 * config/t-slibgcc (INSTALL_SHLIB): New.
4109 (SHLIB_INSTALL): Use it.
4110 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
4111 to mkmap-symver.awk.
4112 (SHLIB_MAPFILES): Don't append, adapt pathname.
4113 (SHLIB_VERPFX): Set.
4114 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
4115 to mkmap-symver.awk.
4116 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
4117 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
4118 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
4119 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
4121 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
4122 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
4123 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
4124 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
4125 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
4126 * config/i386/libgcc-darwin.10.4.ver,
4127 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
4129 * config/i386/t-darwin: Remove.
4130 * config/i386/t-darwin64: Likewise.
4131 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
4132 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
4133 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
4134 * config/i386/t-linux: New file.
4135 * config/i386/t-mingw32: New file.
4136 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
4137 * config/ia64/t-glibc: Rename to ...
4138 * config/ia64/t-linux: ... this.
4139 (SHLIB_MAPFILES): Set.
4140 * config/ia64/t-glibc-libunwind: Rename to ...
4141 * config/ia64/t-linux-libunwind: ... this.
4142 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
4143 * config/ia64/t-slibgcc-hpux: New file.
4144 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
4145 * config/m68k/t-slibgcc-elf-ver: New file.
4146 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
4147 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
4149 * config/pa/t-slibgcc-hpux: New file.
4150 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
4152 * config/rs6000/libgcc-darwin.10.4.ver,
4153 config/rs6000/libgcc-darwin.10.5.ver: New files.
4154 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
4155 config/rs6000/libgcc-glibc.ver.
4156 * config/rs6000/libgcc-ppc64.ver: Rename to
4157 config/rs6000/libgcc-ibm-ldouble.ver.
4158 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
4159 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
4160 * config/rs6000/t-ldbl128: Rename to ...
4161 * config/rs6000/t-linux: ... this.
4162 (SHLIB_MAPFILES): Adapt filename.
4163 * config/rs6000/t-slibgcc-aix: New file.
4164 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
4165 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
4166 libgcc-excl.ver, libgcc-glibc.ver.
4167 (SHLIB_LINK, SHLIB_INSTALL): Remove.
4168 * config/sparc/libgcc-glibc.ver: New file.
4169 * config/sparc/t-linux: New file.
4170 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
4171 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
4172 t-slibgcc-elf-ver to tmake_file.
4173 Add t-slibgcc-nolc-override to tmake_file for posix threads on
4175 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4176 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
4177 t-slibgcc-elf-ver, t-linux to tmake_file.
4178 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
4180 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
4181 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
4182 (alpha*-dec-*vms*): Likewise.
4183 (arm*-*-freebsd*): Append to tmake_file.
4184 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
4185 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
4187 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
4188 tmake_file for arm*-*-symbianelf*.
4189 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
4190 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
4192 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
4193 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
4194 pa/t-slibgcc-dwarf-ver to tmake_file.
4195 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
4196 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
4197 (hppa*64*-*-hpux11*): Likewise.
4198 (hppa[12]*-*-hpux11*): Likewise.
4199 (x86_64-*-darwin*): Don't override tmake_file, but only keep
4200 i386/t-crtpc, i386/t-crtfm.
4201 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
4202 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
4204 Add i386/t-cygwin to tmake_file.
4205 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
4206 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
4207 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
4209 Add i386/t-mingw32 to tmake_file.
4210 (x86_64-*-mingw*): Likewise.
4211 (ia64*-*-freebsd*): Append to tmake_file.
4212 (ia64*-*-linux*): Append to tmake_file.
4213 Replace ia64/t-glibc by ia64/t-linux.
4214 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
4216 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
4217 t-slibgcc-hpux to tmake_file.
4218 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
4219 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
4220 (m32rle-*-linux*): Likewise.
4221 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
4223 (microblaze*-linux*): New case.
4224 Append to tmake_file, add t-slibgcc-nolc-override.
4225 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
4226 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
4227 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
4228 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
4229 rs6000/t-slibgcc-aix to tmake_file.
4230 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4231 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4232 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
4233 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
4234 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
4235 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
4237 (sparc-*-linux*): Append to tmake_file for *-leon*.
4238 Add sparc/t-linux to tmake_file for non-Leon targets.
4239 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
4240 (tic6x-*-uclinux): New case.
4241 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
4242 (tic6x-*-*): Add c6x/t-elf to tmake_file.
4243 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
4244 (am33_2.0-*-linux*): Append to tmake_file.
4245 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4246 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
4247 x86_64-*-kfreebsd*-gnu.
4248 Add i386/t-linux to tmake_file.
4250 2011-10-28 Ian Lance Taylor <iant@google.com>
4252 * config/i386/morestack.S: Correct CFI information to do proper
4253 returns throughout function. In 32-bit mode, save %ebx so that it
4254 is restored on unwind.
4256 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
4258 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
4259 case where B3 isn't the return register.
4261 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
4262 logic for doubleword pops.
4264 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
4266 * config/rs6000/t-freebsd: Add wildcard.
4268 2011-10-21 Paul Brook <paul@codesourcery.com>
4270 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
4272 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
4273 Eric Botcazou <ebotcazou@adacore.com>
4276 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
4277 fs->signal_frame to 1.
4279 2011-10-07 Ian Lance Taylor <iant@google.com>
4281 * generic-morestack-thread.c: #include <errno.h>.
4283 2011-10-07 Ian Lance Taylor <iant@google.com>
4286 * generic-morestack.c (__generic_morestack): Make sure the segment
4287 is large enough for both the stack frame and the copied
4290 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4293 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
4296 2011-09-28 Nick Clifton <nickc@redhat.com>
4298 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
4299 64-bit doubles are not enabled.
4300 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
4301 and floatunsisf functions.
4303 2011-09-13 Paul Brook <paul@codesourcery.com>
4305 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
4306 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
4307 * unwind-arm-common.inc: New file.
4308 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
4309 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
4310 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
4311 * config/c6x/libunwind.S: New file.
4312 * config/c6x/pr-support.c: New file.
4313 * config/c6x/unwind-c6x.c: New file.
4314 * config/c6x/unwind-c6x.h: New file.
4315 * config/c6x/t-c6x-elf: New file.
4317 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
4319 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
4320 (ASM_DIVZERO): Ditto.
4321 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
4323 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
4325 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
4327 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
4330 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
4331 instead of an assembly one.
4333 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
4336 * Makefile.in (install-unwind_h): Create
4337 $(gcc_objdir)/include/unwind.h atomically.
4339 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4341 * Makefile.in (install-unwind_h): Remove destination file first.
4343 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4346 * config/mips/t-mips16: New file.
4347 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
4348 (mips*-*-linux*): Likewise.
4349 (mips*-sde-elf*): Likewise.
4350 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
4351 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
4352 Add mips/t-mips16 to tmake_file.
4353 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
4354 (mips-*-elf*): Likewise.
4355 (mips64-*-elf*): Likewise.
4356 (mips64orion-*-elf*): Likewise.
4357 (mips*-*-rtems*): Likewise.
4358 (mipstx39-*-elf*): Likewise.
4359 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
4360 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
4362 Use $(srcdir) to refer to sync.c.
4364 ($(libgcc-sync-funcs-o)): Likewise.
4365 ($(libgcc-sync-size-funcs-s-o)): Likewise.
4366 ($(libgcc-sync-funcs-s-o)): Likewise.
4368 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
4370 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
4373 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
4376 * config/i386/value-unwind.h: New.
4378 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
4380 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
4381 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
4382 Add to tmake_file rather than overriding it.
4384 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4386 * config/t-softfp: Remove.
4387 * soft-fp: Moved from ../gcc/config.
4388 * soft-fp/README: Remove t-softfp reference.
4389 * soft-fp/t-softfp: Move to config/t-softfp.
4390 (softfp_machine_header): Remove.
4391 (softfp_file_list): Remove config subdir.
4392 (soft-fp-objects): New variable.
4393 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
4394 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
4395 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
4396 * config/t-softfp-excl: New file.
4397 * config/t-softfp-sfdf: New file.
4398 * config/t-softfp-tf: New file.
4399 * config/no-sfp-machine.h: New file.
4400 * config/arm/sfp-machine.h: New file.
4401 * config/arm/t-softfp: New file.
4402 * config/c6x/sfp-machine.h: New file.
4403 * config/i386/32/t-fprules-softfp: Rename to ...
4404 * config/i386/32/t-softfp: ... this.
4405 (tifunctions, LIB2ADD): Remove.
4406 (softfp_int_modes): Override.
4407 * config/i386/64/t-softfp-compat (tf-functions): Remove config
4409 * config/i386/64/eqtf2.c: Likewise.
4410 * config/i386/64/getf2.c: Likewise.
4411 * config/i386/64/letf2.c: Likewise.
4412 * config/ia64/sft-machine.h: New file.
4413 * config/ia64/t-fprules-softfp: Rename to ...
4414 * config/ia64/t-softfp: ... this.
4415 * config/lm32/sfp-machine.h: New file.
4416 * config/moxie/t-moxie-softfp: Remove.
4417 * config/rs6000/ibm-ldouble-format: New file.
4418 * config/rs6000/ibm-ldouble.c: New file.
4419 * config/rs6000/libgcc-ppc-glibc.ver: New file
4420 * config/rs6000/libgcc-ppc64.ver: New file
4421 * config/rs6000/sfp-machine.h: New file.
4422 * config/rs6000/t-freebsd: New file.
4423 * config/rs6000/t-ibm-ldouble: New file.
4424 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
4425 libgcc-ppc-glibc.ver.
4426 * config/rs6000/t-linux64: New file.
4427 * config/rs6000/t-ppccomm (LIB2ADD): Add
4428 $(srcdir)/config/rs6000/ibm-ldouble.c.
4429 * config/rs6000/t-ppccomm-ldbl: New file.
4430 * config/score/sfp-machine.h: New file.
4431 * config.host (sfp_machine_header): Explain.
4432 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
4433 t-softfp to tmake_file.
4434 (arm*-*-uclinux*): Likewise.
4435 (arm*-*-ecos-elf): Likewise.
4436 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
4437 (arm*-*-rtems*): Likewise.
4438 (arm*-*-elf): Likewise.
4439 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
4441 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
4442 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
4443 (lm32-*-uclinux*): Likewise.
4444 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
4445 t-softfp-excl, t-softfp.
4446 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
4447 (powerpc64-*-darwin*): Likewise.
4448 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
4450 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
4452 (powerpc-*-eabisim*): Likewise.
4453 (powerpc-*-elf*): Likewise.
4454 (powerpc-*-eabialtivec*): Likewise.
4455 (powerpc-xilinx-eabi*): Likewise.
4456 (powerpc-*-rtems*): Likewise.
4457 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
4458 t-softfp-excl, t-softfp to tmake_file.
4459 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
4460 rs6000/t-ppccomm-ldbl to tmake_file.
4461 (powerpcle-*-elf*): Likewise.
4462 (powerpcle-*-eabisim*): Likewise.
4463 (powerpcle-*-eabi*): Likewise.
4464 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
4465 rs6000/t-ibm-ldouble to tmake_file.
4466 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4467 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4468 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
4469 (tic6x-*-*): Likewise.
4470 (i[34567]86-*-darwin*, x86_64-*-darwin*,
4471 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
4472 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
4473 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
4474 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
4475 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
4476 t-softfp to tmake_file.
4477 * configure.ac (sfp_machine_header): Provide default if unset.
4479 Link sfp-machine.h to config/$sfp_machine_header.
4480 * configure: Regenerate.
4482 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4484 * Makefile.in (double_type_size, long_double_type_size): Set.
4485 Remove $(fpbit-in-libgcc) support.
4486 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
4487 (fpbit-src): New variable.
4488 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
4489 Compile with -DFLOAT $(FPBIT_CFLAGS).
4491 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
4492 Compile with $(FPBIT_CFLAGS).
4494 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
4495 Compile with -DFLOAT $(TPBIT_CFLAGS).
4497 * configure.ac (double_type_size, long_double_type_size):
4498 Determine and substitute.
4499 * configure: Regenerate.
4500 * fp-bit.c, fp-bit.h: New files.
4501 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
4502 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
4503 * config/mips/t-mips: New file.
4504 * config/mips/t-sdemtk: New file.
4505 * config/rs6000/ppc64-fp.c: New file.
4506 * config/rs6000/t-darwin (LIB2ADD): Add
4507 $(srcdir)/config/rs6000/ppc64-fp.c.
4508 * config/rs6000/t-ppc64-fp: New file.
4509 * config/rx/rx-lib.h: New file.
4510 * config/rx/t-rx (FPBIT): Set to true.
4511 ($(gcc_objdir)/fp-bit.c): Remove.
4512 (DPBIT): Set to true only with -m64bit-doubles.
4513 ($(gcc_objdir)/dp-bit.c): Remove.
4514 * config/sparc/t-softfp: Remove.
4515 * config/spu/t-elf: New file.
4516 * config/t-fdpbit, config/t-fpbit: New files.
4517 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
4518 (mips*-*-*): Likewise.
4519 (arm-wrs-vxworks): Likewise.
4520 (arm*-*-freebsd*): Likewise.
4521 (avr-*-rtems*): Add t-fpbit to tmake_file.
4522 (avr-*-*): Likewise.
4523 (bfin*-elf*): Add t-fdpbit to tmake_file.
4524 (bfin*-uclinux*): Likewise.
4525 (bfin*-linux-uclibc*): Likewise.
4526 (bfin*-rtems*): New case.
4527 Add t-fdpbit to tmake_file.
4528 (bfin*-*): Add t-fdpbit to tmake_file.
4529 (crisv32-*-elf): Likewise.
4530 (cris-*-linux*): Likewise.
4531 (fr30-*-elf): Likewise.
4532 (frv-*-elf, frv-*-*linux*): Likewise.
4533 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
4534 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
4535 (m32r-*-elf*): Likewise.
4536 (m32rle-*-elf*): Likewise.
4537 (m32r-*-linux*): Likewise.
4538 (m32rle-*-linux*): Likewise.
4539 (mcore-*-elf): Add t-fdpbit to tmake_file.
4540 (microblaze*-*-*): Likewise.
4541 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
4542 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
4543 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
4545 Add mips/t-tpbit to tmake-file.
4546 (mips*-*-linux*): Fix typo.
4547 (mips*-sde-elf*): New case
4548 Add mips/t-sdemtk unless using newlib.
4549 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
4550 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
4551 (mn10300-*-*): Likewise.
4552 (pdp11-*-*): Likewise.
4553 (picochip-*-*): Add t-fpbit to tmake_file.
4554 (powerpc-*-eabisimaltivec*): Likewise.
4555 (powerpc-*-eabisim*): Likewise.
4556 (powerpc-*-elf*): Likewise.
4557 (powerpc-*-eabialtivec*): Likewise.
4558 (powerpc-xilinx-eabi*): New case.
4559 Add t-fdpbit to tmake_file.
4560 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
4561 (powerpc-*-rtems*): Likewise.
4562 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
4564 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
4566 (powerpc-*-lynxos*): Likewise.
4567 (powerpcle-*-elf*): Likewise.
4568 (powerpcle-*-eabisim*): Likewise.
4569 (powerpcle-*-eabi*): Likewise.
4570 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
4571 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
4572 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4573 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4574 (rx-*-elf): Add t-fdpbit to tmake_file.
4575 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
4576 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
4577 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
4578 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
4580 (sh-*-rtems*): Add t-fdpbit to tmake_file.
4581 (sh-wrs-vxworks): Likewise.
4582 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
4583 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
4584 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
4585 (sparc64-*-rtems*): ... new case.
4586 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
4587 (spu-*-elf*): Likewise.
4588 Add spu/t-elf to tmake_file.
4589 (v850*-*-*): Add t-fdpbit to tmake_file.
4590 (xstormy16-*-elf): Likewise.
4591 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
4592 (mep*-*-*): Likewise.
4594 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4596 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
4598 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
4599 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
4600 (install-unwind_h): New target.
4601 (all): Depend on it.
4602 * config.host (unwind_header): New variable.
4603 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
4604 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4605 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
4606 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
4607 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
4609 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
4611 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
4613 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
4615 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
4616 (ia64*-*-freebsd*): Likewise.
4617 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
4619 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
4620 $with_system_libunwind.
4621 (ia64*-*-hpux*): Set tmake_file.
4622 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
4623 (picochip-*-*): Set tmake_file.
4624 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
4626 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4627 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4628 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
4629 (xtensa*-*-elf*): Set tmake_file.
4630 (xtensa*-*-linux*): Likewise.
4631 * configure.ac: Include ../config/unwind_ipinfo.m4.
4632 Call GCC_CHECK_UNWIND_GETIPINFO.
4633 Link unwind.h to $unwind_header.
4634 * configure: Regenerate.
4635 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
4636 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
4637 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
4638 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
4639 * config/unwind-dw2-fde-darwin.c: New file.
4640 * config/arm/libunwind.S, config/arm/pr-support.c,
4641 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
4642 config/arm/unwind-arm.h,: New files.
4643 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
4644 config/ia64/t-eh-ia64, config/ia64/t-glibc,
4645 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
4646 config/ia64/t-vms, config/ia64/unwind-ia64.c,
4647 config/ia64/unwind-ia64.h: New files.
4648 * config/picochip/t-picochip: New file.
4649 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
4651 * config/rs6000/t-darwin (LIB2ADDEH): Set.
4652 * config/s390/t-tpf (LIB2ADDEH): Remove.
4653 * config/t-darwin (LIB2ADDEH): Set.
4654 * config/t-eh-dw2-dip: New file.
4655 * config/t-libunwind, config/t-libunwind-elf: New files.
4656 * config/t-sol2 (LIB2ADDEH): Remove.
4657 * config/xtensa/t-xtensa: New file.
4659 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
4661 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
4662 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
4663 long long to check rt_sigreturn syscall.
4665 2011-08-02 Alan Modra <amodra@gmail.com>
4667 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
4668 Restore for indirect call bcrtl from correct stack slot, and only
4669 if cfa+40 isn't valid.
4671 2011-08-01 Julian Brown <julian@codesourcery.com>
4673 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
4674 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
4675 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
4677 2011-08-01 Julian Brown <julian@codesourcery.com>
4679 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
4680 (libgcc-std.ver.in): Use above.
4681 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
4682 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
4684 * config/t-fixedpoint-gnu-prefix: New file.
4685 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
4686 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
4689 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
4691 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
4692 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
4693 for x86-64. Properly check __x86_64__ and __LP64__.
4695 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
4697 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
4699 (_FP_WS_TYPE): Likewise.
4700 (_FP_I_TYPE): Likewise.
4702 2011-07-28 Alan Modra <amodra@gmail.com>
4704 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
4705 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
4706 in a plt call stub. Do restore r2 if stopped on bctrl.
4708 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4710 * config.host (i[3456x]86-*-netware*): Remove.
4711 * config/i386/netware-crt0.c, config/i386/t-nwld,
4712 config/i386/t-slibgcc-nwld: Remove.
4714 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
4716 * config.host: Handle tic6x-*-*.
4717 * config/c6x/c6x-abi.h: New file.
4719 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4721 * config/i386/crtprec.c: New file.
4722 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
4723 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
4724 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
4725 (x86_64-*-darwin*): Likewise.
4726 (i[34567]86-*-solaris2*: Likewise.
4728 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4730 * config/alpha/crtfastmath.c: New file.
4731 * config/i386/crtfastmath.c: New file.
4732 * config/ia64/crtfastmath.c: New file.
4733 * config/mips/crtfastmath.c: New file.
4734 * config/sparc/crtfastmath.c: New file.
4736 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
4738 Add -frandom-seed=gcc-crtfastmath.
4739 * config/alpha/t-crtfm: Remove.
4740 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
4741 * config/ia64/t-ia64 (crtfastmath.o): Remove.
4743 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
4744 (alpha*-dec-osf5.1*): Likewise.
4745 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
4746 Add crtfastmath.o to extra_parts.
4747 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
4748 Add crtfastmath.o to extra_parts.
4749 (x86_64-*-darwin*): Likewise.
4750 (x86_64-*-mingw*): Likewise.
4751 (ia64*-*-elf*): Add t-crtfm to tmake_file.
4752 (ia64*-*-freebsd*): Likewise.
4753 (ia64*-*-linux*): Likewise.
4754 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
4755 Add crtfastmath.o to extra_parts.
4757 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4759 * config/darwin-crt3.o: New file.
4760 * config/rs6000/darwin-crt2.c: New file.
4761 * config/t-darwin: New file.
4762 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
4764 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
4765 (powerpc-*-darwin*): Add crt2.o to extra_parts.
4766 (powerpc64-*-darwin*): Likewise.
4768 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4770 * config/i386/netware-crt0.c: New file.
4771 * config/i386/t-nwld: Rename to ...
4772 * config/i386/t-slibgcc-nwld: ... this.
4773 * config/i386/t-nwld: New file.
4774 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
4776 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
4779 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4781 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
4783 * configure: Regenerate.
4785 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4787 * dfp-bit.c, dfp-bit.h: New files.
4788 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
4790 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
4791 ($(d64pbit-o)): Likewise.
4792 ($(d128pbit-o)): Likewise.
4793 * config/t-dfprules: New file.
4794 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
4795 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
4796 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
4797 (x86_64-*-linux*): Likewise.
4798 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
4799 (i[34567]86-*-cygwin*): Likewise.
4800 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
4801 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
4803 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4805 * Makfile.in (LIBGCOV): New variable.
4806 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
4807 * libgcov.c: New file.
4809 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4811 * fixed-bit.c, fixed-bit.h: New files.
4812 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
4813 refer to fixed-bit.c.
4815 2011-07-07 Joseph Myers <joseph@codesourcery.com>
4817 * config.host (*local*): Remove.
4819 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4822 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
4823 like i?86-*-solaris2.1[0-9]*.
4824 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
4825 * configure.ac (i?86-*-solaris2*): Likewise.
4826 * configure: Regenerate.
4828 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
4830 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
4831 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
4832 md_unwind_header by splitting out of...
4833 (i[34567]86-*-linux*): ... this.
4834 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
4835 Remove md_unwind_header by splitting out of...
4836 (x86_64-*-linux*): ... this.
4838 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
4840 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
4842 2011-06-28 Nick Clifton <nickc@redhat.com>
4844 * config.host: Recognize all V850 variants.
4846 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
4848 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
4850 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4852 * shared-object.mk (c_flags-$o): Save c_flags.
4853 ($(base)$(objext)): Use it.
4854 ($(base)_s$(objext)): Likewise.
4856 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
4858 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
4859 * libgcc-std.ver.in (GCC_4.7.0): New section.
4861 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
4865 * config/avr/t-avr: Fix line endings.
4866 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
4869 2011-06-14 Olivier Hainque <hainque@adacore.com>
4870 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4872 * config/mips/irix6-unwind.h: New file.
4873 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
4875 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
4877 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
4878 (sparc64_fallback_frame_state): Use it.
4879 (sparc64_frob_update_context): Further adjust context.
4880 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
4881 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
4882 * config/sparc/sol2-cn.S: Likewise.
4884 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4886 * enable-execute-stack-empty.c: New file.
4887 * enable-execute-stack-mprotect.c: New file.
4888 * config/i386/enable-execute-stack-mingw32.c: New file.
4889 * config.host (enable_execute_stack): New variable.
4890 Select appropriate variants.
4891 * configure.ac: Link enable-execute-stack.c to
4892 $enable_execute_stack.
4893 * configure: Regenerate.
4894 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
4895 (lib2funcs): Remove _enable_execute_stack.
4897 2011-06-09 David S. Miller <davem@davemloft.net>
4898 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4900 * config.host (sparc-*-linux*): Correct md_unwind_header
4902 (s390x-ibm-tpf*): Fix typo.
4904 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4906 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
4907 Add crtfastmath.o to extra_parts.
4908 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
4910 * config/mips/t-crtfm: Remove.
4912 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4914 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
4916 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
4918 * config.host (sh*-*-linux*): Fix typo.
4920 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4922 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
4923 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
4924 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
4925 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
4926 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
4927 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
4928 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
4929 Wrap in !__MINGW64__.
4930 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
4931 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
4932 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
4933 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
4934 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
4935 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
4936 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
4938 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
4939 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
4940 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
4941 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
4942 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
4943 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
4944 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
4945 * config/no-unwind.h: New file.
4946 * config.host (md_unwind_header): Document.
4948 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
4949 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
4950 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
4951 hppa[12]*-*-hpux11*): Set md_unwind_header.
4952 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
4953 Set md_unwind_header.
4954 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
4955 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
4956 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
4957 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
4958 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
4959 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
4960 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
4962 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
4963 * configure: Regenerate.
4965 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4967 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
4968 Set tmake_file, extra_parts.
4969 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
4971 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
4973 * config/mips/t-irix6: New file.
4974 * config/mips/t-slibgcc-irix: New file.
4976 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4978 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
4979 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
4981 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4983 * configure.ac (target_thread_file): Determine thread model.
4984 * configure: Regenerate.
4985 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
4986 * config/alpha/t-alpha: New file.
4987 * config/alpha/t-crtfm: Use $<.
4988 * config/alpha/t-ieee: New file.
4989 * config/alpha/t-osf-pthread: New file.
4990 * config/alpha/t-slibgcc-osf: New file.
4991 * config/alpha/libgcc-osf5.ver: New file.
4993 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4995 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
4997 Add crtfastmath.o to extra_parts.
4999 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5001 * config/gmon-sol2.c: Reindent.
5003 Remove, correct casts.
5004 Use STDERR_FILENO, NULL.
5005 (BASEADDRESS): Remove.
5007 (errno, sbrk): Remove declarations.
5008 (monstartup) [hp300]: Remove.
5011 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5013 * Makefile.in (cpu_type): Define.
5014 * config.host (i[34567]86-*-rtems*): Handle it.
5015 (i[34567]86-*-solaris2*): Move body ...
5016 (*-*-solaris2*): ... here.
5017 New case, generalize.
5018 (sparc-*-elf*): Handle it.
5019 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
5020 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
5021 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
5023 (sparc*-*-solaris2*): ... this.
5025 (sparc64-*-elf*): Handle it.
5026 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
5027 Merge ../gcc/config/i386/gmon-sol2.c.
5028 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
5030 Merge ../gcc/config/i386/sol2-gc1.asm.
5031 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
5033 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
5035 * config/i386/t-crtfm (crtfastmath.o): Use $<.
5036 * config/i386/t-crtstuff: New file.
5037 * config/i386/t-softfp: New file.
5038 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
5039 $(T)crti.o, $(T)crtn.o): Remove.
5040 (gcrt1.o): New rule.
5041 (TARGET_LIBGCC2_CFLAGS): Remove.
5042 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
5043 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
5044 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
5045 * config/sparc/t-sol2: New file.
5046 * config/sparc/t-crtfm: Move to ...
5047 * config/t-crtfm: ... this.
5048 Use $(cpu_type), $<.
5049 * config/t-crtin: New file.
5050 * config/sparc/t-softfp: New file.
5051 * config/sparc/t-softmul: New file.
5052 * config/t-rtems: New file.
5053 * config/t-slibgcc: New file.
5054 * config/t-slibgcc-elf-ver: New file.
5055 * config/t-slibgcc-gld: New file.
5056 * config/t-slibgcc-sld: New file.
5057 * config/t-sol2: New file.
5058 * configure.ac: Include ../config/lib-ld.m4.
5059 Call AC_LIB_PROG_LD_GNU.
5060 Substitute cpu_type.
5061 * configure: Regenerate.
5063 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
5066 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
5067 libgcc-std.ver in the build directory.
5068 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
5069 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
5071 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
5073 * libgcc-std.ver.in: New file.
5074 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
5076 (libgcc-std.ver): New rule.
5077 * config/t-gnu-prefix: New file.
5079 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5081 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
5083 2011-05-10 Joseph Myers <joseph@codesourcery.com>
5085 * config/i386/darwin-lib.h: New file.
5087 2011-05-10 Joseph Myers <joseph@codesourcery.com>
5089 * config/arm/symbian-lib.h: New.
5091 2011-05-04 Chris Demetriou <cgd@google.com>
5093 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
5094 (__x86.get_pc_thunk.bx): ...this.
5095 (__morestack): Adjust for rename, remove undef of __i686.
5097 2011-05-03 Chris Demetriou <cgd@google.com>
5099 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
5101 2011-03-22 Joseph Myers <joseph@codesourcery.com>
5103 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
5104 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
5105 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
5106 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
5107 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
5110 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
5112 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
5113 Adjust copyright year.
5115 2011-03-07 Ian Lance Taylor <iant@google.com>
5117 * generic-morestack.c (__splitstack_find): Adjust returned stack
5118 pointer to include all registers pushed by __morestack.
5120 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
5123 * configure.ac: Call ACX_NONCANONICAL_TARGET.
5124 (toolexecdir): Calculate and AC_SUBST.
5125 (toolexeclibdir): Likewise.
5126 * Makefile.in (target_noncanonical): Import.
5127 (toolexecdir): Likewise.
5128 (toolexeclibdir): Likewise.
5129 * configure: Regenerate.
5131 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
5134 * config/arm/bpabi.h: Rename to...
5135 * config/arm/bpabi-lib.h: ...this.
5137 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5139 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
5141 * configure: Regenerate.
5143 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
5145 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
5146 __FLOAT_WORD_ORDER__.
5147 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
5150 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5153 * Makefile.in (install-strip): New phony target.
5155 2010-11-07 Ian Lance Taylor <iant@google.com>
5158 * config/i386/morestack.S (__morestack_large_model): New
5161 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
5163 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
5165 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
5167 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
5169 * config/arm/bpabi.h: New file.
5170 * config/frv/frv-abi.h: New file.
5172 2010-10-01 Ian Lance Taylor <iant@google.com>
5174 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
5175 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
5177 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
5180 * config.host: Add the missing `$'.
5182 2010-09-30 Michael Eager <eager@eagercon.com>
5184 * config.host: Add microblaze*-*-*.
5185 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
5186 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
5187 udivsi3.asm,umodsi3.asm}: New.
5189 2010-09-28 Ian Lance Taylor <iant@google.com>
5191 * configure.ac: Adjust CFI test to test assembler directly rather
5192 than checking gcc preprocessor macro.
5193 * configure: Rebuild.
5195 2010-09-27 Ian Lance Taylor <iant@google.com>
5197 * configure.ac: Test whether assembler supports CFI directives.
5198 * config.host: Only add t-stack and i386/t-stack-i386 to
5199 tmake_file if libgcc_cv_cfi is "yes".
5200 * configure: Rebuild.
5202 2010-09-27 Ian Lance Taylor <iant@google.com>
5204 * generic-morestack.h: New file.
5205 * generic-morestack.c: New file.
5206 * generic-morestack-thread.c: New file.
5207 * config/i386/morestack.S: New file.
5208 * config/t-stack: New file.
5209 * config/i386/t-stack-i386: New file.
5210 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
5211 i386/t-stack-i386 to tmake_file.
5213 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
5215 * Makefile.in (libgcc-extra-parts): Check for static archives and
5216 invoke ranlib after installing them.
5217 (gcc-extra-parts): Likewise.
5218 (install-leaf): Likewise.
5220 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
5222 * configure: Regenerated.
5224 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
5226 * configure: Regenerated.
5228 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
5229 Andrew Pinski <pinskia@gmail.com>
5232 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
5234 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
5237 * configure: Regenerated.
5239 2010-09-06 Andreas Schwab <schwab@redhat.com>
5241 * configure: Regenerate.
5243 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
5245 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
5247 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
5250 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
5251 Iain Sandoe <iains@gcc.gnu.org>
5254 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
5255 LIB2FUNCS_EXCLUDE functions.
5257 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5259 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
5261 * configure: Regenerate.
5263 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
5265 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
5266 i386/t-freebsd to tmake_file.
5267 * config/i386/t-freebsd: New file.
5268 * config/i386/libgcc-bsd.ver: New file.
5270 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
5272 * config.host (powerpc*-eabispe*): Set tmake_file.
5273 (powerpc*-eabi*): Likewise.
5274 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
5275 crtbeginS, crtendS, crtbeginT.
5277 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
5279 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
5280 to tmake_file. Add crtfastmath.o to extra_parts.
5281 * config/mips/t-crtfm: New.
5283 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
5285 * config.host (sparc64-*-rtems*): New target.
5287 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5289 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
5292 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
5294 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
5296 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5298 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
5299 alpha-dec-osf5.0* support.
5301 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
5303 * config.host: Add lm32-*-rtems*.
5305 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5306 Uros Bizjak <ubizjak@gmail.com>
5309 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
5310 like other remaining 32-bit x86 OSes.
5311 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
5313 * config/i386/libgcc-sol2.ver: New file.
5314 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
5316 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
5319 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
5320 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
5321 is used and substitute set_use_emutls.
5322 * configure: Regenerated.
5324 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
5326 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
5328 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5331 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
5333 ($(T)gcrt1.o): Likewise.
5334 ($(T)crt1.o): Likewise.
5335 ($(T)crti.o): Likewise.
5336 ($(T)crtn.o): Likewise.
5338 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5341 * Makefile.in (install): Use $(MAKE) string in rule, for
5344 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
5346 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
5347 * config/mmix/t-mmix: New file.
5348 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
5350 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
5353 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
5356 2010-01-04 Anthony Green <green@moxielogic.com>
5358 * config/moxie/crti.asm, config/moxie/crtn.asm,
5359 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
5360 config/moxie/t-moxie: New files.
5361 * config.host: Add t-moxie-softfp reference.
5363 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
5366 * config/t-slibgcc-darwin: Fix embedded rpaths for
5367 --enable-version-specific-runtime-libs, build extension stub
5368 libs exposing features available from current libgcc_s.
5370 2009-11-11 Jon Beniston <jon@beniston.com>
5372 * config.host: Add lm32 targets.
5373 * config/lm32: New directory.
5374 * config/lm32/libgcc_lm32.h: New file.
5375 * config/lm32/_mulsi3.c: New file.
5376 * config/lm32/_udivmodsi4.c: New file.
5377 * config/lm32/_divsi3.c: New file.
5378 * config/lm32/_modsi3.c: New file.
5379 * config/lm32/_udivsi3.c: New file.
5380 * config/lm32/_umodsi3.c: New file.
5381 * config/lm32/_lshrsi3.S: New file.
5382 * config/lm32/_ashrsi3.S: New file.
5383 * config/lm32/_ashlsi3.S: New file.
5384 * config/lm32/crti.S: New file.
5385 * config/lm32/crtn.S: New file.
5386 * config/lm32/t-lm32: New file.
5387 * config/lm32/t-elf: New file.
5388 * config/lm32/t-uclinux: New file.
5390 2009-10-26 Nick Clifton <nickc@redhat.com>
5392 * config.host: Add support for RX target.
5393 * config/rx: New directory.
5394 * config/rx/rx-abi-functions.c: New file. Supplementary
5395 functions for libgcc to support the RX ABI.
5396 * config/rx/rx-abi.h: New file. Supplementary header file for
5397 libgcc RX ABI functions.
5398 * config/rx/t-rx: New file: Makefile fragment for building
5401 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
5403 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
5404 constraint of y0 to "g".
5406 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5408 * config.host: Include the s390 makefile fragments.
5409 * config/s390/32/_fixdfdi.c: New file.
5410 * config/s390/32/_fixsfdi.c: New file.
5411 * config/s390/32/_fixtfdi.c: New file.
5412 * config/s390/32/_fixunsdfdi.c: New file.
5413 * config/s390/32/_fixunssfdi.c: New file.
5414 * config/s390/32/_fixunstfdi.c: New file.
5415 * config/s390/32/t-floattodi: New file.
5416 * config/s390/libgcc-glibc.ver: New file.
5417 * config/s390/t-crtstuff: New file.
5418 * config/s390/t-linux: New file.
5419 * config/s390/t-tpf: New file.
5421 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5423 * configure.ac (AC_PREREQ): Bump to 2.64.
5425 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
5427 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
5429 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5431 * configure: Regenerate.
5433 2009-08-09 Douglas B Rupp <rupp@gnat.com>
5435 * config.host (ia64-hp-*vms*): New target.
5436 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
5439 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5441 * configure.ac: Add snippet for maintainer-mode.
5442 * configure: Regenerate.
5443 * Makefile.in (AUTOCONF, configure_deps): New variables.
5444 ($(srcdir)/configure)): New rule, active only with maintainer
5447 2009-06-23 DJ Delorie <dj@redhat.com>
5450 * config.host: Add mep support.
5452 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
5454 * config.host: Add i386/${host_address}/t-fprules-softfp and
5455 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
5457 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
5459 * config/i386/64/_multc3.c: Likewise.
5460 * config/i386/64/_powitf2.c: Likewise.
5461 * config/i386/64/eqtf2.c: Likewise.
5462 * config/i386/64/getf2.c: Likewise.
5463 * config/i386/64/letf2.c: Likewise.
5464 * config/i386/64/letf2.c: Likewise.
5465 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
5466 unsigned long long for x64 mingw targets.
5467 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
5468 (_FP_I_TYPE): Define as long long for x64 mingw target.
5470 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
5472 * config.host (vax-*-linux*): New.
5474 2009-05-31 Anthony Green <green@moxielogic.com>
5476 * config.host: Add moxie support.
5477 * config/moxie/t-moxie: New file.
5479 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
5481 * config.host: Add i386/${host_address}/t-fprules-softfp and
5482 t-softfp to tmake_file for i[34567]86-*-cygwin*.
5484 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
5486 * config.host: Add i386/${host_address}/t-fprules-softfp to
5487 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
5489 2009-04-09 Nick Clifton <nickc@redhat.com>
5491 * config/ia64/tf-signs.c: Change copyright header to refer to
5492 version 3 of the GNU General Public License with version 3.1
5493 of the GCC Runtime Library Exception and to point readers at
5494 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
5496 * config/i386/32/tf-signs.c: Likewise.
5497 * config/libbid/_addsub_dd.c: Likewise.
5498 * config/libbid/_addsub_sd.c: Likewise.
5499 * config/libbid/_addsub_td.c: Likewise.
5500 * config/libbid/_dd_to_df.c: Likewise.
5501 * config/libbid/_dd_to_di.c: Likewise.
5502 * config/libbid/_dd_to_sd.c: Likewise.
5503 * config/libbid/_dd_to_sf.c: Likewise.
5504 * config/libbid/_dd_to_si.c: Likewise.
5505 * config/libbid/_dd_to_td.c: Likewise.
5506 * config/libbid/_dd_to_tf.c: Likewise.
5507 * config/libbid/_dd_to_udi.c: Likewise.
5508 * config/libbid/_dd_to_usi.c: Likewise.
5509 * config/libbid/_dd_to_xf.c: Likewise.
5510 * config/libbid/_df_to_dd.c: Likewise.
5511 * config/libbid/_df_to_sd.c: Likewise.
5512 * config/libbid/_df_to_td.c: Likewise.
5513 * config/libbid/_di_to_dd.c: Likewise.
5514 * config/libbid/_di_to_sd.c: Likewise.
5515 * config/libbid/_di_to_td.c: Likewise.
5516 * config/libbid/_div_dd.c: Likewise.
5517 * config/libbid/_div_sd.c: Likewise.
5518 * config/libbid/_div_td.c: Likewise.
5519 * config/libbid/_eq_dd.c: Likewise.
5520 * config/libbid/_eq_sd.c: Likewise.
5521 * config/libbid/_eq_td.c: Likewise.
5522 * config/libbid/_ge_dd.c: Likewise.
5523 * config/libbid/_ge_sd.c: Likewise.
5524 * config/libbid/_ge_td.c: Likewise.
5525 * config/libbid/_gt_dd.c: Likewise.
5526 * config/libbid/_gt_sd.c: Likewise.
5527 * config/libbid/_gt_td.c: Likewise.
5528 * config/libbid/_isinfd128.c: Likewise.
5529 * config/libbid/_isinfd32.c: Likewise.
5530 * config/libbid/_isinfd64.c: Likewise.
5531 * config/libbid/_le_dd.c: Likewise.
5532 * config/libbid/_le_sd.c: Likewise.
5533 * config/libbid/_le_td.c: Likewise.
5534 * config/libbid/_lt_dd.c: Likewise.
5535 * config/libbid/_lt_sd.c: Likewise.
5536 * config/libbid/_lt_td.c: Likewise.
5537 * config/libbid/_mul_dd.c: Likewise.
5538 * config/libbid/_mul_sd.c: Likewise.
5539 * config/libbid/_mul_td.c: Likewise.
5540 * config/libbid/_ne_dd.c: Likewise.
5541 * config/libbid/_ne_sd.c: Likewise.
5542 * config/libbid/_ne_td.c: Likewise.
5543 * config/libbid/_sd_to_dd.c: Likewise.
5544 * config/libbid/_sd_to_df.c: Likewise.
5545 * config/libbid/_sd_to_di.c: Likewise.
5546 * config/libbid/_sd_to_sf.c: Likewise.
5547 * config/libbid/_sd_to_si.c: Likewise.
5548 * config/libbid/_sd_to_td.c: Likewise.
5549 * config/libbid/_sd_to_tf.c: Likewise.
5550 * config/libbid/_sd_to_udi.c: Likewise.
5551 * config/libbid/_sd_to_usi.c: Likewise.
5552 * config/libbid/_sd_to_xf.c: Likewise.
5553 * config/libbid/_sf_to_dd.c: Likewise.
5554 * config/libbid/_sf_to_sd.c: Likewise.
5555 * config/libbid/_sf_to_td.c: Likewise.
5556 * config/libbid/_si_to_dd.c: Likewise.
5557 * config/libbid/_si_to_sd.c: Likewise.
5558 * config/libbid/_si_to_td.c: Likewise.
5559 * config/libbid/_td_to_dd.c: Likewise.
5560 * config/libbid/_td_to_df.c: Likewise.
5561 * config/libbid/_td_to_di.c: Likewise.
5562 * config/libbid/_td_to_sd.c: Likewise.
5563 * config/libbid/_td_to_sf.c: Likewise.
5564 * config/libbid/_td_to_si.c: Likewise.
5565 * config/libbid/_td_to_tf.c: Likewise.
5566 * config/libbid/_td_to_udi.c: Likewise.
5567 * config/libbid/_td_to_usi.c: Likewise.
5568 * config/libbid/_td_to_xf.c: Likewise.
5569 * config/libbid/_tf_to_dd.c: Likewise.
5570 * config/libbid/_tf_to_sd.c: Likewise.
5571 * config/libbid/_tf_to_td.c: Likewise.
5572 * config/libbid/_udi_to_dd.c: Likewise.
5573 * config/libbid/_udi_to_sd.c: Likewise.
5574 * config/libbid/_udi_to_td.c: Likewise.
5575 * config/libbid/_unord_dd.c: Likewise.
5576 * config/libbid/_unord_sd.c: Likewise.
5577 * config/libbid/_unord_td.c: Likewise.
5578 * config/libbid/_usi_to_dd.c: Likewise.
5579 * config/libbid/_usi_to_sd.c: Likewise.
5580 * config/libbid/_usi_to_td.c: Likewise.
5581 * config/libbid/_xf_to_dd.c: Likewise.
5582 * config/libbid/_xf_to_sd.c: Likewise.
5583 * config/libbid/_xf_to_td.c: Likewise.
5584 * config/libbid/bid128.c: Likewise.
5585 * config/libbid/bid128_2_str.h: Likewise.
5586 * config/libbid/bid128_2_str_macros.h: Likewise.
5587 * config/libbid/bid128_2_str_tables.c: Likewise.
5588 * config/libbid/bid128_add.c: Likewise.
5589 * config/libbid/bid128_compare.c: Likewise.
5590 * config/libbid/bid128_div.c: Likewise.
5591 * config/libbid/bid128_fma.c: Likewise.
5592 * config/libbid/bid128_logb.c: Likewise.
5593 * config/libbid/bid128_minmax.c: Likewise.
5594 * config/libbid/bid128_mul.c: Likewise.
5595 * config/libbid/bid128_next.c: Likewise.
5596 * config/libbid/bid128_noncomp.c: Likewise.
5597 * config/libbid/bid128_quantize.c: Likewise.
5598 * config/libbid/bid128_rem.c: Likewise.
5599 * config/libbid/bid128_round_integral.c: Likewise.
5600 * config/libbid/bid128_scalb.c: Likewise.
5601 * config/libbid/bid128_sqrt.c: Likewise.
5602 * config/libbid/bid128_string.c: Likewise.
5603 * config/libbid/bid128_to_int16.c: Likewise.
5604 * config/libbid/bid128_to_int32.c: Likewise.
5605 * config/libbid/bid128_to_int64.c: Likewise.
5606 * config/libbid/bid128_to_int8.c: Likewise.
5607 * config/libbid/bid128_to_uint16.c: Likewise.
5608 * config/libbid/bid128_to_uint32.c: Likewise.
5609 * config/libbid/bid128_to_uint64.c: Likewise.
5610 * config/libbid/bid128_to_uint8.c: Likewise.
5611 * config/libbid/bid32_to_bid128.c: Likewise.
5612 * config/libbid/bid32_to_bid64.c: Likewise.
5613 * config/libbid/bid64_add.c: Likewise.
5614 * config/libbid/bid64_compare.c: Likewise.
5615 * config/libbid/bid64_div.c: Likewise.
5616 * config/libbid/bid64_fma.c: Likewise.
5617 * config/libbid/bid64_logb.c: Likewise.
5618 * config/libbid/bid64_minmax.c: Likewise.
5619 * config/libbid/bid64_mul.c: Likewise.
5620 * config/libbid/bid64_next.c: Likewise.
5621 * config/libbid/bid64_noncomp.c: Likewise.
5622 * config/libbid/bid64_quantize.c: Likewise.
5623 * config/libbid/bid64_rem.c: Likewise.
5624 * config/libbid/bid64_round_integral.c: Likewise.
5625 * config/libbid/bid64_scalb.c: Likewise.
5626 * config/libbid/bid64_sqrt.c: Likewise.
5627 * config/libbid/bid64_string.c: Likewise.
5628 * config/libbid/bid64_to_bid128.c: Likewise.
5629 * config/libbid/bid64_to_int16.c: Likewise.
5630 * config/libbid/bid64_to_int32.c: Likewise.
5631 * config/libbid/bid64_to_int64.c: Likewise.
5632 * config/libbid/bid64_to_int8.c: Likewise.
5633 * config/libbid/bid64_to_uint16.c: Likewise.
5634 * config/libbid/bid64_to_uint32.c: Likewise.
5635 * config/libbid/bid64_to_uint64.c: Likewise.
5636 * config/libbid/bid64_to_uint8.c: Likewise.
5637 * config/libbid/bid_b2d.h: Likewise.
5638 * config/libbid/bid_binarydecimal.c: Likewise.
5639 * config/libbid/bid_conf.h: Likewise.
5640 * config/libbid/bid_convert_data.c: Likewise.
5641 * config/libbid/bid_decimal_data.c: Likewise.
5642 * config/libbid/bid_decimal_globals.c: Likewise.
5643 * config/libbid/bid_div_macros.h: Likewise.
5644 * config/libbid/bid_dpd.c: Likewise.
5645 * config/libbid/bid_flag_operations.c: Likewise.
5646 * config/libbid/bid_from_int.c: Likewise.
5647 * config/libbid/bid_functions.h: Likewise.
5648 * config/libbid/bid_gcc_intrinsics.h: Likewise.
5649 * config/libbid/bid_inline_add.h: Likewise.
5650 * config/libbid/bid_internal.h: Likewise.
5651 * config/libbid/bid_round.c: Likewise.
5652 * config/libbid/bid_sqrt_macros.h: Likewise.
5654 2009-04-09 Jakub Jelinek <jakub@redhat.com>
5656 * Makefile.in: Change copyright header to refer to version
5657 3 of the GNU General Public License and to point readers at the
5658 COPYING3 file and the FSF's license web page.
5659 * config.host: Likewise.
5661 2009-04-07 Alan Modra <amodra@bigpond.net.au>
5663 * config.host: Reorder and merge to match config.gcc change.
5665 2009-04-03 Alan Modra <amodra@bigpond.net.au>
5667 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
5669 2009-03-28 Joseph Myers <joseph@codesourcery.com>
5671 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
5672 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
5673 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
5674 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
5676 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
5678 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
5679 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
5681 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
5683 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
5684 ia64/t-softfp-compat to tmake_file.
5686 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
5688 * config/ia64/__divxf3.asm: New.
5689 * config/ia64/_fixtfdi.asm: Likewise.
5690 * config/ia64/_fixunstfdi.asm: Likewise.
5691 * config/ia64/_floatditf.asm: Likewise.
5692 * config/ia64/t-fprules-softfp: Likewise.
5693 * config/ia64/t-softfp-compat: Likewise.
5694 * config/ia64/tf-signs.c: Likewise.
5696 2009-01-18 Ben Elliston <bje@au.ibm.com>
5698 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
5700 2009-01-16 Ben Elliston <bje@au.ibm.com>
5702 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
5705 2009-01-13 Ben Elliston <bje@au.ibm.com>
5707 * config/t-softfp: New file.
5708 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
5709 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
5711 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
5713 * config.host: Add m32r*-*-rtems*.
5715 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
5717 * config.host: Add m32c*-*-rtems*.
5719 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5722 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
5723 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
5724 * configure: Regenerate.
5725 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
5726 tmake_file here from gcc/config.gcc.
5727 Move extra_parts here from gcc/config.gcc.
5728 * config/i386/t-sol2: Move here from gcc/config/i386.
5729 Use gcc_srcdir instead of srcdir.
5731 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
5733 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
5736 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
5738 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
5740 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
5742 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
5744 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
5747 * config.host: Add picochip-*-*.
5749 2008-08-06 Bob Wilson <bob.wilson@acm.org>
5751 * config.host: Match more processor names for Xtensa.
5753 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
5755 * config/i386/64/t-softfp-compat: Update comments.
5757 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
5759 * config/i386/64/_divtc3-compat.c: Moved to ...
5760 * config/i386/64/_divtc3.c: Here.
5762 * config/i386/64/_multc3-compat.c: Moved to ...
5763 * config/i386/64/_multc3.c: Here.
5765 * config/i386/64/_powitf2-compat.c: Moved to ...
5766 * config/i386/64/_powitf2.c: Here.
5768 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
5769 .c suffix instead of -compat.c.
5771 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
5773 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
5774 (_FP_MUL_MEAT_D): Ditto.
5775 (_FP_DIV_MEAT_S): Ditto.
5776 (_FP_DIV_MEAT_D): Ditto.
5778 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
5780 * Makefile.in: Add support for __sync_* libgcc functions.
5782 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
5784 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
5786 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
5789 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
5790 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
5792 * config/i386/64/t-fprules-softfp: Moved to ...
5793 * config/i386/64/t-softfp-compat: This. New.
5795 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
5797 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
5798 Initialize f with 0.0.
5800 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
5803 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
5805 * config/i386/64/_divtc3-compat.c: New.
5806 * config/i386/64/_multc3-compat.c: Likewise.
5807 * config/i386/64/_powitf2-compat.c: Likewise.
5808 * config/i386/64/eqtf2.c: Likewise.
5809 * config/i386/64/getf2.c: Likewise.
5810 * config/i386/64/letf2.c: Likewise.
5811 * config/i386/64/t-fprules-softfp: Likewise.
5813 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
5815 * config.host: Add i386/${host_address}/t-fprules-softfp to
5816 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
5817 i[34567]86-*-linux*, x86_64-*-linux*.
5819 * configure.ac: Set host_address to 64 or 32 for x86.
5820 * configure: Regenerated.
5822 * Makefile.in (config.status): Also depend on
5823 $(srcdir)/config.host.
5825 * config/i386/32/t-fprules-softfp: New.
5826 * config/i386/32/tf-signs.c: Likewise.
5828 * config/i386/64/sfp-machine.h: New. Moved from gcc.
5830 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
5831 Uros Bizjak <ubizjak@gmail.com>
5833 * config/i386/32/sfp-machine.h: New.
5835 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
5837 * config/rs6000/t-ppccomm: Remove rules that conflict with
5838 auto-generated rules.
5840 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5842 * configure.ac: sinclude override.m4.
5843 * configure: Regenerate.
5845 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
5847 * configure: Regenerate.
5849 2008-06-10 Joseph Myers <joseph@codesourcery.com>
5851 * Makefile.in (DECNUMINC): Remove
5852 -I$(MULTIBUILDTOP)../../libdecnumber.
5855 2008-06-07 Joseph Myers <joseph@codesourcery.com>
5857 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
5858 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
5859 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
5860 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
5861 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
5862 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
5863 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
5864 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
5865 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
5866 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
5867 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
5868 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
5869 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
5870 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
5872 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
5874 * config.host (sh2[lbe]*-*-linux*): Allow target.
5876 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
5878 * config/rs6000/t-ppccomm: Add build rules for new files.
5879 (LIB2ADD_ST): New variable.
5881 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
5885 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
5886 * config/t-avr: New file. Build 16bit libgcc functions.
5888 2008-03-02 Jakub Jelinek <jakub@redhat.com>
5891 * config/t-slibgcc-darwin: Make install-leaf dependent on
5892 install-darwin-libgcc-stubs instead of install.
5894 2008-01-25 Joseph Myers <joseph@codesourcery.com>
5896 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
5897 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
5898 sh-*-rtemscoff*): Remove cases.
5900 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
5902 * Makefile.in (all): Use install-leaf rather than install.
5903 (install): Split most of the rule into...
5904 (install-leaf): ...this new one.
5906 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
5907 Paolo Bonzini <bonzini@gnu.org>
5910 * Makefile.in: Use @shlib_slibdir@ substitution to get
5911 correct install name on darwin.
5912 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
5914 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
5916 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
5917 cris-*-elf and cris-*-none.
5918 (crisv32-*-linux*): Similar, as cris-*-linux*.
5920 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
5922 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
5924 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
5927 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
5928 * configure: Regenerated.
5930 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
5932 * Makefile.in (dfp-filenames): Replace decimal_globals,
5933 decimal_data, binarydecimal and convert_data with
5934 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
5935 and bid_convert_data, respectively.
5937 2007-09-17 Chao-ying Fu <fu@mips.com>
5938 Nigel Stephens <nigel@mips.com>
5940 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
5941 * Makefile.in (fixed_point): Define.
5942 Check if fixed_point is yes to build support functions.
5943 * configure.ac: Check for fixed_point support.
5944 * configure: Regenerated.
5945 * gen-fixed.sh: New file to generate lists of fixed-point labels,
5946 funcs, modes, from, to.
5948 2007-09-11 Janis Johnson <janis187@us.ibm.com
5950 * Makefile.in (dfp-filenames): Add bid128_noncomp.
5952 2007-09-10 Janis Johnson <janis187@us.ibm.com>
5954 * Makefile.in (dfp-filenames): Remove decUtility, add
5955 decDouble, decPacked, decQuad, decSingle.
5957 2007-08-27 Hans Kester <hans.kester@ellips.nl>
5959 * config.host : Add x86_64-elf target.
5961 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
5963 * configure.ac (set_have_cc_tls): Add a missing =.
5964 * configure: Regenerated.
5966 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
5968 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
5969 and x86_64-*-linux*.
5971 * config/t-tls: New file.
5973 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
5975 * configure.ac: Include ../config/enable.m4 and
5976 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
5977 supports TLS and substitute set_have_cc_tls.
5978 * configure: Regenerated.
5980 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
5982 * Makefile.in: Use libbid for DFP when BID is enabled.
5984 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
5986 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
5987 extra_parts. Add config/i386/t-cygming to tmake_file.
5988 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
5990 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
5991 Danny Smith <dannysmith@users.sourceforge.net>
5994 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
5995 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
5996 * config/i386/t-crtfm: Compile crtfastmath.o with
5997 -minline-all-stringops.
5999 2007-05-10 Richard Sandiford <richard@codesourcery.com>
6001 * config.host (sparc-wrs-vxworks): New target.
6003 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
6005 * config.host: Recognize fido.
6007 2007-04-04 Janis Johnson <janis187@us.ibm.com>
6009 * configure: Check host, not target, for decimal float support.
6011 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
6013 * config/i386/t-crtpc: New file.
6014 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
6015 (x86_64-*-linux*): Ditto.
6017 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
6019 * config.host (x86_64-*-mingw*): New target.
6021 2007-03-23 Michael Meissner <michael.meissner@amd.com>
6022 H.J. Lu <hongjiu.lu@intel.com>
6024 * Makefile.in (enable_decimal_float): New.
6026 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
6027 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
6028 (decbits-filenames): This.
6029 (decbits-objects): New.
6030 (libgcc-objects): Add $(decbits-objects).
6032 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
6033 Substitute enable_decimal_float.
6034 * configure: Regenerated.
6036 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
6038 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
6040 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
6042 * Makefile.in (install-info): New dummy target.
6044 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
6046 * config.host (bfin*-linux-uclibc*): Set extra_parts.
6048 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
6050 * Makefile.in: Add install-html and install-pdf dummy
6053 2007-02-05 Roger Sayle <roger@eyesopen.com>
6054 Daniel Jacobowitz <dan@codesourcery.com>
6056 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
6057 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
6058 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
6060 2007-01-29 Janis Johnson <janis187@us.ibm.com>
6062 * Makefile.in (dec-filenames): Add decExcept.
6064 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
6067 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
6070 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
6072 * configure.ac: Add --enable-version-specific-runtime-libs.
6073 Correct $slibdir default.
6074 * configure: Regenerated.
6076 2007-01-23 Joseph Myers <joseph@codesourcery.com>
6078 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
6080 2007-01-21 Andrew Pinski <pinskia@gmail.com>
6083 * config.host (alpha*-*-linux*): Set extra_parts.
6085 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
6087 * config/sh/t-linux: New.
6088 * config.host (sh*-*-linux*): Set tmake_file.
6090 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
6092 * Makefile.in (install): Handle multilibs.
6094 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
6096 * Makefile.in: Added .PHONY entry for documentation targets.
6098 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
6100 * Makefile.in: Add empty info, html, dvi, pdf targets.
6102 2007-01-04 Mike Stump <mrs@apple.com>
6104 * Makefile.in (MAKEINFO): Remove.
6107 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
6109 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
6110 * configure: Regenerate.
6111 * Makefile.in (host_subdir): Substitute it.
6112 (gcc_objdir): Use it.
6114 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
6116 * config.host (ia64*-*-linux*): Set tmake_file.
6118 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
6120 * Makefile.in (version): Define.
6122 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
6123 Paolo Bonzini <bonzini@gnu.org>
6125 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
6126 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
6127 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
6128 config/sparc/t-crtfm, config/t-slibgcc-darwin,
6129 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
6130 shared-object.mk, siditi-object.mk, static-object.mk: New files.
6131 * configure: Generated.