OSDN Git Service

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