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