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