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