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