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