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