1 2012-01-06 Tristan Gingold <gingold@adacore.com>
3 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
4 compatibility thunks...
5 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6 (crtbeginS.o, crtendS.o): ... and these to ...
7 * config/ia64/t-ia64-elf: ... this new file.
8 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
11 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13 * configure: Regenerate.
14 * config/s390/t-crtstuff: Remove -fPIC.
16 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
19 * enable-execute-stack-mprotect.c (getpagesize): Do not define
22 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
25 * config/avr/lib1funcs.S: Remove FIXME comments.
26 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
28 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
30 Implement light-weight DImode support.
31 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
32 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
33 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
34 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
36 2011-12-30 Nathan Sidwell <nathan@acm.org>
38 * libgcov.c (gcov_crc32): Remove global var.
39 (free_fn_data): New function.
40 (buffer_fn_data): Pass in filename, more robust error recovery.
41 (crc32_unsigned): New function.
42 (gcov_exit): More robust detection of new program. More robust
44 (__gcov_init): Do not update program's crc here.
46 2011-12-21 Tristan Gingold <gingold@adacore.com>
48 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
50 2011-12-20 Ian Lance Taylor <iant@google.com>
52 * config/i386/morestack.S (__morestack_non_split): If there is
53 enough stack space already, don't split. Ask for more stack space
56 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
58 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
60 (_Unwind_DebugHook): New function.
61 (uw_restore_core_regs): New define.
62 (unwind_phase2): Use uw_restore_core_regs instead of
64 (unwind_phase2_forced): Likewise.
65 (__gnu_Unwind_Resume): Likewise.
67 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
69 * config/alpha/linux-unwind.h: Update copyright years.
70 (MD_FROB_UPDATE_CONTEXT): New define.
71 (alpha_frob_update_context): New function.
73 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
75 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
76 tmake_file rather replacing it.
78 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
80 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
81 function is not used for PPC64.
82 (save_world): Amend comments. Update the VRsave mask to reflect the
84 (rest_world): Update comments, do not clobber r10, do not use r8.
85 (eh_rest_world_r10): Amend comments, do not use r8.
86 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
87 no longer used, move restore of CR and target address to the end of
90 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
92 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
93 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
95 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
98 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
99 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
101 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
103 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
105 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
108 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
109 * config/avr/lib1funcs.S (__muldi3): New function.
111 2011-12-06 Andrew Pinski <apinski@cavium.com>
113 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
115 (__frame_dummy_init_array_entry): Likewise.
117 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
119 Forward-port from gcc-4_6-branch r181936 2011-12-02.
123 * config/avr/lib1funcs.S (__prologue_saves__,
124 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
125 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
127 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
129 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
131 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
134 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
135 (_ITM_deregisterTMCloneTable): Likewise.
136 (__register_frame_info): Fix unused warning.
137 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
138 pthread_default_stacksize_np): Likewise.
139 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
141 2011-11-29 DJ Delorie <dj@redhat.com>
143 * config.host (rl78-*-elf): New case.
144 * config/rl78: New directory for the Renesas RL78.
146 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
148 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
151 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
154 * config/rs6000/t-savresfgpr: New file.
155 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
156 $(srcdir)/config/rs6000/eabi.S.
157 * config/rs6000/t-ppccomm-ldbl: Remove.
158 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
160 (powerpc-*-eabispe*): Likewise.
161 (powerpc-*-eabi*): Likewise.
162 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
163 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
164 to tmake_file, remove rs6000/t-ppccomm-ldbl.
165 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
167 (powerpc-*-eabisim*): Likewise.
168 (powerpc-*-elf*): Likewise.
169 (powerpc-*-eabialtivec*): Likewise.
170 (powerpc-xilinx-eabi*): Likewise.
171 (powerpc-*-rtems*): Likewise.
172 (powerpcle-*-elf*): Likewise.
173 (powerpcle-*-eabisim*): Likewise.
174 (powerpcle-*-eabi*): Likewise.
176 2011-11-27 Ian Lance Taylor <iant@google.com>
178 * generic-morestack.c (__splitstack_find): Check for NULL old
180 (__splitstack_resetcontext): New function.
181 (__splitstack_releasecontext): New function.
182 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
184 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
186 * config/darwin-crt-tm.c: Correct comments, use correct licence.
188 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
190 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
192 2011-11-26 Richard Henderson <rth@redhat.com>
194 * config/m68k/linux-atomic.c: New file.
195 * config/m68k/t-linux: New file.
196 * config.host (m68k-uclinux, m68k-linux): Use it.
198 2011-11-26 Richard Henderson <rth@redhat.com>
200 * crtstuff.c (__TMC_LIST__): Mark used not unused.
201 (__TMC_END__): Only declare if hidden is available; in the definition,
202 if hidden is unavailable add a null record.
203 (deregister_tm_clones, register_tm_clones): New.
204 (__do_global_dtors_aux, frame_dummy): Use them.
205 (__do_global_dtors, __do_global_ctors_1): Likewise.
207 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
209 * config/darwin-crt-tm.c: New file.
210 * config.host (darwin): Build crttms.o crttme.o to provide
211 startup and shutdown for tm clones.
212 * config/t-darwin (crttms.o): New build rule.
213 (crttme.o): Likewise.
215 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
217 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
220 2011-11-21 Richard Henderson <rth@redhat.com>
222 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
223 (__TMC_LIST__, __TMC_END__): New.
224 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
225 (__do_global_dtors): Likewise.
226 (frame_dummy): Call _ITM_registerTMCloneTable.
227 (__do_global_ctors_1): Likewise.
229 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
231 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
232 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
233 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
234 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
235 * config/i386/t-darwin64: Remove.
236 * config/sh/t-netbsd (LIB2ADD): Remove.
238 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
241 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
242 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
243 * config/avr/lib1funcs.S (wmov): New assembler macro.
244 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
245 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
246 (__udivmod64): New function.
247 (__negdi2): New function.
249 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
251 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
252 *-*-freebsd*aout*): Remove.
254 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
256 * static-object.mk (c_flags-$o): Save c_flags.
257 ($(base)$(objext)): Use it.
259 2011-11-18 Steve Ellcey <sje@cup.hp.com>
261 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
263 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
266 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
267 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
270 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
272 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
274 (aeabi_uidivmod): Likewise.
277 (aeabi_idivmod): Likewise.
280 2011-11-16 Tristan Gingold <gingold@adacore.com>
282 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
284 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
287 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
288 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
290 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
292 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
294 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
295 * config/pa/t-stublib64: Delete.
297 2011-11-12 Richard Henderson <rth@redhat.com>
299 * config/rs6000/linux-unwind.h (frob_update_context): Properly
300 cast the pointer argument to _Unwind_SetGRPtr.
302 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
304 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
306 2011-11-09 Ian Lance Taylor <iant@google.com>
308 * generic-morestack.c: Include <string.h>.
309 (uintptr_type): Define.
310 (struct initial_sp): Add dont_block_signals field. Reduce size of
312 (allocate_segment): Set prev field to NULL. Don't set
313 __morestack_current_segment or __morestack_segments.
314 (__generic_morestack): Update current->prev and *pp after calling
316 (__morestack_block_signals): Don't do anything if
317 dont_block_signals is set.
318 (__morestack_unblock_signals): Likewise.
319 (__generic_findstack): Check for initial_sp == NULL. Add casts to
321 (__splitstack_block_signals): New function.
322 (enum __splitstack_content_offsets): Define.
323 (__splitstack_getcontext, __splitstack_setcontext): New functions.
324 (__splitstack_makecontext): New function.
325 (__splitstack_block_signals_context): New function.
326 (__splitstack_find_context): New function.
327 * config/i386/morestack.S (__morestack_get_guard): New function.
328 (__morestack_set_guard, __morestack_make_guard): New functions.
329 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
331 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
333 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
334 (i[34567]86-*-mingw*): ... here.
335 (x86_64-*-mingw*): ... here.
337 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
339 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
341 2011-11-07 Nathan Sidwell <nathan@acm.org>
343 * libgcov.c (struct gcov_fn_buffer): New struct.
344 (buffer_fn_data): New helper.
345 (gcov_exit): Rework for new gcov data structures.
347 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
350 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
352 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
354 * config.host (tmake_file): Correct comment.
355 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
357 (bfin*-uclinux*): Likewise.
358 (bfin*-linux-uclibc*): Likewise.
359 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
361 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
363 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
364 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
365 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
366 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
367 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
368 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
369 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
370 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
371 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
372 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
373 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
374 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
375 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
377 * config/bfin/t-elf: Remove.
378 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
380 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
382 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
383 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
384 (lm32-*-elf*, lm32-*-rtems*): Split into ...
385 (lm32-*-elf*): ... this.
386 (lm32-*-rtems*): ... and this.
388 (m32r-*-rtems*): Add to tmake_file.
389 (moxie-*-rtems*): Likewise.
390 (sparc-*-rtems*): Likewise.
391 Remove t-rtems from tmake_file.
392 (sparc64-*-rtems*): Likewise.
393 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
396 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
399 * config/gthr-posix.h: Move ...
400 * gthr-posix.h: ... here.
401 * config/gthr-lynx.h: Reflect this.
402 * config/gthr-vxworks.h: Likewise.
403 * config/rs6000/gthr-aix.h: Likewise.
404 * configure.ac (target_thread_file): Likewise.
405 * configure: Regenerate.
407 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
409 * config.host (arm*-*-rtemseabi*): New target.
411 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
414 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
417 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
419 * config.host (epiphany-*-elf*): New configuration.
420 * config/epiphany: New Directory.
422 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
424 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
425 * config/avr/t-rtems: New.
426 Filter out _exit from LIB1ASMFUNCS.
428 2011-11-04 David S. Miller <davem@davemloft.net>
430 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
431 * configure: Rebuild.
433 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
435 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
438 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
441 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
442 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
444 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
447 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
449 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
451 * config/c6x/t-elf (LIB2ADDEH): Set.
452 * config/c6x/t-c6x-elf: Remove.
454 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
456 * config/i386/sol2-ci.S: Rename to ...
457 * config/i386/crti.S: ... this.
458 * config/i386/sol2-cn.S: Rename to ...
459 * config/i386/crtn.S: ... this.
460 * config/sparc/sol2-ci.S: Rename to ...
461 * config/sparc/crti.S: ... this.
462 * config/sparc/sol2-cn.S: Rename to ...
463 * config/sparc/crtn.S: ... this.
464 * config/t-sol2 (CUSTOM_CRTIN): Remove.
465 (crti.o, crtn.o): Remove.
467 2011-11-04 Tristan Gingold <gingold@adacore.com>
469 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
471 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
473 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
475 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
477 * config.host (crisv32-*-none, cris-*-none): Remove.
478 (crisv32-*-elf): Append to tmake_file, don't just set it.
479 (cris-*-elf): Add missing t-fdpbit to tmake_file.
481 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
483 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
484 (ecrtn$(objext)): Likewise.
485 (ncrti$(objext)): Likewise.
486 (ncrtn$(objext)): Likewise.
488 2011-11-03 Andreas Schwab <schwab@redhat.com>
490 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
492 2011-11-02 David S. Miller <davem@davemloft.net>
494 * configure.ac: Set host_address on sparc too.
495 * configure: Regenerate.
496 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
497 based upon host_address.
498 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
500 2011-11-02 Jason Merrill <jason@redhat.com>
502 * config/rs6000/t-ppccomm: Add missing \.
504 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
506 * gthr-single.h, gthr.h: New files.
507 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
508 config/gthr-vxworks.h, config/i386/gthr-win32.h,
509 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
510 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
511 * config/i386/gthr-win32.c: Include "gthr-win32.h".
512 * configure.ac (thread_header): New variable.
513 Set it depending on target_thread_file.
514 (gthr-default.h): Link from $thread_header.
515 * configure: Regenerate.
516 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
518 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
520 * configure.ac (tm_file_): New variable.
521 Determine from tm_file.
522 (tm_file, tm_defines): Substitute.
523 * configure: Regenerate.
524 * mkheader.sh: New file.
525 * Makefile.in (clean): Remove libgcc_tm.h.
526 ($(objects)): Depend on libgcc_tm.h.
527 (libgcc_tm_defines, libgcc_tm_file): New variables.
528 (libgcc_tm.h, libgcc_tm.stamp): New targets.
529 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
530 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
531 ($(extra-parts)): Depend on libgcc_tm.h.
532 * config.host (tm_defines, tm_file): New variable.
533 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
534 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
535 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
536 (avr-*-rtems*): Likewise.
538 (frv-*-elf): Likewise.
539 (frv-*-*linux*): Likewise.
540 (h8300-*-rtems*): Likewise.
541 (h8300-*-elf*): Likewise.
542 (i[34567]86-*-darwin*): Likewise.
543 (x86_64-*-darwin*): Likewise.
544 (rx-*-elf): Likewise.
545 (tic6x-*-uclinux): Likewise.
546 (tic6x-*-elf): Likewise.
547 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
548 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
549 * config/i386/cygming-crtbegin.c: Likewise.
550 * config/i386/cygming-crtend.c: Likewise.
551 * config/ia64/fde-vms.c: Likewise.
552 * config/ia64/unwind-ia64.c: Likewise.
553 * config/libbid/bid_gcc_intrinsics.h: Likewise.
554 * config/rs6000/darwin-fallback.c: Likewise.
555 * config/stormy16/lib2funcs.c: Likewise.
556 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
557 * crtstuff.c: Likewise.
558 * dfp-bit.h: Likewise.
559 * emutls.c: Likewise.
560 * fixed-bit.c: Likewise.
561 * fp-bit.c: Likewise.
562 * generic-morestack-thread.c: Likewise.
563 * generic-morestack.c: Likewise.
564 * libgcc2.c: Likewise.
565 * libgcov.c: Likewise.
566 * unwind-dw2-fde-dip.c: Likewise.
567 * unwind-dw2-fde.c: Likewise.
568 * unwind-dw2.c: Likewise.
569 * unwind-sjlj.c: Likewise.
571 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
573 * configure.ac: Include ../config/picflag.m4.
574 (GCC_PICFLAG): Call it.
576 * configure: Regenerate.
577 * Makefile.in (gcc_srcdir): Remove.
578 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
579 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
580 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
581 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
582 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
585 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
586 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
587 to refer to libgcc2.c.
589 * config/darwin-64.c: New file.
590 * config/darwin-crt3.c: Remove comment.
591 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
592 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
593 config/udivmodsi4.c: New files.
594 * config/memcmp.c, config/memcpy.c, config/memmove.c,
595 config/memset.c: New files.
596 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
597 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
598 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
599 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
600 * config/t-openbsd-thread: New file.
601 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
602 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
603 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
604 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
607 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
608 to refer to gthr-posix.c.
609 * config/alpha/t-vms (LIB2ADD): Set.
610 * config/alpha/vms-gcc_shell_handler.c: New file.
611 * config/arm/bpabi.c, config/arm/fp16.c,
612 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
613 config/arm/unaligned-funcs.c: New files.
614 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
615 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
616 * config/arm/t-linux: Likewise.
617 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
618 * config/arm/t-netbsd: New file.
619 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
620 * config/arm/t-symbian (LIB2ADD_ST): Set.
621 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
622 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
623 * config/bfin/t-elf: New file.
624 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
625 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
626 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
627 config/c6x/ltf.c: New files.
628 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
629 (HOST_LIBGCC2_CFLAGS): Set.
630 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
631 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
632 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
634 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
635 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
636 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
637 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
638 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
640 * config/frv/t-frv (LIB2ADD): Set.
641 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
642 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
643 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
644 config/h8300/popcounthi2.c: New files.
645 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
646 * config/i386/gthr-win32.c: New file.
647 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
648 * config/i386/t-cygwin: Likewise.
649 * config/i386/t-darwin, config/i386/t-darwin64,
650 config/i386/t-gthr-win32, config/i386/t-interix: New files.
651 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
652 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
653 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
654 * config/ia64/quadlib.c: New file.
655 * config/ia64/t-hpux (LIB2ADD): Set.
656 * config/ia64/t-ia64: Add comment.
657 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
658 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
659 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
660 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
661 * config/m32c/t-m32c (LIB2ADD): Set.
662 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
663 * config/m32r/t-m32r: Likewise.
664 * config/m68k/fpgnulib.c: New file.
665 * config/m68k/t-floatlib (LIB2ADD): Set.
666 (xfgnulib.c): New target.
667 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
668 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
669 * config/mep/t-mep (LIB2ADD): Set.
670 * config/microblaze/divsi3.asm: Rename to divsi3.S.
671 * config/microblaze/moddi3.asm: Rename to moddi3.S.
672 * config/microblaze/modsi3.asm: Rename to modsi3.S.
673 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
674 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
675 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
676 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
677 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
678 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
679 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
681 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
682 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
683 * config/pa/fptr.c, config/pa/lib2funcs.S,
684 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
685 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
686 (LIB2ADD, LIB2ADD_ST): Set.
687 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
688 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
690 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
691 * config/pdp11/t-pdp11: New file.
692 * config/picochip/libgccExtras/adddi3.S,
693 config/picochip/libgccExtras/ashlsi3.S,
694 config/picochip/libgccExtras/ashrsi3.S,
695 config/picochip/libgccExtras/clzsi2.S,
696 config/picochip/libgccExtras/cmpsi2.S,
697 config/picochip/libgccExtras/divmod15.S,
698 config/picochip/libgccExtras/divmodhi4.S,
699 config/picochip/libgccExtras/divmodsi4.S,
700 config/picochip/libgccExtras/lshrsi3.S,
701 config/picochip/libgccExtras/parityhi2.S,
702 config/picochip/libgccExtras/popcounthi2.S,
703 config/picochip/libgccExtras/subdi3.S,
704 config/picochip/libgccExtras/ucmpsi2.S,
705 config/picochip/libgccExtras/udivmodhi4.S,
706 config/picochip/libgccExtras/udivmodsi4.S: New files.
707 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
708 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
709 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
710 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
711 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
712 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
713 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
714 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
716 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
717 (HOST_LIBGCC2_CFLAGS): Set.
718 * config/rs6000/t-darwin64: New file.
719 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
720 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
721 * config/rs6000/t-ppccomm (LIB2ADD): Add
722 $(srcdir)/config/rs6000/tramp.S.
723 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
724 Add $(srcdir)/config/rs6000/eabi.S.
725 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
726 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
727 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
728 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
729 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
730 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
731 * config/rs6000/tramp.S: New file.
732 * config/s390/t-tpf: Remove.
733 * config/sh/linux-atomic.S: New file.
734 * config/sh/t-linux (LIB2ADD): Set.
735 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
736 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
737 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
739 (HOST_LIBGCC2_CFLAGS): Set.
740 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
741 * config/spu/divmodti4.c, config/spu/divv2df3.c,
742 config/spu/float_disf.c, config/spu/float_unsdidf.c,
743 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
744 config/spu/mfc_multi_tag_release.c,
745 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
746 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
747 config/spu/multi3.c: New files.
748 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
749 (HOST_LIBGCC2_CFLAGS): Set.
750 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
751 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
752 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
753 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
754 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
755 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
756 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
757 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
758 config/stormy16/umodsi3.c: New files.
759 * config/xtensa/lib2funcs.S: New file.
760 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
761 * config/xtensa/t-xtensa (LIB2ADD): Set.
762 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
763 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
764 Add t-freebsd-thread to tmake_file for posix threads.
765 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
766 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
767 (*-*-lynxos*): Likewise.
768 (*-*-netbsd*): Likewise.
769 (*-*-openbsd*): Likewise.
770 Add t-openbsd-thread to tmake_file for posix threads.
771 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
772 (*-*-vxworks*): Set tmake_file.
773 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
774 (alpha*-*-freebsd*): Likewise.
775 (alpha*-*-netbsd*): Likewise.
776 (alpha*-*-openbsd*): Likewise.
777 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
778 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
779 (alpha*-dec-*vms*): Likewise.
780 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
781 (bfin*-elf*): Add bfin/t-elf to tmake_file.
782 (bfin*-uclinux*): Likewise.
783 (bfin*-linux-uclibc*): Likewise.
784 (crisv32-*-elf): Add cris/t-cris to tmake_file.
785 (crisv32-*-none): Likewise.
786 (cris-*-elf): Likewise.
787 (cris-*-none): Likewise.
788 (cris-*-linux*, crisv32-*-linux*): Likewise.
789 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
791 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
793 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
794 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
795 (x86_64-*-elf*): Likewise.
796 (i[34567]86-*-nto-qnx*): Likewise.
797 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
799 (x86_64-*-mingw*): Likewise.
800 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
801 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
802 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
803 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
804 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
806 (mipsisa64sr71k-*-elf*): Likewise.
807 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
808 (mips-*-elf*, mipsel-*-elf*): Likewise.
809 (mips64-*-elf*, mips64el-*-elf*): Likewise.
810 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
811 (mips*-*-rtems*): Likewise.
812 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
814 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
815 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
816 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
817 (spu-*-elf*): Likewise.
818 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
820 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
822 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
823 $(srcdir) to refer to $(LIB1ASMSRC).
825 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
826 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
827 config/arm/lib1funcs.S: New files.
828 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
829 * config/arm/t-arm: New file.
830 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
831 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
832 config/arm/t-strongarm-elf: New files.
833 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
834 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
835 * config/avr/lib1funcs.S: New file.
836 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
837 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
838 * config/c6x/lib1funcs.S: New file.
839 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
840 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
841 * config/frv/lib1funcs.S: New file.
842 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
843 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
844 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
845 * config/ia64/__divxf3.asm: Rename to ...
846 * config/ia64/__divxf3.S: ... this.
847 Adapt lib1funcs.asm filename.
848 * config/ia64/_fixtfdi.asm: Rename to ...
849 * config/ia64/_fixtfdi.S: ... this.
850 Adapt lib1funcs.asm filename.
851 * config/ia64/_fixunstfdi.asm: Rename to ...
852 * config/ia64/_fixunstfdi.S: ... this.
853 Adapt lib1funcs.asm filename.
854 * config/ia64/_floatditf.asm: Rename to ...
855 * config/ia64/_floatditf.S: ... this.
856 Adapt lib1funcs.asm filename.
857 * config/ia64/lib1funcs.S: New file.
858 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
859 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
860 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
861 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
862 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
863 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
864 * config/mep/lib1funcs.S: New file.
865 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
866 * config/mips/mips16.S: New file.
867 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
868 * config/pa/milli64.S: New file.
869 * config/pa/t-linux, config/pa/t-linux64: New files.
870 * config/picochip/lib1funcs.S: New file.
871 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
872 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
873 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
874 * config/sh/t-netbsd: New file.
875 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
876 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
877 * config/sh/t-sh64: New file.
878 * config/sparc/lb1spc.S: New file.
879 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
881 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
882 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
883 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
884 config/xtensa/lib1funcs.S: New files.
885 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
886 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
888 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
889 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
890 (arm*-*-linux*): Likewise.
891 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
892 arm*-*-linux-*eabi, add arm/t-linux otherwise.
893 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
894 (arm*-*-ecos-elf): Likewise.
895 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
896 (arm*-*-rtems*): Likewise.
897 (arm*-*-elf): Likewise.
898 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
899 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
900 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
901 (bfin*-uclinux*): Likewise.
902 (bfin*-linux-uclibc*): Likewise.
903 (bfin*-rtems*): Likewise.
905 (fido-*-elf): Merge into m68k-*-elf*.
906 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
907 (frv-*-*linux*): Add frv/t-frv to tmake_file.
908 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
909 (h8300-*-elf*): Likewise.
910 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
911 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
912 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
913 (i[34567]86-*-mingw*): Likewise.
914 (x86_64-*-mingw*): Likewise.
915 (i[34567]86-*-interix3*): Likewise.
916 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
917 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
918 (m68k-*-elf*): Also handle fido-*-elf.
919 Add m68k/t-floatlib to tmake_file.
920 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
921 (m68k-*-linux*): Likewise.
922 (m68k-*-rtems*): Likewise.
923 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
924 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
926 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
927 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
928 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
929 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
930 sh/t-netbsd to tmake_file.
931 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
932 (sh-*-rtems*): Add sh/t-sh to tmake_file.
933 (sh-wrs-vxworks): Likewise.
934 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
936 (v850*-*-*): Add v850/t-v850 to tmake_file.
937 (vax-*-linux*): Add vax/t-linux to tmake_file.
938 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
940 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
942 * crtstuff.c: New file.
943 * Makefile.in (CRTSTUFF_CFLAGS): Define.
944 (CRTSTUFF_T_CFLAGS): Define.
945 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
946 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
947 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
950 (crtbeginT.o): Use $(objext).
951 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
952 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
953 (gcc-extra-parts): Remove.
954 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
956 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
957 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
958 Add t-crtstuff-pic to tmake_file.
959 (*-*-lynxos*): New case.
960 Set tmake_file, extra_parts.
961 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
962 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
964 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
965 (*-*-rtems*): Set extra_parts.
966 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
967 (*-*-uclinux*): New case.
969 (*-*-vms*): New case.
970 Set tmake_file, extra_parts.
971 (*-*-elf): Set extra_parts.
972 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
973 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
976 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
978 (arm*-*-freebsd*): Add t-crtin to tmake_file.
979 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
980 (arm-wrs-vxworks): Append to tmake_file.
982 (arm*-*-uclinux*): Set extra_parts.
983 (arm*-*-ecos-elf): Likewise.
984 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
986 (arm*-*-rtems*): Set extra_parts.
987 (arm*-*-elf): Likewise.
988 (avr-*-rtems*): Clear extra_parts.
989 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
991 (bfin*-uclinux*): Likewise.
992 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
993 (bfin*-rtems*): Append to tmake_file.
996 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
997 (crisv32-*-elf): ... this.
998 (crisv32-*-none): ... this.
999 (cris-*-elf, cris-*-none): New cases.
1000 Add cris/t-elfmulti to tmake_file.
1001 (fr30-*-elf): Append to tmake_file.
1003 (frv-*-elf): Append to tmake_file, add frv/t-frv.
1005 (h8300-*-rtems*): Append to tmake_file.
1007 (h8300-*-elf*): Likewise.
1008 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
1010 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
1012 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
1013 (x86_64-*-elf*): Likewise.
1014 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
1015 (x86_64-*-freebsd*): Likewise.
1016 (x86_64-*-netbsd*): Likewise.
1017 (i[34567]86-*-linux*): Likewise.
1018 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
1019 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
1020 (x86_64-*-linux*): Likewise.
1021 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
1022 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
1025 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
1026 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
1027 Append to extra_parts, remove crtbegin.o, crtend.o.
1028 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
1029 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
1030 crtend.o, crtbeginS.o, crtendS.o.
1031 (ia64*-*-linux*): Comment extra_parts.
1032 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
1034 (iq2000*-*-elf*): Clear extra_parts.
1035 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
1036 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
1037 (m32r-*-elf*, m32r-*-rtems*): Split off ...
1038 (m32r-*-rtems*): ... this.
1039 Add m32r/t-m32r to tmake_file.
1040 (m68k-*-elf*): Add t-crtin to tmake_file.
1041 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
1042 (mcore-*-elf): Likewise.
1043 (microblaze*-*-*): Set extra_parts.
1044 (mips*-sde-elf*): New case.
1045 Set tmake_file, extra_parts.
1046 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1047 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1048 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
1051 (mipsisa64sr71k-*-elf*): Likewise.
1052 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1053 (mips-*-elf*, mipsel-*-elf*): Likewise.
1054 (mips64-*-elf*, mips64el-*-elf*): Likewise.
1055 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
1056 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1057 (mips*-*-rtems*): Likewise.
1058 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
1059 (moxie-*-*): Split into ...
1060 (moxie-*-elf, moxie-*-uclinux*): ... this.
1061 Add to extra_parts, remove crtbegin.o, crtend.o.
1062 (moxie-*-rtems*): New case.
1065 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
1067 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1068 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
1071 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
1072 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
1074 (powerpc-*-eabisim*): Likewise.
1075 (powerpc-*-elf*): Likewise.
1076 (powerpc-*-eabialtivec*): Likewise.
1077 (powerpc-xilinx-eabi*): Likewise.
1078 (powerpc-*-eabi*): Likewise.
1079 (powerpc-*-rtems*): Likewise.
1080 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
1083 (powerpc-*-lynxos*): Add to tmake_file.
1084 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
1085 rs6000/t-crtstuff, t-crtstuff-pic.
1087 (powerpcle-*-eabisim*): Likewise.
1088 (powerpcle-*-eabi*): Likewise.
1089 (rx-*-elf): Remove extra_parts.
1090 (s390x-ibm-tpf*): Set extra_parts.
1091 (score-*-elf): Set extra_parts.
1092 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
1093 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
1094 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
1095 (sh64l*-*-netbsd*): Split into ...
1096 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
1097 Add t-crtstuff-pic to tmake_file.
1099 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
1101 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
1102 (sparc-*-elf*): Remove t-crtin from tmake_file.
1103 Add to extra_parts, remove crtbegin.o, crtend.o.
1104 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
1105 (sparc64-*-linux*): Likewise.
1106 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
1107 Add to extra_parts, remove crtbegin.o, crtend.o.
1108 (sparc64-*-elf*): Remove t-crtin from tmake_file.
1109 Add to extra_parts, remove crtbegin.o, crtend.o.
1110 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
1111 Add to extra_parts, remove crtbegin.o, crtend.o.
1112 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
1113 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
1114 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
1116 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
1118 (tic6x-*-*): Change to ...
1119 (tic6x-*-elf): ... this.
1121 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
1123 (am33_2.0-*-linux*): Add comment.
1124 (mep*-*-*): Add mep/t-mep to tmake_file.
1126 * config/alpha/t-vms: New file.
1127 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
1128 * config/arm/crti.S, config/arm/crtn.S: New files.
1129 * config/bfin/crti.S, config/bfin/crtn.S: New files.
1130 * config/bfin/crtlibid.S: New file.
1131 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
1132 * config/c6x/crti.S, config/c6x/crtn.S: New files.
1133 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
1134 (crti.o, crtin.o): New rules.
1135 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
1136 * config/c6x/t-uclinux: New file.
1137 * config/cris/t-elfmulti: New file.
1138 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
1139 * config/fr30/crti.S, config/fr30/crtn.S: New files.
1140 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
1141 * config/frv/t-frv: New file.
1142 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
1143 * config/h8300/crti.S, config/h8300/crtn.S: New files.
1144 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
1146 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
1147 refer to cygming-crtbegin.c, cygming-crtend.c.
1149 * config/i386/t-nto: New file.
1150 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
1151 * config/ia64/crti.S, config/ia64/crtn.S: New files.
1152 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
1153 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
1156 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
1157 (crtinitS.o): New rule.
1158 * config/ia64/vms-crtinit.S: New file.
1159 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
1160 * config/m32r/initfini.c: New file.
1161 * config/m32r/t-linux, config/m32r/t-m32r: New files.
1162 * config/m68k/crti.S, config/m68k/crtn.S: New files.
1163 * config/mcore/crti.S, config/mcore/crtn.S: New files.
1164 * config/mep/t-mep: New file.
1165 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
1166 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
1167 * config/mips/crti.S, config/mips/crtn.S: New files.
1168 * config/mips/t-crtstuff: New file.
1169 * config/mmix/crti.S, config/mmix/crtn.S: New files.
1170 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
1171 (CUSTOM_CRTIN): Set.
1172 ($(T)crti.o, $(T)crtn.o): Remove $(T),
1174 Use $(srcdir) to refer to crti.S, crtn.S.
1175 Use .S extension, $<.
1176 * config/moxie/crti.asm: Rename to ...
1177 * config/moxie/crti.S: ... this.
1178 * config/moxie/crtn.asm: Rename to ...
1179 * config/moxie/crtn.S: ... this.
1180 * config/moxie/t-moxie: Remove.
1181 * config/pa/stublib.c: New file.
1182 * config/pa/t-stublib, config/pa/t-stublib64: New files.
1183 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
1184 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
1185 * config/rs6000/t-crtstuff: New file.
1186 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
1187 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
1188 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
1189 Make output file explicit.
1190 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
1191 Make output file explicit.
1192 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
1193 Make output file explicit.
1194 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
1195 Make output file explicit.
1196 * config/score/crti.S, config/score/crtn.S: New files.
1197 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
1198 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
1200 * config/sh/t-sh, config/sh/t-superh: New files.
1201 * config/sparc/t-linux64: New file.
1202 * config/spu/cache.S, config/spu/cachemgr.c: New files.
1203 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
1204 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
1205 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
1206 * config/t-crtin: Remove.
1207 * config/t-crtstuff-pic: New file.
1208 * config/t-sol2 (CUSTOM_CRTIN): Set.
1209 (crti.o, crtn.o): New rules.
1210 * config/vms/t-vms: New file.
1211 * config/vms/vms-ucrt0.c: New file.
1212 * config/xtensa/t-elf: New file.
1214 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1216 * Makefile.in (SHLIB_NM_FLAGS): Set.
1217 * mkmap-flat.awk, mkmap-symver.awk: New files.
1218 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
1220 * configure: Regenerate.
1221 * config/libgcc-glibc.ver: New file.
1222 * config/libgcc-libsystem.ver: New file.
1223 * config/t-libunwind (SHLIB_LC): Set.
1224 * config/t-linux: New file.
1225 * config/t-slibgcc (INSTALL_SHLIB): New.
1226 (SHLIB_INSTALL): Use it.
1227 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
1228 to mkmap-symver.awk.
1229 (SHLIB_MAPFILES): Don't append, adapt pathname.
1230 (SHLIB_VERPFX): Set.
1231 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
1232 to mkmap-symver.awk.
1233 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
1234 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
1235 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
1236 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
1238 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
1239 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
1240 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
1241 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
1242 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
1243 * config/i386/libgcc-darwin.10.4.ver,
1244 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
1246 * config/i386/t-darwin: Remove.
1247 * config/i386/t-darwin64: Likewise.
1248 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
1249 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
1250 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
1251 * config/i386/t-linux: New file.
1252 * config/i386/t-mingw32: New file.
1253 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
1254 * config/ia64/t-glibc: Rename to ...
1255 * config/ia64/t-linux: ... this.
1256 (SHLIB_MAPFILES): Set.
1257 * config/ia64/t-glibc-libunwind: Rename to ...
1258 * config/ia64/t-linux-libunwind: ... this.
1259 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
1260 * config/ia64/t-slibgcc-hpux: New file.
1261 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
1262 * config/m68k/t-slibgcc-elf-ver: New file.
1263 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
1264 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
1266 * config/pa/t-slibgcc-hpux: New file.
1267 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
1269 * config/rs6000/libgcc-darwin.10.4.ver,
1270 config/rs6000/libgcc-darwin.10.5.ver: New files.
1271 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
1272 config/rs6000/libgcc-glibc.ver.
1273 * config/rs6000/libgcc-ppc64.ver: Rename to
1274 config/rs6000/libgcc-ibm-ldouble.ver.
1275 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
1276 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
1277 * config/rs6000/t-ldbl128: Rename to ...
1278 * config/rs6000/t-linux: ... this.
1279 (SHLIB_MAPFILES): Adapt filename.
1280 * config/rs6000/t-slibgcc-aix: New file.
1281 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
1282 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
1283 libgcc-excl.ver, libgcc-glibc.ver.
1284 (SHLIB_LINK, SHLIB_INSTALL): Remove.
1285 * config/sparc/libgcc-glibc.ver: New file.
1286 * config/sparc/t-linux: New file.
1287 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
1288 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
1289 t-slibgcc-elf-ver to tmake_file.
1290 Add t-slibgcc-nolc-override to tmake_file for posix threads on
1292 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1293 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
1294 t-slibgcc-elf-ver, t-linux to tmake_file.
1295 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
1297 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
1298 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
1299 (alpha*-dec-*vms*): Likewise.
1300 (arm*-*-freebsd*): Append to tmake_file.
1301 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
1302 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
1304 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
1305 tmake_file for arm*-*-symbianelf*.
1306 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
1307 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
1309 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
1310 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
1311 pa/t-slibgcc-dwarf-ver to tmake_file.
1312 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
1313 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
1314 (hppa*64*-*-hpux11*): Likewise.
1315 (hppa[12]*-*-hpux11*): Likewise.
1316 (x86_64-*-darwin*): Don't override tmake_file, but only keep
1317 i386/t-crtpc, i386/t-crtfm.
1318 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
1319 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
1321 Add i386/t-cygwin to tmake_file.
1322 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
1323 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
1324 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
1326 Add i386/t-mingw32 to tmake_file.
1327 (x86_64-*-mingw*): Likewise.
1328 (ia64*-*-freebsd*): Append to tmake_file.
1329 (ia64*-*-linux*): Append to tmake_file.
1330 Replace ia64/t-glibc by ia64/t-linux.
1331 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
1333 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
1334 t-slibgcc-hpux to tmake_file.
1335 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
1336 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
1337 (m32rle-*-linux*): Likewise.
1338 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
1340 (microblaze*-linux*): New case.
1341 Append to tmake_file, add t-slibgcc-nolc-override.
1342 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
1343 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1344 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
1345 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
1346 rs6000/t-slibgcc-aix to tmake_file.
1347 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
1348 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
1349 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
1350 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
1351 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
1352 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
1354 (sparc-*-linux*): Append to tmake_file for *-leon*.
1355 Add sparc/t-linux to tmake_file for non-Leon targets.
1356 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
1357 (tic6x-*-uclinux): New case.
1358 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
1359 (tic6x-*-*): Add c6x/t-elf to tmake_file.
1360 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
1361 (am33_2.0-*-linux*): Append to tmake_file.
1362 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
1363 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
1364 x86_64-*-kfreebsd*-gnu.
1365 Add i386/t-linux to tmake_file.
1367 2011-10-28 Ian Lance Taylor <iant@google.com>
1369 * config/i386/morestack.S: Correct CFI information to do proper
1370 returns throughout function. In 32-bit mode, save %ebx so that it
1371 is restored on unwind.
1373 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
1375 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
1376 case where B3 isn't the return register.
1378 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
1379 logic for doubleword pops.
1381 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
1383 * config/rs6000/t-freebsd: Add wildcard.
1385 2011-10-21 Paul Brook <paul@codesourcery.com>
1387 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
1389 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
1390 Eric Botcazou <ebotcazou@adacore.com>
1393 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
1394 fs->signal_frame to 1.
1396 2011-10-07 Ian Lance Taylor <iant@google.com>
1398 * generic-morestack-thread.c: #include <errno.h>.
1400 2011-10-07 Ian Lance Taylor <iant@google.com>
1403 * generic-morestack.c (__generic_morestack): Make sure the segment
1404 is large enough for both the stack frame and the copied
1407 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1410 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
1413 2011-09-28 Nick Clifton <nickc@redhat.com>
1415 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
1416 64-bit doubles are not enabled.
1417 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
1418 and floatunsisf functions.
1420 2011-09-13 Paul Brook <paul@codesourcery.com>
1422 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
1423 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
1424 * unwind-arm-common.inc: New file.
1425 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
1426 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
1427 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
1428 * config/c6x/libunwind.S: New file.
1429 * config/c6x/pr-support.c: New file.
1430 * config/c6x/unwind-c6x.c: New file.
1431 * config/c6x/unwind-c6x.h: New file.
1432 * config/c6x/t-c6x-elf: New file.
1434 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
1436 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
1437 (ASM_DIVZERO): Ditto.
1438 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
1440 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
1442 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
1444 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
1447 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
1448 instead of an assembly one.
1450 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
1453 * Makefile.in (install-unwind_h): Create
1454 $(gcc_objdir)/include/unwind.h atomically.
1456 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1458 * Makefile.in (install-unwind_h): Remove destination file first.
1460 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1463 * config/mips/t-mips16: New file.
1464 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
1465 (mips*-*-linux*): Likewise.
1466 (mips*-sde-elf*): Likewise.
1467 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
1468 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
1469 Add mips/t-mips16 to tmake_file.
1470 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
1471 (mips-*-elf*): Likewise.
1472 (mips64-*-elf*): Likewise.
1473 (mips64orion-*-elf*): Likewise.
1474 (mips*-*-rtems*): Likewise.
1475 (mipstx39-*-elf*): Likewise.
1476 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
1477 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
1479 Use $(srcdir) to refer to sync.c.
1481 ($(libgcc-sync-funcs-o)): Likewise.
1482 ($(libgcc-sync-size-funcs-s-o)): Likewise.
1483 ($(libgcc-sync-funcs-s-o)): Likewise.
1485 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
1487 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
1490 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
1493 * config/i386/value-unwind.h: New.
1495 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
1497 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
1498 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
1499 Add to tmake_file rather than overriding it.
1501 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1503 * config/t-softfp: Remove.
1504 * soft-fp: Moved from ../gcc/config.
1505 * soft-fp/README: Remove t-softfp reference.
1506 * soft-fp/t-softfp: Move to config/t-softfp.
1507 (softfp_machine_header): Remove.
1508 (softfp_file_list): Remove config subdir.
1509 (soft-fp-objects): New variable.
1510 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
1511 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
1512 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
1513 * config/t-softfp-excl: New file.
1514 * config/t-softfp-sfdf: New file.
1515 * config/t-softfp-tf: New file.
1516 * config/no-sfp-machine.h: New file.
1517 * config/arm/sfp-machine.h: New file.
1518 * config/arm/t-softfp: New file.
1519 * config/c6x/sfp-machine.h: New file.
1520 * config/i386/32/t-fprules-softfp: Rename to ...
1521 * config/i386/32/t-softfp: ... this.
1522 (tifunctions, LIB2ADD): Remove.
1523 (softfp_int_modes): Override.
1524 * config/i386/64/t-softfp-compat (tf-functions): Remove config
1526 * config/i386/64/eqtf2.c: Likewise.
1527 * config/i386/64/getf2.c: Likewise.
1528 * config/i386/64/letf2.c: Likewise.
1529 * config/ia64/sft-machine.h: New file.
1530 * config/ia64/t-fprules-softfp: Rename to ...
1531 * config/ia64/t-softfp: ... this.
1532 * config/lm32/sfp-machine.h: New file.
1533 * config/moxie/t-moxie-softfp: Remove.
1534 * config/rs6000/ibm-ldouble-format: New file.
1535 * config/rs6000/ibm-ldouble.c: New file.
1536 * config/rs6000/libgcc-ppc-glibc.ver: New file
1537 * config/rs6000/libgcc-ppc64.ver: New file
1538 * config/rs6000/sfp-machine.h: New file.
1539 * config/rs6000/t-freebsd: New file.
1540 * config/rs6000/t-ibm-ldouble: New file.
1541 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
1542 libgcc-ppc-glibc.ver.
1543 * config/rs6000/t-linux64: New file.
1544 * config/rs6000/t-ppccomm (LIB2ADD): Add
1545 $(srcdir)/config/rs6000/ibm-ldouble.c.
1546 * config/rs6000/t-ppccomm-ldbl: New file.
1547 * config/score/sfp-machine.h: New file.
1548 * config.host (sfp_machine_header): Explain.
1549 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
1550 t-softfp to tmake_file.
1551 (arm*-*-uclinux*): Likewise.
1552 (arm*-*-ecos-elf): Likewise.
1553 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
1554 (arm*-*-rtems*): Likewise.
1555 (arm*-*-elf): Likewise.
1556 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
1558 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
1559 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
1560 (lm32-*-uclinux*): Likewise.
1561 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
1562 t-softfp-excl, t-softfp.
1563 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
1564 (powerpc64-*-darwin*): Likewise.
1565 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
1567 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
1569 (powerpc-*-eabisim*): Likewise.
1570 (powerpc-*-elf*): Likewise.
1571 (powerpc-*-eabialtivec*): Likewise.
1572 (powerpc-xilinx-eabi*): Likewise.
1573 (powerpc-*-rtems*): Likewise.
1574 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
1575 t-softfp-excl, t-softfp to tmake_file.
1576 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
1577 rs6000/t-ppccomm-ldbl to tmake_file.
1578 (powerpcle-*-elf*): Likewise.
1579 (powerpcle-*-eabisim*): Likewise.
1580 (powerpcle-*-eabi*): Likewise.
1581 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
1582 rs6000/t-ibm-ldouble to tmake_file.
1583 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
1584 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
1585 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
1586 (tic6x-*-*): Likewise.
1587 (i[34567]86-*-darwin*, x86_64-*-darwin*,
1588 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
1589 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
1590 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
1591 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
1592 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
1593 t-softfp to tmake_file.
1594 * configure.ac (sfp_machine_header): Provide default if unset.
1596 Link sfp-machine.h to config/$sfp_machine_header.
1597 * configure: Regenerate.
1599 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1601 * Makefile.in (double_type_size, long_double_type_size): Set.
1602 Remove $(fpbit-in-libgcc) support.
1603 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
1604 (fpbit-src): New variable.
1605 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
1606 Compile with -DFLOAT $(FPBIT_CFLAGS).
1608 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
1609 Compile with $(FPBIT_CFLAGS).
1611 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
1612 Compile with -DFLOAT $(TPBIT_CFLAGS).
1614 * configure.ac (double_type_size, long_double_type_size):
1615 Determine and substitute.
1616 * configure: Regenerate.
1617 * fp-bit.c, fp-bit.h: New files.
1618 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
1619 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
1620 * config/mips/t-mips: New file.
1621 * config/mips/t-sdemtk: New file.
1622 * config/rs6000/ppc64-fp.c: New file.
1623 * config/rs6000/t-darwin (LIB2ADD): Add
1624 $(srcdir)/config/rs6000/ppc64-fp.c.
1625 * config/rs6000/t-ppc64-fp: New file.
1626 * config/rx/rx-lib.h: New file.
1627 * config/rx/t-rx (FPBIT): Set to true.
1628 ($(gcc_objdir)/fp-bit.c): Remove.
1629 (DPBIT): Set to true only with -m64bit-doubles.
1630 ($(gcc_objdir)/dp-bit.c): Remove.
1631 * config/sparc/t-softfp: Remove.
1632 * config/spu/t-elf: New file.
1633 * config/t-fdpbit, config/t-fpbit: New files.
1634 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
1635 (mips*-*-*): Likewise.
1636 (arm-wrs-vxworks): Likewise.
1637 (arm*-*-freebsd*): Likewise.
1638 (avr-*-rtems*): Add t-fpbit to tmake_file.
1639 (avr-*-*): Likewise.
1640 (bfin*-elf*): Add t-fdpbit to tmake_file.
1641 (bfin*-uclinux*): Likewise.
1642 (bfin*-linux-uclibc*): Likewise.
1643 (bfin*-rtems*): New case.
1644 Add t-fdpbit to tmake_file.
1645 (bfin*-*): Add t-fdpbit to tmake_file.
1646 (crisv32-*-elf): Likewise.
1647 (cris-*-linux*): Likewise.
1648 (fr30-*-elf): Likewise.
1649 (frv-*-elf, frv-*-*linux*): Likewise.
1650 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
1651 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
1652 (m32r-*-elf*): Likewise.
1653 (m32rle-*-elf*): Likewise.
1654 (m32r-*-linux*): Likewise.
1655 (m32rle-*-linux*): Likewise.
1656 (mcore-*-elf): Add t-fdpbit to tmake_file.
1657 (microblaze*-*-*): Likewise.
1658 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
1659 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
1660 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
1662 Add mips/t-tpbit to tmake-file.
1663 (mips*-*-linux*): Fix typo.
1664 (mips*-sde-elf*): New case
1665 Add mips/t-sdemtk unless using newlib.
1666 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
1667 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
1668 (mn10300-*-*): Likewise.
1669 (pdp11-*-*): Likewise.
1670 (picochip-*-*): Add t-fpbit to tmake_file.
1671 (powerpc-*-eabisimaltivec*): Likewise.
1672 (powerpc-*-eabisim*): Likewise.
1673 (powerpc-*-elf*): Likewise.
1674 (powerpc-*-eabialtivec*): Likewise.
1675 (powerpc-xilinx-eabi*): New case.
1676 Add t-fdpbit to tmake_file.
1677 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
1678 (powerpc-*-rtems*): Likewise.
1679 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
1681 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
1683 (powerpc-*-lynxos*): Likewise.
1684 (powerpcle-*-elf*): Likewise.
1685 (powerpcle-*-eabisim*): Likewise.
1686 (powerpcle-*-eabi*): Likewise.
1687 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
1688 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
1689 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
1690 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
1691 (rx-*-elf): Add t-fdpbit to tmake_file.
1692 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
1693 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
1694 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
1695 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
1697 (sh-*-rtems*): Add t-fdpbit to tmake_file.
1698 (sh-wrs-vxworks): Likewise.
1699 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
1700 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
1701 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
1702 (sparc64-*-rtems*): ... new case.
1703 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
1704 (spu-*-elf*): Likewise.
1705 Add spu/t-elf to tmake_file.
1706 (v850*-*-*): Add t-fdpbit to tmake_file.
1707 (xstormy16-*-elf): Likewise.
1708 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
1709 (mep*-*-*): Likewise.
1711 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1713 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
1715 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
1716 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
1717 (install-unwind_h): New target.
1718 (all): Depend on it.
1719 * config.host (unwind_header): New variable.
1720 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
1721 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1722 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
1723 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
1724 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
1726 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
1728 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
1730 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
1732 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
1733 (ia64*-*-freebsd*): Likewise.
1734 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
1736 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
1737 $with_system_libunwind.
1738 (ia64*-*-hpux*): Set tmake_file.
1739 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
1740 (picochip-*-*): Set tmake_file.
1741 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
1743 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
1744 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
1745 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
1746 (xtensa*-*-elf*): Set tmake_file.
1747 (xtensa*-*-linux*): Likewise.
1748 * configure.ac: Include ../config/unwind_ipinfo.m4.
1749 Call GCC_CHECK_UNWIND_GETIPINFO.
1750 Link unwind.h to $unwind_header.
1751 * configure: Regenerate.
1752 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
1753 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
1754 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
1755 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
1756 * config/unwind-dw2-fde-darwin.c: New file.
1757 * config/arm/libunwind.S, config/arm/pr-support.c,
1758 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
1759 config/arm/unwind-arm.h,: New files.
1760 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
1761 config/ia64/t-eh-ia64, config/ia64/t-glibc,
1762 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
1763 config/ia64/t-vms, config/ia64/unwind-ia64.c,
1764 config/ia64/unwind-ia64.h: New files.
1765 * config/picochip/t-picochip: New file.
1766 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
1768 * config/rs6000/t-darwin (LIB2ADDEH): Set.
1769 * config/s390/t-tpf (LIB2ADDEH): Remove.
1770 * config/t-darwin (LIB2ADDEH): Set.
1771 * config/t-eh-dw2-dip: New file.
1772 * config/t-libunwind, config/t-libunwind-elf: New files.
1773 * config/t-sol2 (LIB2ADDEH): Remove.
1774 * config/xtensa/t-xtensa: New file.
1776 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
1778 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
1779 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
1780 long long to check rt_sigreturn syscall.
1782 2011-08-02 Alan Modra <amodra@gmail.com>
1784 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
1785 Restore for indirect call bcrtl from correct stack slot, and only
1786 if cfa+40 isn't valid.
1788 2011-08-01 Julian Brown <julian@codesourcery.com>
1790 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
1791 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
1792 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
1794 2011-08-01 Julian Brown <julian@codesourcery.com>
1796 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
1797 (libgcc-std.ver.in): Use above.
1798 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
1799 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
1801 * config/t-fixedpoint-gnu-prefix: New file.
1802 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
1803 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
1806 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
1808 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
1809 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
1810 for x86-64. Properly check __x86_64__ and __LP64__.
1812 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
1814 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
1816 (_FP_WS_TYPE): Likewise.
1817 (_FP_I_TYPE): Likewise.
1819 2011-07-28 Alan Modra <amodra@gmail.com>
1821 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
1822 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
1823 in a plt call stub. Do restore r2 if stopped on bctrl.
1825 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1827 * config.host (i[3456x]86-*-netware*): Remove.
1828 * config/i386/netware-crt0.c, config/i386/t-nwld,
1829 config/i386/t-slibgcc-nwld: Remove.
1831 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
1833 * config.host: Handle tic6x-*-*.
1834 * config/c6x/c6x-abi.h: New file.
1836 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1838 * config/i386/crtprec.c: New file.
1839 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
1840 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
1841 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
1842 (x86_64-*-darwin*): Likewise.
1843 (i[34567]86-*-solaris2*: Likewise.
1845 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1847 * config/alpha/crtfastmath.c: New file.
1848 * config/i386/crtfastmath.c: New file.
1849 * config/ia64/crtfastmath.c: New file.
1850 * config/mips/crtfastmath.c: New file.
1851 * config/sparc/crtfastmath.c: New file.
1853 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
1855 Add -frandom-seed=gcc-crtfastmath.
1856 * config/alpha/t-crtfm: Remove.
1857 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
1858 * config/ia64/t-ia64 (crtfastmath.o): Remove.
1860 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
1861 (alpha*-dec-osf5.1*): Likewise.
1862 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
1863 Add crtfastmath.o to extra_parts.
1864 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
1865 Add crtfastmath.o to extra_parts.
1866 (x86_64-*-darwin*): Likewise.
1867 (x86_64-*-mingw*): Likewise.
1868 (ia64*-*-elf*): Add t-crtfm to tmake_file.
1869 (ia64*-*-freebsd*): Likewise.
1870 (ia64*-*-linux*): Likewise.
1871 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
1872 Add crtfastmath.o to extra_parts.
1874 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1876 * config/darwin-crt3.o: New file.
1877 * config/rs6000/darwin-crt2.c: New file.
1878 * config/t-darwin: New file.
1879 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
1881 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
1882 (powerpc-*-darwin*): Add crt2.o to extra_parts.
1883 (powerpc64-*-darwin*): Likewise.
1885 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1887 * config/i386/netware-crt0.c: New file.
1888 * config/i386/t-nwld: Rename to ...
1889 * config/i386/t-slibgcc-nwld: ... this.
1890 * config/i386/t-nwld: New file.
1891 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
1893 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
1896 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1898 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
1900 * configure: Regenerate.
1902 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1904 * dfp-bit.c, dfp-bit.h: New files.
1905 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
1907 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
1908 ($(d64pbit-o)): Likewise.
1909 ($(d128pbit-o)): Likewise.
1910 * config/t-dfprules: New file.
1911 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
1912 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
1913 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
1914 (x86_64-*-linux*): Likewise.
1915 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
1916 (i[34567]86-*-cygwin*): Likewise.
1917 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
1918 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1920 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1922 * Makfile.in (LIBGCOV): New variable.
1923 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
1924 * libgcov.c: New file.
1926 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1928 * fixed-bit.c, fixed-bit.h: New files.
1929 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
1930 refer to fixed-bit.c.
1932 2011-07-07 Joseph Myers <joseph@codesourcery.com>
1934 * config.host (*local*): Remove.
1936 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1939 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
1940 like i?86-*-solaris2.1[0-9]*.
1941 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
1942 * configure.ac (i?86-*-solaris2*): Likewise.
1943 * configure: Regenerate.
1945 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
1947 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
1948 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
1949 md_unwind_header by splitting out of...
1950 (i[34567]86-*-linux*): ... this.
1951 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
1952 Remove md_unwind_header by splitting out of...
1953 (x86_64-*-linux*): ... this.
1955 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
1957 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
1959 2011-06-28 Nick Clifton <nickc@redhat.com>
1961 * config.host: Recognize all V850 variants.
1963 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
1965 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
1967 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1969 * shared-object.mk (c_flags-$o): Save c_flags.
1970 ($(base)$(objext)): Use it.
1971 ($(base)_s$(objext)): Likewise.
1973 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
1975 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
1976 * libgcc-std.ver.in (GCC_4.7.0): New section.
1978 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
1982 * config/avr/t-avr: Fix line endings.
1983 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
1986 2011-06-14 Olivier Hainque <hainque@adacore.com>
1987 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1989 * config/mips/irix6-unwind.h: New file.
1990 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
1992 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
1994 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
1995 (sparc64_fallback_frame_state): Use it.
1996 (sparc64_frob_update_context): Further adjust context.
1997 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
1998 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
1999 * config/sparc/sol2-cn.S: Likewise.
2001 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2003 * enable-execute-stack-empty.c: New file.
2004 * enable-execute-stack-mprotect.c: New file.
2005 * config/i386/enable-execute-stack-mingw32.c: New file.
2006 * config.host (enable_execute_stack): New variable.
2007 Select appropriate variants.
2008 * configure.ac: Link enable-execute-stack.c to
2009 $enable_execute_stack.
2010 * configure: Regenerate.
2011 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
2012 (lib2funcs): Remove _enable_execute_stack.
2014 2011-06-09 David S. Miller <davem@davemloft.net>
2015 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2017 * config.host (sparc-*-linux*): Correct md_unwind_header
2019 (s390x-ibm-tpf*): Fix typo.
2021 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2023 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
2024 Add crtfastmath.o to extra_parts.
2025 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
2027 * config/mips/t-crtfm: Remove.
2029 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2031 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
2033 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
2035 * config.host (sh*-*-linux*): Fix typo.
2037 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2039 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
2040 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
2041 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
2042 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
2043 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
2044 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
2045 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
2046 Wrap in !__MINGW64__.
2047 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
2048 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
2049 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
2050 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
2051 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
2052 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
2053 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
2055 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
2056 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
2057 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
2058 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
2059 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
2060 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
2061 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
2062 * config/no-unwind.h: New file.
2063 * config.host (md_unwind_header): Document.
2065 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
2066 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
2067 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
2068 hppa[12]*-*-hpux11*): Set md_unwind_header.
2069 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
2070 Set md_unwind_header.
2071 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
2072 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
2073 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
2074 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
2075 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
2076 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
2077 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
2079 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
2080 * configure: Regenerate.
2082 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2084 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
2085 Set tmake_file, extra_parts.
2086 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
2088 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
2090 * config/mips/t-irix6: New file.
2091 * config/mips/t-slibgcc-irix: New file.
2093 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2095 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
2096 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
2098 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2100 * configure.ac (target_thread_file): Determine thread model.
2101 * configure: Regenerate.
2102 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
2103 * config/alpha/t-alpha: New file.
2104 * config/alpha/t-crtfm: Use $<.
2105 * config/alpha/t-ieee: New file.
2106 * config/alpha/t-osf-pthread: New file.
2107 * config/alpha/t-slibgcc-osf: New file.
2108 * config/alpha/libgcc-osf5.ver: New file.
2110 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2112 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
2114 Add crtfastmath.o to extra_parts.
2116 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2118 * config/gmon-sol2.c: Reindent.
2120 Remove, correct casts.
2121 Use STDERR_FILENO, NULL.
2122 (BASEADDRESS): Remove.
2124 (errno, sbrk): Remove declarations.
2125 (monstartup) [hp300]: Remove.
2128 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2130 * Makefile.in (cpu_type): Define.
2131 * config.host (i[34567]86-*-rtems*): Handle it.
2132 (i[34567]86-*-solaris2*): Move body ...
2133 (*-*-solaris2*): ... here.
2134 New case, generalize.
2135 (sparc-*-elf*): Handle it.
2136 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
2137 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
2138 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
2140 (sparc*-*-solaris2*): ... this.
2142 (sparc64-*-elf*): Handle it.
2143 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
2144 Merge ../gcc/config/i386/gmon-sol2.c.
2145 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
2147 Merge ../gcc/config/i386/sol2-gc1.asm.
2148 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
2150 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
2152 * config/i386/t-crtfm (crtfastmath.o): Use $<.
2153 * config/i386/t-crtstuff: New file.
2154 * config/i386/t-softfp: New file.
2155 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
2156 $(T)crti.o, $(T)crtn.o): Remove.
2157 (gcrt1.o): New rule.
2158 (TARGET_LIBGCC2_CFLAGS): Remove.
2159 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
2160 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
2161 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
2162 * config/sparc/t-sol2: New file.
2163 * config/sparc/t-crtfm: Move to ...
2164 * config/t-crtfm: ... this.
2165 Use $(cpu_type), $<.
2166 * config/t-crtin: New file.
2167 * config/sparc/t-softfp: New file.
2168 * config/sparc/t-softmul: New file.
2169 * config/t-rtems: New file.
2170 * config/t-slibgcc: New file.
2171 * config/t-slibgcc-elf-ver: New file.
2172 * config/t-slibgcc-gld: New file.
2173 * config/t-slibgcc-sld: New file.
2174 * config/t-sol2: New file.
2175 * configure.ac: Include ../config/lib-ld.m4.
2176 Call AC_LIB_PROG_LD_GNU.
2177 Substitute cpu_type.
2178 * configure: Regenerate.
2180 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
2183 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
2184 libgcc-std.ver in the build directory.
2185 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
2186 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
2188 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
2190 * libgcc-std.ver.in: New file.
2191 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
2193 (libgcc-std.ver): New rule.
2194 * config/t-gnu-prefix: New file.
2196 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2198 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
2200 2011-05-10 Joseph Myers <joseph@codesourcery.com>
2202 * config/i386/darwin-lib.h: New file.
2204 2011-05-10 Joseph Myers <joseph@codesourcery.com>
2206 * config/arm/symbian-lib.h: New.
2208 2011-05-04 Chris Demetriou <cgd@google.com>
2210 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
2211 (__x86.get_pc_thunk.bx): ...this.
2212 (__morestack): Adjust for rename, remove undef of __i686.
2214 2011-05-03 Chris Demetriou <cgd@google.com>
2216 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
2218 2011-03-22 Joseph Myers <joseph@codesourcery.com>
2220 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
2221 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
2222 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
2223 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
2224 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
2227 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
2229 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
2230 Adjust copyright year.
2232 2011-03-07 Ian Lance Taylor <iant@google.com>
2234 * generic-morestack.c (__splitstack_find): Adjust returned stack
2235 pointer to include all registers pushed by __morestack.
2237 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
2240 * configure.ac: Call ACX_NONCANONICAL_TARGET.
2241 (toolexecdir): Calculate and AC_SUBST.
2242 (toolexeclibdir): Likewise.
2243 * Makefile.in (target_noncanonical): Import.
2244 (toolexecdir): Likewise.
2245 (toolexeclibdir): Likewise.
2246 * configure: Regenerate.
2248 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
2251 * config/arm/bpabi.h: Rename to...
2252 * config/arm/bpabi-lib.h: ...this.
2254 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2256 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
2258 * configure: Regenerate.
2260 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
2262 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
2263 __FLOAT_WORD_ORDER__.
2264 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
2267 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2270 * Makefile.in (install-strip): New phony target.
2272 2010-11-07 Ian Lance Taylor <iant@google.com>
2275 * config/i386/morestack.S (__morestack_large_model): New
2278 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
2280 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
2282 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
2284 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
2286 * config/arm/bpabi.h: New file.
2287 * config/frv/frv-abi.h: New file.
2289 2010-10-01 Ian Lance Taylor <iant@google.com>
2291 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
2292 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
2294 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
2297 * config.host: Add the missing `$'.
2299 2010-09-30 Michael Eager <eager@eagercon.com>
2301 * config.host: Add microblaze*-*-*.
2302 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
2303 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
2304 udivsi3.asm,umodsi3.asm}: New.
2306 2010-09-28 Ian Lance Taylor <iant@google.com>
2308 * configure.ac: Adjust CFI test to test assembler directly rather
2309 than checking gcc preprocessor macro.
2310 * configure: Rebuild.
2312 2010-09-27 Ian Lance Taylor <iant@google.com>
2314 * configure.ac: Test whether assembler supports CFI directives.
2315 * config.host: Only add t-stack and i386/t-stack-i386 to
2316 tmake_file if libgcc_cv_cfi is "yes".
2317 * configure: Rebuild.
2319 2010-09-27 Ian Lance Taylor <iant@google.com>
2321 * generic-morestack.h: New file.
2322 * generic-morestack.c: New file.
2323 * generic-morestack-thread.c: New file.
2324 * config/i386/morestack.S: New file.
2325 * config/t-stack: New file.
2326 * config/i386/t-stack-i386: New file.
2327 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
2328 i386/t-stack-i386 to tmake_file.
2330 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
2332 * Makefile.in (libgcc-extra-parts): Check for static archives and
2333 invoke ranlib after installing them.
2334 (gcc-extra-parts): Likewise.
2335 (install-leaf): Likewise.
2337 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
2339 * configure: Regenerated.
2341 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
2343 * configure: Regenerated.
2345 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
2346 Andrew Pinski <pinskia@gmail.com>
2349 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
2351 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
2354 * configure: Regenerated.
2356 2010-09-06 Andreas Schwab <schwab@redhat.com>
2358 * configure: Regenerate.
2360 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
2362 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
2364 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
2367 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
2368 Iain Sandoe <iains@gcc.gnu.org>
2371 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
2372 LIB2FUNCS_EXCLUDE functions.
2374 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2376 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
2378 * configure: Regenerate.
2380 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
2382 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
2383 i386/t-freebsd to tmake_file.
2384 * config/i386/t-freebsd: New file.
2385 * config/i386/libgcc-bsd.ver: New file.
2387 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
2389 * config.host (powerpc*-eabispe*): Set tmake_file.
2390 (powerpc*-eabi*): Likewise.
2391 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
2392 crtbeginS, crtendS, crtbeginT.
2394 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
2396 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
2397 to tmake_file. Add crtfastmath.o to extra_parts.
2398 * config/mips/t-crtfm: New.
2400 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
2402 * config.host (sparc64-*-rtems*): New target.
2404 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2406 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
2409 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
2411 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
2413 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2415 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
2416 alpha-dec-osf5.0* support.
2418 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
2420 * config.host: Add lm32-*-rtems*.
2422 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2423 Uros Bizjak <ubizjak@gmail.com>
2426 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
2427 like other remaining 32-bit x86 OSes.
2428 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
2430 * config/i386/libgcc-sol2.ver: New file.
2431 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
2433 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
2436 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
2437 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
2438 is used and substitute set_use_emutls.
2439 * configure: Regenerated.
2441 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
2443 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
2445 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2448 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
2450 ($(T)gcrt1.o): Likewise.
2451 ($(T)crt1.o): Likewise.
2452 ($(T)crti.o): Likewise.
2453 ($(T)crtn.o): Likewise.
2455 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2458 * Makefile.in (install): Use $(MAKE) string in rule, for
2461 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
2463 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
2464 * config/mmix/t-mmix: New file.
2465 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
2467 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
2470 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
2473 2010-01-04 Anthony Green <green@moxielogic.com>
2475 * config/moxie/crti.asm, config/moxie/crtn.asm,
2476 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
2477 config/moxie/t-moxie: New files.
2478 * config.host: Add t-moxie-softfp reference.
2480 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
2483 * config/t-slibgcc-darwin: Fix embedded rpaths for
2484 --enable-version-specific-runtime-libs, build extension stub
2485 libs exposing features available from current libgcc_s.
2487 2009-11-11 Jon Beniston <jon@beniston.com>
2489 * config.host: Add lm32 targets.
2490 * config/lm32: New directory.
2491 * config/lm32/libgcc_lm32.h: New file.
2492 * config/lm32/_mulsi3.c: New file.
2493 * config/lm32/_udivmodsi4.c: New file.
2494 * config/lm32/_divsi3.c: New file.
2495 * config/lm32/_modsi3.c: New file.
2496 * config/lm32/_udivsi3.c: New file.
2497 * config/lm32/_umodsi3.c: New file.
2498 * config/lm32/_lshrsi3.S: New file.
2499 * config/lm32/_ashrsi3.S: New file.
2500 * config/lm32/_ashlsi3.S: New file.
2501 * config/lm32/crti.S: New file.
2502 * config/lm32/crtn.S: New file.
2503 * config/lm32/t-lm32: New file.
2504 * config/lm32/t-elf: New file.
2505 * config/lm32/t-uclinux: New file.
2507 2009-10-26 Nick Clifton <nickc@redhat.com>
2509 * config.host: Add support for RX target.
2510 * config/rx: New directory.
2511 * config/rx/rx-abi-functions.c: New file. Supplementary
2512 functions for libgcc to support the RX ABI.
2513 * config/rx/rx-abi.h: New file. Supplementary header file for
2514 libgcc RX ABI functions.
2515 * config/rx/t-rx: New file: Makefile fragment for building
2518 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
2520 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
2521 constraint of y0 to "g".
2523 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2525 * config.host: Include the s390 makefile fragments.
2526 * config/s390/32/_fixdfdi.c: New file.
2527 * config/s390/32/_fixsfdi.c: New file.
2528 * config/s390/32/_fixtfdi.c: New file.
2529 * config/s390/32/_fixunsdfdi.c: New file.
2530 * config/s390/32/_fixunssfdi.c: New file.
2531 * config/s390/32/_fixunstfdi.c: New file.
2532 * config/s390/32/t-floattodi: New file.
2533 * config/s390/libgcc-glibc.ver: New file.
2534 * config/s390/t-crtstuff: New file.
2535 * config/s390/t-linux: New file.
2536 * config/s390/t-tpf: New file.
2538 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2540 * configure.ac (AC_PREREQ): Bump to 2.64.
2542 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
2544 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
2546 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2548 * configure: Regenerate.
2550 2009-08-09 Douglas B Rupp <rupp@gnat.com>
2552 * config.host (ia64-hp-*vms*): New target.
2553 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
2556 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2558 * configure.ac: Add snippet for maintainer-mode.
2559 * configure: Regenerate.
2560 * Makefile.in (AUTOCONF, configure_deps): New variables.
2561 ($(srcdir)/configure)): New rule, active only with maintainer
2564 2009-06-23 DJ Delorie <dj@redhat.com>
2567 * config.host: Add mep support.
2569 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
2571 * config.host: Add i386/${host_address}/t-fprules-softfp and
2572 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
2574 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
2576 * config/i386/64/_multc3.c: Likewise.
2577 * config/i386/64/_powitf2.c: Likewise.
2578 * config/i386/64/eqtf2.c: Likewise.
2579 * config/i386/64/getf2.c: Likewise.
2580 * config/i386/64/letf2.c: Likewise.
2581 * config/i386/64/letf2.c: Likewise.
2582 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
2583 unsigned long long for x64 mingw targets.
2584 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
2585 (_FP_I_TYPE): Define as long long for x64 mingw target.
2587 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
2589 * config.host (vax-*-linux*): New.
2591 2009-05-31 Anthony Green <green@moxielogic.com>
2593 * config.host: Add moxie support.
2594 * config/moxie/t-moxie: New file.
2596 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
2598 * config.host: Add i386/${host_address}/t-fprules-softfp and
2599 t-softfp to tmake_file for i[34567]86-*-cygwin*.
2601 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
2603 * config.host: Add i386/${host_address}/t-fprules-softfp to
2604 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
2606 2009-04-09 Nick Clifton <nickc@redhat.com>
2608 * config/ia64/tf-signs.c: Change copyright header to refer to
2609 version 3 of the GNU General Public License with version 3.1
2610 of the GCC Runtime Library Exception and to point readers at
2611 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
2613 * config/i386/32/tf-signs.c: Likewise.
2614 * config/libbid/_addsub_dd.c: Likewise.
2615 * config/libbid/_addsub_sd.c: Likewise.
2616 * config/libbid/_addsub_td.c: Likewise.
2617 * config/libbid/_dd_to_df.c: Likewise.
2618 * config/libbid/_dd_to_di.c: Likewise.
2619 * config/libbid/_dd_to_sd.c: Likewise.
2620 * config/libbid/_dd_to_sf.c: Likewise.
2621 * config/libbid/_dd_to_si.c: Likewise.
2622 * config/libbid/_dd_to_td.c: Likewise.
2623 * config/libbid/_dd_to_tf.c: Likewise.
2624 * config/libbid/_dd_to_udi.c: Likewise.
2625 * config/libbid/_dd_to_usi.c: Likewise.
2626 * config/libbid/_dd_to_xf.c: Likewise.
2627 * config/libbid/_df_to_dd.c: Likewise.
2628 * config/libbid/_df_to_sd.c: Likewise.
2629 * config/libbid/_df_to_td.c: Likewise.
2630 * config/libbid/_di_to_dd.c: Likewise.
2631 * config/libbid/_di_to_sd.c: Likewise.
2632 * config/libbid/_di_to_td.c: Likewise.
2633 * config/libbid/_div_dd.c: Likewise.
2634 * config/libbid/_div_sd.c: Likewise.
2635 * config/libbid/_div_td.c: Likewise.
2636 * config/libbid/_eq_dd.c: Likewise.
2637 * config/libbid/_eq_sd.c: Likewise.
2638 * config/libbid/_eq_td.c: Likewise.
2639 * config/libbid/_ge_dd.c: Likewise.
2640 * config/libbid/_ge_sd.c: Likewise.
2641 * config/libbid/_ge_td.c: Likewise.
2642 * config/libbid/_gt_dd.c: Likewise.
2643 * config/libbid/_gt_sd.c: Likewise.
2644 * config/libbid/_gt_td.c: Likewise.
2645 * config/libbid/_isinfd128.c: Likewise.
2646 * config/libbid/_isinfd32.c: Likewise.
2647 * config/libbid/_isinfd64.c: Likewise.
2648 * config/libbid/_le_dd.c: Likewise.
2649 * config/libbid/_le_sd.c: Likewise.
2650 * config/libbid/_le_td.c: Likewise.
2651 * config/libbid/_lt_dd.c: Likewise.
2652 * config/libbid/_lt_sd.c: Likewise.
2653 * config/libbid/_lt_td.c: Likewise.
2654 * config/libbid/_mul_dd.c: Likewise.
2655 * config/libbid/_mul_sd.c: Likewise.
2656 * config/libbid/_mul_td.c: Likewise.
2657 * config/libbid/_ne_dd.c: Likewise.
2658 * config/libbid/_ne_sd.c: Likewise.
2659 * config/libbid/_ne_td.c: Likewise.
2660 * config/libbid/_sd_to_dd.c: Likewise.
2661 * config/libbid/_sd_to_df.c: Likewise.
2662 * config/libbid/_sd_to_di.c: Likewise.
2663 * config/libbid/_sd_to_sf.c: Likewise.
2664 * config/libbid/_sd_to_si.c: Likewise.
2665 * config/libbid/_sd_to_td.c: Likewise.
2666 * config/libbid/_sd_to_tf.c: Likewise.
2667 * config/libbid/_sd_to_udi.c: Likewise.
2668 * config/libbid/_sd_to_usi.c: Likewise.
2669 * config/libbid/_sd_to_xf.c: Likewise.
2670 * config/libbid/_sf_to_dd.c: Likewise.
2671 * config/libbid/_sf_to_sd.c: Likewise.
2672 * config/libbid/_sf_to_td.c: Likewise.
2673 * config/libbid/_si_to_dd.c: Likewise.
2674 * config/libbid/_si_to_sd.c: Likewise.
2675 * config/libbid/_si_to_td.c: Likewise.
2676 * config/libbid/_td_to_dd.c: Likewise.
2677 * config/libbid/_td_to_df.c: Likewise.
2678 * config/libbid/_td_to_di.c: Likewise.
2679 * config/libbid/_td_to_sd.c: Likewise.
2680 * config/libbid/_td_to_sf.c: Likewise.
2681 * config/libbid/_td_to_si.c: Likewise.
2682 * config/libbid/_td_to_tf.c: Likewise.
2683 * config/libbid/_td_to_udi.c: Likewise.
2684 * config/libbid/_td_to_usi.c: Likewise.
2685 * config/libbid/_td_to_xf.c: Likewise.
2686 * config/libbid/_tf_to_dd.c: Likewise.
2687 * config/libbid/_tf_to_sd.c: Likewise.
2688 * config/libbid/_tf_to_td.c: Likewise.
2689 * config/libbid/_udi_to_dd.c: Likewise.
2690 * config/libbid/_udi_to_sd.c: Likewise.
2691 * config/libbid/_udi_to_td.c: Likewise.
2692 * config/libbid/_unord_dd.c: Likewise.
2693 * config/libbid/_unord_sd.c: Likewise.
2694 * config/libbid/_unord_td.c: Likewise.
2695 * config/libbid/_usi_to_dd.c: Likewise.
2696 * config/libbid/_usi_to_sd.c: Likewise.
2697 * config/libbid/_usi_to_td.c: Likewise.
2698 * config/libbid/_xf_to_dd.c: Likewise.
2699 * config/libbid/_xf_to_sd.c: Likewise.
2700 * config/libbid/_xf_to_td.c: Likewise.
2701 * config/libbid/bid128.c: Likewise.
2702 * config/libbid/bid128_2_str.h: Likewise.
2703 * config/libbid/bid128_2_str_macros.h: Likewise.
2704 * config/libbid/bid128_2_str_tables.c: Likewise.
2705 * config/libbid/bid128_add.c: Likewise.
2706 * config/libbid/bid128_compare.c: Likewise.
2707 * config/libbid/bid128_div.c: Likewise.
2708 * config/libbid/bid128_fma.c: Likewise.
2709 * config/libbid/bid128_logb.c: Likewise.
2710 * config/libbid/bid128_minmax.c: Likewise.
2711 * config/libbid/bid128_mul.c: Likewise.
2712 * config/libbid/bid128_next.c: Likewise.
2713 * config/libbid/bid128_noncomp.c: Likewise.
2714 * config/libbid/bid128_quantize.c: Likewise.
2715 * config/libbid/bid128_rem.c: Likewise.
2716 * config/libbid/bid128_round_integral.c: Likewise.
2717 * config/libbid/bid128_scalb.c: Likewise.
2718 * config/libbid/bid128_sqrt.c: Likewise.
2719 * config/libbid/bid128_string.c: Likewise.
2720 * config/libbid/bid128_to_int16.c: Likewise.
2721 * config/libbid/bid128_to_int32.c: Likewise.
2722 * config/libbid/bid128_to_int64.c: Likewise.
2723 * config/libbid/bid128_to_int8.c: Likewise.
2724 * config/libbid/bid128_to_uint16.c: Likewise.
2725 * config/libbid/bid128_to_uint32.c: Likewise.
2726 * config/libbid/bid128_to_uint64.c: Likewise.
2727 * config/libbid/bid128_to_uint8.c: Likewise.
2728 * config/libbid/bid32_to_bid128.c: Likewise.
2729 * config/libbid/bid32_to_bid64.c: Likewise.
2730 * config/libbid/bid64_add.c: Likewise.
2731 * config/libbid/bid64_compare.c: Likewise.
2732 * config/libbid/bid64_div.c: Likewise.
2733 * config/libbid/bid64_fma.c: Likewise.
2734 * config/libbid/bid64_logb.c: Likewise.
2735 * config/libbid/bid64_minmax.c: Likewise.
2736 * config/libbid/bid64_mul.c: Likewise.
2737 * config/libbid/bid64_next.c: Likewise.
2738 * config/libbid/bid64_noncomp.c: Likewise.
2739 * config/libbid/bid64_quantize.c: Likewise.
2740 * config/libbid/bid64_rem.c: Likewise.
2741 * config/libbid/bid64_round_integral.c: Likewise.
2742 * config/libbid/bid64_scalb.c: Likewise.
2743 * config/libbid/bid64_sqrt.c: Likewise.
2744 * config/libbid/bid64_string.c: Likewise.
2745 * config/libbid/bid64_to_bid128.c: Likewise.
2746 * config/libbid/bid64_to_int16.c: Likewise.
2747 * config/libbid/bid64_to_int32.c: Likewise.
2748 * config/libbid/bid64_to_int64.c: Likewise.
2749 * config/libbid/bid64_to_int8.c: Likewise.
2750 * config/libbid/bid64_to_uint16.c: Likewise.
2751 * config/libbid/bid64_to_uint32.c: Likewise.
2752 * config/libbid/bid64_to_uint64.c: Likewise.
2753 * config/libbid/bid64_to_uint8.c: Likewise.
2754 * config/libbid/bid_b2d.h: Likewise.
2755 * config/libbid/bid_binarydecimal.c: Likewise.
2756 * config/libbid/bid_conf.h: Likewise.
2757 * config/libbid/bid_convert_data.c: Likewise.
2758 * config/libbid/bid_decimal_data.c: Likewise.
2759 * config/libbid/bid_decimal_globals.c: Likewise.
2760 * config/libbid/bid_div_macros.h: Likewise.
2761 * config/libbid/bid_dpd.c: Likewise.
2762 * config/libbid/bid_flag_operations.c: Likewise.
2763 * config/libbid/bid_from_int.c: Likewise.
2764 * config/libbid/bid_functions.h: Likewise.
2765 * config/libbid/bid_gcc_intrinsics.h: Likewise.
2766 * config/libbid/bid_inline_add.h: Likewise.
2767 * config/libbid/bid_internal.h: Likewise.
2768 * config/libbid/bid_round.c: Likewise.
2769 * config/libbid/bid_sqrt_macros.h: Likewise.
2771 2009-04-09 Jakub Jelinek <jakub@redhat.com>
2773 * Makefile.in: Change copyright header to refer to version
2774 3 of the GNU General Public License and to point readers at the
2775 COPYING3 file and the FSF's license web page.
2776 * config.host: Likewise.
2778 2009-04-07 Alan Modra <amodra@bigpond.net.au>
2780 * config.host: Reorder and merge to match config.gcc change.
2782 2009-04-03 Alan Modra <amodra@bigpond.net.au>
2784 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
2786 2009-03-28 Joseph Myers <joseph@codesourcery.com>
2788 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
2789 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
2790 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
2791 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
2793 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
2795 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
2796 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
2798 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
2800 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
2801 ia64/t-softfp-compat to tmake_file.
2803 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
2805 * config/ia64/__divxf3.asm: New.
2806 * config/ia64/_fixtfdi.asm: Likewise.
2807 * config/ia64/_fixunstfdi.asm: Likewise.
2808 * config/ia64/_floatditf.asm: Likewise.
2809 * config/ia64/t-fprules-softfp: Likewise.
2810 * config/ia64/t-softfp-compat: Likewise.
2811 * config/ia64/tf-signs.c: Likewise.
2813 2009-01-18 Ben Elliston <bje@au.ibm.com>
2815 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
2817 2009-01-16 Ben Elliston <bje@au.ibm.com>
2819 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
2822 2009-01-13 Ben Elliston <bje@au.ibm.com>
2824 * config/t-softfp: New file.
2825 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
2826 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
2828 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2830 * config.host: Add m32r*-*-rtems*.
2832 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
2834 * config.host: Add m32c*-*-rtems*.
2836 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2839 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
2840 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
2841 * configure: Regenerate.
2842 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
2843 tmake_file here from gcc/config.gcc.
2844 Move extra_parts here from gcc/config.gcc.
2845 * config/i386/t-sol2: Move here from gcc/config/i386.
2846 Use gcc_srcdir instead of srcdir.
2848 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
2850 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
2853 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
2855 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
2857 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
2859 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
2861 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
2864 * config.host: Add picochip-*-*.
2866 2008-08-06 Bob Wilson <bob.wilson@acm.org>
2868 * config.host: Match more processor names for Xtensa.
2870 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
2872 * config/i386/64/t-softfp-compat: Update comments.
2874 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
2876 * config/i386/64/_divtc3-compat.c: Moved to ...
2877 * config/i386/64/_divtc3.c: Here.
2879 * config/i386/64/_multc3-compat.c: Moved to ...
2880 * config/i386/64/_multc3.c: Here.
2882 * config/i386/64/_powitf2-compat.c: Moved to ...
2883 * config/i386/64/_powitf2.c: Here.
2885 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
2886 .c suffix instead of -compat.c.
2888 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
2890 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
2891 (_FP_MUL_MEAT_D): Ditto.
2892 (_FP_DIV_MEAT_S): Ditto.
2893 (_FP_DIV_MEAT_D): Ditto.
2895 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
2897 * Makefile.in: Add support for __sync_* libgcc functions.
2899 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
2901 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
2903 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
2906 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
2907 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
2909 * config/i386/64/t-fprules-softfp: Moved to ...
2910 * config/i386/64/t-softfp-compat: This. New.
2912 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
2914 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
2915 Initialize f with 0.0.
2917 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
2920 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
2922 * config/i386/64/_divtc3-compat.c: New.
2923 * config/i386/64/_multc3-compat.c: Likewise.
2924 * config/i386/64/_powitf2-compat.c: Likewise.
2925 * config/i386/64/eqtf2.c: Likewise.
2926 * config/i386/64/getf2.c: Likewise.
2927 * config/i386/64/letf2.c: Likewise.
2928 * config/i386/64/t-fprules-softfp: Likewise.
2930 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
2932 * config.host: Add i386/${host_address}/t-fprules-softfp to
2933 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
2934 i[34567]86-*-linux*, x86_64-*-linux*.
2936 * configure.ac: Set host_address to 64 or 32 for x86.
2937 * configure: Regenerated.
2939 * Makefile.in (config.status): Also depend on
2940 $(srcdir)/config.host.
2942 * config/i386/32/t-fprules-softfp: New.
2943 * config/i386/32/tf-signs.c: Likewise.
2945 * config/i386/64/sfp-machine.h: New. Moved from gcc.
2947 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
2948 Uros Bizjak <ubizjak@gmail.com>
2950 * config/i386/32/sfp-machine.h: New.
2952 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
2954 * config/rs6000/t-ppccomm: Remove rules that conflict with
2955 auto-generated rules.
2957 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2959 * configure.ac: sinclude override.m4.
2960 * configure: Regenerate.
2962 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
2964 * configure: Regenerate.
2966 2008-06-10 Joseph Myers <joseph@codesourcery.com>
2968 * Makefile.in (DECNUMINC): Remove
2969 -I$(MULTIBUILDTOP)../../libdecnumber.
2972 2008-06-07 Joseph Myers <joseph@codesourcery.com>
2974 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
2975 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
2976 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
2977 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
2978 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
2979 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
2980 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
2981 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
2982 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
2983 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
2984 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
2985 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
2986 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
2987 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
2989 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
2991 * config.host (sh2[lbe]*-*-linux*): Allow target.
2993 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
2995 * config/rs6000/t-ppccomm: Add build rules for new files.
2996 (LIB2ADD_ST): New variable.
2998 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
3002 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
3003 * config/t-avr: New file. Build 16bit libgcc functions.
3005 2008-03-02 Jakub Jelinek <jakub@redhat.com>
3008 * config/t-slibgcc-darwin: Make install-leaf dependent on
3009 install-darwin-libgcc-stubs instead of install.
3011 2008-01-25 Joseph Myers <joseph@codesourcery.com>
3013 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
3014 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
3015 sh-*-rtemscoff*): Remove cases.
3017 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
3019 * Makefile.in (all): Use install-leaf rather than install.
3020 (install): Split most of the rule into...
3021 (install-leaf): ...this new one.
3023 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
3024 Paolo Bonzini <bonzini@gnu.org>
3027 * Makefile.in: Use @shlib_slibdir@ substitution to get
3028 correct install name on darwin.
3029 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
3031 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
3033 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
3034 cris-*-elf and cris-*-none.
3035 (crisv32-*-linux*): Similar, as cris-*-linux*.
3037 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
3039 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
3041 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
3044 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
3045 * configure: Regenerated.
3047 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
3049 * Makefile.in (dfp-filenames): Replace decimal_globals,
3050 decimal_data, binarydecimal and convert_data with
3051 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
3052 and bid_convert_data, respectively.
3054 2007-09-17 Chao-ying Fu <fu@mips.com>
3055 Nigel Stephens <nigel@mips.com>
3057 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
3058 * Makefile.in (fixed_point): Define.
3059 Check if fixed_point is yes to build support functions.
3060 * configure.ac: Check for fixed_point support.
3061 * configure: Regenerated.
3062 * gen-fixed.sh: New file to generate lists of fixed-point labels,
3063 funcs, modes, from, to.
3065 2007-09-11 Janis Johnson <janis187@us.ibm.com
3067 * Makefile.in (dfp-filenames): Add bid128_noncomp.
3069 2007-09-10 Janis Johnson <janis187@us.ibm.com>
3071 * Makefile.in (dfp-filenames): Remove decUtility, add
3072 decDouble, decPacked, decQuad, decSingle.
3074 2007-08-27 Hans Kester <hans.kester@ellips.nl>
3076 * config.host : Add x86_64-elf target.
3078 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
3080 * configure.ac (set_have_cc_tls): Add a missing =.
3081 * configure: Regenerated.
3083 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
3085 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
3086 and x86_64-*-linux*.
3088 * config/t-tls: New file.
3090 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
3092 * configure.ac: Include ../config/enable.m4 and
3093 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
3094 supports TLS and substitute set_have_cc_tls.
3095 * configure: Regenerated.
3097 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
3099 * Makefile.in: Use libbid for DFP when BID is enabled.
3101 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
3103 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
3104 extra_parts. Add config/i386/t-cygming to tmake_file.
3105 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
3107 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
3108 Danny Smith <dannysmith@users.sourceforge.net>
3111 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
3112 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
3113 * config/i386/t-crtfm: Compile crtfastmath.o with
3114 -minline-all-stringops.
3116 2007-05-10 Richard Sandiford <richard@codesourcery.com>
3118 * config.host (sparc-wrs-vxworks): New target.
3120 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
3122 * config.host: Recognize fido.
3124 2007-04-04 Janis Johnson <janis187@us.ibm.com>
3126 * configure: Check host, not target, for decimal float support.
3128 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
3130 * config/i386/t-crtpc: New file.
3131 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
3132 (x86_64-*-linux*): Ditto.
3134 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
3136 * config.host (x86_64-*-mingw*): New target.
3138 2007-03-23 Michael Meissner <michael.meissner@amd.com>
3139 H.J. Lu <hongjiu.lu@intel.com>
3141 * Makefile.in (enable_decimal_float): New.
3143 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
3144 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
3145 (decbits-filenames): This.
3146 (decbits-objects): New.
3147 (libgcc-objects): Add $(decbits-objects).
3149 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
3150 Substitute enable_decimal_float.
3151 * configure: Regenerated.
3153 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
3155 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
3157 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
3159 * Makefile.in (install-info): New dummy target.
3161 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
3163 * config.host (bfin*-linux-uclibc*): Set extra_parts.
3165 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
3167 * Makefile.in: Add install-html and install-pdf dummy
3170 2007-02-05 Roger Sayle <roger@eyesopen.com>
3171 Daniel Jacobowitz <dan@codesourcery.com>
3173 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
3174 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
3175 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
3177 2007-01-29 Janis Johnson <janis187@us.ibm.com>
3179 * Makefile.in (dec-filenames): Add decExcept.
3181 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
3184 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
3187 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
3189 * configure.ac: Add --enable-version-specific-runtime-libs.
3190 Correct $slibdir default.
3191 * configure: Regenerated.
3193 2007-01-23 Joseph Myers <joseph@codesourcery.com>
3195 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
3197 2007-01-21 Andrew Pinski <pinskia@gmail.com>
3200 * config.host (alpha*-*-linux*): Set extra_parts.
3202 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
3204 * config/sh/t-linux: New.
3205 * config.host (sh*-*-linux*): Set tmake_file.
3207 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
3209 * Makefile.in (install): Handle multilibs.
3211 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
3213 * Makefile.in: Added .PHONY entry for documentation targets.
3215 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
3217 * Makefile.in: Add empty info, html, dvi, pdf targets.
3219 2007-01-04 Mike Stump <mrs@apple.com>
3221 * Makefile.in (MAKEINFO): Remove.
3224 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
3226 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
3227 * configure: Regenerate.
3228 * Makefile.in (host_subdir): Substitute it.
3229 (gcc_objdir): Use it.
3231 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
3233 * config.host (ia64*-*-linux*): Set tmake_file.
3235 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
3237 * Makefile.in (version): Define.
3239 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
3240 Paolo Bonzini <bonzini@gnu.org>
3242 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
3243 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
3244 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
3245 config/sparc/t-crtfm, config/t-slibgcc-darwin,
3246 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
3247 shared-object.mk, siditi-object.mk, static-object.mk: New files.
3248 * configure: Generated.