33ad51854798e69ae4019d07c8b5d80d93d8033b
[gcc.git] / libgcc / ChangeLog
1 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
2
3 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
4 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5 libgcc-s-objects.
6 * fixed-obj.mk: Only expand dependency if $o is not in
7 LIB2FUNCS_EXCLUDE.
8
9 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
10
11 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
12
13 2012-08-22 Joseph Myers <joseph@codesourcery.com>
14
15 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
16 depend on --enable-shared.
17 ($(lib1asmfuncs-o)): Use %.vis files independent of
18 --enable-shared.
19 * static-object.mk ($(base)$(objext), $(base).vis)
20 ($(base)_s$(objext)): Use same rules for visibility handling as in
21 shared-object.mk.
22
23 2012-08-21 Ian Lance Taylor <iant@google.com>
24
25 * config/i386/morestack.S (__morestack_non_split): Increase amount
26 of space allocated for non-split code stack.
27
28 2012-08-19 Joseph Myers <joseph@codesourcery.com>
29
30 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
31 even if inhibit_libc.
32
33 2012-08-17 Julian Brown <julian@codesourcery.com>
34
35 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
36 -fexceptions -fnon-call-exceptions if not defined.
37 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
38 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
39
40 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
41
42 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
43 type.
44
45 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
46
47 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
48 rs6000/t-slibgcc-aix.
49
50 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
51
52 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
53
54 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
55
56 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
57
58 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
59
60 PR driver/54171
61 * Makefile.in (version): Replace top_srcdir with srcdir.
62
63 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
64
65 * Makefile.in (version): set to BASE-VER file from gcc directory.
66
67 2012-08-01 Nick Clifton <nickc@redhat.com>
68
69 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
70 Implements __clrsb for an HImode argument.
71
72 2012-07-31 Nick Clifton <nickc@redhat.com>
73
74 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
75 Implements __clrsb for an HImode argument.
76 * config/stormy16/clrsbhi2.c: New file:
77 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
78
79 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
80
81 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
82
83 2012-07-19 Tristan Gingold <gingold@adacore.com>
84 Richard Henderson <rth@redhat.com>
85
86 * unwind-seh.c: New file.
87 * unwind-generic.h: Include windows.h for SEH.
88 (_Unwind_Exception): Use 6 private fields for SEH.
89 (_GCC_specific_handler): Declare.
90 * unwind-c.c (__gcc_personality_seh0): New function.
91 Adjust for SEH.
92 * config/i386/libgcc-cygming.ver: New file.
93 * config/i386/t-seh-eh: New file.
94 * config.host (x86_64-*-mingw*): Default to seh.
95
96 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
97
98 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
99
100 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
101
102 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
103 __builtin_expect when checking for exceptions.
104 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
105
106 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
107
108 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
109 function declaration.
110 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
111 (FP_RND_MASK): New.
112 * config/ia64/sfp-exceptions.c: New.
113 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
114
115 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
116
117 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
118 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
119 * config/i386/64/sfp-machine: ... (delete here) ...
120 * config/i386/sfp-machine.h: ... to here.
121 (FP_EX_MASK): Remove.
122 (FP_RND_MASK): New.
123 (FP_INIT_ROUNDMODE): Declare asm as volatile.
124
125 2012-06-11 Sriraman Tallam <tmsriram@google.com>
126
127 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
128 * config/i386/libgcc-sol2.ver: Ditto.
129 * config/i386/libgcc-glibc.ver: Ditto.
130
131 2012-06-11 Roland McGrath <mcgrathr@google.com>
132
133 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
134 If __GLIBC__ is defined, refer to __pthread_key_create instead of
135 pthread_cancel.
136
137 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
138
139 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
140 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
141 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
142 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
143 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
144 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
145 * config/i386/64/sfp-machine: ... (delete here) ...
146 * config/i386/sfp-machine.h: ... to here.
147 (FP_EX_MASK): New.
148 (__sfp_handle_exceptions): New function declaration.
149 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
150 * config/i386/sfp-exceptions.c: New.
151 * config/i386/t-softfp: New.
152 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
153 i386/t-softfp to tmake_file.
154
155 2012-06-03 David S. Miller <davem@davemloft.net>
156
157 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
158 change.
159
160 2012-05-31 David S. Miller <davem@davemloft.net>
161
162 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
163 multiply and divide instructions on 32-bit when V9.
164 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
165
166 2012-05-29 Joseph Myers <joseph@codesourcery.com>
167
168 * config/arm/ieee754-df.S: Fix typos.
169 * config/arm/ieee754-sf.S: Fix typos.
170 * config/c6x/libunwind.S: Fix typos.
171 * config/epiphany/udivsi3-float.c: Fix typos.
172 * config/microblaze/muldi3_hard.S: Fix typos.
173 * config/picochip/adddi3.S: Fix typos.
174 * config/picochip/ashlsi3.S: Fix typos.
175 * config/picochip/ashrsi3.S: Fix typos.
176 * config/picochip/clzsi2.S: Fix typos.
177 * config/picochip/cmpsi2.S: Fix typos.
178 * config/picochip/divmod15.S: Fix typos.
179 * config/picochip/divmodhi4.S: Fix typos.
180 * config/picochip/divmodsi4.S: Fix typos.
181 * config/picochip/longjmp.S: Fix typos.
182 * config/picochip/lshrsi3.S: Fix typos.
183 * config/picochip/parityhi2.S: Fix typos.
184 * config/picochip/popcounthi2.S: Fix typos.
185 * config/picochip/setjmp.S: Fix typos.
186 * config/picochip/subdi3.S: Fix typos.
187 * config/picochip/ucmpsi2.S: Fix typos.
188 * config/picochip/udivmodhi4.S: Fix typos.
189 * config/picochip/udivmodsi4.S: Fix typos.
190 * config/spu/divv2df3.c: Fix typos.
191 * config/spu/mfc_multi_tag_release.c: Fix typos.
192 * config/spu/mfc_tag_release.c: Fix typos.
193 * configure.ac: Fix typos.
194 * configure: Regenerate.
195
196 2012-05-25 Ian Lance Taylor <iant@google.com>
197
198 * config/i386/morestack.S (__morestack_non_split): Check whether
199 caller is varargs and needs %bp to hold the stack frame on return.
200
201 2012-05-25 Olivier Hainque <hainque@adacore.com>
202
203 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
204 sequence in the non pic case on VxWorks.
205
206 2012-05-24 Olivier Hainque <hainque@adacore.com>
207
208 * Makefile.in: Move dependency on install-unwind_h from
209 "install-leaf" to "install".
210
211 2012-05-24 Olivier Hainque <hainque@adacore.com>
212
213 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
214 Use a separate command for stamp removals.
215
216 2012-05-21 Andrew Pinski <apinski@cavium.com>
217
218 PR bootstrap/53183
219 * configure.ac: Define the default includes to being none.
220 * configure: Regenerate.
221
222 2012-05-16 Olivier Hainque <hainque@adacore.com>
223
224 * Makefile.in (install-unwind_h): Rename into ...
225 (install-unwind_h-forbuild): New target.
226 (all): Use it instead of the former install-unwind_h.
227 (install-unwind_h): Reinstate, copy to user install destination
228 for include files, not to the internal gcc object directory one.
229 (install-leaf): Depend on it.
230
231 2012-05-15 Olivier Hainque <hainque@adacore.com>
232
233 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
234 register numbers. LR_REGNO replaces R_LR.
235 (ucontext_for): New, helper for ...
236 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
237 and 5.3 of ...
238 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
239
240 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
241
242 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
243 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
244 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
245 i386/t-cpuinfo ...
246 (i[34567]86-*-*, x86_64-*-*): ... here.
247
248 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
249 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
250
251 * config/i386/i386-cpuinfo.c: Rename to ...
252 * config/i386/cpuinfo.c: ... this.
253 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
254
255 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
256 (libgcc_cv_init_priority): New test.
257 * configure: Regenerate.
258 * config.in: New file.
259 * Makefile.in (clean): Rename config.h to auto-target.h.
260 (config.h): Likewise.
261 (stamp-h): Likewise.
262
263 * config/i386/cpuinfo.c (auto-target.h): Include.
264 (CONSTRUCTOR_PRIORITY): Define.
265 (__cpu_indicator_init): Use it.
266
267 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
268
269 * longlong.h: Use a URL instead of an FSF postal address.
270 Replace spaces with tab.
271
272 2012-05-08 Teresa Johnson <tejohnson@google.com>
273
274 * libgcov.c (gcov_clear, __gcov_reset): New functions.
275 (__gcov_dump): Ditto.
276 (gcov_dump_complete): New global variable.
277 (gcov_exit): Export hidden to enable use in L_gcov_dump.
278 (__gcov_flush): Outline functionality now in gcov_clear.
279 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
280
281 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
282
283 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
284 (mips*-*-linux*): Include mips/t-tpbit when long double is
285 16 bytes long.
286
287 2012-04-25 Sriraman Tallam <tmsriram@google.com>
288
289 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
290 (get_available_features): New argument. Check for AVX2.
291 (__cpu_indicator_init): Modify call to get_available_features.
292
293 2012-04-25 Alan Modra <amodra@gmail.com>
294
295 * config/rs6000/crtsavevr.S: New file.
296 * config/rs6000/crtrestvr.S: New file.
297 * config/rs6000/t-savresfgpr: Build the above.
298 * config/rs6000/t-netbsd: Likewise.
299
300 2012-04-24 Sriraman Tallam <tmsriram@google.com>
301
302 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
303
304 2012-04-24 Sriraman Tallam <tmsriram@google.com>
305
306 * libgcc/config/i386/i386-cpuinfo.c: New file.
307 * libgcc/config/i386/t-cpuinfo: New file.
308 * libgcc/config.host: Include t-cpuinfo.
309 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
310
311 2012-04-24 Chao-ying Fu <fu@mips.com>
312
313 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
314
315 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
316
317 struct siginfo vs. siginfo_t
318
319 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
320 siginfo_t instead of struct siginfo.
321 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
322 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
323 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
324 (ia64_handle_unwabi): Likewise.
325 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
326 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
327 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
328 (sh_fallback_frame_state): Likewise.
329 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
330 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
331
332 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
333
334 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
335 system call number.
336
337 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
338
339 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
340 if it hasn't been previously saved.
341
342 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
343
344 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
345 only for glibc.
346
347 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
348
349 PR target/52737
350 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
351 instead of __AVR_HAVE_8BIT_SP__.
352
353 2012-03-26 Tristan Gingold <gingold@adacore.com>
354
355 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
356 (unw_table_entry): Use unw_word instead of unsigned long.
357 (_Unwind_FindTableEntry): Likewise.
358 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
359 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
360 (_Unwind_FindTableEntry): Likewise.
361 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
362 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
363 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
364 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
365 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
366 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
367 (uw_init_context_1, uw_install_context): Likewise.
368 (unw_word): Move to unwind-ia64.h
369
370 2012-03-26 Tristan Gingold <gingold@adacore.com>
371
372 * config/vms/vms-ucrt0.c: Update copyright years.
373 Add a sanity check.
374 (___gcc_main_flags): Declare.
375 (__main): Check flags to remap argv and exit code.
376 * config.host (*-*-*vms*): Adjust extra_parts.
377 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
378 (crt0.o): Add.
379
380 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
381
382 * arm/lib1funcs.asm (ctzsi2): New function.
383 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
384 * arm/t-linux (LIB1ASMFUNCS): Likewise.
385 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
386 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
387 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
388 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
389
390 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
391
392 * config.host: Add bits to support powerpc64-*-freebsd*.
393 * config/rs6000/freebsd-unwind.h: New file.
394 * config/rs6000/t-freebsd64: New file.
395
396 2012-03-20 Richard Guenther <rguenther@suse.de>
397
398 PR gcov-profile/52627
399 * libgcov.c (init_mx): Fix mutex name.
400
401 2012-03-16 Tristan Gingold <gingold@adacore.com>
402
403 * config/ia64/vms-unwind.h: Remove ulong (and replace
404 it by unw_reg where used). Define unw_reg with __int64.
405
406 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
407
408 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
409 Solaris 8 handling.
410 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
411 Solaris 8 handling.
412 (sparc_is_sighandler): Likewise.
413
414 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
415
416 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
417 <= saved reg size.
418
419 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
420
421 * config/arm/crtn.S: Fix typo.
422
423 2012-03-13 Richard Guenther <rguenther@suse.de>
424
425 * libgcov.c: Remove stdio.h include and NULL un-define.
426
427 2012-03-13 Richard Guenther <rguenther@suse.de>
428
429 PR target/52569
430 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
431
432 2012-03-13 Richard Guenther <rguenther@suse.de>
433
434 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
435
436 2012-03-13 Richard Guenther <rguenther@suse.de>
437
438 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
439 and __gthread_mutex_init_function definitions.
440
441 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
442
443 * config.host (mips*-*-openbsd*): Remove.
444
445 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
446
447 * config.host: Remove alpha*-dec-osf5.1* handling.
448 * config/alpha/gthr-posix.c: Remove.
449 * config/alpha/libgcc-osf5.ver: Remove.
450 * config/alpha/osf5-unwind.h: Remove.
451 * config/alpha/t-osf-pthread: Remove.
452 * config/alpha/t-slibgcc-osf: Remove.
453 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
454 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
455 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
456 * mkmap-flat.awk: Remove osf_export handling.
457
458 2012-03-12 Richard Guenther <rguenther@suse.de>
459
460 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
461 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
462 (__gthread_mutex_init_function): New function.
463 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
464
465 PR gcov/49484
466 * libgcov.c: Include gthr.h.
467 (__gcov_flush_mx): New global variable.
468 (init_mx, init_mx_once): New functions.
469 (__gcov_flush): Protect self with a mutex.
470 (__gcov_fork): Re-initialize mutex after forking.
471 * unwind-dw2-fde.c: Change condition under which to use
472 __GTHREAD_MUTEX_INIT_FUNCTION.
473
474 2012-03-12 Tristan Gingold <gingold@adacore.com>
475
476 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
477 * config/ia64/t-vms: Likewise.
478
479 2012-03-11 Michael Hope <michael.hope@linaro.org>
480
481 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
482 for Thumb-2.
483
484 2012-03-07 Walter Lee <walt@tilera.com>
485
486 * config/tilepro/atomic.c: Rename "atomic_" prefix to
487 "arch_atomic_".
488 (atomic_xor): Rename and move definition to
489 config/tilepro/atomic.h.
490 (atomic_nand): Ditto.
491 * config/tilepro/atomic.h: Rename "atomic_" prefix to
492 "arch_atomic_".
493 (arch_atomic_xor): Move from config/tilepro/atomic.c.
494 (arch_atomic_nand): Ditto.
495
496 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
497
498 PR target/52507
499 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
500
501 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
502
503 PR target/52505
504 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
505 from RAM.
506
507 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
508
509 PR target/52461
510 PR target/52508
511 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
512 if RAMPZ affects reading from RAM.
513 (__tablejump_elpm__): Ditto.
514 (.xload): Ditto.
515 (__movmemx_hi): Ditto.
516 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
517 (__do_global_dtors): Ditto.
518 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
519 (__movmemx_hi): Ditto.
520
521 2012-03-05 Richard Henderson <rth@redhat.com>
522
523 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
524 [ARM] (count_trailing_zeros): Use the builtin.
525
526 2012-03-01 Kai Tietz <ktietz@redhat.com>
527
528 * soft-fp: Imported from glibc upstream.
529
530 2012-02-28 Kai Tietz <ktietz@redhat.com>
531
532 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
533 for mingw-targets as attribute gcc_struct.
534
535 2012-02-28 Ian Lance Taylor <iant@google.com>
536
537 * generic-morestack.c (__splitstack_releasecontext): Correct call
538 to __morestack_release_segments.
539
540 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
541
542 PR target/52390
543 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
544 for __linux__ when removing signals from __morestack_fullmask.
545
546 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
547
548 PR target/52261
549 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
550
551 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
552
553 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
554 instead of HAVE_INITFINI_ARRAY.
555 * config/ia64/crtend.S: Likewise.
556
557 2012-02-20 Kai Tietz <ktietz@redhat.com>
558
559 PR libstdc++/52300
560 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
561
562 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
563 to w32-unwind.h header.
564
565 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
566
567 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
568 (mips*-*-linux*): Remove t-slibgcc-libgcc.
569 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
570 * config/mips/mips16.S (__mips16_rdhwr): Delete.
571
572 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
573
574 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
575
576 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
577
578 PR libitm/52220
579 * config/darwin-crt-tm.c: Correct typo.
580
581 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
582 Patrick Marlier <patrick.marlier@gmail.com>
583
584 PR libitm/52220
585 * config/darwin-crt-tm.c: Generate dummy functions.
586
587 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
588 Patrick Marlier <patrick.marlier@gmail.com>
589
590 PR libitm/52042
591 * config/darwin-crt-tm.c (getTMCloneTable): New function.
592 (__doTMRegistrations): Call it.
593 (__doTMdeRegistrations): Likewise.
594
595 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
596 Anatoly Sokolov <aesok@post.ru>
597 Eric Weddington <eric.weddington@atmel.com>
598
599 PR target/52261
600 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
601 (__epilogue_restores__): Ditto.
602
603 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
604
605 PR target/51921
606 PR target/52205
607 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
608 Solaris 11 and slightly reformat.
609 (sparc_is_sighandler): Likewise.
610
611 2012-02-14 Walter Lee <walt@tilera.com>
612
613 * config.host: Handle tilegx and tilepro.
614 * config/tilegx/sfp-machine.h: New file.
615 * config/tilegx/sfp-machine32.h: New file.
616 * config/tilegx/sfp-machine64.h: New file.
617 * config/tilegx/t-crtstuff: New file.
618 * config/tilegx/t-softfp: New file.
619 * config/tilegx/t-tilegx: New file.
620 * config/tilepro/atomic.c: New file.
621 * config/tilepro/atomic.h: New file.
622 * config/tilepro/linux-unwind.h: New file.
623 * config/tilepro/sfp-machine.h: New file.
624 * config/tilepro/softdivide.c: New file.
625 * config/tilepro/softmpy.S: New file.
626 * config/tilepro/t-crtstuff: New file.
627 * config/tilepro/t-tilepro: New file.
628
629 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
630
631 PR libstdc++/51296
632 PR libstdc++/51906
633 * gthr-posix.h: Allow static initializer macros to be disabled.
634 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
635
636 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
637
638 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
639 Add t-slibgcc-libgcc to tmake_file.
640 * config/mips/libgcc-mips16.ver: Revert previous patch.
641 * config/mips/mips16.S (__mips16_rdhwr): Hide.
642
643 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
644 Jayant R Sonar <jayant.sonar@kpitcummins.com>
645
646 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
647 * config/cr16/crti.S: New file.
648 * config/cr16/crtlibid.S: New file.
649 * config/cr16/crtn.S: New file.
650 * config/cr16/lib1funcs.S: New file.
651 * config/cr16/t-cr16: New file.
652 * config/cr16/t-crtlibid: New file.
653 * config/cr16/unwind-dw2.h: New file.
654 * config/cr16/unwind-cr16.c: New file.
655 * config/cr16/divmodhi3.c: New file.
656
657 2012-01-25 Alan Modra <amodra@gmail.com>
658
659 * config/rs6000/t-linux64: Delete. Move..
660 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
661 * config/rs6000/t-linux: ..and libgcc flags to here.
662
663 2012-01-22 Douglas B Rupp <rupp@gnat.com>
664
665 * config.host (i[34567]86-*-interix3*):
666 Change triplet to i[34567]86-*-interix[3-9]*.
667 * configure: Regenerate.
668
669 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
670 Richard Sandiford <rdsandiford@googlemail.com>
671
672 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
673 * config/mips/mips16.S (__mips16_rdhwr): New function.
674 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
675
676 2012-01-11 Nathan Sidwell <nathan@acm.org>
677
678 * libgcov.c (__gcov_init): Ignore objects with no functions.
679
680 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
681
682 PR target/49868
683 Extend __pgmx semantics to linearize memory.
684 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
685 * config/avr/lib1funcs.S (__xload_1): New function.
686 (__movmemx_qi, __movmemx_hi): New functions.
687 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
688 semantics.
689
690 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
691
692 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
693 purported sigacthandler address isn't null before dereferencing it.
694 (sparc_is_sighandler): Likewise.
695
696 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
697
698 PR ada/41929
699 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
700 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
701 (sparc_is_sighandler): Likewise.
702 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
703
704 2012-01-06 Tristan Gingold <gingold@adacore.com>
705
706 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
707 compatibility thunks...
708 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
709 (crtbeginS.o, crtendS.o): ... and these to ...
710 * config/ia64/t-ia64-elf: ... this new file.
711 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
712 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
713
714 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
715
716 * configure: Regenerate.
717 * config/s390/t-crtstuff: Remove -fPIC.
718
719 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
720
721 PR bootstrap/51006
722 * enable-execute-stack-mprotect.c (getpagesize): Do not define
723 for NetBSD.
724
725 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
726
727 PR target/51345
728 * config/avr/lib1funcs.S: Remove FIXME comments.
729 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
730
731 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
732
733 Implement light-weight DImode support.
734 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
735 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
736 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
737 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
738
739 2011-12-30 Nathan Sidwell <nathan@acm.org>
740
741 * libgcov.c (gcov_crc32): Remove global var.
742 (free_fn_data): New function.
743 (buffer_fn_data): Pass in filename, more robust error recovery.
744 (crc32_unsigned): New function.
745 (gcov_exit): More robust detection of new program. More robust
746 error recovery.
747 (__gcov_init): Do not update program's crc here.
748
749 2011-12-21 Tristan Gingold <gingold@adacore.com>
750
751 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
752
753 2011-12-21 Ian Lance Taylor <iant@google.com>
754
755 * config/i386/morestack.S: Simplify CFI opcodes throughout.
756
757 2011-12-20 Ian Lance Taylor <iant@google.com>
758
759 * config/i386/morestack.S (__morestack_non_split): If there is
760 enough stack space already, don't split. Ask for more stack space
761 than we required.
762
763 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
764
765 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
766 `sys/sdt.h'.
767 (_Unwind_DebugHook): New function.
768 (uw_restore_core_regs): New define.
769 (unwind_phase2): Use uw_restore_core_regs instead of
770 restore_core_regs.
771 (unwind_phase2_forced): Likewise.
772 (__gnu_Unwind_Resume): Likewise.
773
774 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
775
776 * config/alpha/linux-unwind.h: Update copyright years.
777 (MD_FROB_UPDATE_CONTEXT): New define.
778 (alpha_frob_update_context): New function.
779
780 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
781
782 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
783 tmake_file rather replacing it.
784
785 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
786
787 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
788 function is not used for PPC64.
789 (save_world): Amend comments. Update the VRsave mask to reflect the
790 saved regs.
791 (rest_world): Update comments, do not clobber r10, do not use r8.
792 (eh_rest_world_r10): Amend comments, do not use r8.
793 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
794 no longer used, move restore of CR and target address to the end of
795 the routine.
796
797 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
798
799 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
800 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
801
802 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
803
804 PR target/49313
805 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
806 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
807
808 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
809
810 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
811
812 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
813
814 PR target/49313
815 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
816 * config/avr/lib1funcs.S (__muldi3): New function.
817
818 2011-12-06 Andrew Pinski <apinski@cavium.com>
819
820 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
821 size of func_ptr.
822 (__frame_dummy_init_array_entry): Likewise.
823
824 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
825
826 Forward-port from gcc-4_6-branch r181936 2011-12-02.
827
828 PR target/51345
829 PR target/51002
830 * config/avr/lib1funcs.S (__prologue_saves__,
831 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
832 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
833
834 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
835
836 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
837
838 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
839
840 PR other/51272
841 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
842 (_ITM_deregisterTMCloneTable): Likewise.
843 (__register_frame_info): Fix unused warning.
844 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
845 pthread_default_stacksize_np): Likewise.
846 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
847
848 2011-11-29 DJ Delorie <dj@redhat.com>
849
850 * config.host (rl78-*-elf): New case.
851 * config/rl78: New directory for the Renesas RL78.
852
853 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
854
855 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
856 formatting.
857
858 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
859
860 PR other/51022
861 * config/rs6000/t-savresfgpr: New file.
862 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
863 $(srcdir)/config/rs6000/eabi.S.
864 * config/rs6000/t-ppccomm-ldbl: Remove.
865 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
866 tmake_file.
867 (powerpc-*-eabispe*): Likewise.
868 (powerpc-*-eabi*): Likewise.
869 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
870 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
871 to tmake_file, remove rs6000/t-ppccomm-ldbl.
872 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
873 tmake_file.
874 (powerpc-*-eabisim*): Likewise.
875 (powerpc-*-elf*): Likewise.
876 (powerpc-*-eabialtivec*): Likewise.
877 (powerpc-xilinx-eabi*): Likewise.
878 (powerpc-*-rtems*): Likewise.
879 (powerpcle-*-elf*): Likewise.
880 (powerpcle-*-eabisim*): Likewise.
881 (powerpcle-*-eabi*): Likewise.
882
883 2011-11-27 Ian Lance Taylor <iant@google.com>
884
885 * generic-morestack.c (__splitstack_find): Check for NULL old
886 stack value.
887 (__splitstack_resetcontext): New function.
888 (__splitstack_releasecontext): New function.
889 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
890
891 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
892
893 * config/darwin-crt-tm.c: Correct comments, use correct licence.
894
895 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
896
897 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
898
899 2011-11-26 Richard Henderson <rth@redhat.com>
900
901 * config/m68k/linux-atomic.c: New file.
902 * config/m68k/t-linux: New file.
903 * config.host (m68k-uclinux, m68k-linux): Use it.
904
905 2011-11-26 Richard Henderson <rth@redhat.com>
906
907 * crtstuff.c (__TMC_LIST__): Mark used not unused.
908 (__TMC_END__): Only declare if hidden is available; in the definition,
909 if hidden is unavailable add a null record.
910 (deregister_tm_clones, register_tm_clones): New.
911 (__do_global_dtors_aux, frame_dummy): Use them.
912 (__do_global_dtors, __do_global_ctors_1): Likewise.
913
914 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
915
916 * config/darwin-crt-tm.c: New file.
917 * config.host (darwin): Build crttms.o crttme.o to provide
918 startup and shutdown for tm clones.
919 * config/t-darwin (crttms.o): New build rule.
920 (crttme.o): Likewise.
921
922 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
923
924 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
925 et al.
926
927 2011-11-21 Richard Henderson <rth@redhat.com>
928
929 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
930 (__TMC_LIST__, __TMC_END__): New.
931 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
932 (__do_global_dtors): Likewise.
933 (frame_dummy): Call _ITM_registerTMCloneTable.
934 (__do_global_ctors_1): Likewise.
935
936 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
937
938 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
939 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
940 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
941 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
942 * config/i386/t-darwin64: Remove.
943 * config/sh/t-netbsd (LIB2ADD): Remove.
944
945 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
946
947 PR target/49313
948 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
949 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
950 * config/avr/lib1funcs.S (wmov): New assembler macro.
951 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
952 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
953 (__udivmod64): New function.
954 (__negdi2): New function.
955
956 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
957
958 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
959 *-*-freebsd*aout*): Remove.
960
961 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
962
963 * static-object.mk (c_flags-$o): Save c_flags.
964 ($(base)$(objext)): Use it.
965
966 2011-11-18 Steve Ellcey <sje@cup.hp.com>
967
968 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
969
970 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
971
972 PR target/49868
973 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
974 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
975 New functions.
976
977 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
978
979 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
980 functions.
981 (aeabi_uidivmod): Likewise.
982 (umodsi3): Likewise.
983 (divsi3): Likewise.
984 (aeabi_idivmod): Likewise.
985 (modsi3): Likewise.
986
987 2011-11-16 Tristan Gingold <gingold@adacore.com>
988
989 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
990
991 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
992
993 PR target/49868
994 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
995 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
996
997 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
998
999 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
1000 tmake_file list.
1001 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
1002 * config/pa/t-stublib64: Delete.
1003
1004 2011-11-12 Richard Henderson <rth@redhat.com>
1005
1006 * config/rs6000/linux-unwind.h (frob_update_context): Properly
1007 cast the pointer argument to _Unwind_SetGRPtr.
1008
1009 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1010
1011 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
1012
1013 2011-11-09 Ian Lance Taylor <iant@google.com>
1014
1015 * generic-morestack.c: Include <string.h>.
1016 (uintptr_type): Define.
1017 (struct initial_sp): Add dont_block_signals field. Reduce size of
1018 extra array by 1.
1019 (allocate_segment): Set prev field to NULL. Don't set
1020 __morestack_current_segment or __morestack_segments.
1021 (__generic_morestack): Update current->prev and *pp after calling
1022 allocate_segment.
1023 (__morestack_block_signals): Don't do anything if
1024 dont_block_signals is set.
1025 (__morestack_unblock_signals): Likewise.
1026 (__generic_findstack): Check for initial_sp == NULL. Add casts to
1027 uintptr_type.
1028 (__splitstack_block_signals): New function.
1029 (enum __splitstack_content_offsets): Define.
1030 (__splitstack_getcontext, __splitstack_setcontext): New functions.
1031 (__splitstack_makecontext): New function.
1032 (__splitstack_block_signals_context): New function.
1033 (__splitstack_find_context): New function.
1034 * config/i386/morestack.S (__morestack_get_guard): New function.
1035 (__morestack_set_guard, __morestack_make_guard): New functions.
1036 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1037
1038 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1039
1040 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
1041 (i[34567]86-*-mingw*): ... here.
1042 (x86_64-*-mingw*): ... here.
1043
1044 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1045
1046 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
1047
1048 2011-11-07 Nathan Sidwell <nathan@acm.org>
1049
1050 * libgcov.c (struct gcov_fn_buffer): New struct.
1051 (buffer_fn_data): New helper.
1052 (gcov_exit): Rework for new gcov data structures.
1053
1054 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
1055
1056 PR target/49313
1057 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1058
1059 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1060
1061 * config.host (tmake_file): Correct comment.
1062 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1063 t-libgcc-pic.
1064 (bfin*-uclinux*): Likewise.
1065 (bfin*-linux-uclibc*): Likewise.
1066 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1067
1068 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1069 assigning.
1070 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1071 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1072 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1073 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1074 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1075 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1076 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1077 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1078 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1079 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1080 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1081 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1082 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1083
1084 * config/bfin/t-elf: Remove.
1085 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1086
1087 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1088
1089 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1090 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1091 (lm32-*-elf*, lm32-*-rtems*): Split into ...
1092 (lm32-*-elf*): ... this.
1093 (lm32-*-rtems*): ... and this.
1094 Add to tmake_file.
1095 (m32r-*-rtems*): Add to tmake_file.
1096 (moxie-*-rtems*): Likewise.
1097 (sparc-*-rtems*): Likewise.
1098 Remove t-rtems from tmake_file.
1099 (sparc64-*-rtems*): Likewise.
1100 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1101 instead.
1102
1103 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1104
1105 PR bootstrap/50982
1106 * config/gthr-posix.h: Move ...
1107 * gthr-posix.h: ... here.
1108 * config/gthr-lynx.h: Reflect this.
1109 * config/gthr-vxworks.h: Likewise.
1110 * config/rs6000/gthr-aix.h: Likewise.
1111 * configure.ac (target_thread_file): Likewise.
1112 * configure: Regenerate.
1113
1114 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1115
1116 * config.host (arm*-*-rtemseabi*): New target.
1117
1118 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1119
1120 PR other/50991
1121 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1122 extra-parts.
1123
1124 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
1125
1126 * config.host (epiphany-*-elf*): New configuration.
1127 * config/epiphany: New Directory.
1128
1129 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
1130
1131 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1132 * config/avr/t-rtems: New.
1133 Filter out _exit from LIB1ASMFUNCS.
1134
1135 2011-11-04 David S. Miller <davem@davemloft.net>
1136
1137 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1138 * configure: Rebuild.
1139
1140 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1141
1142 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1143 variable.
1144
1145 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
1146
1147 PR target/50931
1148 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1149 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1150
1151 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
1152
1153 PR target/50989
1154 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1155
1156 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1157
1158 * config/c6x/t-elf (LIB2ADDEH): Set.
1159 * config/c6x/t-c6x-elf: Remove.
1160
1161 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1162
1163 * config/i386/sol2-ci.S: Rename to ...
1164 * config/i386/crti.S: ... this.
1165 * config/i386/sol2-cn.S: Rename to ...
1166 * config/i386/crtn.S: ... this.
1167 * config/sparc/sol2-ci.S: Rename to ...
1168 * config/sparc/crti.S: ... this.
1169 * config/sparc/sol2-cn.S: Rename to ...
1170 * config/sparc/crtn.S: ... this.
1171 * config/t-sol2 (CUSTOM_CRTIN): Remove.
1172 (crti.o, crtn.o): Remove.
1173
1174 2011-11-04 Tristan Gingold <gingold@adacore.com>
1175
1176 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
1177
1178 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
1179
1180 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
1181
1182 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
1183
1184 * config.host (crisv32-*-none, cris-*-none): Remove.
1185 (crisv32-*-elf): Append to tmake_file, don't just set it.
1186 (cris-*-elf): Add missing t-fdpbit to tmake_file.
1187
1188 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1189
1190 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
1191 (ecrtn$(objext)): Likewise.
1192 (ncrti$(objext)): Likewise.
1193 (ncrtn$(objext)): Likewise.
1194
1195 2011-11-03 Andreas Schwab <schwab@redhat.com>
1196
1197 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
1198
1199 2011-11-02 David S. Miller <davem@davemloft.net>
1200
1201 * configure.ac: Set host_address on sparc too.
1202 * configure: Regenerate.
1203 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
1204 based upon host_address.
1205 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
1206
1207 2011-11-02 Jason Merrill <jason@redhat.com>
1208
1209 * config/rs6000/t-ppccomm: Add missing \.
1210
1211 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1212
1213 * gthr-single.h, gthr.h: New files.
1214 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
1215 config/gthr-vxworks.h, config/i386/gthr-win32.h,
1216 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
1217 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
1218 * config/i386/gthr-win32.c: Include "gthr-win32.h".
1219 * configure.ac (thread_header): New variable.
1220 Set it depending on target_thread_file.
1221 (gthr-default.h): Link from $thread_header.
1222 * configure: Regenerate.
1223 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
1224
1225 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1226
1227 * configure.ac (tm_file_): New variable.
1228 Determine from tm_file.
1229 (tm_file, tm_defines): Substitute.
1230 * configure: Regenerate.
1231 * mkheader.sh: New file.
1232 * Makefile.in (clean): Remove libgcc_tm.h.
1233 ($(objects)): Depend on libgcc_tm.h.
1234 (libgcc_tm_defines, libgcc_tm_file): New variables.
1235 (libgcc_tm.h, libgcc_tm.stamp): New targets.
1236 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
1237 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
1238 ($(extra-parts)): Depend on libgcc_tm.h.
1239 * config.host (tm_defines, tm_file): New variable.
1240 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
1241 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
1242 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
1243 (avr-*-rtems*): Likewise.
1244 (avr-*-*): Likewise.
1245 (frv-*-elf): Likewise.
1246 (frv-*-*linux*): Likewise.
1247 (h8300-*-rtems*): Likewise.
1248 (h8300-*-elf*): Likewise.
1249 (i[34567]86-*-darwin*): Likewise.
1250 (x86_64-*-darwin*): Likewise.
1251 (rx-*-elf): Likewise.
1252 (tic6x-*-uclinux): Likewise.
1253 (tic6x-*-elf): Likewise.
1254 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
1255 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
1256 * config/i386/cygming-crtbegin.c: Likewise.
1257 * config/i386/cygming-crtend.c: Likewise.
1258 * config/ia64/fde-vms.c: Likewise.
1259 * config/ia64/unwind-ia64.c: Likewise.
1260 * config/libbid/bid_gcc_intrinsics.h: Likewise.
1261 * config/rs6000/darwin-fallback.c: Likewise.
1262 * config/stormy16/lib2funcs.c: Likewise.
1263 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
1264 * crtstuff.c: Likewise.
1265 * dfp-bit.h: Likewise.
1266 * emutls.c: Likewise.
1267 * fixed-bit.c: Likewise.
1268 * fp-bit.c: Likewise.
1269 * generic-morestack-thread.c: Likewise.
1270 * generic-morestack.c: Likewise.
1271 * libgcc2.c: Likewise.
1272 * libgcov.c: Likewise.
1273 * unwind-dw2-fde-dip.c: Likewise.
1274 * unwind-dw2-fde.c: Likewise.
1275 * unwind-dw2.c: Likewise.
1276 * unwind-sjlj.c: Likewise.
1277
1278 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1279
1280 * configure.ac: Include ../config/picflag.m4.
1281 (GCC_PICFLAG): Call it.
1282 Substitute.
1283 * configure: Regenerate.
1284 * Makefile.in (gcc_srcdir): Remove.
1285 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
1286 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
1287 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
1288 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
1289 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
1290 Use $<.
1291 Remove comment.
1292 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
1293 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
1294 to refer to libgcc2.c.
1295 Use $<.
1296 * config/darwin-64.c: New file.
1297 * config/darwin-crt3.c: Remove comment.
1298 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
1299 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
1300 config/udivmodsi4.c: New files.
1301 * config/memcmp.c, config/memcpy.c, config/memmove.c,
1302 config/memset.c: New files.
1303 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
1304 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
1305 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
1306 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
1307 * config/t-openbsd-thread: New file.
1308 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
1309 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
1310 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
1311 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
1312 qrnnd.S.
1313 Adapt filename.
1314 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
1315 to refer to gthr-posix.c.
1316 * config/alpha/t-vms (LIB2ADD): Set.
1317 * config/alpha/vms-gcc_shell_handler.c: New file.
1318 * config/arm/bpabi.c, config/arm/fp16.c,
1319 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
1320 config/arm/unaligned-funcs.c: New files.
1321 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
1322 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1323 * config/arm/t-linux: Likewise.
1324 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
1325 * config/arm/t-netbsd: New file.
1326 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
1327 * config/arm/t-symbian (LIB2ADD_ST): Set.
1328 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
1329 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1330 * config/bfin/t-elf: New file.
1331 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
1332 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
1333 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
1334 config/c6x/ltf.c: New files.
1335 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
1336 (HOST_LIBGCC2_CFLAGS): Set.
1337 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
1338 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1339 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
1340 New files.
1341 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
1342 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
1343 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
1344 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
1345 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
1346 files.
1347 * config/frv/t-frv (LIB2ADD): Set.
1348 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1349 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
1350 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
1351 config/h8300/popcounthi2.c: New files.
1352 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1353 * config/i386/gthr-win32.c: New file.
1354 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
1355 * config/i386/t-cygwin: Likewise.
1356 * config/i386/t-darwin, config/i386/t-darwin64,
1357 config/i386/t-gthr-win32, config/i386/t-interix: New files.
1358 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
1359 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1360 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1361 * config/ia64/quadlib.c: New file.
1362 * config/ia64/t-hpux (LIB2ADD): Set.
1363 * config/ia64/t-ia64: Add comment.
1364 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
1365 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1366 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
1367 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
1368 * config/m32c/t-m32c (LIB2ADD): Set.
1369 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1370 * config/m32r/t-m32r: Likewise.
1371 * config/m68k/fpgnulib.c: New file.
1372 * config/m68k/t-floatlib (LIB2ADD): Set.
1373 (xfgnulib.c): New target.
1374 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
1375 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
1376 * config/mep/t-mep (LIB2ADD): Set.
1377 * config/microblaze/divsi3.asm: Rename to divsi3.S.
1378 * config/microblaze/moddi3.asm: Rename to moddi3.S.
1379 * config/microblaze/modsi3.asm: Rename to modsi3.S.
1380 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
1381 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
1382 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
1383 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
1384 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
1385 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
1386 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
1387 New files.
1388 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
1389 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
1390 * config/pa/fptr.c, config/pa/lib2funcs.S,
1391 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
1392 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1393 (LIB2ADD, LIB2ADD_ST): Set.
1394 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
1395 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
1396 Set.
1397 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
1398 * config/pdp11/t-pdp11: New file.
1399 * config/picochip/libgccExtras/adddi3.S,
1400 config/picochip/libgccExtras/ashlsi3.S,
1401 config/picochip/libgccExtras/ashrsi3.S,
1402 config/picochip/libgccExtras/clzsi2.S,
1403 config/picochip/libgccExtras/cmpsi2.S,
1404 config/picochip/libgccExtras/divmod15.S,
1405 config/picochip/libgccExtras/divmodhi4.S,
1406 config/picochip/libgccExtras/divmodsi4.S,
1407 config/picochip/libgccExtras/lshrsi3.S,
1408 config/picochip/libgccExtras/parityhi2.S,
1409 config/picochip/libgccExtras/popcounthi2.S,
1410 config/picochip/libgccExtras/subdi3.S,
1411 config/picochip/libgccExtras/ucmpsi2.S,
1412 config/picochip/libgccExtras/udivmodhi4.S,
1413 config/picochip/libgccExtras/udivmodsi4.S: New files.
1414 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
1415 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
1416 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
1417 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
1418 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
1419 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
1420 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
1421 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
1422 files.
1423 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
1424 (HOST_LIBGCC2_CFLAGS): Set.
1425 * config/rs6000/t-darwin64: New file.
1426 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
1427 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
1428 * config/rs6000/t-ppccomm (LIB2ADD): Add
1429 $(srcdir)/config/rs6000/tramp.S.
1430 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
1431 Add $(srcdir)/config/rs6000/eabi.S.
1432 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
1433 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
1434 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
1435 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
1436 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
1437 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
1438 * config/rs6000/tramp.S: New file.
1439 * config/s390/t-tpf: Remove.
1440 * config/sh/linux-atomic.S: New file.
1441 * config/sh/t-linux (LIB2ADD): Set.
1442 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
1443 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1444 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
1445 to unwind-dw2.c.
1446 (HOST_LIBGCC2_CFLAGS): Set.
1447 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1448 * config/spu/divmodti4.c, config/spu/divv2df3.c,
1449 config/spu/float_disf.c, config/spu/float_unsdidf.c,
1450 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
1451 config/spu/mfc_multi_tag_release.c,
1452 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
1453 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
1454 config/spu/multi3.c: New files.
1455 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
1456 (HOST_LIBGCC2_CFLAGS): Set.
1457 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
1458 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
1459 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
1460 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
1461 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
1462 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
1463 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
1464 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
1465 config/stormy16/umodsi3.c: New files.
1466 * config/xtensa/lib2funcs.S: New file.
1467 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1468 * config/xtensa/t-xtensa (LIB2ADD): Set.
1469 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
1470 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
1471 Add t-freebsd-thread to tmake_file for posix threads.
1472 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
1473 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
1474 (*-*-lynxos*): Likewise.
1475 (*-*-netbsd*): Likewise.
1476 (*-*-openbsd*): Likewise.
1477 Add t-openbsd-thread to tmake_file for posix threads.
1478 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
1479 (*-*-vxworks*): Set tmake_file.
1480 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1481 (alpha*-*-freebsd*): Likewise.
1482 (alpha*-*-netbsd*): Likewise.
1483 (alpha*-*-openbsd*): Likewise.
1484 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
1485 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1486 (alpha*-dec-*vms*): Likewise.
1487 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
1488 (bfin*-elf*): Add bfin/t-elf to tmake_file.
1489 (bfin*-uclinux*): Likewise.
1490 (bfin*-linux-uclibc*): Likewise.
1491 (crisv32-*-elf): Add cris/t-cris to tmake_file.
1492 (crisv32-*-none): Likewise.
1493 (cris-*-elf): Likewise.
1494 (cris-*-none): Likewise.
1495 (cris-*-linux*, crisv32-*-linux*): Likewise.
1496 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
1497 tmake_file.
1498 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
1499 tmake_file.
1500 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
1501 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
1502 (x86_64-*-elf*): Likewise.
1503 (i[34567]86-*-nto-qnx*): Likewise.
1504 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
1505 win32 threads.
1506 (x86_64-*-mingw*): Likewise.
1507 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
1508 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
1509 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1510 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1511 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
1512 tmake_file.
1513 (mipsisa64sr71k-*-elf*): Likewise.
1514 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1515 (mips-*-elf*, mipsel-*-elf*): Likewise.
1516 (mips64-*-elf*, mips64el-*-elf*): Likewise.
1517 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1518 (mips*-*-rtems*): Likewise.
1519 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
1520 to tmake_file.
1521 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
1522 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
1523 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
1524 (spu-*-elf*): Likewise.
1525 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
1526
1527 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1528
1529 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
1530 $(srcdir) to refer to $(LIB1ASMSRC).
1531 Use $<.
1532 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
1533 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
1534 config/arm/lib1funcs.S: New files.
1535 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
1536 * config/arm/t-arm: New file.
1537 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
1538 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
1539 config/arm/t-strongarm-elf: New files.
1540 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
1541 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
1542 * config/avr/lib1funcs.S: New file.
1543 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1544 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
1545 * config/c6x/lib1funcs.S: New file.
1546 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1547 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
1548 * config/frv/lib1funcs.S: New file.
1549 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1550 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
1551 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
1552 * config/ia64/__divxf3.asm: Rename to ...
1553 * config/ia64/__divxf3.S: ... this.
1554 Adapt lib1funcs.asm filename.
1555 * config/ia64/_fixtfdi.asm: Rename to ...
1556 * config/ia64/_fixtfdi.S: ... this.
1557 Adapt lib1funcs.asm filename.
1558 * config/ia64/_fixunstfdi.asm: Rename to ...
1559 * config/ia64/_fixunstfdi.S: ... this.
1560 Adapt lib1funcs.asm filename.
1561 * config/ia64/_floatditf.asm: Rename to ...
1562 * config/ia64/_floatditf.S: ... this.
1563 Adapt lib1funcs.asm filename.
1564 * config/ia64/lib1funcs.S: New file.
1565 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
1566 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1567 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
1568 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
1569 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
1570 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
1571 * config/mep/lib1funcs.S: New file.
1572 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1573 * config/mips/mips16.S: New file.
1574 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1575 * config/pa/milli64.S: New file.
1576 * config/pa/t-linux, config/pa/t-linux64: New files.
1577 * config/picochip/lib1funcs.S: New file.
1578 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1579 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
1580 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
1581 * config/sh/t-netbsd: New file.
1582 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
1583 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
1584 * config/sh/t-sh64: New file.
1585 * config/sparc/lb1spc.S: New file.
1586 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
1587 filename.
1588 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
1589 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
1590 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
1591 config/xtensa/lib1funcs.S: New files.
1592 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1593 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
1594 tmake_file.
1595 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
1596 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
1597 (arm*-*-linux*): Likewise.
1598 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
1599 arm*-*-linux-*eabi, add arm/t-linux otherwise.
1600 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
1601 (arm*-*-ecos-elf): Likewise.
1602 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
1603 (arm*-*-rtems*): Likewise.
1604 (arm*-*-elf): Likewise.
1605 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
1606 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
1607 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
1608 (bfin*-uclinux*): Likewise.
1609 (bfin*-linux-uclibc*): Likewise.
1610 (bfin*-rtems*): Likewise.
1611 (bfin*-*): Likewise.
1612 (fido-*-elf): Merge into m68k-*-elf*.
1613 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
1614 (frv-*-*linux*): Add frv/t-frv to tmake_file.
1615 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
1616 (h8300-*-elf*): Likewise.
1617 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
1618 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
1619 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
1620 (i[34567]86-*-mingw*): Likewise.
1621 (x86_64-*-mingw*): Likewise.
1622 (i[34567]86-*-interix3*): Likewise.
1623 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
1624 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
1625 (m68k-*-elf*): Also handle fido-*-elf.
1626 Add m68k/t-floatlib to tmake_file.
1627 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
1628 (m68k-*-linux*): Likewise.
1629 (m68k-*-rtems*): Likewise.
1630 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
1631 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
1632 sh64*-*-*.
1633 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
1634 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
1635 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
1636 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
1637 sh/t-netbsd to tmake_file.
1638 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
1639 (sh-*-rtems*): Add sh/t-sh to tmake_file.
1640 (sh-wrs-vxworks): Likewise.
1641 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
1642 *-leon[3-9]*.
1643 (v850*-*-*): Add v850/t-v850 to tmake_file.
1644 (vax-*-linux*): Add vax/t-linux to tmake_file.
1645 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
1646
1647 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1648
1649 * crtstuff.c: New file.
1650 * Makefile.in (CRTSTUFF_CFLAGS): Define.
1651 (CRTSTUFF_T_CFLAGS): Define.
1652 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
1653 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
1654 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
1655 crtstuff.c.
1656 Use $<.
1657 (crtbeginT.o): Use $(objext).
1658 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
1659 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
1660 (gcc-extra-parts): Remove.
1661 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
1662 Set extra_parts.
1663 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1664 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
1665 Add t-crtstuff-pic to tmake_file.
1666 (*-*-lynxos*): New case.
1667 Set tmake_file, extra_parts.
1668 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
1669 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
1670 *-*-netbsdelf[2-9]*.
1671 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
1672 (*-*-rtems*): Set extra_parts.
1673 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
1674 (*-*-uclinux*): New case.
1675 Set extra_parts.
1676 (*-*-vms*): New case.
1677 Set tmake_file, extra_parts.
1678 (*-*-elf): Set extra_parts.
1679 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
1680 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
1681 vms/t-vms64.
1682 Set extra_parts.
1683 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
1684 Set extra_parts.
1685 (arm*-*-freebsd*): Add t-crtin to tmake_file.
1686 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
1687 (arm-wrs-vxworks): Append to tmake_file.
1688 Set extra_parts.
1689 (arm*-*-uclinux*): Set extra_parts.
1690 (arm*-*-ecos-elf): Likewise.
1691 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
1692 arm*-*-eabi*.
1693 (arm*-*-rtems*): Set extra_parts.
1694 (arm*-*-elf): Likewise.
1695 (avr-*-rtems*): Clear extra_parts.
1696 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
1697 Set extra_parts.
1698 (bfin*-uclinux*): Likewise.
1699 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
1700 (bfin*-rtems*): Append to tmake_file.
1701 Set extra_parts.
1702 (bfin*-*): Likewise.
1703 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
1704 (crisv32-*-elf): ... this.
1705 (crisv32-*-none): ... this.
1706 (cris-*-elf, cris-*-none): New cases.
1707 Add cris/t-elfmulti to tmake_file.
1708 (fr30-*-elf): Append to tmake_file.
1709 Set extra_parts.
1710 (frv-*-elf): Append to tmake_file, add frv/t-frv.
1711 Set extra_parts.
1712 (h8300-*-rtems*): Append to tmake_file.
1713 Set extra_parts.
1714 (h8300-*-elf*): Likewise.
1715 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
1716 Set extra_parts.
1717 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
1718 Set extra_parts.
1719 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
1720 (x86_64-*-elf*): Likewise.
1721 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
1722 (x86_64-*-freebsd*): Likewise.
1723 (x86_64-*-netbsd*): Likewise.
1724 (i[34567]86-*-linux*): Likewise.
1725 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
1726 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
1727 (x86_64-*-linux*): Likewise.
1728 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
1729 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
1730 tmake_file.
1731 Set extra_parts.
1732 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
1733 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
1734 Append to extra_parts, remove crtbegin.o, crtend.o.
1735 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
1736 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
1737 crtend.o, crtbeginS.o, crtendS.o.
1738 (ia64*-*-linux*): Comment extra_parts.
1739 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
1740 Set extra_parts.
1741 (iq2000*-*-elf*): Clear extra_parts.
1742 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
1743 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
1744 (m32r-*-elf*, m32r-*-rtems*): Split off ...
1745 (m32r-*-rtems*): ... this.
1746 Add m32r/t-m32r to tmake_file.
1747 (m68k-*-elf*): Add t-crtin to tmake_file.
1748 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
1749 (mcore-*-elf): Likewise.
1750 (microblaze*-*-*): Set extra_parts.
1751 (mips*-sde-elf*): New case.
1752 Set tmake_file, extra_parts.
1753 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1754 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1755 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
1756 tmake_file.
1757 Set extra_parts.
1758 (mipsisa64sr71k-*-elf*): Likewise.
1759 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1760 (mips-*-elf*, mipsel-*-elf*): Likewise.
1761 (mips64-*-elf*, mips64el-*-elf*): Likewise.
1762 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
1763 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1764 (mips*-*-rtems*): Likewise.
1765 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
1766 (moxie-*-*): Split into ...
1767 (moxie-*-elf, moxie-*-uclinux*): ... this.
1768 Add to extra_parts, remove crtbegin.o, crtend.o.
1769 (moxie-*-rtems*): New case.
1770 Set tmake_file.
1771 Clear extra_parts.
1772 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
1773 Set extra_parts.
1774 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1775 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
1776 tmake_file.
1777 Set extra_parts.
1778 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
1779 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
1780 Set extra_parts.
1781 (powerpc-*-eabisim*): Likewise.
1782 (powerpc-*-elf*): Likewise.
1783 (powerpc-*-eabialtivec*): Likewise.
1784 (powerpc-xilinx-eabi*): Likewise.
1785 (powerpc-*-eabi*): Likewise.
1786 (powerpc-*-rtems*): Likewise.
1787 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
1788 tmake_file.
1789 Set extra_parts.
1790 (powerpc-*-lynxos*): Add to tmake_file.
1791 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
1792 rs6000/t-crtstuff, t-crtstuff-pic.
1793 Set extra_parts.
1794 (powerpcle-*-eabisim*): Likewise.
1795 (powerpcle-*-eabi*): Likewise.
1796 (rx-*-elf): Remove extra_parts.
1797 (s390x-ibm-tpf*): Set extra_parts.
1798 (score-*-elf): Set extra_parts.
1799 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
1800 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
1801 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
1802 (sh64l*-*-netbsd*): Split into ...
1803 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
1804 Add t-crtstuff-pic to tmake_file.
1805 Set extra_parts.
1806 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
1807 Set extra_parts.
1808 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
1809 (sparc-*-elf*): Remove t-crtin from tmake_file.
1810 Add to extra_parts, remove crtbegin.o, crtend.o.
1811 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
1812 (sparc64-*-linux*): Likewise.
1813 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
1814 Add to extra_parts, remove crtbegin.o, crtend.o.
1815 (sparc64-*-elf*): Remove t-crtin from tmake_file.
1816 Add to extra_parts, remove crtbegin.o, crtend.o.
1817 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
1818 Add to extra_parts, remove crtbegin.o, crtend.o.
1819 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
1820 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
1821 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
1822 Set extra_parts.
1823 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
1824 Set extra_parts.
1825 (tic6x-*-*): Change to ...
1826 (tic6x-*-elf): ... this.
1827 Set extra_parts.
1828 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
1829 Set extra_parts.
1830 (am33_2.0-*-linux*): Add comment.
1831 (mep*-*-*): Add mep/t-mep to tmake_file.
1832 Set extra_parts.
1833 * config/alpha/t-vms: New file.
1834 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
1835 * config/arm/crti.S, config/arm/crtn.S: New files.
1836 * config/bfin/crti.S, config/bfin/crtn.S: New files.
1837 * config/bfin/crtlibid.S: New file.
1838 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
1839 * config/c6x/crti.S, config/c6x/crtn.S: New files.
1840 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
1841 (crti.o, crtin.o): New rules.
1842 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
1843 * config/c6x/t-uclinux: New file.
1844 * config/cris/t-elfmulti: New file.
1845 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
1846 * config/fr30/crti.S, config/fr30/crtn.S: New files.
1847 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
1848 * config/frv/t-frv: New file.
1849 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
1850 * config/h8300/crti.S, config/h8300/crtn.S: New files.
1851 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
1852 New files.
1853 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
1854 refer to cygming-crtbegin.c, cygming-crtend.c.
1855 Use $<.
1856 * config/i386/t-nto: New file.
1857 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
1858 * config/ia64/crti.S, config/ia64/crtn.S: New files.
1859 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
1860 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
1861 Use .S extension.
1862 Use $<.
1863 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
1864 (crtinitS.o): New rule.
1865 * config/ia64/vms-crtinit.S: New file.
1866 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
1867 * config/m32r/initfini.c: New file.
1868 * config/m32r/t-linux, config/m32r/t-m32r: New files.
1869 * config/m68k/crti.S, config/m68k/crtn.S: New files.
1870 * config/mcore/crti.S, config/mcore/crtn.S: New files.
1871 * config/mep/t-mep: New file.
1872 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
1873 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
1874 * config/mips/crti.S, config/mips/crtn.S: New files.
1875 * config/mips/t-crtstuff: New file.
1876 * config/mmix/crti.S, config/mmix/crtn.S: New files.
1877 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
1878 (CUSTOM_CRTIN): Set.
1879 ($(T)crti.o, $(T)crtn.o): Remove $(T),
1880 dependencies.
1881 Use $(srcdir) to refer to crti.S, crtn.S.
1882 Use .S extension, $<.
1883 * config/moxie/crti.asm: Rename to ...
1884 * config/moxie/crti.S: ... this.
1885 * config/moxie/crtn.asm: Rename to ...
1886 * config/moxie/crtn.S: ... this.
1887 * config/moxie/t-moxie: Remove.
1888 * config/pa/stublib.c: New file.
1889 * config/pa/t-stublib, config/pa/t-stublib64: New files.
1890 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
1891 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
1892 * config/rs6000/t-crtstuff: New file.
1893 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
1894 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
1895 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
1896 Make output file explicit.
1897 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
1898 Make output file explicit.
1899 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
1900 Make output file explicit.
1901 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
1902 Make output file explicit.
1903 * config/score/crti.S, config/score/crtn.S: New files.
1904 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
1905 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
1906 files.
1907 * config/sh/t-sh, config/sh/t-superh: New files.
1908 * config/sparc/t-linux64: New file.
1909 * config/spu/cache.S, config/spu/cachemgr.c: New files.
1910 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
1911 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
1912 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
1913 * config/t-crtin: Remove.
1914 * config/t-crtstuff-pic: New file.
1915 * config/t-sol2 (CUSTOM_CRTIN): Set.
1916 (crti.o, crtn.o): New rules.
1917 * config/vms/t-vms: New file.
1918 * config/vms/vms-ucrt0.c: New file.
1919 * config/xtensa/t-elf: New file.
1920
1921 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1922
1923 * Makefile.in (SHLIB_NM_FLAGS): Set.
1924 * mkmap-flat.awk, mkmap-symver.awk: New files.
1925 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
1926 exceptions.
1927 * configure: Regenerate.
1928 * config/libgcc-glibc.ver: New file.
1929 * config/libgcc-libsystem.ver: New file.
1930 * config/t-libunwind (SHLIB_LC): Set.
1931 * config/t-linux: New file.
1932 * config/t-slibgcc (INSTALL_SHLIB): New.
1933 (SHLIB_INSTALL): Use it.
1934 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
1935 to mkmap-symver.awk.
1936 (SHLIB_MAPFILES): Don't append, adapt pathname.
1937 (SHLIB_VERPFX): Set.
1938 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
1939 to mkmap-symver.awk.
1940 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
1941 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
1942 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
1943 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
1944 to mkmap-flat.awk.
1945 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
1946 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
1947 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
1948 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
1949 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
1950 * config/i386/libgcc-darwin.10.4.ver,
1951 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
1952 New files.
1953 * config/i386/t-darwin: Remove.
1954 * config/i386/t-darwin64: Likewise.
1955 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
1956 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
1957 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
1958 * config/i386/t-linux: New file.
1959 * config/i386/t-mingw32: New file.
1960 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
1961 * config/ia64/t-glibc: Rename to ...
1962 * config/ia64/t-linux: ... this.
1963 (SHLIB_MAPFILES): Set.
1964 * config/ia64/t-glibc-libunwind: Rename to ...
1965 * config/ia64/t-linux-libunwind: ... this.
1966 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
1967 * config/ia64/t-slibgcc-hpux: New file.
1968 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
1969 * config/m68k/t-slibgcc-elf-ver: New file.
1970 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
1971 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
1972 to mkmap-flat.awk.
1973 * config/pa/t-slibgcc-hpux: New file.
1974 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
1975 files.
1976 * config/rs6000/libgcc-darwin.10.4.ver,
1977 config/rs6000/libgcc-darwin.10.5.ver: New files.
1978 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
1979 config/rs6000/libgcc-glibc.ver.
1980 * config/rs6000/libgcc-ppc64.ver: Rename to
1981 config/rs6000/libgcc-ibm-ldouble.ver.
1982 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
1983 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
1984 * config/rs6000/t-ldbl128: Rename to ...
1985 * config/rs6000/t-linux: ... this.
1986 (SHLIB_MAPFILES): Adapt filename.
1987 * config/rs6000/t-slibgcc-aix: New file.
1988 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
1989 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
1990 libgcc-excl.ver, libgcc-glibc.ver.
1991 (SHLIB_LINK, SHLIB_INSTALL): Remove.
1992 * config/sparc/libgcc-glibc.ver: New file.
1993 * config/sparc/t-linux: New file.
1994 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
1995 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
1996 t-slibgcc-elf-ver to tmake_file.
1997 Add t-slibgcc-nolc-override to tmake_file for posix threads on
1998 *-*-freebsd[34].
1999 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2000 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
2001 t-slibgcc-elf-ver, t-linux to tmake_file.
2002 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
2003 tmake_file.
2004 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
2005 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
2006 (alpha*-dec-*vms*): Likewise.
2007 (arm*-*-freebsd*): Append to tmake_file.
2008 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
2009 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
2010 arm*-*-linux-*eabi.
2011 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
2012 tmake_file for arm*-*-symbianelf*.
2013 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
2014 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
2015 cris/t-linux.
2016 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
2017 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
2018 pa/t-slibgcc-dwarf-ver to tmake_file.
2019 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
2020 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
2021 (hppa*64*-*-hpux11*): Likewise.
2022 (hppa[12]*-*-hpux11*): Likewise.
2023 (x86_64-*-darwin*): Don't override tmake_file, but only keep
2024 i386/t-crtpc, i386/t-crtfm.
2025 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
2026 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2027 to tmake_file.
2028 Add i386/t-cygwin to tmake_file.
2029 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
2030 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
2031 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2032 to tmake_file.
2033 Add i386/t-mingw32 to tmake_file.
2034 (x86_64-*-mingw*): Likewise.
2035 (ia64*-*-freebsd*): Append to tmake_file.
2036 (ia64*-*-linux*): Append to tmake_file.
2037 Replace ia64/t-glibc by ia64/t-linux.
2038 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
2039 system libunwind.
2040 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
2041 t-slibgcc-hpux to tmake_file.
2042 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
2043 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
2044 (m32rle-*-linux*): Likewise.
2045 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
2046 sjlj exceptions.
2047 (microblaze*-linux*): New case.
2048 Append to tmake_file, add t-slibgcc-nolc-override.
2049 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
2050 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2051 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
2052 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2053 rs6000/t-slibgcc-aix to tmake_file.
2054 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2055 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2056 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2057 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2058 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2059 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2060 sh*-*-linux*.
2061 (sparc-*-linux*): Append to tmake_file for *-leon*.
2062 Add sparc/t-linux to tmake_file for non-Leon targets.
2063 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2064 (tic6x-*-uclinux): New case.
2065 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2066 (tic6x-*-*): Add c6x/t-elf to tmake_file.
2067 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2068 (am33_2.0-*-linux*): Append to tmake_file.
2069 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2070 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2071 x86_64-*-kfreebsd*-gnu.
2072 Add i386/t-linux to tmake_file.
2073
2074 2011-10-28 Ian Lance Taylor <iant@google.com>
2075
2076 * config/i386/morestack.S: Correct CFI information to do proper
2077 returns throughout function. In 32-bit mode, save %ebx so that it
2078 is restored on unwind.
2079
2080 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
2081
2082 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2083 case where B3 isn't the return register.
2084
2085 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2086 logic for doubleword pops.
2087
2088 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
2089
2090 * config/rs6000/t-freebsd: Add wildcard.
2091
2092 2011-10-21 Paul Brook <paul@codesourcery.com>
2093
2094 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2095
2096 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
2097 Eric Botcazou <ebotcazou@adacore.com>
2098
2099 PR target/50737
2100 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2101 fs->signal_frame to 1.
2102
2103 2011-10-07 Ian Lance Taylor <iant@google.com>
2104
2105 * generic-morestack-thread.c: #include <errno.h>.
2106
2107 2011-10-07 Ian Lance Taylor <iant@google.com>
2108
2109 PR target/46093
2110 * generic-morestack.c (__generic_morestack): Make sure the segment
2111 is large enough for both the stack frame and the copied
2112 parameters.
2113
2114 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2115
2116 PR bootstrap/49804
2117 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2118 extra_parts.
2119
2120 2011-09-28 Nick Clifton <nickc@redhat.com>
2121
2122 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2123 64-bit doubles are not enabled.
2124 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2125 and floatunsisf functions.
2126
2127 2011-09-13 Paul Brook <paul@codesourcery.com>
2128
2129 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
2130 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2131 * unwind-arm-common.inc: New file.
2132 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2133 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2134 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2135 * config/c6x/libunwind.S: New file.
2136 * config/c6x/pr-support.c: New file.
2137 * config/c6x/unwind-c6x.c: New file.
2138 * config/c6x/unwind-c6x.h: New file.
2139 * config/c6x/t-c6x-elf: New file.
2140
2141 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
2142
2143 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2144 (ASM_DIVZERO): Ditto.
2145 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2146
2147 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
2148
2149 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2150
2151 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
2152
2153 PR target/50090
2154 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2155 instead of an assembly one.
2156
2157 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
2158
2159 PR bootstrap/50047
2160 * Makefile.in (install-unwind_h): Create
2161 $(gcc_objdir)/include/unwind.h atomically.
2162
2163 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2164
2165 * Makefile.in (install-unwind_h): Remove destination file first.
2166
2167 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2168
2169 * sync.c: New file.
2170 * config/mips/t-mips16: New file.
2171 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2172 (mips*-*-linux*): Likewise.
2173 (mips*-sde-elf*): Likewise.
2174 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
2175 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
2176 Add mips/t-mips16 to tmake_file.
2177 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
2178 (mips-*-elf*): Likewise.
2179 (mips64-*-elf*): Likewise.
2180 (mips64orion-*-elf*): Likewise.
2181 (mips*-*-rtems*): Likewise.
2182 (mipstx39-*-elf*): Likewise.
2183 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
2184 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
2185 LIBGCC_SYNC_CFLAGS.
2186 Use $(srcdir) to refer to sync.c.
2187 Use $<.
2188 ($(libgcc-sync-funcs-o)): Likewise.
2189 ($(libgcc-sync-size-funcs-s-o)): Likewise.
2190 ($(libgcc-sync-funcs-s-o)): Likewise.
2191
2192 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
2193
2194 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
2195 t-libunwind.
2196
2197 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
2198
2199 PR other/48007
2200 * config/i386/value-unwind.h: New.
2201
2202 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
2203
2204 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
2205 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
2206 Add to tmake_file rather than overriding it.
2207
2208 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2209
2210 * config/t-softfp: Remove.
2211 * soft-fp: Moved from ../gcc/config.
2212 * soft-fp/README: Remove t-softfp reference.
2213 * soft-fp/t-softfp: Move to config/t-softfp.
2214 (softfp_machine_header): Remove.
2215 (softfp_file_list): Remove config subdir.
2216 (soft-fp-objects): New variable.
2217 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
2218 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
2219 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
2220 * config/t-softfp-excl: New file.
2221 * config/t-softfp-sfdf: New file.
2222 * config/t-softfp-tf: New file.
2223 * config/no-sfp-machine.h: New file.
2224 * config/arm/sfp-machine.h: New file.
2225 * config/arm/t-softfp: New file.
2226 * config/c6x/sfp-machine.h: New file.
2227 * config/i386/32/t-fprules-softfp: Rename to ...
2228 * config/i386/32/t-softfp: ... this.
2229 (tifunctions, LIB2ADD): Remove.
2230 (softfp_int_modes): Override.
2231 * config/i386/64/t-softfp-compat (tf-functions): Remove config
2232 subdir.
2233 * config/i386/64/eqtf2.c: Likewise.
2234 * config/i386/64/getf2.c: Likewise.
2235 * config/i386/64/letf2.c: Likewise.
2236 * config/ia64/sft-machine.h: New file.
2237 * config/ia64/t-fprules-softfp: Rename to ...
2238 * config/ia64/t-softfp: ... this.
2239 * config/lm32/sfp-machine.h: New file.
2240 * config/moxie/t-moxie-softfp: Remove.
2241 * config/rs6000/ibm-ldouble-format: New file.
2242 * config/rs6000/ibm-ldouble.c: New file.
2243 * config/rs6000/libgcc-ppc-glibc.ver: New file
2244 * config/rs6000/libgcc-ppc64.ver: New file
2245 * config/rs6000/sfp-machine.h: New file.
2246 * config/rs6000/t-freebsd: New file.
2247 * config/rs6000/t-ibm-ldouble: New file.
2248 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
2249 libgcc-ppc-glibc.ver.
2250 * config/rs6000/t-linux64: New file.
2251 * config/rs6000/t-ppccomm (LIB2ADD): Add
2252 $(srcdir)/config/rs6000/ibm-ldouble.c.
2253 * config/rs6000/t-ppccomm-ldbl: New file.
2254 * config/score/sfp-machine.h: New file.
2255 * config.host (sfp_machine_header): Explain.
2256 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
2257 t-softfp to tmake_file.
2258 (arm*-*-uclinux*): Likewise.
2259 (arm*-*-ecos-elf): Likewise.
2260 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2261 (arm*-*-rtems*): Likewise.
2262 (arm*-*-elf): Likewise.
2263 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
2264 in tmake_file.
2265 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
2266 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
2267 (lm32-*-uclinux*): Likewise.
2268 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
2269 t-softfp-excl, t-softfp.
2270 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
2271 (powerpc64-*-darwin*): Likewise.
2272 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
2273 to tmake_file.
2274 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
2275 tmake_file.
2276 (powerpc-*-eabisim*): Likewise.
2277 (powerpc-*-elf*): Likewise.
2278 (powerpc-*-eabialtivec*): Likewise.
2279 (powerpc-xilinx-eabi*): Likewise.
2280 (powerpc-*-rtems*): Likewise.
2281 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
2282 t-softfp-excl, t-softfp to tmake_file.
2283 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
2284 rs6000/t-ppccomm-ldbl to tmake_file.
2285 (powerpcle-*-elf*): Likewise.
2286 (powerpcle-*-eabisim*): Likewise.
2287 (powerpcle-*-eabi*): Likewise.
2288 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2289 rs6000/t-ibm-ldouble to tmake_file.
2290 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2291 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2292 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
2293 (tic6x-*-*): Likewise.
2294 (i[34567]86-*-darwin*, x86_64-*-darwin*,
2295 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
2296 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
2297 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
2298 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
2299 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
2300 t-softfp to tmake_file.
2301 * configure.ac (sfp_machine_header): Provide default if unset.
2302 Substitute.
2303 Link sfp-machine.h to config/$sfp_machine_header.
2304 * configure: Regenerate.
2305
2306 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2307
2308 * Makefile.in (double_type_size, long_double_type_size): Set.
2309 Remove $(fpbit-in-libgcc) support.
2310 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
2311 (fpbit-src): New variable.
2312 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
2313 Compile with -DFLOAT $(FPBIT_CFLAGS).
2314 Use $<.
2315 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
2316 Compile with $(FPBIT_CFLAGS).
2317 Use $<.
2318 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
2319 Compile with -DFLOAT $(TPBIT_CFLAGS).
2320 Use $<.
2321 * configure.ac (double_type_size, long_double_type_size):
2322 Determine and substitute.
2323 * configure: Regenerate.
2324 * fp-bit.c, fp-bit.h: New files.
2325 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
2326 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
2327 * config/mips/t-mips: New file.
2328 * config/mips/t-sdemtk: New file.
2329 * config/rs6000/ppc64-fp.c: New file.
2330 * config/rs6000/t-darwin (LIB2ADD): Add
2331 $(srcdir)/config/rs6000/ppc64-fp.c.
2332 * config/rs6000/t-ppc64-fp: New file.
2333 * config/rx/rx-lib.h: New file.
2334 * config/rx/t-rx (FPBIT): Set to true.
2335 ($(gcc_objdir)/fp-bit.c): Remove.
2336 (DPBIT): Set to true only with -m64bit-doubles.
2337 ($(gcc_objdir)/dp-bit.c): Remove.
2338 * config/sparc/t-softfp: Remove.
2339 * config/spu/t-elf: New file.
2340 * config/t-fdpbit, config/t-fpbit: New files.
2341 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
2342 (mips*-*-*): Likewise.
2343 (arm-wrs-vxworks): Likewise.
2344 (arm*-*-freebsd*): Likewise.
2345 (avr-*-rtems*): Add t-fpbit to tmake_file.
2346 (avr-*-*): Likewise.
2347 (bfin*-elf*): Add t-fdpbit to tmake_file.
2348 (bfin*-uclinux*): Likewise.
2349 (bfin*-linux-uclibc*): Likewise.
2350 (bfin*-rtems*): New case.
2351 Add t-fdpbit to tmake_file.
2352 (bfin*-*): Add t-fdpbit to tmake_file.
2353 (crisv32-*-elf): Likewise.
2354 (cris-*-linux*): Likewise.
2355 (fr30-*-elf): Likewise.
2356 (frv-*-elf, frv-*-*linux*): Likewise.
2357 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
2358 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
2359 (m32r-*-elf*): Likewise.
2360 (m32rle-*-elf*): Likewise.
2361 (m32r-*-linux*): Likewise.
2362 (m32rle-*-linux*): Likewise.
2363 (mcore-*-elf): Add t-fdpbit to tmake_file.
2364 (microblaze*-*-*): Likewise.
2365 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
2366 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
2367 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
2368 Fix typo.
2369 Add mips/t-tpbit to tmake-file.
2370 (mips*-*-linux*): Fix typo.
2371 (mips*-sde-elf*): New case
2372 Add mips/t-sdemtk unless using newlib.
2373 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
2374 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
2375 (mn10300-*-*): Likewise.
2376 (pdp11-*-*): Likewise.
2377 (picochip-*-*): Add t-fpbit to tmake_file.
2378 (powerpc-*-eabisimaltivec*): Likewise.
2379 (powerpc-*-eabisim*): Likewise.
2380 (powerpc-*-elf*): Likewise.
2381 (powerpc-*-eabialtivec*): Likewise.
2382 (powerpc-xilinx-eabi*): New case.
2383 Add t-fdpbit to tmake_file.
2384 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
2385 (powerpc-*-rtems*): Likewise.
2386 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
2387 tmake_file.
2388 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
2389 tmake_file.
2390 (powerpc-*-lynxos*): Likewise.
2391 (powerpcle-*-elf*): Likewise.
2392 (powerpcle-*-eabisim*): Likewise.
2393 (powerpcle-*-eabi*): Likewise.
2394 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2395 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
2396 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2397 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2398 (rx-*-elf): Add t-fdpbit to tmake_file.
2399 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2400 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2401 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2402 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
2403 sh*-*-netbsd*.
2404 (sh-*-rtems*): Add t-fdpbit to tmake_file.
2405 (sh-wrs-vxworks): Likewise.
2406 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
2407 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
2408 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
2409 (sparc64-*-rtems*): ... new case.
2410 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
2411 (spu-*-elf*): Likewise.
2412 Add spu/t-elf to tmake_file.
2413 (v850*-*-*): Add t-fdpbit to tmake_file.
2414 (xstormy16-*-elf): Likewise.
2415 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
2416 (mep*-*-*): Likewise.
2417
2418 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2419
2420 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
2421 variables.
2422 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
2423 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
2424 (install-unwind_h): New target.
2425 (all): Depend on it.
2426 * config.host (unwind_header): New variable.
2427 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
2428 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2429 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
2430 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
2431 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
2432 Set unwind_header.
2433 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
2434 Set unwind_header.
2435 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
2436 arm*-*-eabi*.
2437 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
2438 Set unwind_header.
2439 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
2440 (ia64*-*-freebsd*): Likewise.
2441 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
2442 tmake_file.
2443 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
2444 $with_system_libunwind.
2445 (ia64*-*-hpux*): Set tmake_file.
2446 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
2447 (picochip-*-*): Set tmake_file.
2448 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
2449 md_unwind_header.
2450 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2451 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2452 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
2453 (xtensa*-*-elf*): Set tmake_file.
2454 (xtensa*-*-linux*): Likewise.
2455 * configure.ac: Include ../config/unwind_ipinfo.m4.
2456 Call GCC_CHECK_UNWIND_GETIPINFO.
2457 Link unwind.h to $unwind_header.
2458 * configure: Regenerate.
2459 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
2460 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
2461 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
2462 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
2463 * config/unwind-dw2-fde-darwin.c: New file.
2464 * config/arm/libunwind.S, config/arm/pr-support.c,
2465 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
2466 config/arm/unwind-arm.h,: New files.
2467 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
2468 config/ia64/t-eh-ia64, config/ia64/t-glibc,
2469 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
2470 config/ia64/t-vms, config/ia64/unwind-ia64.c,
2471 config/ia64/unwind-ia64.h: New files.
2472 * config/picochip/t-picochip: New file.
2473 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
2474 files.
2475 * config/rs6000/t-darwin (LIB2ADDEH): Set.
2476 * config/s390/t-tpf (LIB2ADDEH): Remove.
2477 * config/t-darwin (LIB2ADDEH): Set.
2478 * config/t-eh-dw2-dip: New file.
2479 * config/t-libunwind, config/t-libunwind-elf: New files.
2480 * config/t-sol2 (LIB2ADDEH): Remove.
2481 * config/xtensa/t-xtensa: New file.
2482
2483 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
2484
2485 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
2486 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
2487 long long to check rt_sigreturn syscall.
2488
2489 2011-08-02 Alan Modra <amodra@gmail.com>
2490
2491 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2492 Restore for indirect call bcrtl from correct stack slot, and only
2493 if cfa+40 isn't valid.
2494
2495 2011-08-01 Julian Brown <julian@codesourcery.com>
2496
2497 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
2498 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
2499 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
2500
2501 2011-08-01 Julian Brown <julian@codesourcery.com>
2502
2503 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
2504 (libgcc-std.ver.in): Use above.
2505 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
2506 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
2507 throughout file.
2508 * config/t-fixedpoint-gnu-prefix: New file.
2509 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
2510 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
2511 instead of __PFX__.
2512
2513 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
2514
2515 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
2516 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
2517 for x86-64. Properly check __x86_64__ and __LP64__.
2518
2519 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
2520
2521 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
2522 version.
2523 (_FP_WS_TYPE): Likewise.
2524 (_FP_I_TYPE): Likewise.
2525
2526 2011-07-28 Alan Modra <amodra@gmail.com>
2527
2528 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2529 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
2530 in a plt call stub. Do restore r2 if stopped on bctrl.
2531
2532 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2533
2534 * config.host (i[3456x]86-*-netware*): Remove.
2535 * config/i386/netware-crt0.c, config/i386/t-nwld,
2536 config/i386/t-slibgcc-nwld: Remove.
2537
2538 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
2539
2540 * config.host: Handle tic6x-*-*.
2541 * config/c6x/c6x-abi.h: New file.
2542
2543 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2544
2545 * config/i386/crtprec.c: New file.
2546 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
2547 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
2548 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
2549 (x86_64-*-darwin*): Likewise.
2550 (i[34567]86-*-solaris2*: Likewise.
2551
2552 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2553
2554 * config/alpha/crtfastmath.c: New file.
2555 * config/i386/crtfastmath.c: New file.
2556 * config/ia64/crtfastmath.c: New file.
2557 * config/mips/crtfastmath.c: New file.
2558 * config/sparc/crtfastmath.c: New file.
2559
2560 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
2561 crtfastmath.c.
2562 Add -frandom-seed=gcc-crtfastmath.
2563 * config/alpha/t-crtfm: Remove.
2564 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
2565 * config/ia64/t-ia64 (crtfastmath.o): Remove.
2566
2567 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
2568 (alpha*-dec-osf5.1*): Likewise.
2569 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
2570 Add crtfastmath.o to extra_parts.
2571 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
2572 Add crtfastmath.o to extra_parts.
2573 (x86_64-*-darwin*): Likewise.
2574 (x86_64-*-mingw*): Likewise.
2575 (ia64*-*-elf*): Add t-crtfm to tmake_file.
2576 (ia64*-*-freebsd*): Likewise.
2577 (ia64*-*-linux*): Likewise.
2578 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
2579 Add crtfastmath.o to extra_parts.
2580
2581 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2582
2583 * config/darwin-crt3.o: New file.
2584 * config/rs6000/darwin-crt2.c: New file.
2585 * config/t-darwin: New file.
2586 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
2587 (crt2.o): New rule.
2588 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
2589 (powerpc-*-darwin*): Add crt2.o to extra_parts.
2590 (powerpc64-*-darwin*): Likewise.
2591
2592 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2593
2594 * config/i386/netware-crt0.c: New file.
2595 * config/i386/t-nwld: Rename to ...
2596 * config/i386/t-slibgcc-nwld: ... this.
2597 * config/i386/t-nwld: New file.
2598 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
2599 tmake_file.
2600 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
2601 extra_parts.
2602
2603 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2604
2605 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
2606 i386/t-crtstuff.
2607 * configure: Regenerate.
2608
2609 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2610
2611 * dfp-bit.c, dfp-bit.h: New files.
2612 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
2613 variables.
2614 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
2615 ($(d64pbit-o)): Likewise.
2616 ($(d128pbit-o)): Likewise.
2617 * config/t-dfprules: New file.
2618 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
2619 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
2620 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2621 (x86_64-*-linux*): Likewise.
2622 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2623 (i[34567]86-*-cygwin*): Likewise.
2624 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
2625 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2626
2627 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2628
2629 * Makfile.in (LIBGCOV): New variable.
2630 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
2631 * libgcov.c: New file.
2632
2633 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2634
2635 * fixed-bit.c, fixed-bit.h: New files.
2636 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
2637 refer to fixed-bit.c.
2638
2639 2011-07-07 Joseph Myers <joseph@codesourcery.com>
2640
2641 * config.host (*local*): Remove.
2642
2643 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2644
2645 PR target/39150
2646 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
2647 like i?86-*-solaris2.1[0-9]*.
2648 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
2649 * configure.ac (i?86-*-solaris2*): Likewise.
2650 * configure: Regenerate.
2651
2652 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
2653
2654 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2655 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
2656 md_unwind_header by splitting out of...
2657 (i[34567]86-*-linux*): ... this.
2658 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
2659 Remove md_unwind_header by splitting out of...
2660 (x86_64-*-linux*): ... this.
2661
2662 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
2663
2664 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
2665
2666 2011-06-28 Nick Clifton <nickc@redhat.com>
2667
2668 * config.host: Recognize all V850 variants.
2669
2670 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
2671
2672 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
2673
2674 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2675
2676 * shared-object.mk (c_flags-$o): Save c_flags.
2677 ($(base)$(objext)): Use it.
2678 ($(base)_s$(objext)): Likewise.
2679
2680 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
2681
2682 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
2683 * libgcc-std.ver.in (GCC_4.7.0): New section.
2684
2685 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
2686
2687 PR target/49313
2688 PR target/29524
2689 * config/avr/t-avr: Fix line endings.
2690 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
2691 _parityXX2.
2692
2693 2011-06-14 Olivier Hainque <hainque@adacore.com>
2694 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2695
2696 * config/mips/irix6-unwind.h: New file.
2697 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
2698
2699 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
2700
2701 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
2702 (sparc64_fallback_frame_state): Use it.
2703 (sparc64_frob_update_context): Further adjust context.
2704 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
2705 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
2706 * config/sparc/sol2-cn.S: Likewise.
2707
2708 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2709
2710 * enable-execute-stack-empty.c: New file.
2711 * enable-execute-stack-mprotect.c: New file.
2712 * config/i386/enable-execute-stack-mingw32.c: New file.
2713 * config.host (enable_execute_stack): New variable.
2714 Select appropriate variants.
2715 * configure.ac: Link enable-execute-stack.c to
2716 $enable_execute_stack.
2717 * configure: Regenerate.
2718 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
2719 (lib2funcs): Remove _enable_execute_stack.
2720
2721 2011-06-09 David S. Miller <davem@davemloft.net>
2722 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2723
2724 * config.host (sparc-*-linux*): Correct md_unwind_header
2725 filename.
2726 (s390x-ibm-tpf*): Fix typo.
2727
2728 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2729
2730 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
2731 Add crtfastmath.o to extra_parts.
2732 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
2733 mips/t-crtfm.
2734 * config/mips/t-crtfm: Remove.
2735
2736 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2737
2738 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
2739
2740 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
2741
2742 * config.host (sh*-*-linux*): Fix typo.
2743
2744 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2745
2746 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
2747 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
2748 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
2749 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
2750 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
2751 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
2752 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
2753 Wrap in !__MINGW64__.
2754 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
2755 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
2756 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
2757 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
2758 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
2759 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
2760 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
2761 Wrap in !__LP64__.
2762 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
2763 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
2764 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
2765 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
2766 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
2767 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
2768 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
2769 * config/no-unwind.h: New file.
2770 * config.host (md_unwind_header): Document.
2771 Define.
2772 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
2773 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
2774 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
2775 hppa[12]*-*-hpux11*): Set md_unwind_header.
2776 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
2777 Set md_unwind_header.
2778 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
2779 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
2780 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
2781 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
2782 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
2783 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
2784 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
2785 md_unwind_header.
2786 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
2787 * configure: Regenerate.
2788
2789 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2790
2791 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
2792 Set tmake_file, extra_parts.
2793 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
2794 Remove O32 support.
2795 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
2796 Remove O32 support.
2797 * config/mips/t-irix6: New file.
2798 * config/mips/t-slibgcc-irix: New file.
2799
2800 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2801
2802 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
2803 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
2804
2805 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2806
2807 * configure.ac (target_thread_file): Determine thread model.
2808 * configure: Regenerate.
2809 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
2810 * config/alpha/t-alpha: New file.
2811 * config/alpha/t-crtfm: Use $<.
2812 * config/alpha/t-ieee: New file.
2813 * config/alpha/t-osf-pthread: New file.
2814 * config/alpha/t-slibgcc-osf: New file.
2815 * config/alpha/libgcc-osf5.ver: New file.
2816
2817 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2818
2819 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
2820 tmake_file.
2821 Add crtfastmath.o to extra_parts.
2822
2823 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2824
2825 * config/gmon-sol2.c: Reindent.
2826 Cleanup comments.
2827 Remove, correct casts.
2828 Use STDERR_FILENO, NULL.
2829 (BASEADDRESS): Remove.
2830 (minbrk): Remove.
2831 (errno, sbrk): Remove declarations.
2832 (monstartup) [hp300]: Remove.
2833 (mcount): Remove.
2834
2835 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2836
2837 * Makefile.in (cpu_type): Define.
2838 * config.host (i[34567]86-*-rtems*): Handle it.
2839 (i[34567]86-*-solaris2*): Move body ...
2840 (*-*-solaris2*): ... here.
2841 New case, generalize.
2842 (sparc-*-elf*): Handle it.
2843 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
2844 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
2845 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
2846 Fold into ...
2847 (sparc*-*-solaris2*): ... this.
2848 New case.
2849 (sparc64-*-elf*): Handle it.
2850 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
2851 Merge ../gcc/config/i386/gmon-sol2.c.
2852 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
2853 Use C comments.
2854 Merge ../gcc/config/i386/sol2-gc1.asm.
2855 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
2856 Use C comments.
2857 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
2858 Use C comments.
2859 * config/i386/t-crtfm (crtfastmath.o): Use $<.
2860 * config/i386/t-crtstuff: New file.
2861 * config/i386/t-softfp: New file.
2862 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
2863 $(T)crti.o, $(T)crtn.o): Remove.
2864 (gcrt1.o): New rule.
2865 (TARGET_LIBGCC2_CFLAGS): Remove.
2866 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
2867 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
2868 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
2869 * config/sparc/t-sol2: New file.
2870 * config/sparc/t-crtfm: Move to ...
2871 * config/t-crtfm: ... this.
2872 Use $(cpu_type), $<.
2873 * config/t-crtin: New file.
2874 * config/sparc/t-softfp: New file.
2875 * config/sparc/t-softmul: New file.
2876 * config/t-rtems: New file.
2877 * config/t-slibgcc: New file.
2878 * config/t-slibgcc-elf-ver: New file.
2879 * config/t-slibgcc-gld: New file.
2880 * config/t-slibgcc-sld: New file.
2881 * config/t-sol2: New file.
2882 * configure.ac: Include ../config/lib-ld.m4.
2883 Call AC_LIB_PROG_LD_GNU.
2884 Substitute cpu_type.
2885 * configure: Regenerate.
2886
2887 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
2888
2889 PR bootstrap/49173
2890 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
2891 libgcc-std.ver in the build directory.
2892 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
2893 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
2894
2895 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
2896
2897 * libgcc-std.ver.in: New file.
2898 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
2899 variables.
2900 (libgcc-std.ver): New rule.
2901 * config/t-gnu-prefix: New file.
2902
2903 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2904
2905 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
2906
2907 2011-05-10 Joseph Myers <joseph@codesourcery.com>
2908
2909 * config/i386/darwin-lib.h: New file.
2910
2911 2011-05-10 Joseph Myers <joseph@codesourcery.com>
2912
2913 * config/arm/symbian-lib.h: New.
2914
2915 2011-05-04 Chris Demetriou <cgd@google.com>
2916
2917 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
2918 (__x86.get_pc_thunk.bx): ...this.
2919 (__morestack): Adjust for rename, remove undef of __i686.
2920
2921 2011-05-03 Chris Demetriou <cgd@google.com>
2922
2923 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
2924
2925 2011-03-22 Joseph Myers <joseph@codesourcery.com>
2926
2927 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
2928 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
2929 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
2930 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
2931 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
2932 Remove cases.
2933
2934 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
2935
2936 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
2937 Adjust copyright year.
2938
2939 2011-03-07 Ian Lance Taylor <iant@google.com>
2940
2941 * generic-morestack.c (__splitstack_find): Adjust returned stack
2942 pointer to include all registers pushed by __morestack.
2943
2944 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
2945
2946 PR target/40125
2947 * configure.ac: Call ACX_NONCANONICAL_TARGET.
2948 (toolexecdir): Calculate and AC_SUBST.
2949 (toolexeclibdir): Likewise.
2950 * Makefile.in (target_noncanonical): Import.
2951 (toolexecdir): Likewise.
2952 (toolexeclibdir): Likewise.
2953 * configure: Regenerate.
2954
2955 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
2956
2957 PR target/46040
2958 * config/arm/bpabi.h: Rename to...
2959 * config/arm/bpabi-lib.h: ...this.
2960
2961 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2962
2963 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
2964 appropriate.
2965 * configure: Regenerate.
2966
2967 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
2968
2969 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
2970 __FLOAT_WORD_ORDER__.
2971 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
2972 Delete.
2973
2974 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2975
2976 PR other/46202
2977 * Makefile.in (install-strip): New phony target.
2978
2979 2010-11-07 Ian Lance Taylor <iant@google.com>
2980
2981 PR target/46089
2982 * config/i386/morestack.S (__morestack_large_model): New
2983 function.
2984
2985 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
2986
2987 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
2988 Delete.
2989 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
2990
2991 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
2992
2993 * config/arm/bpabi.h: New file.
2994 * config/frv/frv-abi.h: New file.
2995
2996 2010-10-01 Ian Lance Taylor <iant@google.com>
2997
2998 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
2999 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
3000
3001 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
3002
3003 PR target/45858
3004 * config.host: Add the missing `$'.
3005
3006 2010-09-30 Michael Eager <eager@eagercon.com>
3007
3008 * config.host: Add microblaze*-*-*.
3009 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
3010 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
3011 udivsi3.asm,umodsi3.asm}: New.
3012
3013 2010-09-28 Ian Lance Taylor <iant@google.com>
3014
3015 * configure.ac: Adjust CFI test to test assembler directly rather
3016 than checking gcc preprocessor macro.
3017 * configure: Rebuild.
3018
3019 2010-09-27 Ian Lance Taylor <iant@google.com>
3020
3021 * configure.ac: Test whether assembler supports CFI directives.
3022 * config.host: Only add t-stack and i386/t-stack-i386 to
3023 tmake_file if libgcc_cv_cfi is "yes".
3024 * configure: Rebuild.
3025
3026 2010-09-27 Ian Lance Taylor <iant@google.com>
3027
3028 * generic-morestack.h: New file.
3029 * generic-morestack.c: New file.
3030 * generic-morestack-thread.c: New file.
3031 * config/i386/morestack.S: New file.
3032 * config/t-stack: New file.
3033 * config/i386/t-stack-i386: New file.
3034 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
3035 i386/t-stack-i386 to tmake_file.
3036
3037 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
3038
3039 * Makefile.in (libgcc-extra-parts): Check for static archives and
3040 invoke ranlib after installing them.
3041 (gcc-extra-parts): Likewise.
3042 (install-leaf): Likewise.
3043
3044 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
3045
3046 * configure: Regenerated.
3047
3048 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
3049
3050 * configure: Regenerated.
3051
3052 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
3053 Andrew Pinski <pinskia@gmail.com>
3054
3055 PR target/40959
3056 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
3057
3058 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
3059
3060 PR target/45524
3061 * configure: Regenerated.
3062
3063 2010-09-06 Andreas Schwab <schwab@redhat.com>
3064
3065 * configure: Regenerate.
3066
3067 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
3068
3069 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3070 64bit targets.
3071 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3072 for 64bit targets.
3073
3074 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
3075 Iain Sandoe <iains@gcc.gnu.org>
3076
3077 PR target/45476
3078 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3079 LIB2FUNCS_EXCLUDE functions.
3080
3081 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3082
3083 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3084 Include dfp.m4.
3085 * configure: Regenerate.
3086
3087 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
3088
3089 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3090 i386/t-freebsd to tmake_file.
3091 * config/i386/t-freebsd: New file.
3092 * config/i386/libgcc-bsd.ver: New file.
3093
3094 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
3095
3096 * config.host (powerpc*-eabispe*): Set tmake_file.
3097 (powerpc*-eabi*): Likewise.
3098 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3099 crtbeginS, crtendS, crtbeginT.
3100
3101 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
3102
3103 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3104 to tmake_file. Add crtfastmath.o to extra_parts.
3105 * config/mips/t-crtfm: New.
3106
3107 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
3108
3109 * config.host (sparc64-*-rtems*): New target.
3110
3111 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3112
3113 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3114 assembler syntax.
3115
3116 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
3117
3118 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3119
3120 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3121
3122 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3123 alpha-dec-osf5.0* support.
3124
3125 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
3126
3127 * config.host: Add lm32-*-rtems*.
3128
3129 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3130 Uros Bizjak <ubizjak@gmail.com>
3131
3132 PR target/39048
3133 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3134 like other remaining 32-bit x86 OSes.
3135 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3136 assembler syntax.
3137 * config/i386/libgcc-sol2.ver: New file.
3138 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3139
3140 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
3141
3142 PR c/43553
3143 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3144 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3145 is used and substitute set_use_emutls.
3146 * configure: Regenerated.
3147
3148 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
3149
3150 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3151
3152 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3153
3154 PR target/38085
3155 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3156 MULTILIB_CFLAGS.
3157 ($(T)gcrt1.o): Likewise.
3158 ($(T)crt1.o): Likewise.
3159 ($(T)crti.o): Likewise.
3160 ($(T)crtn.o): Likewise.
3161
3162 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3163
3164 PR other/42980
3165 * Makefile.in (install): Use $(MAKE) string in rule, for
3166 parallel make.
3167
3168 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
3169
3170 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3171 * config/mmix/t-mmix: New file.
3172 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
3173
3174 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
3175
3176 PR java/41991
3177 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
3178 SHLIB_MAPFILES.
3179
3180 2010-01-04 Anthony Green <green@moxielogic.com>
3181
3182 * config/moxie/crti.asm, config/moxie/crtn.asm,
3183 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
3184 config/moxie/t-moxie: New files.
3185 * config.host: Add t-moxie-softfp reference.
3186
3187 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
3188
3189 PR other/39888
3190 * config/t-slibgcc-darwin: Fix embedded rpaths for
3191 --enable-version-specific-runtime-libs, build extension stub
3192 libs exposing features available from current libgcc_s.
3193
3194 2009-11-11 Jon Beniston <jon@beniston.com>
3195
3196 * config.host: Add lm32 targets.
3197 * config/lm32: New directory.
3198 * config/lm32/libgcc_lm32.h: New file.
3199 * config/lm32/_mulsi3.c: New file.
3200 * config/lm32/_udivmodsi4.c: New file.
3201 * config/lm32/_divsi3.c: New file.
3202 * config/lm32/_modsi3.c: New file.
3203 * config/lm32/_udivsi3.c: New file.
3204 * config/lm32/_umodsi3.c: New file.
3205 * config/lm32/_lshrsi3.S: New file.
3206 * config/lm32/_ashrsi3.S: New file.
3207 * config/lm32/_ashlsi3.S: New file.
3208 * config/lm32/crti.S: New file.
3209 * config/lm32/crtn.S: New file.
3210 * config/lm32/t-lm32: New file.
3211 * config/lm32/t-elf: New file.
3212 * config/lm32/t-uclinux: New file.
3213
3214 2009-10-26 Nick Clifton <nickc@redhat.com>
3215
3216 * config.host: Add support for RX target.
3217 * config/rx: New directory.
3218 * config/rx/rx-abi-functions.c: New file. Supplementary
3219 functions for libgcc to support the RX ABI.
3220 * config/rx/rx-abi.h: New file. Supplementary header file for
3221 libgcc RX ABI functions.
3222 * config/rx/t-rx: New file: Makefile fragment for building
3223 libgcc for the RX.
3224
3225 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
3226
3227 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
3228 constraint of y0 to "g".
3229
3230 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3231
3232 * config.host: Include the s390 makefile fragments.
3233 * config/s390/32/_fixdfdi.c: New file.
3234 * config/s390/32/_fixsfdi.c: New file.
3235 * config/s390/32/_fixtfdi.c: New file.
3236 * config/s390/32/_fixunsdfdi.c: New file.
3237 * config/s390/32/_fixunssfdi.c: New file.
3238 * config/s390/32/_fixunstfdi.c: New file.
3239 * config/s390/32/t-floattodi: New file.
3240 * config/s390/libgcc-glibc.ver: New file.
3241 * config/s390/t-crtstuff: New file.
3242 * config/s390/t-linux: New file.
3243 * config/s390/t-tpf: New file.
3244
3245 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3246
3247 * configure.ac (AC_PREREQ): Bump to 2.64.
3248
3249 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
3250
3251 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
3252
3253 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3254
3255 * configure: Regenerate.
3256
3257 2009-08-09 Douglas B Rupp <rupp@gnat.com>
3258
3259 * config.host (ia64-hp-*vms*): New target.
3260 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
3261 with ia64-hp-*vms*.
3262
3263 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3264
3265 * configure.ac: Add snippet for maintainer-mode.
3266 * configure: Regenerate.
3267 * Makefile.in (AUTOCONF, configure_deps): New variables.
3268 ($(srcdir)/configure)): New rule, active only with maintainer
3269 mode turned on.
3270
3271 2009-06-23 DJ Delorie <dj@redhat.com>
3272
3273 Add MeP port.
3274 * config.host: Add mep support.
3275
3276 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
3277
3278 * config.host: Add i386/${host_address}/t-fprules-softfp and
3279 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
3280
3281 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
3282 for mingw targets.
3283 * config/i386/64/_multc3.c: Likewise.
3284 * config/i386/64/_powitf2.c: Likewise.
3285 * config/i386/64/eqtf2.c: Likewise.
3286 * config/i386/64/getf2.c: Likewise.
3287 * config/i386/64/letf2.c: Likewise.
3288 * config/i386/64/letf2.c: Likewise.
3289 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
3290 unsigned long long for x64 mingw targets.
3291 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
3292 (_FP_I_TYPE): Define as long long for x64 mingw target.
3293
3294 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
3295
3296 * config.host (vax-*-linux*): New.
3297
3298 2009-05-31 Anthony Green <green@moxielogic.com>
3299
3300 * config.host: Add moxie support.
3301 * config/moxie/t-moxie: New file.
3302
3303 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
3304
3305 * config.host: Add i386/${host_address}/t-fprules-softfp and
3306 t-softfp to tmake_file for i[34567]86-*-cygwin*.
3307
3308 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
3309
3310 * config.host: Add i386/${host_address}/t-fprules-softfp to
3311 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
3312
3313 2009-04-09 Nick Clifton <nickc@redhat.com>
3314
3315 * config/ia64/tf-signs.c: Change copyright header to refer to
3316 version 3 of the GNU General Public License with version 3.1
3317 of the GCC Runtime Library Exception and to point readers at
3318 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
3319 web page.
3320 * config/i386/32/tf-signs.c: Likewise.
3321 * config/libbid/_addsub_dd.c: Likewise.
3322 * config/libbid/_addsub_sd.c: Likewise.
3323 * config/libbid/_addsub_td.c: Likewise.
3324 * config/libbid/_dd_to_df.c: Likewise.
3325 * config/libbid/_dd_to_di.c: Likewise.
3326 * config/libbid/_dd_to_sd.c: Likewise.
3327 * config/libbid/_dd_to_sf.c: Likewise.
3328 * config/libbid/_dd_to_si.c: Likewise.
3329 * config/libbid/_dd_to_td.c: Likewise.
3330 * config/libbid/_dd_to_tf.c: Likewise.
3331 * config/libbid/_dd_to_udi.c: Likewise.
3332 * config/libbid/_dd_to_usi.c: Likewise.
3333 * config/libbid/_dd_to_xf.c: Likewise.
3334 * config/libbid/_df_to_dd.c: Likewise.
3335 * config/libbid/_df_to_sd.c: Likewise.
3336 * config/libbid/_df_to_td.c: Likewise.
3337 * config/libbid/_di_to_dd.c: Likewise.
3338 * config/libbid/_di_to_sd.c: Likewise.
3339 * config/libbid/_di_to_td.c: Likewise.
3340 * config/libbid/_div_dd.c: Likewise.
3341 * config/libbid/_div_sd.c: Likewise.
3342 * config/libbid/_div_td.c: Likewise.
3343 * config/libbid/_eq_dd.c: Likewise.
3344 * config/libbid/_eq_sd.c: Likewise.
3345 * config/libbid/_eq_td.c: Likewise.
3346 * config/libbid/_ge_dd.c: Likewise.
3347 * config/libbid/_ge_sd.c: Likewise.
3348 * config/libbid/_ge_td.c: Likewise.
3349 * config/libbid/_gt_dd.c: Likewise.
3350 * config/libbid/_gt_sd.c: Likewise.
3351 * config/libbid/_gt_td.c: Likewise.
3352 * config/libbid/_isinfd128.c: Likewise.
3353 * config/libbid/_isinfd32.c: Likewise.
3354 * config/libbid/_isinfd64.c: Likewise.
3355 * config/libbid/_le_dd.c: Likewise.
3356 * config/libbid/_le_sd.c: Likewise.
3357 * config/libbid/_le_td.c: Likewise.
3358 * config/libbid/_lt_dd.c: Likewise.
3359 * config/libbid/_lt_sd.c: Likewise.
3360 * config/libbid/_lt_td.c: Likewise.
3361 * config/libbid/_mul_dd.c: Likewise.
3362 * config/libbid/_mul_sd.c: Likewise.
3363 * config/libbid/_mul_td.c: Likewise.
3364 * config/libbid/_ne_dd.c: Likewise.
3365 * config/libbid/_ne_sd.c: Likewise.
3366 * config/libbid/_ne_td.c: Likewise.
3367 * config/libbid/_sd_to_dd.c: Likewise.
3368 * config/libbid/_sd_to_df.c: Likewise.
3369 * config/libbid/_sd_to_di.c: Likewise.
3370 * config/libbid/_sd_to_sf.c: Likewise.
3371 * config/libbid/_sd_to_si.c: Likewise.
3372 * config/libbid/_sd_to_td.c: Likewise.
3373 * config/libbid/_sd_to_tf.c: Likewise.
3374 * config/libbid/_sd_to_udi.c: Likewise.
3375 * config/libbid/_sd_to_usi.c: Likewise.
3376 * config/libbid/_sd_to_xf.c: Likewise.
3377 * config/libbid/_sf_to_dd.c: Likewise.
3378 * config/libbid/_sf_to_sd.c: Likewise.
3379 * config/libbid/_sf_to_td.c: Likewise.
3380 * config/libbid/_si_to_dd.c: Likewise.
3381 * config/libbid/_si_to_sd.c: Likewise.
3382 * config/libbid/_si_to_td.c: Likewise.
3383 * config/libbid/_td_to_dd.c: Likewise.
3384 * config/libbid/_td_to_df.c: Likewise.
3385 * config/libbid/_td_to_di.c: Likewise.
3386 * config/libbid/_td_to_sd.c: Likewise.
3387 * config/libbid/_td_to_sf.c: Likewise.
3388 * config/libbid/_td_to_si.c: Likewise.
3389 * config/libbid/_td_to_tf.c: Likewise.
3390 * config/libbid/_td_to_udi.c: Likewise.
3391 * config/libbid/_td_to_usi.c: Likewise.
3392 * config/libbid/_td_to_xf.c: Likewise.
3393 * config/libbid/_tf_to_dd.c: Likewise.
3394 * config/libbid/_tf_to_sd.c: Likewise.
3395 * config/libbid/_tf_to_td.c: Likewise.
3396 * config/libbid/_udi_to_dd.c: Likewise.
3397 * config/libbid/_udi_to_sd.c: Likewise.
3398 * config/libbid/_udi_to_td.c: Likewise.
3399 * config/libbid/_unord_dd.c: Likewise.
3400 * config/libbid/_unord_sd.c: Likewise.
3401 * config/libbid/_unord_td.c: Likewise.
3402 * config/libbid/_usi_to_dd.c: Likewise.
3403 * config/libbid/_usi_to_sd.c: Likewise.
3404 * config/libbid/_usi_to_td.c: Likewise.
3405 * config/libbid/_xf_to_dd.c: Likewise.
3406 * config/libbid/_xf_to_sd.c: Likewise.
3407 * config/libbid/_xf_to_td.c: Likewise.
3408 * config/libbid/bid128.c: Likewise.
3409 * config/libbid/bid128_2_str.h: Likewise.
3410 * config/libbid/bid128_2_str_macros.h: Likewise.
3411 * config/libbid/bid128_2_str_tables.c: Likewise.
3412 * config/libbid/bid128_add.c: Likewise.
3413 * config/libbid/bid128_compare.c: Likewise.
3414 * config/libbid/bid128_div.c: Likewise.
3415 * config/libbid/bid128_fma.c: Likewise.
3416 * config/libbid/bid128_logb.c: Likewise.
3417 * config/libbid/bid128_minmax.c: Likewise.
3418 * config/libbid/bid128_mul.c: Likewise.
3419 * config/libbid/bid128_next.c: Likewise.
3420 * config/libbid/bid128_noncomp.c: Likewise.
3421 * config/libbid/bid128_quantize.c: Likewise.
3422 * config/libbid/bid128_rem.c: Likewise.
3423 * config/libbid/bid128_round_integral.c: Likewise.
3424 * config/libbid/bid128_scalb.c: Likewise.
3425 * config/libbid/bid128_sqrt.c: Likewise.
3426 * config/libbid/bid128_string.c: Likewise.
3427 * config/libbid/bid128_to_int16.c: Likewise.
3428 * config/libbid/bid128_to_int32.c: Likewise.
3429 * config/libbid/bid128_to_int64.c: Likewise.
3430 * config/libbid/bid128_to_int8.c: Likewise.
3431 * config/libbid/bid128_to_uint16.c: Likewise.
3432 * config/libbid/bid128_to_uint32.c: Likewise.
3433 * config/libbid/bid128_to_uint64.c: Likewise.
3434 * config/libbid/bid128_to_uint8.c: Likewise.
3435 * config/libbid/bid32_to_bid128.c: Likewise.
3436 * config/libbid/bid32_to_bid64.c: Likewise.
3437 * config/libbid/bid64_add.c: Likewise.
3438 * config/libbid/bid64_compare.c: Likewise.
3439 * config/libbid/bid64_div.c: Likewise.
3440 * config/libbid/bid64_fma.c: Likewise.
3441 * config/libbid/bid64_logb.c: Likewise.
3442 * config/libbid/bid64_minmax.c: Likewise.
3443 * config/libbid/bid64_mul.c: Likewise.
3444 * config/libbid/bid64_next.c: Likewise.
3445 * config/libbid/bid64_noncomp.c: Likewise.
3446 * config/libbid/bid64_quantize.c: Likewise.
3447 * config/libbid/bid64_rem.c: Likewise.
3448 * config/libbid/bid64_round_integral.c: Likewise.
3449 * config/libbid/bid64_scalb.c: Likewise.
3450 * config/libbid/bid64_sqrt.c: Likewise.
3451 * config/libbid/bid64_string.c: Likewise.
3452 * config/libbid/bid64_to_bid128.c: Likewise.
3453 * config/libbid/bid64_to_int16.c: Likewise.
3454 * config/libbid/bid64_to_int32.c: Likewise.
3455 * config/libbid/bid64_to_int64.c: Likewise.
3456 * config/libbid/bid64_to_int8.c: Likewise.
3457 * config/libbid/bid64_to_uint16.c: Likewise.
3458 * config/libbid/bid64_to_uint32.c: Likewise.
3459 * config/libbid/bid64_to_uint64.c: Likewise.
3460 * config/libbid/bid64_to_uint8.c: Likewise.
3461 * config/libbid/bid_b2d.h: Likewise.
3462 * config/libbid/bid_binarydecimal.c: Likewise.
3463 * config/libbid/bid_conf.h: Likewise.
3464 * config/libbid/bid_convert_data.c: Likewise.
3465 * config/libbid/bid_decimal_data.c: Likewise.
3466 * config/libbid/bid_decimal_globals.c: Likewise.
3467 * config/libbid/bid_div_macros.h: Likewise.
3468 * config/libbid/bid_dpd.c: Likewise.
3469 * config/libbid/bid_flag_operations.c: Likewise.
3470 * config/libbid/bid_from_int.c: Likewise.
3471 * config/libbid/bid_functions.h: Likewise.
3472 * config/libbid/bid_gcc_intrinsics.h: Likewise.
3473 * config/libbid/bid_inline_add.h: Likewise.
3474 * config/libbid/bid_internal.h: Likewise.
3475 * config/libbid/bid_round.c: Likewise.
3476 * config/libbid/bid_sqrt_macros.h: Likewise.
3477
3478 2009-04-09 Jakub Jelinek <jakub@redhat.com>
3479
3480 * Makefile.in: Change copyright header to refer to version
3481 3 of the GNU General Public License and to point readers at the
3482 COPYING3 file and the FSF's license web page.
3483 * config.host: Likewise.
3484
3485 2009-04-07 Alan Modra <amodra@bigpond.net.au>
3486
3487 * config.host: Reorder and merge to match config.gcc change.
3488
3489 2009-04-03 Alan Modra <amodra@bigpond.net.au>
3490
3491 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
3492
3493 2009-03-28 Joseph Myers <joseph@codesourcery.com>
3494
3495 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
3496 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
3497 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
3498 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
3499
3500 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
3501
3502 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
3503 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3504
3505 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
3506
3507 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
3508 ia64/t-softfp-compat to tmake_file.
3509
3510 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
3511
3512 * config/ia64/__divxf3.asm: New.
3513 * config/ia64/_fixtfdi.asm: Likewise.
3514 * config/ia64/_fixunstfdi.asm: Likewise.
3515 * config/ia64/_floatditf.asm: Likewise.
3516 * config/ia64/t-fprules-softfp: Likewise.
3517 * config/ia64/t-softfp-compat: Likewise.
3518 * config/ia64/tf-signs.c: Likewise.
3519
3520 2009-01-18 Ben Elliston <bje@au.ibm.com>
3521
3522 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3523
3524 2009-01-16 Ben Elliston <bje@au.ibm.com>
3525
3526 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
3527 to tmake_file.
3528
3529 2009-01-13 Ben Elliston <bje@au.ibm.com>
3530
3531 * config/t-softfp: New file.
3532 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
3533 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
3534
3535 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
3536
3537 * config.host: Add m32r*-*-rtems*.
3538
3539 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
3540
3541 * config.host: Add m32c*-*-rtems*.
3542
3543 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3544
3545 PR bootstrap/33100
3546 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
3547 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
3548 * configure: Regenerate.
3549 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
3550 tmake_file here from gcc/config.gcc.
3551 Move extra_parts here from gcc/config.gcc.
3552 * config/i386/t-sol2: Move here from gcc/config/i386.
3553 Use gcc_srcdir instead of srcdir.
3554
3555 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
3556
3557 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
3558 case.
3559
3560 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
3561
3562 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
3563
3564 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
3565
3566 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
3567
3568 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
3569
3570 Add picoChip port.
3571 * config.host: Add picochip-*-*.
3572
3573 2008-08-06 Bob Wilson <bob.wilson@acm.org>
3574
3575 * config.host: Match more processor names for Xtensa.
3576
3577 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
3578
3579 * config/i386/64/t-softfp-compat: Update comments.
3580
3581 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
3582
3583 * config/i386/64/_divtc3-compat.c: Moved to ...
3584 * config/i386/64/_divtc3.c: Here.
3585
3586 * config/i386/64/_multc3-compat.c: Moved to ...
3587 * config/i386/64/_multc3.c: Here.
3588
3589 * config/i386/64/_powitf2-compat.c: Moved to ...
3590 * config/i386/64/_powitf2.c: Here.
3591
3592 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
3593 .c suffix instead of -compat.c.
3594
3595 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
3596
3597 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
3598 (_FP_MUL_MEAT_D): Ditto.
3599 (_FP_DIV_MEAT_S): Ditto.
3600 (_FP_DIV_MEAT_D): Ditto.
3601
3602 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
3603
3604 * Makefile.in: Add support for __sync_* libgcc functions.
3605
3606 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
3607
3608 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
3609
3610 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3611
3612 PR boostrap/36702
3613 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
3614 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
3615
3616 * config/i386/64/t-fprules-softfp: Moved to ...
3617 * config/i386/64/t-softfp-compat: This. New.
3618
3619 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
3620
3621 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
3622 Initialize f with 0.0.
3623
3624 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3625
3626 PR target/36669
3627 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
3628
3629 * config/i386/64/_divtc3-compat.c: New.
3630 * config/i386/64/_multc3-compat.c: Likewise.
3631 * config/i386/64/_powitf2-compat.c: Likewise.
3632 * config/i386/64/eqtf2.c: Likewise.
3633 * config/i386/64/getf2.c: Likewise.
3634 * config/i386/64/letf2.c: Likewise.
3635 * config/i386/64/t-fprules-softfp: Likewise.
3636
3637 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3638
3639 * config.host: Add i386/${host_address}/t-fprules-softfp to
3640 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
3641 i[34567]86-*-linux*, x86_64-*-linux*.
3642
3643 * configure.ac: Set host_address to 64 or 32 for x86.
3644 * configure: Regenerated.
3645
3646 * Makefile.in (config.status): Also depend on
3647 $(srcdir)/config.host.
3648
3649 * config/i386/32/t-fprules-softfp: New.
3650 * config/i386/32/tf-signs.c: Likewise.
3651
3652 * config/i386/64/sfp-machine.h: New. Moved from gcc.
3653
3654 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3655 Uros Bizjak <ubizjak@gmail.com>
3656
3657 * config/i386/32/sfp-machine.h: New.
3658
3659 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
3660
3661 * config/rs6000/t-ppccomm: Remove rules that conflict with
3662 auto-generated rules.
3663
3664 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3665
3666 * configure.ac: sinclude override.m4.
3667 * configure: Regenerate.
3668
3669 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
3670
3671 * configure: Regenerate.
3672
3673 2008-06-10 Joseph Myers <joseph@codesourcery.com>
3674
3675 * Makefile.in (DECNUMINC): Remove
3676 -I$(MULTIBUILDTOP)../../libdecnumber.
3677 * gstdint.h: New.
3678
3679 2008-06-07 Joseph Myers <joseph@codesourcery.com>
3680
3681 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
3682 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
3683 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
3684 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
3685 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
3686 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
3687 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
3688 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
3689 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
3690 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
3691 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
3692 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
3693 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
3694 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
3695
3696 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
3697
3698 * config.host (sh2[lbe]*-*-linux*): Allow target.
3699
3700 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
3701
3702 * config/rs6000/t-ppccomm: Add build rules for new files.
3703 (LIB2ADD_ST): New variable.
3704
3705 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
3706
3707 PR target/34210
3708 PR target/35508
3709 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
3710 * config/t-avr: New file. Build 16bit libgcc functions.
3711
3712 2008-03-02 Jakub Jelinek <jakub@redhat.com>
3713
3714 PR target/35401
3715 * config/t-slibgcc-darwin: Make install-leaf dependent on
3716 install-darwin-libgcc-stubs instead of install.
3717
3718 2008-01-25 Joseph Myers <joseph@codesourcery.com>
3719
3720 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
3721 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
3722 sh-*-rtemscoff*): Remove cases.
3723
3724 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
3725
3726 * Makefile.in (all): Use install-leaf rather than install.
3727 (install): Split most of the rule into...
3728 (install-leaf): ...this new one.
3729
3730 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
3731 Paolo Bonzini <bonzini@gnu.org>
3732
3733 PR target/30572
3734 * Makefile.in: Use @shlib_slibdir@ substitution to get
3735 correct install name on darwin.
3736 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
3737
3738 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
3739
3740 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
3741 cris-*-elf and cris-*-none.
3742 (crisv32-*-linux*): Similar, as cris-*-linux*.
3743
3744 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
3745
3746 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
3747
3748 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
3749
3750 PR regression/33926
3751 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
3752 * configure: Regenerated.
3753
3754 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
3755
3756 * Makefile.in (dfp-filenames): Replace decimal_globals,
3757 decimal_data, binarydecimal and convert_data with
3758 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
3759 and bid_convert_data, respectively.
3760
3761 2007-09-17 Chao-ying Fu <fu@mips.com>
3762 Nigel Stephens <nigel@mips.com>
3763
3764 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
3765 * Makefile.in (fixed_point): Define.
3766 Check if fixed_point is yes to build support functions.
3767 * configure.ac: Check for fixed_point support.
3768 * configure: Regenerated.
3769 * gen-fixed.sh: New file to generate lists of fixed-point labels,
3770 funcs, modes, from, to.
3771
3772 2007-09-11 Janis Johnson <janis187@us.ibm.com
3773
3774 * Makefile.in (dfp-filenames): Add bid128_noncomp.
3775
3776 2007-09-10 Janis Johnson <janis187@us.ibm.com>
3777
3778 * Makefile.in (dfp-filenames): Remove decUtility, add
3779 decDouble, decPacked, decQuad, decSingle.
3780
3781 2007-08-27 Hans Kester <hans.kester@ellips.nl>
3782
3783 * config.host : Add x86_64-elf target.
3784
3785 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
3786
3787 * configure.ac (set_have_cc_tls): Add a missing =.
3788 * configure: Regenerated.
3789
3790 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
3791
3792 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
3793 and x86_64-*-linux*.
3794
3795 * config/t-tls: New file.
3796
3797 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
3798
3799 * configure.ac: Include ../config/enable.m4 and
3800 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
3801 supports TLS and substitute set_have_cc_tls.
3802 * configure: Regenerated.
3803
3804 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
3805
3806 * Makefile.in: Use libbid for DFP when BID is enabled.
3807
3808 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
3809
3810 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
3811 extra_parts. Add config/i386/t-cygming to tmake_file.
3812 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
3813
3814 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
3815 Danny Smith <dannysmith@users.sourceforge.net>
3816
3817 PR target/29498
3818 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
3819 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
3820 * config/i386/t-crtfm: Compile crtfastmath.o with
3821 -minline-all-stringops.
3822
3823 2007-05-10 Richard Sandiford <richard@codesourcery.com>
3824
3825 * config.host (sparc-wrs-vxworks): New target.
3826
3827 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
3828
3829 * config.host: Recognize fido.
3830
3831 2007-04-04 Janis Johnson <janis187@us.ibm.com>
3832
3833 * configure: Check host, not target, for decimal float support.
3834
3835 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
3836
3837 * config/i386/t-crtpc: New file.
3838 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
3839 (x86_64-*-linux*): Ditto.
3840
3841 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
3842
3843 * config.host (x86_64-*-mingw*): New target.
3844
3845 2007-03-23 Michael Meissner <michael.meissner@amd.com>
3846 H.J. Lu <hongjiu.lu@intel.com>
3847
3848 * Makefile.in (enable_decimal_float): New.
3849 (DECNUMINC): Add
3850 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
3851 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
3852 (decbits-filenames): This.
3853 (decbits-objects): New.
3854 (libgcc-objects): Add $(decbits-objects).
3855
3856 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
3857 Substitute enable_decimal_float.
3858 * configure: Regenerated.
3859
3860 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
3861
3862 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
3863
3864 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
3865
3866 * Makefile.in (install-info): New dummy target.
3867
3868 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
3869
3870 * config.host (bfin*-linux-uclibc*): Set extra_parts.
3871
3872 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
3873
3874 * Makefile.in: Add install-html and install-pdf dummy
3875 targets.
3876
3877 2007-02-05 Roger Sayle <roger@eyesopen.com>
3878 Daniel Jacobowitz <dan@codesourcery.com>
3879
3880 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
3881 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
3882 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
3883
3884 2007-01-29 Janis Johnson <janis187@us.ibm.com>
3885
3886 * Makefile.in (dec-filenames): Add decExcept.
3887
3888 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
3889
3890 PR bootstrap/30469
3891 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
3892 -fprofile-use.
3893
3894 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
3895
3896 * configure.ac: Add --enable-version-specific-runtime-libs.
3897 Correct $slibdir default.
3898 * configure: Regenerated.
3899
3900 2007-01-23 Joseph Myers <joseph@codesourcery.com>
3901
3902 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
3903
3904 2007-01-21 Andrew Pinski <pinskia@gmail.com>
3905
3906 PR target/30519
3907 * config.host (alpha*-*-linux*): Set extra_parts.
3908
3909 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
3910
3911 * config/sh/t-linux: New.
3912 * config.host (sh*-*-linux*): Set tmake_file.
3913
3914 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
3915
3916 * Makefile.in (install): Handle multilibs.
3917
3918 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
3919
3920 * Makefile.in: Added .PHONY entry for documentation targets.
3921
3922 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
3923
3924 * Makefile.in: Add empty info, html, dvi, pdf targets.
3925
3926 2007-01-04 Mike Stump <mrs@apple.com>
3927
3928 * Makefile.in (MAKEINFO): Remove.
3929 (PERL): Likewise.
3930
3931 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
3932
3933 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
3934 * configure: Regenerate.
3935 * Makefile.in (host_subdir): Substitute it.
3936 (gcc_objdir): Use it.
3937
3938 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
3939
3940 * config.host (ia64*-*-linux*): Set tmake_file.
3941
3942 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
3943
3944 * Makefile.in (version): Define.
3945
3946 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
3947 Paolo Bonzini <bonzini@gnu.org>
3948
3949 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
3950 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
3951 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
3952 config/sparc/t-crtfm, config/t-slibgcc-darwin,
3953 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
3954 shared-object.mk, siditi-object.mk, static-object.mk: New files.
3955 * configure: Generated.