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