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