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