modsi3.S (modsi3): Fix case with 0x80000000 as dividend.
[gcc.git] / libgcc / ChangeLog
1 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
2 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
3 as dividend.
4
5 2013-02-16 Alan Modra <amodra@gmail.com>
6
7 PR target/55431
8 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
9 (ppc_fallback_frame_state): Always set up save locations for fp
10 and altivec. Don't bother with non-callee-saved regs, r0-r13
11 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
12
13 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
14
15 PR target/54222
16 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
17 _ssmulHA, _ssmulSA.
18 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
19 _ssmulha3, _usmulusa3, _ssmulsa3.
20 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
21 (__muldi3): XCALL __muldi3_6 instead of rcall.
22 (__umulsidi3, __mulsidi3): New functions.
23 (do_prologue_saves, do_epilogue_restores): New .macros.
24 (__divdi3_moddi3): Use them.
25 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
26 (__usmulusa3, __ssmulsa3): New functions.
27
28 2013-02-11 Iain Sandoe <iain@codesourcery.com>
29 Jack Howarth <howarth@bromo.med.uc.edu>
30 Patrick Marlier <patrick.marlier@gmail.com>
31
32 PR libitm/55693
33 * config/darwin-crt-tm.c: Remove dummy functions hack.
34
35 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
36
37 PR target/54222
38 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
39 * config/avr/lib2-object.mk: New iterator to build objects from it.
40 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
41 lib2funcs.c.
42 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
43 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
44 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
45 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
46 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
47 * config/avr/lib1funcs-fixed.S: Implement them.
48
49 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
50
51 Update copyright years.
52
53 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
54
55 PR target/54601
56 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
57 Add crtcxa to extra_parts.
58 * config/rs6000/exit.h: New file.
59 * config/rs6000/cxa_atexit.c: New file.
60 * config/rs6000/cxa_finalize.c: New file.
61 * config/rs6000/crtcxa.c: New file.
62 * config/rs6000/t-aix-cxa: New file.
63 * config/rs6000/libgcc-aix-cxa.ver: New file.
64
65 2013-01-31 Nick Clifton <nickc@redhat.com>
66
67 * config/v850/lib1funcs.S: Add support for e3v5 architecture
68 variant.
69
70 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
71
72 PR target/54222
73 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
74 _mulQQ, _mulHQ, _mulHA, _mulSA,
75 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
76 _divQQ, _divHQ, _divHA, _divSA,
77 _divUQQ, _divUHQ, _divUHA, _divUSA.
78
79 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
80
81 * config.host(microblaze*-linux*): tmake_file: Remove
82 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
83 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
84 to exclude functions from being built with libgcc.c and use
85 the microblaze assembly.
86
87 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
88
89 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
90 extra_parts.
91
92 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
93
94 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
95 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
96 __UINTPTR_TYPE__; also cast 'base' to the same type before the
97 alignment operation.
98
99 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
100
101 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
102 loop start address for cache clearing.
103
104 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
105
106 * config/avr/lib1funcs.S: Remove trailing blanks.
107 * config/avr/lib1funcs-fixed.S: Ditto.
108
109 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
110
111 * config/avr/avr-lib.h: Add GPL copyright notice.
112
113 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
114
115 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
116 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
117 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
118 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
119
120 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
121
122 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
123 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
124
125 2013-01-04 Nick Clifton <nickc@redhat.com>
126
127 * config/v850/lib1funcs.S: Only provide CALLT support functions if
128 the CALLT instruction is supported.
129
130 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
131
132 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
133 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
134
135 2012-12-13 John Tytgat <John@bass-software.com>
136
137 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
138 is 25.
139
140 2012-12-12 Jakub Jelinek <jakub@redhat.com>
141
142 PR libgcc/55451
143 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
144 undefined signed overflows.
145
146 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
147
148 PR target/55344
149 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
150
151 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
152
153 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
154 (FP_TRAPPING_EXCEPTIONS): Define.
155 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
156 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
157
158 2012-12-04 Richard Henderson <rth@redhat.com>
159
160 PR bootstrap/55571
161 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
162
163 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
164
165 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
166 (FP_EX_SHIFT): Define.
167 (FP_TRAPPING_EXCEPTIONS): Define.
168
169 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
170
171 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
172 (FP_ROUNDMODE): Use FP_RND_MASK.
173 * config/aarch64/sfp-exceptions.c: New.
174 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
175 Use __sfp_handle_exceptions.
176
177 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
178
179 * config.host: (arm*-*-freebsd*): Remove.
180 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
181 (arm*-*-elf*): Remove.
182 (arm*-*-wince-pe*): Remove.
183 * arm/unwind-arm.c (struct fpa_reg): Delete.
184 (struct fpa_regs): Delete.
185 (phase1_vrs): Remove fpa element.
186 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
187 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
188 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
189 * ieee754-sf.S (floatundisf): Remove FPA support.
190 (floatdisf): Likewise.
191 * ieee75f-df.S (floatundidf): Likewise.
192 (floatdidf): Likewise.
193
194 2012-11-29 Kai Tietz <ktietz@redhat.com>
195
196 PR target/55445
197 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
198 * unwind-generic.h: Likewise.
199 * unwind-seh.c: Likewise.
200
201 2012-11-28 Richard Henderson <rth@redhat.com>
202
203 PR libgcc/48076
204 * emutls.c (__emutls_get_address): Avoid race condition between
205 obj->loc.offset read and emutls_key initialization.
206
207 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
208
209 Adjust decimal point of signed accum mode to GCC default.
210
211 PR target/54222
212 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
213 _divqq_helper.
214 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
215 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
216 (__mulha3, __mulsa3)
217 (__divqq3, __divha3, __divsa3): Adjust to new position of
218 decimal point of signed accum types.
219
220 (__mulusa3_round): New function.
221 (__mulusa3): Use it.
222 (__divqq_helper): New function.
223 (__udivuqq3): Use it.
224
225 2012-11-20 Jakub Jelinek <jakub@redhat.com>
226
227 PR bootstrap/55370
228 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
229
230 2012-11-18 Teresa Johnson <tejohnson@google.com>
231
232 PR bootstrap/55051
233 * libgcov.c (gcov_exit): Remove merged program summary
234 comparison unless !GCOV_LOCKED.
235
236 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
237
238 * soft-fp: Updated from glibc upstream.
239
240 2012-11-06 Ian Lance Taylor <iant@google.com>
241
242 * generic-morestack.c (__generic_morestack): Align the returned
243 stack pointer to a 32 byte boundary.
244 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
245 increment the return address until we have decided that we don't
246 have a varargs function.
247 (__morestack) [32-bit]: Align stack correctly when calling C
248 functions.
249 (__morestack) [64-bit]: Likewise.
250
251 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
252
253 * configure: Regenerate.
254
255 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
256
257 PR target/55175
258 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
259 * config/i386/sfp-machine.h: Guard exception handling
260 code with _SOFT_FLOAT.
261 * config/i386/32/sfp-machine.h: Guard rounding handling
262 code with _SOFT_FLOAT.
263 * config/i386/64/sfp-machine.h: Ditto.
264
265 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
266
267 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
268 as extra_parts.
269
270 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
271
272 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
273 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
274 when appropriate. Correct structure element types.
275 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
276 -minline-all-stringops from compile flags.
277
278 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
279
280 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
281
282 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
283
284 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
285
286 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
287
288 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
289 tmake_file.
290
291 2012-10-23 Ian Bolton <ian.bolton@arm.com>
292 Jim MacArthur <jim.macarthur@arm.com>
293 Marcus Shawcroft <marcus.shawcroft@arm.com>
294 Nigel Stephens <nigel.stephens@arm.com>
295 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
296 Richard Earnshaw <rearnsha@arm.com>
297 Sofiane Naci <sofiane.naci@arm.com>
298 Stephen Thomas <stephen.thomas@arm.com>
299 Tejas Belagod <tejas.belagod@arm.com>
300 Yufeng Zhang <yufeng.zhang@arm.com>
301
302 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
303 * config/aarch64/crti.S: New file.
304 * config/aarch64/crtn.S: New file.
305 * config/aarch64/linux-unwind.h: New file.
306 * config/aarch64/sfp-machine.h: New file.
307 * config/aarch64/sync-cache.c: New file.
308 * config/aarch64/t-aarch64: New file.
309 * config/aarch64/t-softfp: New file.
310
311 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
312
313 * config/mmix/crti.S: Mark program and data addresses using PRELD.
314 Remove typo'd and unnecessary alignment-LOC for .data. Remove
315 no-longer-needed LDBU insns.
316
317 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
318
319 * config.host
320 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
321 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
322
323 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
324
325 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
326
327 2012-10-15 Matthias Klose <doko@ubuntu.com>
328
329 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
330
331 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
332
333 * configure: Regenerate.
334 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
335
336 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
337
338 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
339 instructions for 64bit targets only.
340
341 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
342
343 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
344 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
345 * config/i386/32/sfp-machine.h: ... here.
346 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
347 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
348 New defines.
349
350 2012-10-07 Matthias Klose <doko@ubuntu.com>
351
352 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
353 as unused.
354 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
355
356 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
357
358 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
359 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
360 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
361 (ElfW): Likewise.
362
363 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
364
365 PR other/53889
366 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
367 Fix parameter names.
368
369 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
370
371 PR target/33135
372 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
373 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
374 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
375
376 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
377
378 PR target/50457
379 * config/sh/linux-atomic.S: Delete.
380 * config/sh/linux-atomic.c: New.
381 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
382 linux-atomic.c. Add cflags to disable warnings.
383
384 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
385
386 PR other/53889
387 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
388 function.
389 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
390 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
391 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
392 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
393 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
394 Likewise.
395 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
396 Likewise.
397 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
398 Likewise.
399 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
400 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
401
402 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
403
404 * config.host (hppa-*-openbsd*): New target.
405 * config/pa/t-openbsd: New file.
406
407 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
408
409 PR target/54222
410 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
411 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
412 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
413 (__divsa3): Use __negsi2 to negate r_quoL.
414 * config/avr/lib1funcs.S (FALIAS): New macro.
415 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
416 (__negsi2): ...this new function.
417 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
418 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
419 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
420 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
421 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
422 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
423
424 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
425
426 PR target/54089
427 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
428 (lshrsi3): Reimplement as lshrsi3_r0.
429
430 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
431
432 PR target/46191
433 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
434 of libgcc.a.
435
436 2012-09-07 Teresa Johnson <tejohnson@google.com>
437
438 PR gcov-profile/54487
439 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
440 differences.
441
442 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
443
444 PR target/54461
445 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
446 not configured --with-avrlibc=no.
447 * config/avr/t-avrlibc: New file.
448 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
449 (DPBIT_FUNCS): Ditto.
450 (TPBIT_FUNCS): Ditto.
451
452 2012-09-04 Teresa Johnson <tejohnson@google.com>
453
454 * libgcov.c (struct gcov_summary_buffer): New structure.
455 (gcov_histogram_insert): New function.
456 (gcov_compute_histogram): Ditto.
457 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
458 histograms during summary merging.
459
460 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
461
462 * config.host (x86_64-*-openbsd*): New target.
463
464 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
465
466 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
467 attribute.
468
469 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
470
471 PR target/54222
472 * config/avr/t-avr (conv_X): Rename to func_X.
473
474 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
475
476 PR target/54222
477 * config/avr/lib1funcs-fixed.S: New file.
478 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
479 after they are used.
480 (neg2, neg4): New macros.
481 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
482 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
483 (__umulhisi3): Speed up MUL variant if there is enough flash.
484 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
485 avr-modes.def.
486 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
487 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
488 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
489 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
490 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
491 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
492 (LIB2FUNCS_EXCLUDE): Add supported functions.
493
494 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
495
496 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
497 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
498 libgcc-s-objects.
499 * fixed-obj.mk: Only expand dependency if $o is not in
500 LIB2FUNCS_EXCLUDE.
501
502 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
503
504 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
505
506 2012-08-22 Joseph Myers <joseph@codesourcery.com>
507
508 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
509 depend on --enable-shared.
510 ($(lib1asmfuncs-o)): Use %.vis files independent of
511 --enable-shared.
512 * static-object.mk ($(base)$(objext), $(base).vis)
513 ($(base)_s$(objext)): Use same rules for visibility handling as in
514 shared-object.mk.
515
516 2012-08-21 Ian Lance Taylor <iant@google.com>
517
518 * config/i386/morestack.S (__morestack_non_split): Increase amount
519 of space allocated for non-split code stack.
520
521 2012-08-19 Joseph Myers <joseph@codesourcery.com>
522
523 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
524 even if inhibit_libc.
525
526 2012-08-17 Julian Brown <julian@codesourcery.com>
527
528 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
529 -fexceptions -fnon-call-exceptions if not defined.
530 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
531 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
532
533 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
534
535 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
536 type.
537
538 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
539
540 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
541 rs6000/t-slibgcc-aix.
542
543 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
544
545 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
546
547 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
548
549 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
550
551 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
552
553 PR driver/54171
554 * Makefile.in (version): Replace top_srcdir with srcdir.
555
556 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
557
558 * Makefile.in (version): set to BASE-VER file from gcc directory.
559
560 2012-08-01 Nick Clifton <nickc@redhat.com>
561
562 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
563 Implements __clrsb for an HImode argument.
564
565 2012-07-31 Nick Clifton <nickc@redhat.com>
566
567 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
568 Implements __clrsb for an HImode argument.
569 * config/stormy16/clrsbhi2.c: New file:
570 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
571
572 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
573
574 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
575
576 2012-07-19 Tristan Gingold <gingold@adacore.com>
577 Richard Henderson <rth@redhat.com>
578
579 * unwind-seh.c: New file.
580 * unwind-generic.h: Include windows.h for SEH.
581 (_Unwind_Exception): Use 6 private fields for SEH.
582 (_GCC_specific_handler): Declare.
583 * unwind-c.c (__gcc_personality_seh0): New function.
584 Adjust for SEH.
585 * config/i386/libgcc-cygming.ver: New file.
586 * config/i386/t-seh-eh: New file.
587 * config.host (x86_64-*-mingw*): Default to seh.
588
589 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
590
591 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
592
593 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
594
595 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
596 __builtin_expect when checking for exceptions.
597 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
598
599 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
600
601 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
602 function declaration.
603 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
604 (FP_RND_MASK): New.
605 * config/ia64/sfp-exceptions.c: New.
606 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
607
608 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
609
610 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
611 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
612 * config/i386/64/sfp-machine: ... (delete here) ...
613 * config/i386/sfp-machine.h: ... to here.
614 (FP_EX_MASK): Remove.
615 (FP_RND_MASK): New.
616 (FP_INIT_ROUNDMODE): Declare asm as volatile.
617
618 2012-06-11 Sriraman Tallam <tmsriram@google.com>
619
620 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
621 * config/i386/libgcc-sol2.ver: Ditto.
622 * config/i386/libgcc-glibc.ver: Ditto.
623
624 2012-06-11 Roland McGrath <mcgrathr@google.com>
625
626 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
627 If __GLIBC__ is defined, refer to __pthread_key_create instead of
628 pthread_cancel.
629
630 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
631
632 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
633 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
634 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
635 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
636 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
637 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
638 * config/i386/64/sfp-machine: ... (delete here) ...
639 * config/i386/sfp-machine.h: ... to here.
640 (FP_EX_MASK): New.
641 (__sfp_handle_exceptions): New function declaration.
642 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
643 * config/i386/sfp-exceptions.c: New.
644 * config/i386/t-softfp: New.
645 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
646 i386/t-softfp to tmake_file.
647
648 2012-06-03 David S. Miller <davem@davemloft.net>
649
650 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
651 change.
652
653 2012-05-31 David S. Miller <davem@davemloft.net>
654
655 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
656 multiply and divide instructions on 32-bit when V9.
657 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
658
659 2012-05-29 Joseph Myers <joseph@codesourcery.com>
660
661 * config/arm/ieee754-df.S: Fix typos.
662 * config/arm/ieee754-sf.S: Fix typos.
663 * config/c6x/libunwind.S: Fix typos.
664 * config/epiphany/udivsi3-float.c: Fix typos.
665 * config/microblaze/muldi3_hard.S: Fix typos.
666 * config/picochip/adddi3.S: Fix typos.
667 * config/picochip/ashlsi3.S: Fix typos.
668 * config/picochip/ashrsi3.S: Fix typos.
669 * config/picochip/clzsi2.S: Fix typos.
670 * config/picochip/cmpsi2.S: Fix typos.
671 * config/picochip/divmod15.S: Fix typos.
672 * config/picochip/divmodhi4.S: Fix typos.
673 * config/picochip/divmodsi4.S: Fix typos.
674 * config/picochip/longjmp.S: Fix typos.
675 * config/picochip/lshrsi3.S: Fix typos.
676 * config/picochip/parityhi2.S: Fix typos.
677 * config/picochip/popcounthi2.S: Fix typos.
678 * config/picochip/setjmp.S: Fix typos.
679 * config/picochip/subdi3.S: Fix typos.
680 * config/picochip/ucmpsi2.S: Fix typos.
681 * config/picochip/udivmodhi4.S: Fix typos.
682 * config/picochip/udivmodsi4.S: Fix typos.
683 * config/spu/divv2df3.c: Fix typos.
684 * config/spu/mfc_multi_tag_release.c: Fix typos.
685 * config/spu/mfc_tag_release.c: Fix typos.
686 * configure.ac: Fix typos.
687 * configure: Regenerate.
688
689 2012-05-25 Ian Lance Taylor <iant@google.com>
690
691 * config/i386/morestack.S (__morestack_non_split): Check whether
692 caller is varargs and needs %bp to hold the stack frame on return.
693
694 2012-05-25 Olivier Hainque <hainque@adacore.com>
695
696 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
697 sequence in the non pic case on VxWorks.
698
699 2012-05-24 Olivier Hainque <hainque@adacore.com>
700
701 * Makefile.in: Move dependency on install-unwind_h from
702 "install-leaf" to "install".
703
704 2012-05-24 Olivier Hainque <hainque@adacore.com>
705
706 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
707 Use a separate command for stamp removals.
708
709 2012-05-21 Andrew Pinski <apinski@cavium.com>
710
711 PR bootstrap/53183
712 * configure.ac: Define the default includes to being none.
713 * configure: Regenerate.
714
715 2012-05-16 Olivier Hainque <hainque@adacore.com>
716
717 * Makefile.in (install-unwind_h): Rename into ...
718 (install-unwind_h-forbuild): New target.
719 (all): Use it instead of the former install-unwind_h.
720 (install-unwind_h): Reinstate, copy to user install destination
721 for include files, not to the internal gcc object directory one.
722 (install-leaf): Depend on it.
723
724 2012-05-15 Olivier Hainque <hainque@adacore.com>
725
726 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
727 register numbers. LR_REGNO replaces R_LR.
728 (ucontext_for): New, helper for ...
729 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
730 and 5.3 of ...
731 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
732
733 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
734
735 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
736 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
737 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
738 i386/t-cpuinfo ...
739 (i[34567]86-*-*, x86_64-*-*): ... here.
740
741 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
742 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
743
744 * config/i386/i386-cpuinfo.c: Rename to ...
745 * config/i386/cpuinfo.c: ... this.
746 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
747
748 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
749 (libgcc_cv_init_priority): New test.
750 * configure: Regenerate.
751 * config.in: New file.
752 * Makefile.in (clean): Rename config.h to auto-target.h.
753 (config.h): Likewise.
754 (stamp-h): Likewise.
755
756 * config/i386/cpuinfo.c (auto-target.h): Include.
757 (CONSTRUCTOR_PRIORITY): Define.
758 (__cpu_indicator_init): Use it.
759
760 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
761
762 * longlong.h: Use a URL instead of an FSF postal address.
763 Replace spaces with tab.
764
765 2012-05-08 Teresa Johnson <tejohnson@google.com>
766
767 * libgcov.c (gcov_clear, __gcov_reset): New functions.
768 (__gcov_dump): Ditto.
769 (gcov_dump_complete): New global variable.
770 (gcov_exit): Export hidden to enable use in L_gcov_dump.
771 (__gcov_flush): Outline functionality now in gcov_clear.
772 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
773
774 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
775
776 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
777 (mips*-*-linux*): Include mips/t-tpbit when long double is
778 16 bytes long.
779
780 2012-04-25 Sriraman Tallam <tmsriram@google.com>
781
782 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
783 (get_available_features): New argument. Check for AVX2.
784 (__cpu_indicator_init): Modify call to get_available_features.
785
786 2012-04-25 Alan Modra <amodra@gmail.com>
787
788 * config/rs6000/crtsavevr.S: New file.
789 * config/rs6000/crtrestvr.S: New file.
790 * config/rs6000/t-savresfgpr: Build the above.
791 * config/rs6000/t-netbsd: Likewise.
792
793 2012-04-24 Sriraman Tallam <tmsriram@google.com>
794
795 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
796
797 2012-04-24 Sriraman Tallam <tmsriram@google.com>
798
799 * libgcc/config/i386/i386-cpuinfo.c: New file.
800 * libgcc/config/i386/t-cpuinfo: New file.
801 * libgcc/config.host: Include t-cpuinfo.
802 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
803
804 2012-04-24 Chao-ying Fu <fu@mips.com>
805
806 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
807
808 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
809
810 struct siginfo vs. siginfo_t
811
812 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
813 siginfo_t instead of struct siginfo.
814 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
815 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
816 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
817 (ia64_handle_unwabi): Likewise.
818 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
819 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
820 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
821 (sh_fallback_frame_state): Likewise.
822 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
823 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
824
825 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
826
827 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
828 system call number.
829
830 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
831
832 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
833 if it hasn't been previously saved.
834
835 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
836
837 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
838 only for glibc.
839
840 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
841
842 PR target/52737
843 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
844 instead of __AVR_HAVE_8BIT_SP__.
845
846 2012-03-26 Tristan Gingold <gingold@adacore.com>
847
848 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
849 (unw_table_entry): Use unw_word instead of unsigned long.
850 (_Unwind_FindTableEntry): Likewise.
851 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
852 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
853 (_Unwind_FindTableEntry): Likewise.
854 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
855 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
856 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
857 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
858 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
859 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
860 (uw_init_context_1, uw_install_context): Likewise.
861 (unw_word): Move to unwind-ia64.h
862
863 2012-03-26 Tristan Gingold <gingold@adacore.com>
864
865 * config/vms/vms-ucrt0.c: Update copyright years.
866 Add a sanity check.
867 (___gcc_main_flags): Declare.
868 (__main): Check flags to remap argv and exit code.
869 * config.host (*-*-*vms*): Adjust extra_parts.
870 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
871 (crt0.o): Add.
872
873 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
874
875 * arm/lib1funcs.asm (ctzsi2): New function.
876 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
877 * arm/t-linux (LIB1ASMFUNCS): Likewise.
878 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
879 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
880 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
881 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
882
883 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
884
885 * config.host: Add bits to support powerpc64-*-freebsd*.
886 * config/rs6000/freebsd-unwind.h: New file.
887 * config/rs6000/t-freebsd64: New file.
888
889 2012-03-20 Richard Guenther <rguenther@suse.de>
890
891 PR gcov-profile/52627
892 * libgcov.c (init_mx): Fix mutex name.
893
894 2012-03-16 Tristan Gingold <gingold@adacore.com>
895
896 * config/ia64/vms-unwind.h: Remove ulong (and replace
897 it by unw_reg where used). Define unw_reg with __int64.
898
899 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
900
901 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
902 Solaris 8 handling.
903 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
904 Solaris 8 handling.
905 (sparc_is_sighandler): Likewise.
906
907 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
908
909 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
910 <= saved reg size.
911
912 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
913
914 * config/arm/crtn.S: Fix typo.
915
916 2012-03-13 Richard Guenther <rguenther@suse.de>
917
918 * libgcov.c: Remove stdio.h include and NULL un-define.
919
920 2012-03-13 Richard Guenther <rguenther@suse.de>
921
922 PR target/52569
923 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
924
925 2012-03-13 Richard Guenther <rguenther@suse.de>
926
927 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
928
929 2012-03-13 Richard Guenther <rguenther@suse.de>
930
931 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
932 and __gthread_mutex_init_function definitions.
933
934 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
935
936 * config.host (mips*-*-openbsd*): Remove.
937
938 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
939
940 * config.host: Remove alpha*-dec-osf5.1* handling.
941 * config/alpha/gthr-posix.c: Remove.
942 * config/alpha/libgcc-osf5.ver: Remove.
943 * config/alpha/osf5-unwind.h: Remove.
944 * config/alpha/t-osf-pthread: Remove.
945 * config/alpha/t-slibgcc-osf: Remove.
946 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
947 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
948 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
949 * mkmap-flat.awk: Remove osf_export handling.
950
951 2012-03-12 Richard Guenther <rguenther@suse.de>
952
953 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
954 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
955 (__gthread_mutex_init_function): New function.
956 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
957
958 PR gcov/49484
959 * libgcov.c: Include gthr.h.
960 (__gcov_flush_mx): New global variable.
961 (init_mx, init_mx_once): New functions.
962 (__gcov_flush): Protect self with a mutex.
963 (__gcov_fork): Re-initialize mutex after forking.
964 * unwind-dw2-fde.c: Change condition under which to use
965 __GTHREAD_MUTEX_INIT_FUNCTION.
966
967 2012-03-12 Tristan Gingold <gingold@adacore.com>
968
969 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
970 * config/ia64/t-vms: Likewise.
971
972 2012-03-11 Michael Hope <michael.hope@linaro.org>
973
974 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
975 for Thumb-2.
976
977 2012-03-07 Walter Lee <walt@tilera.com>
978
979 * config/tilepro/atomic.c: Rename "atomic_" prefix to
980 "arch_atomic_".
981 (atomic_xor): Rename and move definition to
982 config/tilepro/atomic.h.
983 (atomic_nand): Ditto.
984 * config/tilepro/atomic.h: Rename "atomic_" prefix to
985 "arch_atomic_".
986 (arch_atomic_xor): Move from config/tilepro/atomic.c.
987 (arch_atomic_nand): Ditto.
988
989 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
990
991 PR target/52507
992 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
993
994 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
995
996 PR target/52505
997 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
998 from RAM.
999
1000 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
1001
1002 PR target/52461
1003 PR target/52508
1004 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
1005 if RAMPZ affects reading from RAM.
1006 (__tablejump_elpm__): Ditto.
1007 (.xload): Ditto.
1008 (__movmemx_hi): Ditto.
1009 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
1010 (__do_global_dtors): Ditto.
1011 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
1012 (__movmemx_hi): Ditto.
1013
1014 2012-03-05 Richard Henderson <rth@redhat.com>
1015
1016 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
1017 [ARM] (count_trailing_zeros): Use the builtin.
1018
1019 2012-03-01 Kai Tietz <ktietz@redhat.com>
1020
1021 * soft-fp: Imported from glibc upstream.
1022
1023 2012-02-28 Kai Tietz <ktietz@redhat.com>
1024
1025 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
1026 for mingw-targets as attribute gcc_struct.
1027
1028 2012-02-28 Ian Lance Taylor <iant@google.com>
1029
1030 * generic-morestack.c (__splitstack_releasecontext): Correct call
1031 to __morestack_release_segments.
1032
1033 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1034
1035 PR target/52390
1036 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
1037 for __linux__ when removing signals from __morestack_fullmask.
1038
1039 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
1040
1041 PR target/52261
1042 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
1043
1044 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1045
1046 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
1047 instead of HAVE_INITFINI_ARRAY.
1048 * config/ia64/crtend.S: Likewise.
1049
1050 2012-02-20 Kai Tietz <ktietz@redhat.com>
1051
1052 PR libstdc++/52300
1053 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
1054
1055 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
1056 to w32-unwind.h header.
1057
1058 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1059
1060 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
1061 (mips*-*-linux*): Remove t-slibgcc-libgcc.
1062 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
1063 * config/mips/mips16.S (__mips16_rdhwr): Delete.
1064
1065 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1066
1067 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
1068
1069 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1070
1071 PR libitm/52220
1072 * config/darwin-crt-tm.c: Correct typo.
1073
1074 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1075 Patrick Marlier <patrick.marlier@gmail.com>
1076
1077 PR libitm/52220
1078 * config/darwin-crt-tm.c: Generate dummy functions.
1079
1080 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1081 Patrick Marlier <patrick.marlier@gmail.com>
1082
1083 PR libitm/52042
1084 * config/darwin-crt-tm.c (getTMCloneTable): New function.
1085 (__doTMRegistrations): Call it.
1086 (__doTMdeRegistrations): Likewise.
1087
1088 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
1089 Anatoly Sokolov <aesok@post.ru>
1090 Eric Weddington <eric.weddington@atmel.com>
1091
1092 PR target/52261
1093 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
1094 (__epilogue_restores__): Ditto.
1095
1096 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
1097
1098 PR target/51921
1099 PR target/52205
1100 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
1101 Solaris 11 and slightly reformat.
1102 (sparc_is_sighandler): Likewise.
1103
1104 2012-02-14 Walter Lee <walt@tilera.com>
1105
1106 * config.host: Handle tilegx and tilepro.
1107 * config/tilegx/sfp-machine.h: New file.
1108 * config/tilegx/sfp-machine32.h: New file.
1109 * config/tilegx/sfp-machine64.h: New file.
1110 * config/tilegx/t-crtstuff: New file.
1111 * config/tilegx/t-softfp: New file.
1112 * config/tilegx/t-tilegx: New file.
1113 * config/tilepro/atomic.c: New file.
1114 * config/tilepro/atomic.h: New file.
1115 * config/tilepro/linux-unwind.h: New file.
1116 * config/tilepro/sfp-machine.h: New file.
1117 * config/tilepro/softdivide.c: New file.
1118 * config/tilepro/softmpy.S: New file.
1119 * config/tilepro/t-crtstuff: New file.
1120 * config/tilepro/t-tilepro: New file.
1121
1122 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
1123
1124 PR libstdc++/51296
1125 PR libstdc++/51906
1126 * gthr-posix.h: Allow static initializer macros to be disabled.
1127 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
1128
1129 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1130
1131 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
1132 Add t-slibgcc-libgcc to tmake_file.
1133 * config/mips/libgcc-mips16.ver: Revert previous patch.
1134 * config/mips/mips16.S (__mips16_rdhwr): Hide.
1135
1136 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
1137 Jayant R Sonar <jayant.sonar@kpitcummins.com>
1138
1139 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
1140 * config/cr16/crti.S: New file.
1141 * config/cr16/crtlibid.S: New file.
1142 * config/cr16/crtn.S: New file.
1143 * config/cr16/lib1funcs.S: New file.
1144 * config/cr16/t-cr16: New file.
1145 * config/cr16/t-crtlibid: New file.
1146 * config/cr16/unwind-dw2.h: New file.
1147 * config/cr16/unwind-cr16.c: New file.
1148 * config/cr16/divmodhi3.c: New file.
1149
1150 2012-01-25 Alan Modra <amodra@gmail.com>
1151
1152 * config/rs6000/t-linux64: Delete. Move..
1153 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
1154 * config/rs6000/t-linux: ..and libgcc flags to here.
1155
1156 2012-01-22 Douglas B Rupp <rupp@gnat.com>
1157
1158 * config.host (i[34567]86-*-interix3*):
1159 Change triplet to i[34567]86-*-interix[3-9]*.
1160 * configure: Regenerate.
1161
1162 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
1163 Richard Sandiford <rdsandiford@googlemail.com>
1164
1165 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
1166 * config/mips/mips16.S (__mips16_rdhwr): New function.
1167 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
1168
1169 2012-01-11 Nathan Sidwell <nathan@acm.org>
1170
1171 * libgcov.c (__gcov_init): Ignore objects with no functions.
1172
1173 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
1174
1175 PR target/49868
1176 Extend __pgmx semantics to linearize memory.
1177 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
1178 * config/avr/lib1funcs.S (__xload_1): New function.
1179 (__movmemx_qi, __movmemx_hi): New functions.
1180 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
1181 semantics.
1182
1183 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1184
1185 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
1186 purported sigacthandler address isn't null before dereferencing it.
1187 (sparc_is_sighandler): Likewise.
1188
1189 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1190
1191 PR ada/41929
1192 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
1193 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
1194 (sparc_is_sighandler): Likewise.
1195 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
1196
1197 2012-01-06 Tristan Gingold <gingold@adacore.com>
1198
1199 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
1200 compatibility thunks...
1201 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
1202 (crtbeginS.o, crtendS.o): ... and these to ...
1203 * config/ia64/t-ia64-elf: ... this new file.
1204 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
1205 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
1206
1207 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1208
1209 * configure: Regenerate.
1210 * config/s390/t-crtstuff: Remove -fPIC.
1211
1212 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1213
1214 PR bootstrap/51006
1215 * enable-execute-stack-mprotect.c (getpagesize): Do not define
1216 for NetBSD.
1217
1218 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
1219
1220 PR target/51345
1221 * config/avr/lib1funcs.S: Remove FIXME comments.
1222 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
1223
1224 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
1225
1226 Implement light-weight DImode support.
1227 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
1228 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
1229 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
1230 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
1231
1232 2011-12-30 Nathan Sidwell <nathan@acm.org>
1233
1234 * libgcov.c (gcov_crc32): Remove global var.
1235 (free_fn_data): New function.
1236 (buffer_fn_data): Pass in filename, more robust error recovery.
1237 (crc32_unsigned): New function.
1238 (gcov_exit): More robust detection of new program. More robust
1239 error recovery.
1240 (__gcov_init): Do not update program's crc here.
1241
1242 2011-12-21 Tristan Gingold <gingold@adacore.com>
1243
1244 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
1245
1246 2011-12-21 Ian Lance Taylor <iant@google.com>
1247
1248 * config/i386/morestack.S: Simplify CFI opcodes throughout.
1249
1250 2011-12-20 Ian Lance Taylor <iant@google.com>
1251
1252 * config/i386/morestack.S (__morestack_non_split): If there is
1253 enough stack space already, don't split. Ask for more stack space
1254 than we required.
1255
1256 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
1257
1258 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
1259 `sys/sdt.h'.
1260 (_Unwind_DebugHook): New function.
1261 (uw_restore_core_regs): New define.
1262 (unwind_phase2): Use uw_restore_core_regs instead of
1263 restore_core_regs.
1264 (unwind_phase2_forced): Likewise.
1265 (__gnu_Unwind_Resume): Likewise.
1266
1267 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
1268
1269 * config/alpha/linux-unwind.h: Update copyright years.
1270 (MD_FROB_UPDATE_CONTEXT): New define.
1271 (alpha_frob_update_context): New function.
1272
1273 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
1274
1275 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
1276 tmake_file rather replacing it.
1277
1278 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
1279
1280 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1281 function is not used for PPC64.
1282 (save_world): Amend comments. Update the VRsave mask to reflect the
1283 saved regs.
1284 (rest_world): Update comments, do not clobber r10, do not use r8.
1285 (eh_rest_world_r10): Amend comments, do not use r8.
1286 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1287 no longer used, move restore of CR and target address to the end of
1288 the routine.
1289
1290 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
1291
1292 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1293 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1294
1295 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
1296
1297 PR target/49313
1298 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1299 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1300
1301 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
1302
1303 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1304
1305 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
1306
1307 PR target/49313
1308 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1309 * config/avr/lib1funcs.S (__muldi3): New function.
1310
1311 2011-12-06 Andrew Pinski <apinski@cavium.com>
1312
1313 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1314 size of func_ptr.
1315 (__frame_dummy_init_array_entry): Likewise.
1316
1317 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
1318
1319 Forward-port from gcc-4_6-branch r181936 2011-12-02.
1320
1321 PR target/51345
1322 PR target/51002
1323 * config/avr/lib1funcs.S (__prologue_saves__,
1324 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1325 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
1326
1327 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
1328
1329 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1330
1331 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1332
1333 PR other/51272
1334 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1335 (_ITM_deregisterTMCloneTable): Likewise.
1336 (__register_frame_info): Fix unused warning.
1337 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1338 pthread_default_stacksize_np): Likewise.
1339 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1340
1341 2011-11-29 DJ Delorie <dj@redhat.com>
1342
1343 * config.host (rl78-*-elf): New case.
1344 * config/rl78: New directory for the Renesas RL78.
1345
1346 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
1347
1348 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
1349 formatting.
1350
1351 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1352
1353 PR other/51022
1354 * config/rs6000/t-savresfgpr: New file.
1355 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1356 $(srcdir)/config/rs6000/eabi.S.
1357 * config/rs6000/t-ppccomm-ldbl: Remove.
1358 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1359 tmake_file.
1360 (powerpc-*-eabispe*): Likewise.
1361 (powerpc-*-eabi*): Likewise.
1362 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1363 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1364 to tmake_file, remove rs6000/t-ppccomm-ldbl.
1365 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1366 tmake_file.
1367 (powerpc-*-eabisim*): Likewise.
1368 (powerpc-*-elf*): Likewise.
1369 (powerpc-*-eabialtivec*): Likewise.
1370 (powerpc-xilinx-eabi*): Likewise.
1371 (powerpc-*-rtems*): Likewise.
1372 (powerpcle-*-elf*): Likewise.
1373 (powerpcle-*-eabisim*): Likewise.
1374 (powerpcle-*-eabi*): Likewise.
1375
1376 2011-11-27 Ian Lance Taylor <iant@google.com>
1377
1378 * generic-morestack.c (__splitstack_find): Check for NULL old
1379 stack value.
1380 (__splitstack_resetcontext): New function.
1381 (__splitstack_releasecontext): New function.
1382 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1383
1384 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1385
1386 * config/darwin-crt-tm.c: Correct comments, use correct licence.
1387
1388 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1389
1390 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
1391
1392 2011-11-26 Richard Henderson <rth@redhat.com>
1393
1394 * config/m68k/linux-atomic.c: New file.
1395 * config/m68k/t-linux: New file.
1396 * config.host (m68k-uclinux, m68k-linux): Use it.
1397
1398 2011-11-26 Richard Henderson <rth@redhat.com>
1399
1400 * crtstuff.c (__TMC_LIST__): Mark used not unused.
1401 (__TMC_END__): Only declare if hidden is available; in the definition,
1402 if hidden is unavailable add a null record.
1403 (deregister_tm_clones, register_tm_clones): New.
1404 (__do_global_dtors_aux, frame_dummy): Use them.
1405 (__do_global_dtors, __do_global_ctors_1): Likewise.
1406
1407 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
1408
1409 * config/darwin-crt-tm.c: New file.
1410 * config.host (darwin): Build crttms.o crttme.o to provide
1411 startup and shutdown for tm clones.
1412 * config/t-darwin (crttms.o): New build rule.
1413 (crttme.o): Likewise.
1414
1415 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
1416
1417 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
1418 et al.
1419
1420 2011-11-21 Richard Henderson <rth@redhat.com>
1421
1422 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
1423 (__TMC_LIST__, __TMC_END__): New.
1424 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
1425 (__do_global_dtors): Likewise.
1426 (frame_dummy): Call _ITM_registerTMCloneTable.
1427 (__do_global_ctors_1): Likewise.
1428
1429 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1430
1431 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
1432 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1433 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
1434 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
1435 * config/i386/t-darwin64: Remove.
1436 * config/sh/t-netbsd (LIB2ADD): Remove.
1437
1438 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
1439
1440 PR target/49313
1441 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
1442 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
1443 * config/avr/lib1funcs.S (wmov): New assembler macro.
1444 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
1445 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
1446 (__udivmod64): New function.
1447 (__negdi2): New function.
1448
1449 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
1450
1451 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
1452 *-*-freebsd*aout*): Remove.
1453
1454 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
1455
1456 * static-object.mk (c_flags-$o): Save c_flags.
1457 ($(base)$(objext)): Use it.
1458
1459 2011-11-18 Steve Ellcey <sje@cup.hp.com>
1460
1461 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
1462
1463 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
1464
1465 PR target/49868
1466 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
1467 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
1468 New functions.
1469
1470 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1471
1472 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
1473 functions.
1474 (aeabi_uidivmod): Likewise.
1475 (umodsi3): Likewise.
1476 (divsi3): Likewise.
1477 (aeabi_idivmod): Likewise.
1478 (modsi3): Likewise.
1479
1480 2011-11-16 Tristan Gingold <gingold@adacore.com>
1481
1482 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
1483
1484 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
1485
1486 PR target/49868
1487 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
1488 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
1489
1490 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1491
1492 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
1493 tmake_file list.
1494 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
1495 * config/pa/t-stublib64: Delete.
1496
1497 2011-11-12 Richard Henderson <rth@redhat.com>
1498
1499 * config/rs6000/linux-unwind.h (frob_update_context): Properly
1500 cast the pointer argument to _Unwind_SetGRPtr.
1501
1502 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1503
1504 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
1505
1506 2011-11-09 Ian Lance Taylor <iant@google.com>
1507
1508 * generic-morestack.c: Include <string.h>.
1509 (uintptr_type): Define.
1510 (struct initial_sp): Add dont_block_signals field. Reduce size of
1511 extra array by 1.
1512 (allocate_segment): Set prev field to NULL. Don't set
1513 __morestack_current_segment or __morestack_segments.
1514 (__generic_morestack): Update current->prev and *pp after calling
1515 allocate_segment.
1516 (__morestack_block_signals): Don't do anything if
1517 dont_block_signals is set.
1518 (__morestack_unblock_signals): Likewise.
1519 (__generic_findstack): Check for initial_sp == NULL. Add casts to
1520 uintptr_type.
1521 (__splitstack_block_signals): New function.
1522 (enum __splitstack_content_offsets): Define.
1523 (__splitstack_getcontext, __splitstack_setcontext): New functions.
1524 (__splitstack_makecontext): New function.
1525 (__splitstack_block_signals_context): New function.
1526 (__splitstack_find_context): New function.
1527 * config/i386/morestack.S (__morestack_get_guard): New function.
1528 (__morestack_set_guard, __morestack_make_guard): New functions.
1529 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1530
1531 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1532
1533 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
1534 (i[34567]86-*-mingw*): ... here.
1535 (x86_64-*-mingw*): ... here.
1536
1537 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1538
1539 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
1540
1541 2011-11-07 Nathan Sidwell <nathan@acm.org>
1542
1543 * libgcov.c (struct gcov_fn_buffer): New struct.
1544 (buffer_fn_data): New helper.
1545 (gcov_exit): Rework for new gcov data structures.
1546
1547 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
1548
1549 PR target/49313
1550 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1551
1552 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1553
1554 * config.host (tmake_file): Correct comment.
1555 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1556 t-libgcc-pic.
1557 (bfin*-uclinux*): Likewise.
1558 (bfin*-linux-uclibc*): Likewise.
1559 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1560
1561 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1562 assigning.
1563 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1564 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1565 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1566 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1567 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1568 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1569 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1570 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1571 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1572 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1573 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1574 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1575 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1576
1577 * config/bfin/t-elf: Remove.
1578 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1579
1580 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1581
1582 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1583 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1584 (lm32-*-elf*, lm32-*-rtems*): Split into ...
1585 (lm32-*-elf*): ... this.
1586 (lm32-*-rtems*): ... and this.
1587 Add to tmake_file.
1588 (m32r-*-rtems*): Add to tmake_file.
1589 (moxie-*-rtems*): Likewise.
1590 (sparc-*-rtems*): Likewise.
1591 Remove t-rtems from tmake_file.
1592 (sparc64-*-rtems*): Likewise.
1593 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1594 instead.
1595
1596 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1597
1598 PR bootstrap/50982
1599 * config/gthr-posix.h: Move ...
1600 * gthr-posix.h: ... here.
1601 * config/gthr-lynx.h: Reflect this.
1602 * config/gthr-vxworks.h: Likewise.
1603 * config/rs6000/gthr-aix.h: Likewise.
1604 * configure.ac (target_thread_file): Likewise.
1605 * configure: Regenerate.
1606
1607 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1608
1609 * config.host (arm*-*-rtemseabi*): New target.
1610
1611 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1612
1613 PR other/50991
1614 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1615 extra-parts.
1616
1617 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
1618
1619 * config.host (epiphany-*-elf*): New configuration.
1620 * config/epiphany: New Directory.
1621
1622 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
1623
1624 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1625 * config/avr/t-rtems: New.
1626 Filter out _exit from LIB1ASMFUNCS.
1627
1628 2011-11-04 David S. Miller <davem@davemloft.net>
1629
1630 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1631 * configure: Rebuild.
1632
1633 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1634
1635 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1636 variable.
1637
1638 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
1639
1640 PR target/50931
1641 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1642 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1643
1644 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
1645
1646 PR target/50989
1647 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1648
1649 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1650
1651 * config/c6x/t-elf (LIB2ADDEH): Set.
1652 * config/c6x/t-c6x-elf: Remove.
1653
1654 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1655
1656 * config/i386/sol2-ci.S: Rename to ...
1657 * config/i386/crti.S: ... this.
1658 * config/i386/sol2-cn.S: Rename to ...
1659 * config/i386/crtn.S: ... this.
1660 * config/sparc/sol2-ci.S: Rename to ...
1661 * config/sparc/crti.S: ... this.
1662 * config/sparc/sol2-cn.S: Rename to ...
1663 * config/sparc/crtn.S: ... this.
1664 * config/t-sol2 (CUSTOM_CRTIN): Remove.
1665 (crti.o, crtn.o): Remove.
1666
1667 2011-11-04 Tristan Gingold <gingold@adacore.com>
1668
1669 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
1670
1671 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
1672
1673 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
1674
1675 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
1676
1677 * config.host (crisv32-*-none, cris-*-none): Remove.
1678 (crisv32-*-elf): Append to tmake_file, don't just set it.
1679 (cris-*-elf): Add missing t-fdpbit to tmake_file.
1680
1681 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1682
1683 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
1684 (ecrtn$(objext)): Likewise.
1685 (ncrti$(objext)): Likewise.
1686 (ncrtn$(objext)): Likewise.
1687
1688 2011-11-03 Andreas Schwab <schwab@redhat.com>
1689
1690 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
1691
1692 2011-11-02 David S. Miller <davem@davemloft.net>
1693
1694 * configure.ac: Set host_address on sparc too.
1695 * configure: Regenerate.
1696 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
1697 based upon host_address.
1698 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
1699
1700 2011-11-02 Jason Merrill <jason@redhat.com>
1701
1702 * config/rs6000/t-ppccomm: Add missing \.
1703
1704 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1705
1706 * gthr-single.h, gthr.h: New files.
1707 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
1708 config/gthr-vxworks.h, config/i386/gthr-win32.h,
1709 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
1710 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
1711 * config/i386/gthr-win32.c: Include "gthr-win32.h".
1712 * configure.ac (thread_header): New variable.
1713 Set it depending on target_thread_file.
1714 (gthr-default.h): Link from $thread_header.
1715 * configure: Regenerate.
1716 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
1717
1718 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1719
1720 * configure.ac (tm_file_): New variable.
1721 Determine from tm_file.
1722 (tm_file, tm_defines): Substitute.
1723 * configure: Regenerate.
1724 * mkheader.sh: New file.
1725 * Makefile.in (clean): Remove libgcc_tm.h.
1726 ($(objects)): Depend on libgcc_tm.h.
1727 (libgcc_tm_defines, libgcc_tm_file): New variables.
1728 (libgcc_tm.h, libgcc_tm.stamp): New targets.
1729 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
1730 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
1731 ($(extra-parts)): Depend on libgcc_tm.h.
1732 * config.host (tm_defines, tm_file): New variable.
1733 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
1734 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
1735 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
1736 (avr-*-rtems*): Likewise.
1737 (avr-*-*): Likewise.
1738 (frv-*-elf): Likewise.
1739 (frv-*-*linux*): Likewise.
1740 (h8300-*-rtems*): Likewise.
1741 (h8300-*-elf*): Likewise.
1742 (i[34567]86-*-darwin*): Likewise.
1743 (x86_64-*-darwin*): Likewise.
1744 (rx-*-elf): Likewise.
1745 (tic6x-*-uclinux): Likewise.
1746 (tic6x-*-elf): Likewise.
1747 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
1748 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
1749 * config/i386/cygming-crtbegin.c: Likewise.
1750 * config/i386/cygming-crtend.c: Likewise.
1751 * config/ia64/fde-vms.c: Likewise.
1752 * config/ia64/unwind-ia64.c: Likewise.
1753 * config/libbid/bid_gcc_intrinsics.h: Likewise.
1754 * config/rs6000/darwin-fallback.c: Likewise.
1755 * config/stormy16/lib2funcs.c: Likewise.
1756 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
1757 * crtstuff.c: Likewise.
1758 * dfp-bit.h: Likewise.
1759 * emutls.c: Likewise.
1760 * fixed-bit.c: Likewise.
1761 * fp-bit.c: Likewise.
1762 * generic-morestack-thread.c: Likewise.
1763 * generic-morestack.c: Likewise.
1764 * libgcc2.c: Likewise.
1765 * libgcov.c: Likewise.
1766 * unwind-dw2-fde-dip.c: Likewise.
1767 * unwind-dw2-fde.c: Likewise.
1768 * unwind-dw2.c: Likewise.
1769 * unwind-sjlj.c: Likewise.
1770
1771 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1772
1773 * configure.ac: Include ../config/picflag.m4.
1774 (GCC_PICFLAG): Call it.
1775 Substitute.
1776 * configure: Regenerate.
1777 * Makefile.in (gcc_srcdir): Remove.
1778 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
1779 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
1780 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
1781 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
1782 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
1783 Use $<.
1784 Remove comment.
1785 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
1786 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
1787 to refer to libgcc2.c.
1788 Use $<.
1789 * config/darwin-64.c: New file.
1790 * config/darwin-crt3.c: Remove comment.
1791 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
1792 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
1793 config/udivmodsi4.c: New files.
1794 * config/memcmp.c, config/memcpy.c, config/memmove.c,
1795 config/memset.c: New files.
1796 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
1797 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
1798 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
1799 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
1800 * config/t-openbsd-thread: New file.
1801 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
1802 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
1803 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
1804 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
1805 qrnnd.S.
1806 Adapt filename.
1807 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
1808 to refer to gthr-posix.c.
1809 * config/alpha/t-vms (LIB2ADD): Set.
1810 * config/alpha/vms-gcc_shell_handler.c: New file.
1811 * config/arm/bpabi.c, config/arm/fp16.c,
1812 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
1813 config/arm/unaligned-funcs.c: New files.
1814 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
1815 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1816 * config/arm/t-linux: Likewise.
1817 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
1818 * config/arm/t-netbsd: New file.
1819 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
1820 * config/arm/t-symbian (LIB2ADD_ST): Set.
1821 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
1822 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1823 * config/bfin/t-elf: New file.
1824 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
1825 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
1826 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
1827 config/c6x/ltf.c: New files.
1828 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
1829 (HOST_LIBGCC2_CFLAGS): Set.
1830 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
1831 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1832 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
1833 New files.
1834 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
1835 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
1836 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
1837 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
1838 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
1839 files.
1840 * config/frv/t-frv (LIB2ADD): Set.
1841 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1842 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
1843 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
1844 config/h8300/popcounthi2.c: New files.
1845 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1846 * config/i386/gthr-win32.c: New file.
1847 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
1848 * config/i386/t-cygwin: Likewise.
1849 * config/i386/t-darwin, config/i386/t-darwin64,
1850 config/i386/t-gthr-win32, config/i386/t-interix: New files.
1851 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
1852 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1853 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1854 * config/ia64/quadlib.c: New file.
1855 * config/ia64/t-hpux (LIB2ADD): Set.
1856 * config/ia64/t-ia64: Add comment.
1857 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
1858 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1859 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
1860 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
1861 * config/m32c/t-m32c (LIB2ADD): Set.
1862 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1863 * config/m32r/t-m32r: Likewise.
1864 * config/m68k/fpgnulib.c: New file.
1865 * config/m68k/t-floatlib (LIB2ADD): Set.
1866 (xfgnulib.c): New target.
1867 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
1868 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
1869 * config/mep/t-mep (LIB2ADD): Set.
1870 * config/microblaze/divsi3.asm: Rename to divsi3.S.
1871 * config/microblaze/moddi3.asm: Rename to moddi3.S.
1872 * config/microblaze/modsi3.asm: Rename to modsi3.S.
1873 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
1874 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
1875 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
1876 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
1877 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
1878 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
1879 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
1880 New files.
1881 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
1882 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
1883 * config/pa/fptr.c, config/pa/lib2funcs.S,
1884 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
1885 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1886 (LIB2ADD, LIB2ADD_ST): Set.
1887 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
1888 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
1889 Set.
1890 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
1891 * config/pdp11/t-pdp11: New file.
1892 * config/picochip/libgccExtras/adddi3.S,
1893 config/picochip/libgccExtras/ashlsi3.S,
1894 config/picochip/libgccExtras/ashrsi3.S,
1895 config/picochip/libgccExtras/clzsi2.S,
1896 config/picochip/libgccExtras/cmpsi2.S,
1897 config/picochip/libgccExtras/divmod15.S,
1898 config/picochip/libgccExtras/divmodhi4.S,
1899 config/picochip/libgccExtras/divmodsi4.S,
1900 config/picochip/libgccExtras/lshrsi3.S,
1901 config/picochip/libgccExtras/parityhi2.S,
1902 config/picochip/libgccExtras/popcounthi2.S,
1903 config/picochip/libgccExtras/subdi3.S,
1904 config/picochip/libgccExtras/ucmpsi2.S,
1905 config/picochip/libgccExtras/udivmodhi4.S,
1906 config/picochip/libgccExtras/udivmodsi4.S: New files.
1907 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
1908 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
1909 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
1910 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
1911 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
1912 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
1913 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
1914 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
1915 files.
1916 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
1917 (HOST_LIBGCC2_CFLAGS): Set.
1918 * config/rs6000/t-darwin64: New file.
1919 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
1920 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
1921 * config/rs6000/t-ppccomm (LIB2ADD): Add
1922 $(srcdir)/config/rs6000/tramp.S.
1923 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
1924 Add $(srcdir)/config/rs6000/eabi.S.
1925 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
1926 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
1927 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
1928 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
1929 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
1930 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
1931 * config/rs6000/tramp.S: New file.
1932 * config/s390/t-tpf: Remove.
1933 * config/sh/linux-atomic.S: New file.
1934 * config/sh/t-linux (LIB2ADD): Set.
1935 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
1936 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1937 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
1938 to unwind-dw2.c.
1939 (HOST_LIBGCC2_CFLAGS): Set.
1940 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1941 * config/spu/divmodti4.c, config/spu/divv2df3.c,
1942 config/spu/float_disf.c, config/spu/float_unsdidf.c,
1943 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
1944 config/spu/mfc_multi_tag_release.c,
1945 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
1946 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
1947 config/spu/multi3.c: New files.
1948 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
1949 (HOST_LIBGCC2_CFLAGS): Set.
1950 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
1951 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
1952 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
1953 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
1954 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
1955 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
1956 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
1957 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
1958 config/stormy16/umodsi3.c: New files.
1959 * config/xtensa/lib2funcs.S: New file.
1960 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1961 * config/xtensa/t-xtensa (LIB2ADD): Set.
1962 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
1963 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
1964 Add t-freebsd-thread to tmake_file for posix threads.
1965 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
1966 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
1967 (*-*-lynxos*): Likewise.
1968 (*-*-netbsd*): Likewise.
1969 (*-*-openbsd*): Likewise.
1970 Add t-openbsd-thread to tmake_file for posix threads.
1971 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
1972 (*-*-vxworks*): Set tmake_file.
1973 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1974 (alpha*-*-freebsd*): Likewise.
1975 (alpha*-*-netbsd*): Likewise.
1976 (alpha*-*-openbsd*): Likewise.
1977 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
1978 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1979 (alpha*-dec-*vms*): Likewise.
1980 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
1981 (bfin*-elf*): Add bfin/t-elf to tmake_file.
1982 (bfin*-uclinux*): Likewise.
1983 (bfin*-linux-uclibc*): Likewise.
1984 (crisv32-*-elf): Add cris/t-cris to tmake_file.
1985 (crisv32-*-none): Likewise.
1986 (cris-*-elf): Likewise.
1987 (cris-*-none): Likewise.
1988 (cris-*-linux*, crisv32-*-linux*): Likewise.
1989 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
1990 tmake_file.
1991 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
1992 tmake_file.
1993 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
1994 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
1995 (x86_64-*-elf*): Likewise.
1996 (i[34567]86-*-nto-qnx*): Likewise.
1997 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
1998 win32 threads.
1999 (x86_64-*-mingw*): Likewise.
2000 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
2001 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
2002 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2003 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2004 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
2005 tmake_file.
2006 (mipsisa64sr71k-*-elf*): Likewise.
2007 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2008 (mips-*-elf*, mipsel-*-elf*): Likewise.
2009 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2010 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2011 (mips*-*-rtems*): Likewise.
2012 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
2013 to tmake_file.
2014 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
2015 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
2016 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
2017 (spu-*-elf*): Likewise.
2018 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
2019
2020 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2021
2022 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
2023 $(srcdir) to refer to $(LIB1ASMSRC).
2024 Use $<.
2025 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
2026 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
2027 config/arm/lib1funcs.S: New files.
2028 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
2029 * config/arm/t-arm: New file.
2030 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
2031 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
2032 config/arm/t-strongarm-elf: New files.
2033 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
2034 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
2035 * config/avr/lib1funcs.S: New file.
2036 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2037 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
2038 * config/c6x/lib1funcs.S: New file.
2039 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2040 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
2041 * config/frv/lib1funcs.S: New file.
2042 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2043 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
2044 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
2045 * config/ia64/__divxf3.asm: Rename to ...
2046 * config/ia64/__divxf3.S: ... this.
2047 Adapt lib1funcs.asm filename.
2048 * config/ia64/_fixtfdi.asm: Rename to ...
2049 * config/ia64/_fixtfdi.S: ... this.
2050 Adapt lib1funcs.asm filename.
2051 * config/ia64/_fixunstfdi.asm: Rename to ...
2052 * config/ia64/_fixunstfdi.S: ... this.
2053 Adapt lib1funcs.asm filename.
2054 * config/ia64/_floatditf.asm: Rename to ...
2055 * config/ia64/_floatditf.S: ... this.
2056 Adapt lib1funcs.asm filename.
2057 * config/ia64/lib1funcs.S: New file.
2058 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
2059 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2060 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
2061 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
2062 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
2063 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
2064 * config/mep/lib1funcs.S: New file.
2065 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2066 * config/mips/mips16.S: New file.
2067 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2068 * config/pa/milli64.S: New file.
2069 * config/pa/t-linux, config/pa/t-linux64: New files.
2070 * config/picochip/lib1funcs.S: New file.
2071 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2072 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
2073 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
2074 * config/sh/t-netbsd: New file.
2075 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
2076 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
2077 * config/sh/t-sh64: New file.
2078 * config/sparc/lb1spc.S: New file.
2079 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
2080 filename.
2081 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
2082 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
2083 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
2084 config/xtensa/lib1funcs.S: New files.
2085 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2086 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
2087 tmake_file.
2088 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
2089 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
2090 (arm*-*-linux*): Likewise.
2091 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
2092 arm*-*-linux-*eabi, add arm/t-linux otherwise.
2093 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
2094 (arm*-*-ecos-elf): Likewise.
2095 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2096 (arm*-*-rtems*): Likewise.
2097 (arm*-*-elf): Likewise.
2098 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
2099 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
2100 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
2101 (bfin*-uclinux*): Likewise.
2102 (bfin*-linux-uclibc*): Likewise.
2103 (bfin*-rtems*): Likewise.
2104 (bfin*-*): Likewise.
2105 (fido-*-elf): Merge into m68k-*-elf*.
2106 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
2107 (frv-*-*linux*): Add frv/t-frv to tmake_file.
2108 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
2109 (h8300-*-elf*): Likewise.
2110 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
2111 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
2112 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
2113 (i[34567]86-*-mingw*): Likewise.
2114 (x86_64-*-mingw*): Likewise.
2115 (i[34567]86-*-interix3*): Likewise.
2116 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
2117 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
2118 (m68k-*-elf*): Also handle fido-*-elf.
2119 Add m68k/t-floatlib to tmake_file.
2120 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
2121 (m68k-*-linux*): Likewise.
2122 (m68k-*-rtems*): Likewise.
2123 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
2124 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
2125 sh64*-*-*.
2126 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
2127 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
2128 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
2129 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
2130 sh/t-netbsd to tmake_file.
2131 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
2132 (sh-*-rtems*): Add sh/t-sh to tmake_file.
2133 (sh-wrs-vxworks): Likewise.
2134 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
2135 *-leon[3-9]*.
2136 (v850*-*-*): Add v850/t-v850 to tmake_file.
2137 (vax-*-linux*): Add vax/t-linux to tmake_file.
2138 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
2139
2140 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2141
2142 * crtstuff.c: New file.
2143 * Makefile.in (CRTSTUFF_CFLAGS): Define.
2144 (CRTSTUFF_T_CFLAGS): Define.
2145 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
2146 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
2147 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
2148 crtstuff.c.
2149 Use $<.
2150 (crtbeginT.o): Use $(objext).
2151 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
2152 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
2153 (gcc-extra-parts): Remove.
2154 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
2155 Set extra_parts.
2156 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2157 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
2158 Add t-crtstuff-pic to tmake_file.
2159 (*-*-lynxos*): New case.
2160 Set tmake_file, extra_parts.
2161 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
2162 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
2163 *-*-netbsdelf[2-9]*.
2164 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
2165 (*-*-rtems*): Set extra_parts.
2166 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
2167 (*-*-uclinux*): New case.
2168 Set extra_parts.
2169 (*-*-vms*): New case.
2170 Set tmake_file, extra_parts.
2171 (*-*-elf): Set extra_parts.
2172 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
2173 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
2174 vms/t-vms64.
2175 Set extra_parts.
2176 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
2177 Set extra_parts.
2178 (arm*-*-freebsd*): Add t-crtin to tmake_file.
2179 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
2180 (arm-wrs-vxworks): Append to tmake_file.
2181 Set extra_parts.
2182 (arm*-*-uclinux*): Set extra_parts.
2183 (arm*-*-ecos-elf): Likewise.
2184 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
2185 arm*-*-eabi*.
2186 (arm*-*-rtems*): Set extra_parts.
2187 (arm*-*-elf): Likewise.
2188 (avr-*-rtems*): Clear extra_parts.
2189 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
2190 Set extra_parts.
2191 (bfin*-uclinux*): Likewise.
2192 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
2193 (bfin*-rtems*): Append to tmake_file.
2194 Set extra_parts.
2195 (bfin*-*): Likewise.
2196 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
2197 (crisv32-*-elf): ... this.
2198 (crisv32-*-none): ... this.
2199 (cris-*-elf, cris-*-none): New cases.
2200 Add cris/t-elfmulti to tmake_file.
2201 (fr30-*-elf): Append to tmake_file.
2202 Set extra_parts.
2203 (frv-*-elf): Append to tmake_file, add frv/t-frv.
2204 Set extra_parts.
2205 (h8300-*-rtems*): Append to tmake_file.
2206 Set extra_parts.
2207 (h8300-*-elf*): Likewise.
2208 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
2209 Set extra_parts.
2210 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
2211 Set extra_parts.
2212 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
2213 (x86_64-*-elf*): Likewise.
2214 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
2215 (x86_64-*-freebsd*): Likewise.
2216 (x86_64-*-netbsd*): Likewise.
2217 (i[34567]86-*-linux*): Likewise.
2218 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2219 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2220 (x86_64-*-linux*): Likewise.
2221 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2222 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
2223 tmake_file.
2224 Set extra_parts.
2225 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
2226 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
2227 Append to extra_parts, remove crtbegin.o, crtend.o.
2228 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
2229 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
2230 crtend.o, crtbeginS.o, crtendS.o.
2231 (ia64*-*-linux*): Comment extra_parts.
2232 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
2233 Set extra_parts.
2234 (iq2000*-*-elf*): Clear extra_parts.
2235 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
2236 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
2237 (m32r-*-elf*, m32r-*-rtems*): Split off ...
2238 (m32r-*-rtems*): ... this.
2239 Add m32r/t-m32r to tmake_file.
2240 (m68k-*-elf*): Add t-crtin to tmake_file.
2241 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
2242 (mcore-*-elf): Likewise.
2243 (microblaze*-*-*): Set extra_parts.
2244 (mips*-sde-elf*): New case.
2245 Set tmake_file, extra_parts.
2246 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2247 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2248 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
2249 tmake_file.
2250 Set extra_parts.
2251 (mipsisa64sr71k-*-elf*): Likewise.
2252 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2253 (mips-*-elf*, mipsel-*-elf*): Likewise.
2254 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2255 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
2256 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2257 (mips*-*-rtems*): Likewise.
2258 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
2259 (moxie-*-*): Split into ...
2260 (moxie-*-elf, moxie-*-uclinux*): ... this.
2261 Add to extra_parts, remove crtbegin.o, crtend.o.
2262 (moxie-*-rtems*): New case.
2263 Set tmake_file.
2264 Clear extra_parts.
2265 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
2266 Set extra_parts.
2267 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2268 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
2269 tmake_file.
2270 Set extra_parts.
2271 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
2272 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
2273 Set extra_parts.
2274 (powerpc-*-eabisim*): Likewise.
2275 (powerpc-*-elf*): Likewise.
2276 (powerpc-*-eabialtivec*): Likewise.
2277 (powerpc-xilinx-eabi*): Likewise.
2278 (powerpc-*-eabi*): Likewise.
2279 (powerpc-*-rtems*): Likewise.
2280 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
2281 tmake_file.
2282 Set extra_parts.
2283 (powerpc-*-lynxos*): Add to tmake_file.
2284 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2285 rs6000/t-crtstuff, t-crtstuff-pic.
2286 Set extra_parts.
2287 (powerpcle-*-eabisim*): Likewise.
2288 (powerpcle-*-eabi*): Likewise.
2289 (rx-*-elf): Remove extra_parts.
2290 (s390x-ibm-tpf*): Set extra_parts.
2291 (score-*-elf): Set extra_parts.
2292 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2293 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2294 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2295 (sh64l*-*-netbsd*): Split into ...
2296 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2297 Add t-crtstuff-pic to tmake_file.
2298 Set extra_parts.
2299 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2300 Set extra_parts.
2301 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2302 (sparc-*-elf*): Remove t-crtin from tmake_file.
2303 Add to extra_parts, remove crtbegin.o, crtend.o.
2304 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2305 (sparc64-*-linux*): Likewise.
2306 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2307 Add to extra_parts, remove crtbegin.o, crtend.o.
2308 (sparc64-*-elf*): Remove t-crtin from tmake_file.
2309 Add to extra_parts, remove crtbegin.o, crtend.o.
2310 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2311 Add to extra_parts, remove crtbegin.o, crtend.o.
2312 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2313 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2314 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2315 Set extra_parts.
2316 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2317 Set extra_parts.
2318 (tic6x-*-*): Change to ...
2319 (tic6x-*-elf): ... this.
2320 Set extra_parts.
2321 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2322 Set extra_parts.
2323 (am33_2.0-*-linux*): Add comment.
2324 (mep*-*-*): Add mep/t-mep to tmake_file.
2325 Set extra_parts.
2326 * config/alpha/t-vms: New file.
2327 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2328 * config/arm/crti.S, config/arm/crtn.S: New files.
2329 * config/bfin/crti.S, config/bfin/crtn.S: New files.
2330 * config/bfin/crtlibid.S: New file.
2331 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2332 * config/c6x/crti.S, config/c6x/crtn.S: New files.
2333 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2334 (crti.o, crtin.o): New rules.
2335 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2336 * config/c6x/t-uclinux: New file.
2337 * config/cris/t-elfmulti: New file.
2338 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2339 * config/fr30/crti.S, config/fr30/crtn.S: New files.
2340 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2341 * config/frv/t-frv: New file.
2342 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2343 * config/h8300/crti.S, config/h8300/crtn.S: New files.
2344 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2345 New files.
2346 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2347 refer to cygming-crtbegin.c, cygming-crtend.c.
2348 Use $<.
2349 * config/i386/t-nto: New file.
2350 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2351 * config/ia64/crti.S, config/ia64/crtn.S: New files.
2352 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2353 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2354 Use .S extension.
2355 Use $<.
2356 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2357 (crtinitS.o): New rule.
2358 * config/ia64/vms-crtinit.S: New file.
2359 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2360 * config/m32r/initfini.c: New file.
2361 * config/m32r/t-linux, config/m32r/t-m32r: New files.
2362 * config/m68k/crti.S, config/m68k/crtn.S: New files.
2363 * config/mcore/crti.S, config/mcore/crtn.S: New files.
2364 * config/mep/t-mep: New file.
2365 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2366 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2367 * config/mips/crti.S, config/mips/crtn.S: New files.
2368 * config/mips/t-crtstuff: New file.
2369 * config/mmix/crti.S, config/mmix/crtn.S: New files.
2370 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2371 (CUSTOM_CRTIN): Set.
2372 ($(T)crti.o, $(T)crtn.o): Remove $(T),
2373 dependencies.
2374 Use $(srcdir) to refer to crti.S, crtn.S.
2375 Use .S extension, $<.
2376 * config/moxie/crti.asm: Rename to ...
2377 * config/moxie/crti.S: ... this.
2378 * config/moxie/crtn.asm: Rename to ...
2379 * config/moxie/crtn.S: ... this.
2380 * config/moxie/t-moxie: Remove.
2381 * config/pa/stublib.c: New file.
2382 * config/pa/t-stublib, config/pa/t-stublib64: New files.
2383 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
2384 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
2385 * config/rs6000/t-crtstuff: New file.
2386 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
2387 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
2388 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
2389 Make output file explicit.
2390 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
2391 Make output file explicit.
2392 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
2393 Make output file explicit.
2394 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
2395 Make output file explicit.
2396 * config/score/crti.S, config/score/crtn.S: New files.
2397 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
2398 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
2399 files.
2400 * config/sh/t-sh, config/sh/t-superh: New files.
2401 * config/sparc/t-linux64: New file.
2402 * config/spu/cache.S, config/spu/cachemgr.c: New files.
2403 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
2404 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
2405 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
2406 * config/t-crtin: Remove.
2407 * config/t-crtstuff-pic: New file.
2408 * config/t-sol2 (CUSTOM_CRTIN): Set.
2409 (crti.o, crtn.o): New rules.
2410 * config/vms/t-vms: New file.
2411 * config/vms/vms-ucrt0.c: New file.
2412 * config/xtensa/t-elf: New file.
2413
2414 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2415
2416 * Makefile.in (SHLIB_NM_FLAGS): Set.
2417 * mkmap-flat.awk, mkmap-symver.awk: New files.
2418 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
2419 exceptions.
2420 * configure: Regenerate.
2421 * config/libgcc-glibc.ver: New file.
2422 * config/libgcc-libsystem.ver: New file.
2423 * config/t-libunwind (SHLIB_LC): Set.
2424 * config/t-linux: New file.
2425 * config/t-slibgcc (INSTALL_SHLIB): New.
2426 (SHLIB_INSTALL): Use it.
2427 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
2428 to mkmap-symver.awk.
2429 (SHLIB_MAPFILES): Don't append, adapt pathname.
2430 (SHLIB_VERPFX): Set.
2431 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
2432 to mkmap-symver.awk.
2433 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
2434 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
2435 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
2436 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
2437 to mkmap-flat.awk.
2438 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
2439 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
2440 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
2441 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
2442 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
2443 * config/i386/libgcc-darwin.10.4.ver,
2444 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
2445 New files.
2446 * config/i386/t-darwin: Remove.
2447 * config/i386/t-darwin64: Likewise.
2448 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
2449 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
2450 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
2451 * config/i386/t-linux: New file.
2452 * config/i386/t-mingw32: New file.
2453 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
2454 * config/ia64/t-glibc: Rename to ...
2455 * config/ia64/t-linux: ... this.
2456 (SHLIB_MAPFILES): Set.
2457 * config/ia64/t-glibc-libunwind: Rename to ...
2458 * config/ia64/t-linux-libunwind: ... this.
2459 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
2460 * config/ia64/t-slibgcc-hpux: New file.
2461 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
2462 * config/m68k/t-slibgcc-elf-ver: New file.
2463 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
2464 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
2465 to mkmap-flat.awk.
2466 * config/pa/t-slibgcc-hpux: New file.
2467 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
2468 files.
2469 * config/rs6000/libgcc-darwin.10.4.ver,
2470 config/rs6000/libgcc-darwin.10.5.ver: New files.
2471 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
2472 config/rs6000/libgcc-glibc.ver.
2473 * config/rs6000/libgcc-ppc64.ver: Rename to
2474 config/rs6000/libgcc-ibm-ldouble.ver.
2475 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
2476 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
2477 * config/rs6000/t-ldbl128: Rename to ...
2478 * config/rs6000/t-linux: ... this.
2479 (SHLIB_MAPFILES): Adapt filename.
2480 * config/rs6000/t-slibgcc-aix: New file.
2481 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
2482 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
2483 libgcc-excl.ver, libgcc-glibc.ver.
2484 (SHLIB_LINK, SHLIB_INSTALL): Remove.
2485 * config/sparc/libgcc-glibc.ver: New file.
2486 * config/sparc/t-linux: New file.
2487 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
2488 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
2489 t-slibgcc-elf-ver to tmake_file.
2490 Add t-slibgcc-nolc-override to tmake_file for posix threads on
2491 *-*-freebsd[34].
2492 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2493 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
2494 t-slibgcc-elf-ver, t-linux to tmake_file.
2495 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
2496 tmake_file.
2497 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
2498 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
2499 (alpha*-dec-*vms*): Likewise.
2500 (arm*-*-freebsd*): Append to tmake_file.
2501 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
2502 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
2503 arm*-*-linux-*eabi.
2504 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
2505 tmake_file for arm*-*-symbianelf*.
2506 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
2507 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
2508 cris/t-linux.
2509 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
2510 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
2511 pa/t-slibgcc-dwarf-ver to tmake_file.
2512 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
2513 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
2514 (hppa*64*-*-hpux11*): Likewise.
2515 (hppa[12]*-*-hpux11*): Likewise.
2516 (x86_64-*-darwin*): Don't override tmake_file, but only keep
2517 i386/t-crtpc, i386/t-crtfm.
2518 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
2519 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2520 to tmake_file.
2521 Add i386/t-cygwin to tmake_file.
2522 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
2523 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
2524 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2525 to tmake_file.
2526 Add i386/t-mingw32 to tmake_file.
2527 (x86_64-*-mingw*): Likewise.
2528 (ia64*-*-freebsd*): Append to tmake_file.
2529 (ia64*-*-linux*): Append to tmake_file.
2530 Replace ia64/t-glibc by ia64/t-linux.
2531 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
2532 system libunwind.
2533 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
2534 t-slibgcc-hpux to tmake_file.
2535 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
2536 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
2537 (m32rle-*-linux*): Likewise.
2538 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
2539 sjlj exceptions.
2540 (microblaze*-linux*): New case.
2541 Append to tmake_file, add t-slibgcc-nolc-override.
2542 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
2543 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2544 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
2545 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2546 rs6000/t-slibgcc-aix to tmake_file.
2547 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2548 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2549 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2550 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2551 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2552 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2553 sh*-*-linux*.
2554 (sparc-*-linux*): Append to tmake_file for *-leon*.
2555 Add sparc/t-linux to tmake_file for non-Leon targets.
2556 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2557 (tic6x-*-uclinux): New case.
2558 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2559 (tic6x-*-*): Add c6x/t-elf to tmake_file.
2560 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2561 (am33_2.0-*-linux*): Append to tmake_file.
2562 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2563 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2564 x86_64-*-kfreebsd*-gnu.
2565 Add i386/t-linux to tmake_file.
2566
2567 2011-10-28 Ian Lance Taylor <iant@google.com>
2568
2569 * config/i386/morestack.S: Correct CFI information to do proper
2570 returns throughout function. In 32-bit mode, save %ebx so that it
2571 is restored on unwind.
2572
2573 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
2574
2575 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2576 case where B3 isn't the return register.
2577
2578 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2579 logic for doubleword pops.
2580
2581 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
2582
2583 * config/rs6000/t-freebsd: Add wildcard.
2584
2585 2011-10-21 Paul Brook <paul@codesourcery.com>
2586
2587 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2588
2589 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
2590 Eric Botcazou <ebotcazou@adacore.com>
2591
2592 PR target/50737
2593 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2594 fs->signal_frame to 1.
2595
2596 2011-10-07 Ian Lance Taylor <iant@google.com>
2597
2598 * generic-morestack-thread.c: #include <errno.h>.
2599
2600 2011-10-07 Ian Lance Taylor <iant@google.com>
2601
2602 PR target/46093
2603 * generic-morestack.c (__generic_morestack): Make sure the segment
2604 is large enough for both the stack frame and the copied
2605 parameters.
2606
2607 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2608
2609 PR bootstrap/49804
2610 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2611 extra_parts.
2612
2613 2011-09-28 Nick Clifton <nickc@redhat.com>
2614
2615 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2616 64-bit doubles are not enabled.
2617 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2618 and floatunsisf functions.
2619
2620 2011-09-13 Paul Brook <paul@codesourcery.com>
2621
2622 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
2623 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2624 * unwind-arm-common.inc: New file.
2625 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2626 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2627 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2628 * config/c6x/libunwind.S: New file.
2629 * config/c6x/pr-support.c: New file.
2630 * config/c6x/unwind-c6x.c: New file.
2631 * config/c6x/unwind-c6x.h: New file.
2632 * config/c6x/t-c6x-elf: New file.
2633
2634 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
2635
2636 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2637 (ASM_DIVZERO): Ditto.
2638 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2639
2640 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
2641
2642 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2643
2644 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
2645
2646 PR target/50090
2647 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2648 instead of an assembly one.
2649
2650 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
2651
2652 PR bootstrap/50047
2653 * Makefile.in (install-unwind_h): Create
2654 $(gcc_objdir)/include/unwind.h atomically.
2655
2656 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2657
2658 * Makefile.in (install-unwind_h): Remove destination file first.
2659
2660 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2661
2662 * sync.c: New file.
2663 * config/mips/t-mips16: New file.
2664 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2665 (mips*-*-linux*): Likewise.
2666 (mips*-sde-elf*): Likewise.
2667 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
2668 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
2669 Add mips/t-mips16 to tmake_file.
2670 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
2671 (mips-*-elf*): Likewise.
2672 (mips64-*-elf*): Likewise.
2673 (mips64orion-*-elf*): Likewise.
2674 (mips*-*-rtems*): Likewise.
2675 (mipstx39-*-elf*): Likewise.
2676 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
2677 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
2678 LIBGCC_SYNC_CFLAGS.
2679 Use $(srcdir) to refer to sync.c.
2680 Use $<.
2681 ($(libgcc-sync-funcs-o)): Likewise.
2682 ($(libgcc-sync-size-funcs-s-o)): Likewise.
2683 ($(libgcc-sync-funcs-s-o)): Likewise.
2684
2685 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
2686
2687 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
2688 t-libunwind.
2689
2690 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
2691
2692 PR other/48007
2693 * config/i386/value-unwind.h: New.
2694
2695 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
2696
2697 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
2698 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
2699 Add to tmake_file rather than overriding it.
2700
2701 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2702
2703 * config/t-softfp: Remove.
2704 * soft-fp: Moved from ../gcc/config.
2705 * soft-fp/README: Remove t-softfp reference.
2706 * soft-fp/t-softfp: Move to config/t-softfp.
2707 (softfp_machine_header): Remove.
2708 (softfp_file_list): Remove config subdir.
2709 (soft-fp-objects): New variable.
2710 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
2711 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
2712 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
2713 * config/t-softfp-excl: New file.
2714 * config/t-softfp-sfdf: New file.
2715 * config/t-softfp-tf: New file.
2716 * config/no-sfp-machine.h: New file.
2717 * config/arm/sfp-machine.h: New file.
2718 * config/arm/t-softfp: New file.
2719 * config/c6x/sfp-machine.h: New file.
2720 * config/i386/32/t-fprules-softfp: Rename to ...
2721 * config/i386/32/t-softfp: ... this.
2722 (tifunctions, LIB2ADD): Remove.
2723 (softfp_int_modes): Override.
2724 * config/i386/64/t-softfp-compat (tf-functions): Remove config
2725 subdir.
2726 * config/i386/64/eqtf2.c: Likewise.
2727 * config/i386/64/getf2.c: Likewise.
2728 * config/i386/64/letf2.c: Likewise.
2729 * config/ia64/sft-machine.h: New file.
2730 * config/ia64/t-fprules-softfp: Rename to ...
2731 * config/ia64/t-softfp: ... this.
2732 * config/lm32/sfp-machine.h: New file.
2733 * config/moxie/t-moxie-softfp: Remove.
2734 * config/rs6000/ibm-ldouble-format: New file.
2735 * config/rs6000/ibm-ldouble.c: New file.
2736 * config/rs6000/libgcc-ppc-glibc.ver: New file
2737 * config/rs6000/libgcc-ppc64.ver: New file
2738 * config/rs6000/sfp-machine.h: New file.
2739 * config/rs6000/t-freebsd: New file.
2740 * config/rs6000/t-ibm-ldouble: New file.
2741 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
2742 libgcc-ppc-glibc.ver.
2743 * config/rs6000/t-linux64: New file.
2744 * config/rs6000/t-ppccomm (LIB2ADD): Add
2745 $(srcdir)/config/rs6000/ibm-ldouble.c.
2746 * config/rs6000/t-ppccomm-ldbl: New file.
2747 * config/score/sfp-machine.h: New file.
2748 * config.host (sfp_machine_header): Explain.
2749 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
2750 t-softfp to tmake_file.
2751 (arm*-*-uclinux*): Likewise.
2752 (arm*-*-ecos-elf): Likewise.
2753 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2754 (arm*-*-rtems*): Likewise.
2755 (arm*-*-elf): Likewise.
2756 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
2757 in tmake_file.
2758 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
2759 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
2760 (lm32-*-uclinux*): Likewise.
2761 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
2762 t-softfp-excl, t-softfp.
2763 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
2764 (powerpc64-*-darwin*): Likewise.
2765 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
2766 to tmake_file.
2767 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
2768 tmake_file.
2769 (powerpc-*-eabisim*): Likewise.
2770 (powerpc-*-elf*): Likewise.
2771 (powerpc-*-eabialtivec*): Likewise.
2772 (powerpc-xilinx-eabi*): Likewise.
2773 (powerpc-*-rtems*): Likewise.
2774 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
2775 t-softfp-excl, t-softfp to tmake_file.
2776 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
2777 rs6000/t-ppccomm-ldbl to tmake_file.
2778 (powerpcle-*-elf*): Likewise.
2779 (powerpcle-*-eabisim*): Likewise.
2780 (powerpcle-*-eabi*): Likewise.
2781 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2782 rs6000/t-ibm-ldouble to tmake_file.
2783 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2784 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2785 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
2786 (tic6x-*-*): Likewise.
2787 (i[34567]86-*-darwin*, x86_64-*-darwin*,
2788 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
2789 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
2790 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
2791 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
2792 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
2793 t-softfp to tmake_file.
2794 * configure.ac (sfp_machine_header): Provide default if unset.
2795 Substitute.
2796 Link sfp-machine.h to config/$sfp_machine_header.
2797 * configure: Regenerate.
2798
2799 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2800
2801 * Makefile.in (double_type_size, long_double_type_size): Set.
2802 Remove $(fpbit-in-libgcc) support.
2803 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
2804 (fpbit-src): New variable.
2805 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
2806 Compile with -DFLOAT $(FPBIT_CFLAGS).
2807 Use $<.
2808 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
2809 Compile with $(FPBIT_CFLAGS).
2810 Use $<.
2811 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
2812 Compile with -DFLOAT $(TPBIT_CFLAGS).
2813 Use $<.
2814 * configure.ac (double_type_size, long_double_type_size):
2815 Determine and substitute.
2816 * configure: Regenerate.
2817 * fp-bit.c, fp-bit.h: New files.
2818 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
2819 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
2820 * config/mips/t-mips: New file.
2821 * config/mips/t-sdemtk: New file.
2822 * config/rs6000/ppc64-fp.c: New file.
2823 * config/rs6000/t-darwin (LIB2ADD): Add
2824 $(srcdir)/config/rs6000/ppc64-fp.c.
2825 * config/rs6000/t-ppc64-fp: New file.
2826 * config/rx/rx-lib.h: New file.
2827 * config/rx/t-rx (FPBIT): Set to true.
2828 ($(gcc_objdir)/fp-bit.c): Remove.
2829 (DPBIT): Set to true only with -m64bit-doubles.
2830 ($(gcc_objdir)/dp-bit.c): Remove.
2831 * config/sparc/t-softfp: Remove.
2832 * config/spu/t-elf: New file.
2833 * config/t-fdpbit, config/t-fpbit: New files.
2834 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
2835 (mips*-*-*): Likewise.
2836 (arm-wrs-vxworks): Likewise.
2837 (arm*-*-freebsd*): Likewise.
2838 (avr-*-rtems*): Add t-fpbit to tmake_file.
2839 (avr-*-*): Likewise.
2840 (bfin*-elf*): Add t-fdpbit to tmake_file.
2841 (bfin*-uclinux*): Likewise.
2842 (bfin*-linux-uclibc*): Likewise.
2843 (bfin*-rtems*): New case.
2844 Add t-fdpbit to tmake_file.
2845 (bfin*-*): Add t-fdpbit to tmake_file.
2846 (crisv32-*-elf): Likewise.
2847 (cris-*-linux*): Likewise.
2848 (fr30-*-elf): Likewise.
2849 (frv-*-elf, frv-*-*linux*): Likewise.
2850 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
2851 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
2852 (m32r-*-elf*): Likewise.
2853 (m32rle-*-elf*): Likewise.
2854 (m32r-*-linux*): Likewise.
2855 (m32rle-*-linux*): Likewise.
2856 (mcore-*-elf): Add t-fdpbit to tmake_file.
2857 (microblaze*-*-*): Likewise.
2858 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
2859 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
2860 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
2861 Fix typo.
2862 Add mips/t-tpbit to tmake-file.
2863 (mips*-*-linux*): Fix typo.
2864 (mips*-sde-elf*): New case
2865 Add mips/t-sdemtk unless using newlib.
2866 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
2867 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
2868 (mn10300-*-*): Likewise.
2869 (pdp11-*-*): Likewise.
2870 (picochip-*-*): Add t-fpbit to tmake_file.
2871 (powerpc-*-eabisimaltivec*): Likewise.
2872 (powerpc-*-eabisim*): Likewise.
2873 (powerpc-*-elf*): Likewise.
2874 (powerpc-*-eabialtivec*): Likewise.
2875 (powerpc-xilinx-eabi*): New case.
2876 Add t-fdpbit to tmake_file.
2877 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
2878 (powerpc-*-rtems*): Likewise.
2879 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
2880 tmake_file.
2881 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
2882 tmake_file.
2883 (powerpc-*-lynxos*): Likewise.
2884 (powerpcle-*-elf*): Likewise.
2885 (powerpcle-*-eabisim*): Likewise.
2886 (powerpcle-*-eabi*): Likewise.
2887 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2888 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
2889 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2890 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2891 (rx-*-elf): Add t-fdpbit to tmake_file.
2892 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2893 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2894 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2895 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
2896 sh*-*-netbsd*.
2897 (sh-*-rtems*): Add t-fdpbit to tmake_file.
2898 (sh-wrs-vxworks): Likewise.
2899 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
2900 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
2901 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
2902 (sparc64-*-rtems*): ... new case.
2903 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
2904 (spu-*-elf*): Likewise.
2905 Add spu/t-elf to tmake_file.
2906 (v850*-*-*): Add t-fdpbit to tmake_file.
2907 (xstormy16-*-elf): Likewise.
2908 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
2909 (mep*-*-*): Likewise.
2910
2911 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2912
2913 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
2914 variables.
2915 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
2916 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
2917 (install-unwind_h): New target.
2918 (all): Depend on it.
2919 * config.host (unwind_header): New variable.
2920 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
2921 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2922 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
2923 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
2924 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
2925 Set unwind_header.
2926 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
2927 Set unwind_header.
2928 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
2929 arm*-*-eabi*.
2930 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
2931 Set unwind_header.
2932 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
2933 (ia64*-*-freebsd*): Likewise.
2934 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
2935 tmake_file.
2936 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
2937 $with_system_libunwind.
2938 (ia64*-*-hpux*): Set tmake_file.
2939 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
2940 (picochip-*-*): Set tmake_file.
2941 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
2942 md_unwind_header.
2943 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2944 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2945 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
2946 (xtensa*-*-elf*): Set tmake_file.
2947 (xtensa*-*-linux*): Likewise.
2948 * configure.ac: Include ../config/unwind_ipinfo.m4.
2949 Call GCC_CHECK_UNWIND_GETIPINFO.
2950 Link unwind.h to $unwind_header.
2951 * configure: Regenerate.
2952 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
2953 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
2954 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
2955 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
2956 * config/unwind-dw2-fde-darwin.c: New file.
2957 * config/arm/libunwind.S, config/arm/pr-support.c,
2958 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
2959 config/arm/unwind-arm.h,: New files.
2960 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
2961 config/ia64/t-eh-ia64, config/ia64/t-glibc,
2962 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
2963 config/ia64/t-vms, config/ia64/unwind-ia64.c,
2964 config/ia64/unwind-ia64.h: New files.
2965 * config/picochip/t-picochip: New file.
2966 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
2967 files.
2968 * config/rs6000/t-darwin (LIB2ADDEH): Set.
2969 * config/s390/t-tpf (LIB2ADDEH): Remove.
2970 * config/t-darwin (LIB2ADDEH): Set.
2971 * config/t-eh-dw2-dip: New file.
2972 * config/t-libunwind, config/t-libunwind-elf: New files.
2973 * config/t-sol2 (LIB2ADDEH): Remove.
2974 * config/xtensa/t-xtensa: New file.
2975
2976 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
2977
2978 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
2979 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
2980 long long to check rt_sigreturn syscall.
2981
2982 2011-08-02 Alan Modra <amodra@gmail.com>
2983
2984 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2985 Restore for indirect call bcrtl from correct stack slot, and only
2986 if cfa+40 isn't valid.
2987
2988 2011-08-01 Julian Brown <julian@codesourcery.com>
2989
2990 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
2991 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
2992 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
2993
2994 2011-08-01 Julian Brown <julian@codesourcery.com>
2995
2996 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
2997 (libgcc-std.ver.in): Use above.
2998 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
2999 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
3000 throughout file.
3001 * config/t-fixedpoint-gnu-prefix: New file.
3002 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
3003 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
3004 instead of __PFX__.
3005
3006 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
3007
3008 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
3009 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
3010 for x86-64. Properly check __x86_64__ and __LP64__.
3011
3012 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
3013
3014 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
3015 version.
3016 (_FP_WS_TYPE): Likewise.
3017 (_FP_I_TYPE): Likewise.
3018
3019 2011-07-28 Alan Modra <amodra@gmail.com>
3020
3021 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3022 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
3023 in a plt call stub. Do restore r2 if stopped on bctrl.
3024
3025 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3026
3027 * config.host (i[3456x]86-*-netware*): Remove.
3028 * config/i386/netware-crt0.c, config/i386/t-nwld,
3029 config/i386/t-slibgcc-nwld: Remove.
3030
3031 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
3032
3033 * config.host: Handle tic6x-*-*.
3034 * config/c6x/c6x-abi.h: New file.
3035
3036 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3037
3038 * config/i386/crtprec.c: New file.
3039 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
3040 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
3041 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
3042 (x86_64-*-darwin*): Likewise.
3043 (i[34567]86-*-solaris2*: Likewise.
3044
3045 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3046
3047 * config/alpha/crtfastmath.c: New file.
3048 * config/i386/crtfastmath.c: New file.
3049 * config/ia64/crtfastmath.c: New file.
3050 * config/mips/crtfastmath.c: New file.
3051 * config/sparc/crtfastmath.c: New file.
3052
3053 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
3054 crtfastmath.c.
3055 Add -frandom-seed=gcc-crtfastmath.
3056 * config/alpha/t-crtfm: Remove.
3057 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
3058 * config/ia64/t-ia64 (crtfastmath.o): Remove.
3059
3060 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
3061 (alpha*-dec-osf5.1*): Likewise.
3062 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
3063 Add crtfastmath.o to extra_parts.
3064 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
3065 Add crtfastmath.o to extra_parts.
3066 (x86_64-*-darwin*): Likewise.
3067 (x86_64-*-mingw*): Likewise.
3068 (ia64*-*-elf*): Add t-crtfm to tmake_file.
3069 (ia64*-*-freebsd*): Likewise.
3070 (ia64*-*-linux*): Likewise.
3071 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
3072 Add crtfastmath.o to extra_parts.
3073
3074 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3075
3076 * config/darwin-crt3.o: New file.
3077 * config/rs6000/darwin-crt2.c: New file.
3078 * config/t-darwin: New file.
3079 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
3080 (crt2.o): New rule.
3081 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
3082 (powerpc-*-darwin*): Add crt2.o to extra_parts.
3083 (powerpc64-*-darwin*): Likewise.
3084
3085 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3086
3087 * config/i386/netware-crt0.c: New file.
3088 * config/i386/t-nwld: Rename to ...
3089 * config/i386/t-slibgcc-nwld: ... this.
3090 * config/i386/t-nwld: New file.
3091 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
3092 tmake_file.
3093 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
3094 extra_parts.
3095
3096 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3097
3098 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
3099 i386/t-crtstuff.
3100 * configure: Regenerate.
3101
3102 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3103
3104 * dfp-bit.c, dfp-bit.h: New files.
3105 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
3106 variables.
3107 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
3108 ($(d64pbit-o)): Likewise.
3109 ($(d128pbit-o)): Likewise.
3110 * config/t-dfprules: New file.
3111 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
3112 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
3113 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3114 (x86_64-*-linux*): Likewise.
3115 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3116 (i[34567]86-*-cygwin*): Likewise.
3117 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
3118 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3119
3120 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3121
3122 * Makfile.in (LIBGCOV): New variable.
3123 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
3124 * libgcov.c: New file.
3125
3126 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3127
3128 * fixed-bit.c, fixed-bit.h: New files.
3129 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
3130 refer to fixed-bit.c.
3131
3132 2011-07-07 Joseph Myers <joseph@codesourcery.com>
3133
3134 * config.host (*local*): Remove.
3135
3136 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3137
3138 PR target/39150
3139 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
3140 like i?86-*-solaris2.1[0-9]*.
3141 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
3142 * configure.ac (i?86-*-solaris2*): Likewise.
3143 * configure: Regenerate.
3144
3145 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
3146
3147 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3148 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
3149 md_unwind_header by splitting out of...
3150 (i[34567]86-*-linux*): ... this.
3151 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
3152 Remove md_unwind_header by splitting out of...
3153 (x86_64-*-linux*): ... this.
3154
3155 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
3156
3157 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
3158
3159 2011-06-28 Nick Clifton <nickc@redhat.com>
3160
3161 * config.host: Recognize all V850 variants.
3162
3163 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
3164
3165 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
3166
3167 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3168
3169 * shared-object.mk (c_flags-$o): Save c_flags.
3170 ($(base)$(objext)): Use it.
3171 ($(base)_s$(objext)): Likewise.
3172
3173 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
3174
3175 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
3176 * libgcc-std.ver.in (GCC_4.7.0): New section.
3177
3178 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
3179
3180 PR target/49313
3181 PR target/29524
3182 * config/avr/t-avr: Fix line endings.
3183 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
3184 _parityXX2.
3185
3186 2011-06-14 Olivier Hainque <hainque@adacore.com>
3187 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3188
3189 * config/mips/irix6-unwind.h: New file.
3190 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
3191
3192 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
3193
3194 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
3195 (sparc64_fallback_frame_state): Use it.
3196 (sparc64_frob_update_context): Further adjust context.
3197 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
3198 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
3199 * config/sparc/sol2-cn.S: Likewise.
3200
3201 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3202
3203 * enable-execute-stack-empty.c: New file.
3204 * enable-execute-stack-mprotect.c: New file.
3205 * config/i386/enable-execute-stack-mingw32.c: New file.
3206 * config.host (enable_execute_stack): New variable.
3207 Select appropriate variants.
3208 * configure.ac: Link enable-execute-stack.c to
3209 $enable_execute_stack.
3210 * configure: Regenerate.
3211 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
3212 (lib2funcs): Remove _enable_execute_stack.
3213
3214 2011-06-09 David S. Miller <davem@davemloft.net>
3215 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3216
3217 * config.host (sparc-*-linux*): Correct md_unwind_header
3218 filename.
3219 (s390x-ibm-tpf*): Fix typo.
3220
3221 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3222
3223 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
3224 Add crtfastmath.o to extra_parts.
3225 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
3226 mips/t-crtfm.
3227 * config/mips/t-crtfm: Remove.
3228
3229 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3230
3231 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
3232
3233 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
3234
3235 * config.host (sh*-*-linux*): Fix typo.
3236
3237 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3238
3239 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
3240 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
3241 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
3242 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
3243 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
3244 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
3245 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
3246 Wrap in !__MINGW64__.
3247 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
3248 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
3249 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
3250 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
3251 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
3252 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
3253 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
3254 Wrap in !__LP64__.
3255 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
3256 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
3257 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
3258 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
3259 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
3260 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
3261 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
3262 * config/no-unwind.h: New file.
3263 * config.host (md_unwind_header): Document.
3264 Define.
3265 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
3266 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
3267 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
3268 hppa[12]*-*-hpux11*): Set md_unwind_header.
3269 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
3270 Set md_unwind_header.
3271 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
3272 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
3273 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
3274 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
3275 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
3276 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
3277 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
3278 md_unwind_header.
3279 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
3280 * configure: Regenerate.
3281
3282 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3283
3284 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3285 Set tmake_file, extra_parts.
3286 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3287 Remove O32 support.
3288 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3289 Remove O32 support.
3290 * config/mips/t-irix6: New file.
3291 * config/mips/t-slibgcc-irix: New file.
3292
3293 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3294
3295 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3296 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3297
3298 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3299
3300 * configure.ac (target_thread_file): Determine thread model.
3301 * configure: Regenerate.
3302 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3303 * config/alpha/t-alpha: New file.
3304 * config/alpha/t-crtfm: Use $<.
3305 * config/alpha/t-ieee: New file.
3306 * config/alpha/t-osf-pthread: New file.
3307 * config/alpha/t-slibgcc-osf: New file.
3308 * config/alpha/libgcc-osf5.ver: New file.
3309
3310 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3311
3312 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3313 tmake_file.
3314 Add crtfastmath.o to extra_parts.
3315
3316 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3317
3318 * config/gmon-sol2.c: Reindent.
3319 Cleanup comments.
3320 Remove, correct casts.
3321 Use STDERR_FILENO, NULL.
3322 (BASEADDRESS): Remove.
3323 (minbrk): Remove.
3324 (errno, sbrk): Remove declarations.
3325 (monstartup) [hp300]: Remove.
3326 (mcount): Remove.
3327
3328 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3329
3330 * Makefile.in (cpu_type): Define.
3331 * config.host (i[34567]86-*-rtems*): Handle it.
3332 (i[34567]86-*-solaris2*): Move body ...
3333 (*-*-solaris2*): ... here.
3334 New case, generalize.
3335 (sparc-*-elf*): Handle it.
3336 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3337 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3338 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3339 Fold into ...
3340 (sparc*-*-solaris2*): ... this.
3341 New case.
3342 (sparc64-*-elf*): Handle it.
3343 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3344 Merge ../gcc/config/i386/gmon-sol2.c.
3345 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3346 Use C comments.
3347 Merge ../gcc/config/i386/sol2-gc1.asm.
3348 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3349 Use C comments.
3350 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3351 Use C comments.
3352 * config/i386/t-crtfm (crtfastmath.o): Use $<.
3353 * config/i386/t-crtstuff: New file.
3354 * config/i386/t-softfp: New file.
3355 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3356 $(T)crti.o, $(T)crtn.o): Remove.
3357 (gcrt1.o): New rule.
3358 (TARGET_LIBGCC2_CFLAGS): Remove.
3359 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3360 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3361 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3362 * config/sparc/t-sol2: New file.
3363 * config/sparc/t-crtfm: Move to ...
3364 * config/t-crtfm: ... this.
3365 Use $(cpu_type), $<.
3366 * config/t-crtin: New file.
3367 * config/sparc/t-softfp: New file.
3368 * config/sparc/t-softmul: New file.
3369 * config/t-rtems: New file.
3370 * config/t-slibgcc: New file.
3371 * config/t-slibgcc-elf-ver: New file.
3372 * config/t-slibgcc-gld: New file.
3373 * config/t-slibgcc-sld: New file.
3374 * config/t-sol2: New file.
3375 * configure.ac: Include ../config/lib-ld.m4.
3376 Call AC_LIB_PROG_LD_GNU.
3377 Substitute cpu_type.
3378 * configure: Regenerate.
3379
3380 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
3381
3382 PR bootstrap/49173
3383 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
3384 libgcc-std.ver in the build directory.
3385 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
3386 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
3387
3388 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
3389
3390 * libgcc-std.ver.in: New file.
3391 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
3392 variables.
3393 (libgcc-std.ver): New rule.
3394 * config/t-gnu-prefix: New file.
3395
3396 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3397
3398 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
3399
3400 2011-05-10 Joseph Myers <joseph@codesourcery.com>
3401
3402 * config/i386/darwin-lib.h: New file.
3403
3404 2011-05-10 Joseph Myers <joseph@codesourcery.com>
3405
3406 * config/arm/symbian-lib.h: New.
3407
3408 2011-05-04 Chris Demetriou <cgd@google.com>
3409
3410 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
3411 (__x86.get_pc_thunk.bx): ...this.
3412 (__morestack): Adjust for rename, remove undef of __i686.
3413
3414 2011-05-03 Chris Demetriou <cgd@google.com>
3415
3416 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
3417
3418 2011-03-22 Joseph Myers <joseph@codesourcery.com>
3419
3420 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
3421 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
3422 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
3423 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
3424 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
3425 Remove cases.
3426
3427 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
3428
3429 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
3430 Adjust copyright year.
3431
3432 2011-03-07 Ian Lance Taylor <iant@google.com>
3433
3434 * generic-morestack.c (__splitstack_find): Adjust returned stack
3435 pointer to include all registers pushed by __morestack.
3436
3437 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
3438
3439 PR target/40125
3440 * configure.ac: Call ACX_NONCANONICAL_TARGET.
3441 (toolexecdir): Calculate and AC_SUBST.
3442 (toolexeclibdir): Likewise.
3443 * Makefile.in (target_noncanonical): Import.
3444 (toolexecdir): Likewise.
3445 (toolexeclibdir): Likewise.
3446 * configure: Regenerate.
3447
3448 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
3449
3450 PR target/46040
3451 * config/arm/bpabi.h: Rename to...
3452 * config/arm/bpabi-lib.h: ...this.
3453
3454 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3455
3456 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
3457 appropriate.
3458 * configure: Regenerate.
3459
3460 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
3461
3462 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
3463 __FLOAT_WORD_ORDER__.
3464 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
3465 Delete.
3466
3467 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3468
3469 PR other/46202
3470 * Makefile.in (install-strip): New phony target.
3471
3472 2010-11-07 Ian Lance Taylor <iant@google.com>
3473
3474 PR target/46089
3475 * config/i386/morestack.S (__morestack_large_model): New
3476 function.
3477
3478 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
3479
3480 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
3481 Delete.
3482 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
3483
3484 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
3485
3486 * config/arm/bpabi.h: New file.
3487 * config/frv/frv-abi.h: New file.
3488
3489 2010-10-01 Ian Lance Taylor <iant@google.com>
3490
3491 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
3492 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
3493
3494 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
3495
3496 PR target/45858
3497 * config.host: Add the missing `$'.
3498
3499 2010-09-30 Michael Eager <eager@eagercon.com>
3500
3501 * config.host: Add microblaze*-*-*.
3502 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
3503 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
3504 udivsi3.asm,umodsi3.asm}: New.
3505
3506 2010-09-28 Ian Lance Taylor <iant@google.com>
3507
3508 * configure.ac: Adjust CFI test to test assembler directly rather
3509 than checking gcc preprocessor macro.
3510 * configure: Rebuild.
3511
3512 2010-09-27 Ian Lance Taylor <iant@google.com>
3513
3514 * configure.ac: Test whether assembler supports CFI directives.
3515 * config.host: Only add t-stack and i386/t-stack-i386 to
3516 tmake_file if libgcc_cv_cfi is "yes".
3517 * configure: Rebuild.
3518
3519 2010-09-27 Ian Lance Taylor <iant@google.com>
3520
3521 * generic-morestack.h: New file.
3522 * generic-morestack.c: New file.
3523 * generic-morestack-thread.c: New file.
3524 * config/i386/morestack.S: New file.
3525 * config/t-stack: New file.
3526 * config/i386/t-stack-i386: New file.
3527 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
3528 i386/t-stack-i386 to tmake_file.
3529
3530 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
3531
3532 * Makefile.in (libgcc-extra-parts): Check for static archives and
3533 invoke ranlib after installing them.
3534 (gcc-extra-parts): Likewise.
3535 (install-leaf): Likewise.
3536
3537 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
3538
3539 * configure: Regenerated.
3540
3541 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
3542
3543 * configure: Regenerated.
3544
3545 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
3546 Andrew Pinski <pinskia@gmail.com>
3547
3548 PR target/40959
3549 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
3550
3551 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
3552
3553 PR target/45524
3554 * configure: Regenerated.
3555
3556 2010-09-06 Andreas Schwab <schwab@redhat.com>
3557
3558 * configure: Regenerate.
3559
3560 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
3561
3562 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3563 64bit targets.
3564 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3565 for 64bit targets.
3566
3567 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
3568 Iain Sandoe <iains@gcc.gnu.org>
3569
3570 PR target/45476
3571 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3572 LIB2FUNCS_EXCLUDE functions.
3573
3574 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3575
3576 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3577 Include dfp.m4.
3578 * configure: Regenerate.
3579
3580 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
3581
3582 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3583 i386/t-freebsd to tmake_file.
3584 * config/i386/t-freebsd: New file.
3585 * config/i386/libgcc-bsd.ver: New file.
3586
3587 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
3588
3589 * config.host (powerpc*-eabispe*): Set tmake_file.
3590 (powerpc*-eabi*): Likewise.
3591 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3592 crtbeginS, crtendS, crtbeginT.
3593
3594 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
3595
3596 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3597 to tmake_file. Add crtfastmath.o to extra_parts.
3598 * config/mips/t-crtfm: New.
3599
3600 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
3601
3602 * config.host (sparc64-*-rtems*): New target.
3603
3604 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3605
3606 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3607 assembler syntax.
3608
3609 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
3610
3611 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3612
3613 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3614
3615 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3616 alpha-dec-osf5.0* support.
3617
3618 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
3619
3620 * config.host: Add lm32-*-rtems*.
3621
3622 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3623 Uros Bizjak <ubizjak@gmail.com>
3624
3625 PR target/39048
3626 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3627 like other remaining 32-bit x86 OSes.
3628 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3629 assembler syntax.
3630 * config/i386/libgcc-sol2.ver: New file.
3631 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3632
3633 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
3634
3635 PR c/43553
3636 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3637 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3638 is used and substitute set_use_emutls.
3639 * configure: Regenerated.
3640
3641 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
3642
3643 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3644
3645 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3646
3647 PR target/38085
3648 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3649 MULTILIB_CFLAGS.
3650 ($(T)gcrt1.o): Likewise.
3651 ($(T)crt1.o): Likewise.
3652 ($(T)crti.o): Likewise.
3653 ($(T)crtn.o): Likewise.
3654
3655 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3656
3657 PR other/42980
3658 * Makefile.in (install): Use $(MAKE) string in rule, for
3659 parallel make.
3660
3661 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
3662
3663 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3664 * config/mmix/t-mmix: New file.
3665 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
3666
3667 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
3668
3669 PR java/41991
3670 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
3671 SHLIB_MAPFILES.
3672
3673 2010-01-04 Anthony Green <green@moxielogic.com>
3674
3675 * config/moxie/crti.asm, config/moxie/crtn.asm,
3676 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
3677 config/moxie/t-moxie: New files.
3678 * config.host: Add t-moxie-softfp reference.
3679
3680 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
3681
3682 PR other/39888
3683 * config/t-slibgcc-darwin: Fix embedded rpaths for
3684 --enable-version-specific-runtime-libs, build extension stub
3685 libs exposing features available from current libgcc_s.
3686
3687 2009-11-11 Jon Beniston <jon@beniston.com>
3688
3689 * config.host: Add lm32 targets.
3690 * config/lm32: New directory.
3691 * config/lm32/libgcc_lm32.h: New file.
3692 * config/lm32/_mulsi3.c: New file.
3693 * config/lm32/_udivmodsi4.c: New file.
3694 * config/lm32/_divsi3.c: New file.
3695 * config/lm32/_modsi3.c: New file.
3696 * config/lm32/_udivsi3.c: New file.
3697 * config/lm32/_umodsi3.c: New file.
3698 * config/lm32/_lshrsi3.S: New file.
3699 * config/lm32/_ashrsi3.S: New file.
3700 * config/lm32/_ashlsi3.S: New file.
3701 * config/lm32/crti.S: New file.
3702 * config/lm32/crtn.S: New file.
3703 * config/lm32/t-lm32: New file.
3704 * config/lm32/t-elf: New file.
3705 * config/lm32/t-uclinux: New file.
3706
3707 2009-10-26 Nick Clifton <nickc@redhat.com>
3708
3709 * config.host: Add support for RX target.
3710 * config/rx: New directory.
3711 * config/rx/rx-abi-functions.c: New file. Supplementary
3712 functions for libgcc to support the RX ABI.
3713 * config/rx/rx-abi.h: New file. Supplementary header file for
3714 libgcc RX ABI functions.
3715 * config/rx/t-rx: New file: Makefile fragment for building
3716 libgcc for the RX.
3717
3718 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
3719
3720 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
3721 constraint of y0 to "g".
3722
3723 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3724
3725 * config.host: Include the s390 makefile fragments.
3726 * config/s390/32/_fixdfdi.c: New file.
3727 * config/s390/32/_fixsfdi.c: New file.
3728 * config/s390/32/_fixtfdi.c: New file.
3729 * config/s390/32/_fixunsdfdi.c: New file.
3730 * config/s390/32/_fixunssfdi.c: New file.
3731 * config/s390/32/_fixunstfdi.c: New file.
3732 * config/s390/32/t-floattodi: New file.
3733 * config/s390/libgcc-glibc.ver: New file.
3734 * config/s390/t-crtstuff: New file.
3735 * config/s390/t-linux: New file.
3736 * config/s390/t-tpf: New file.
3737
3738 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3739
3740 * configure.ac (AC_PREREQ): Bump to 2.64.
3741
3742 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
3743
3744 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
3745
3746 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3747
3748 * configure: Regenerate.
3749
3750 2009-08-09 Douglas B Rupp <rupp@gnat.com>
3751
3752 * config.host (ia64-hp-*vms*): New target.
3753 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
3754 with ia64-hp-*vms*.
3755
3756 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3757
3758 * configure.ac: Add snippet for maintainer-mode.
3759 * configure: Regenerate.
3760 * Makefile.in (AUTOCONF, configure_deps): New variables.
3761 ($(srcdir)/configure)): New rule, active only with maintainer
3762 mode turned on.
3763
3764 2009-06-23 DJ Delorie <dj@redhat.com>
3765
3766 Add MeP port.
3767 * config.host: Add mep support.
3768
3769 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
3770
3771 * config.host: Add i386/${host_address}/t-fprules-softfp and
3772 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
3773
3774 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
3775 for mingw targets.
3776 * config/i386/64/_multc3.c: Likewise.
3777 * config/i386/64/_powitf2.c: Likewise.
3778 * config/i386/64/eqtf2.c: Likewise.
3779 * config/i386/64/getf2.c: Likewise.
3780 * config/i386/64/letf2.c: Likewise.
3781 * config/i386/64/letf2.c: Likewise.
3782 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
3783 unsigned long long for x64 mingw targets.
3784 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
3785 (_FP_I_TYPE): Define as long long for x64 mingw target.
3786
3787 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
3788
3789 * config.host (vax-*-linux*): New.
3790
3791 2009-05-31 Anthony Green <green@moxielogic.com>
3792
3793 * config.host: Add moxie support.
3794 * config/moxie/t-moxie: New file.
3795
3796 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
3797
3798 * config.host: Add i386/${host_address}/t-fprules-softfp and
3799 t-softfp to tmake_file for i[34567]86-*-cygwin*.
3800
3801 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
3802
3803 * config.host: Add i386/${host_address}/t-fprules-softfp to
3804 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
3805
3806 2009-04-09 Nick Clifton <nickc@redhat.com>
3807
3808 * config/ia64/tf-signs.c: Change copyright header to refer to
3809 version 3 of the GNU General Public License with version 3.1
3810 of the GCC Runtime Library Exception and to point readers at
3811 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
3812 web page.
3813 * config/i386/32/tf-signs.c: Likewise.
3814 * config/libbid/_addsub_dd.c: Likewise.
3815 * config/libbid/_addsub_sd.c: Likewise.
3816 * config/libbid/_addsub_td.c: Likewise.
3817 * config/libbid/_dd_to_df.c: Likewise.
3818 * config/libbid/_dd_to_di.c: Likewise.
3819 * config/libbid/_dd_to_sd.c: Likewise.
3820 * config/libbid/_dd_to_sf.c: Likewise.
3821 * config/libbid/_dd_to_si.c: Likewise.
3822 * config/libbid/_dd_to_td.c: Likewise.
3823 * config/libbid/_dd_to_tf.c: Likewise.
3824 * config/libbid/_dd_to_udi.c: Likewise.
3825 * config/libbid/_dd_to_usi.c: Likewise.
3826 * config/libbid/_dd_to_xf.c: Likewise.
3827 * config/libbid/_df_to_dd.c: Likewise.
3828 * config/libbid/_df_to_sd.c: Likewise.
3829 * config/libbid/_df_to_td.c: Likewise.
3830 * config/libbid/_di_to_dd.c: Likewise.
3831 * config/libbid/_di_to_sd.c: Likewise.
3832 * config/libbid/_di_to_td.c: Likewise.
3833 * config/libbid/_div_dd.c: Likewise.
3834 * config/libbid/_div_sd.c: Likewise.
3835 * config/libbid/_div_td.c: Likewise.
3836 * config/libbid/_eq_dd.c: Likewise.
3837 * config/libbid/_eq_sd.c: Likewise.
3838 * config/libbid/_eq_td.c: Likewise.
3839 * config/libbid/_ge_dd.c: Likewise.
3840 * config/libbid/_ge_sd.c: Likewise.
3841 * config/libbid/_ge_td.c: Likewise.
3842 * config/libbid/_gt_dd.c: Likewise.
3843 * config/libbid/_gt_sd.c: Likewise.
3844 * config/libbid/_gt_td.c: Likewise.
3845 * config/libbid/_isinfd128.c: Likewise.
3846 * config/libbid/_isinfd32.c: Likewise.
3847 * config/libbid/_isinfd64.c: Likewise.
3848 * config/libbid/_le_dd.c: Likewise.
3849 * config/libbid/_le_sd.c: Likewise.
3850 * config/libbid/_le_td.c: Likewise.
3851 * config/libbid/_lt_dd.c: Likewise.
3852 * config/libbid/_lt_sd.c: Likewise.
3853 * config/libbid/_lt_td.c: Likewise.
3854 * config/libbid/_mul_dd.c: Likewise.
3855 * config/libbid/_mul_sd.c: Likewise.
3856 * config/libbid/_mul_td.c: Likewise.
3857 * config/libbid/_ne_dd.c: Likewise.
3858 * config/libbid/_ne_sd.c: Likewise.
3859 * config/libbid/_ne_td.c: Likewise.
3860 * config/libbid/_sd_to_dd.c: Likewise.
3861 * config/libbid/_sd_to_df.c: Likewise.
3862 * config/libbid/_sd_to_di.c: Likewise.
3863 * config/libbid/_sd_to_sf.c: Likewise.
3864 * config/libbid/_sd_to_si.c: Likewise.
3865 * config/libbid/_sd_to_td.c: Likewise.
3866 * config/libbid/_sd_to_tf.c: Likewise.
3867 * config/libbid/_sd_to_udi.c: Likewise.
3868 * config/libbid/_sd_to_usi.c: Likewise.
3869 * config/libbid/_sd_to_xf.c: Likewise.
3870 * config/libbid/_sf_to_dd.c: Likewise.
3871 * config/libbid/_sf_to_sd.c: Likewise.
3872 * config/libbid/_sf_to_td.c: Likewise.
3873 * config/libbid/_si_to_dd.c: Likewise.
3874 * config/libbid/_si_to_sd.c: Likewise.
3875 * config/libbid/_si_to_td.c: Likewise.
3876 * config/libbid/_td_to_dd.c: Likewise.
3877 * config/libbid/_td_to_df.c: Likewise.
3878 * config/libbid/_td_to_di.c: Likewise.
3879 * config/libbid/_td_to_sd.c: Likewise.
3880 * config/libbid/_td_to_sf.c: Likewise.
3881 * config/libbid/_td_to_si.c: Likewise.
3882 * config/libbid/_td_to_tf.c: Likewise.
3883 * config/libbid/_td_to_udi.c: Likewise.
3884 * config/libbid/_td_to_usi.c: Likewise.
3885 * config/libbid/_td_to_xf.c: Likewise.
3886 * config/libbid/_tf_to_dd.c: Likewise.
3887 * config/libbid/_tf_to_sd.c: Likewise.
3888 * config/libbid/_tf_to_td.c: Likewise.
3889 * config/libbid/_udi_to_dd.c: Likewise.
3890 * config/libbid/_udi_to_sd.c: Likewise.
3891 * config/libbid/_udi_to_td.c: Likewise.
3892 * config/libbid/_unord_dd.c: Likewise.
3893 * config/libbid/_unord_sd.c: Likewise.
3894 * config/libbid/_unord_td.c: Likewise.
3895 * config/libbid/_usi_to_dd.c: Likewise.
3896 * config/libbid/_usi_to_sd.c: Likewise.
3897 * config/libbid/_usi_to_td.c: Likewise.
3898 * config/libbid/_xf_to_dd.c: Likewise.
3899 * config/libbid/_xf_to_sd.c: Likewise.
3900 * config/libbid/_xf_to_td.c: Likewise.
3901 * config/libbid/bid128.c: Likewise.
3902 * config/libbid/bid128_2_str.h: Likewise.
3903 * config/libbid/bid128_2_str_macros.h: Likewise.
3904 * config/libbid/bid128_2_str_tables.c: Likewise.
3905 * config/libbid/bid128_add.c: Likewise.
3906 * config/libbid/bid128_compare.c: Likewise.
3907 * config/libbid/bid128_div.c: Likewise.
3908 * config/libbid/bid128_fma.c: Likewise.
3909 * config/libbid/bid128_logb.c: Likewise.
3910 * config/libbid/bid128_minmax.c: Likewise.
3911 * config/libbid/bid128_mul.c: Likewise.
3912 * config/libbid/bid128_next.c: Likewise.
3913 * config/libbid/bid128_noncomp.c: Likewise.
3914 * config/libbid/bid128_quantize.c: Likewise.
3915 * config/libbid/bid128_rem.c: Likewise.
3916 * config/libbid/bid128_round_integral.c: Likewise.
3917 * config/libbid/bid128_scalb.c: Likewise.
3918 * config/libbid/bid128_sqrt.c: Likewise.
3919 * config/libbid/bid128_string.c: Likewise.
3920 * config/libbid/bid128_to_int16.c: Likewise.
3921 * config/libbid/bid128_to_int32.c: Likewise.
3922 * config/libbid/bid128_to_int64.c: Likewise.
3923 * config/libbid/bid128_to_int8.c: Likewise.
3924 * config/libbid/bid128_to_uint16.c: Likewise.
3925 * config/libbid/bid128_to_uint32.c: Likewise.
3926 * config/libbid/bid128_to_uint64.c: Likewise.
3927 * config/libbid/bid128_to_uint8.c: Likewise.
3928 * config/libbid/bid32_to_bid128.c: Likewise.
3929 * config/libbid/bid32_to_bid64.c: Likewise.
3930 * config/libbid/bid64_add.c: Likewise.
3931 * config/libbid/bid64_compare.c: Likewise.
3932 * config/libbid/bid64_div.c: Likewise.
3933 * config/libbid/bid64_fma.c: Likewise.
3934 * config/libbid/bid64_logb.c: Likewise.
3935 * config/libbid/bid64_minmax.c: Likewise.
3936 * config/libbid/bid64_mul.c: Likewise.
3937 * config/libbid/bid64_next.c: Likewise.
3938 * config/libbid/bid64_noncomp.c: Likewise.
3939 * config/libbid/bid64_quantize.c: Likewise.
3940 * config/libbid/bid64_rem.c: Likewise.
3941 * config/libbid/bid64_round_integral.c: Likewise.
3942 * config/libbid/bid64_scalb.c: Likewise.
3943 * config/libbid/bid64_sqrt.c: Likewise.
3944 * config/libbid/bid64_string.c: Likewise.
3945 * config/libbid/bid64_to_bid128.c: Likewise.
3946 * config/libbid/bid64_to_int16.c: Likewise.
3947 * config/libbid/bid64_to_int32.c: Likewise.
3948 * config/libbid/bid64_to_int64.c: Likewise.
3949 * config/libbid/bid64_to_int8.c: Likewise.
3950 * config/libbid/bid64_to_uint16.c: Likewise.
3951 * config/libbid/bid64_to_uint32.c: Likewise.
3952 * config/libbid/bid64_to_uint64.c: Likewise.
3953 * config/libbid/bid64_to_uint8.c: Likewise.
3954 * config/libbid/bid_b2d.h: Likewise.
3955 * config/libbid/bid_binarydecimal.c: Likewise.
3956 * config/libbid/bid_conf.h: Likewise.
3957 * config/libbid/bid_convert_data.c: Likewise.
3958 * config/libbid/bid_decimal_data.c: Likewise.
3959 * config/libbid/bid_decimal_globals.c: Likewise.
3960 * config/libbid/bid_div_macros.h: Likewise.
3961 * config/libbid/bid_dpd.c: Likewise.
3962 * config/libbid/bid_flag_operations.c: Likewise.
3963 * config/libbid/bid_from_int.c: Likewise.
3964 * config/libbid/bid_functions.h: Likewise.
3965 * config/libbid/bid_gcc_intrinsics.h: Likewise.
3966 * config/libbid/bid_inline_add.h: Likewise.
3967 * config/libbid/bid_internal.h: Likewise.
3968 * config/libbid/bid_round.c: Likewise.
3969 * config/libbid/bid_sqrt_macros.h: Likewise.
3970
3971 2009-04-09 Jakub Jelinek <jakub@redhat.com>
3972
3973 * Makefile.in: Change copyright header to refer to version
3974 3 of the GNU General Public License and to point readers at the
3975 COPYING3 file and the FSF's license web page.
3976 * config.host: Likewise.
3977
3978 2009-04-07 Alan Modra <amodra@bigpond.net.au>
3979
3980 * config.host: Reorder and merge to match config.gcc change.
3981
3982 2009-04-03 Alan Modra <amodra@bigpond.net.au>
3983
3984 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
3985
3986 2009-03-28 Joseph Myers <joseph@codesourcery.com>
3987
3988 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
3989 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
3990 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
3991 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
3992
3993 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
3994
3995 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
3996 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3997
3998 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
3999
4000 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
4001 ia64/t-softfp-compat to tmake_file.
4002
4003 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
4004
4005 * config/ia64/__divxf3.asm: New.
4006 * config/ia64/_fixtfdi.asm: Likewise.
4007 * config/ia64/_fixunstfdi.asm: Likewise.
4008 * config/ia64/_floatditf.asm: Likewise.
4009 * config/ia64/t-fprules-softfp: Likewise.
4010 * config/ia64/t-softfp-compat: Likewise.
4011 * config/ia64/tf-signs.c: Likewise.
4012
4013 2009-01-18 Ben Elliston <bje@au.ibm.com>
4014
4015 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4016
4017 2009-01-16 Ben Elliston <bje@au.ibm.com>
4018
4019 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
4020 to tmake_file.
4021
4022 2009-01-13 Ben Elliston <bje@au.ibm.com>
4023
4024 * config/t-softfp: New file.
4025 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
4026 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
4027
4028 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
4029
4030 * config.host: Add m32r*-*-rtems*.
4031
4032 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
4033
4034 * config.host: Add m32c*-*-rtems*.
4035
4036 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4037
4038 PR bootstrap/33100
4039 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
4040 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
4041 * configure: Regenerate.
4042 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
4043 tmake_file here from gcc/config.gcc.
4044 Move extra_parts here from gcc/config.gcc.
4045 * config/i386/t-sol2: Move here from gcc/config/i386.
4046 Use gcc_srcdir instead of srcdir.
4047
4048 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
4049
4050 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
4051 case.
4052
4053 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
4054
4055 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
4056
4057 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
4058
4059 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
4060
4061 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
4062
4063 Add picoChip port.
4064 * config.host: Add picochip-*-*.
4065
4066 2008-08-06 Bob Wilson <bob.wilson@acm.org>
4067
4068 * config.host: Match more processor names for Xtensa.
4069
4070 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
4071
4072 * config/i386/64/t-softfp-compat: Update comments.
4073
4074 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
4075
4076 * config/i386/64/_divtc3-compat.c: Moved to ...
4077 * config/i386/64/_divtc3.c: Here.
4078
4079 * config/i386/64/_multc3-compat.c: Moved to ...
4080 * config/i386/64/_multc3.c: Here.
4081
4082 * config/i386/64/_powitf2-compat.c: Moved to ...
4083 * config/i386/64/_powitf2.c: Here.
4084
4085 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
4086 .c suffix instead of -compat.c.
4087
4088 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
4089
4090 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
4091 (_FP_MUL_MEAT_D): Ditto.
4092 (_FP_DIV_MEAT_S): Ditto.
4093 (_FP_DIV_MEAT_D): Ditto.
4094
4095 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
4096
4097 * Makefile.in: Add support for __sync_* libgcc functions.
4098
4099 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
4100
4101 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
4102
4103 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4104
4105 PR boostrap/36702
4106 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
4107 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
4108
4109 * config/i386/64/t-fprules-softfp: Moved to ...
4110 * config/i386/64/t-softfp-compat: This. New.
4111
4112 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
4113
4114 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
4115 Initialize f with 0.0.
4116
4117 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4118
4119 PR target/36669
4120 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
4121
4122 * config/i386/64/_divtc3-compat.c: New.
4123 * config/i386/64/_multc3-compat.c: Likewise.
4124 * config/i386/64/_powitf2-compat.c: Likewise.
4125 * config/i386/64/eqtf2.c: Likewise.
4126 * config/i386/64/getf2.c: Likewise.
4127 * config/i386/64/letf2.c: Likewise.
4128 * config/i386/64/t-fprules-softfp: Likewise.
4129
4130 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4131
4132 * config.host: Add i386/${host_address}/t-fprules-softfp to
4133 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
4134 i[34567]86-*-linux*, x86_64-*-linux*.
4135
4136 * configure.ac: Set host_address to 64 or 32 for x86.
4137 * configure: Regenerated.
4138
4139 * Makefile.in (config.status): Also depend on
4140 $(srcdir)/config.host.
4141
4142 * config/i386/32/t-fprules-softfp: New.
4143 * config/i386/32/tf-signs.c: Likewise.
4144
4145 * config/i386/64/sfp-machine.h: New. Moved from gcc.
4146
4147 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4148 Uros Bizjak <ubizjak@gmail.com>
4149
4150 * config/i386/32/sfp-machine.h: New.
4151
4152 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
4153
4154 * config/rs6000/t-ppccomm: Remove rules that conflict with
4155 auto-generated rules.
4156
4157 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4158
4159 * configure.ac: sinclude override.m4.
4160 * configure: Regenerate.
4161
4162 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
4163
4164 * configure: Regenerate.
4165
4166 2008-06-10 Joseph Myers <joseph@codesourcery.com>
4167
4168 * Makefile.in (DECNUMINC): Remove
4169 -I$(MULTIBUILDTOP)../../libdecnumber.
4170 * gstdint.h: New.
4171
4172 2008-06-07 Joseph Myers <joseph@codesourcery.com>
4173
4174 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
4175 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
4176 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
4177 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
4178 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
4179 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
4180 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
4181 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
4182 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
4183 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
4184 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
4185 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
4186 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
4187 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
4188
4189 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
4190
4191 * config.host (sh2[lbe]*-*-linux*): Allow target.
4192
4193 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
4194
4195 * config/rs6000/t-ppccomm: Add build rules for new files.
4196 (LIB2ADD_ST): New variable.
4197
4198 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
4199
4200 PR target/34210
4201 PR target/35508
4202 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
4203 * config/t-avr: New file. Build 16bit libgcc functions.
4204
4205 2008-03-02 Jakub Jelinek <jakub@redhat.com>
4206
4207 PR target/35401
4208 * config/t-slibgcc-darwin: Make install-leaf dependent on
4209 install-darwin-libgcc-stubs instead of install.
4210
4211 2008-01-25 Joseph Myers <joseph@codesourcery.com>
4212
4213 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
4214 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
4215 sh-*-rtemscoff*): Remove cases.
4216
4217 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
4218
4219 * Makefile.in (all): Use install-leaf rather than install.
4220 (install): Split most of the rule into...
4221 (install-leaf): ...this new one.
4222
4223 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
4224 Paolo Bonzini <bonzini@gnu.org>
4225
4226 PR target/30572
4227 * Makefile.in: Use @shlib_slibdir@ substitution to get
4228 correct install name on darwin.
4229 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
4230
4231 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
4232
4233 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
4234 cris-*-elf and cris-*-none.
4235 (crisv32-*-linux*): Similar, as cris-*-linux*.
4236
4237 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
4238
4239 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
4240
4241 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
4242
4243 PR regression/33926
4244 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
4245 * configure: Regenerated.
4246
4247 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
4248
4249 * Makefile.in (dfp-filenames): Replace decimal_globals,
4250 decimal_data, binarydecimal and convert_data with
4251 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
4252 and bid_convert_data, respectively.
4253
4254 2007-09-17 Chao-ying Fu <fu@mips.com>
4255 Nigel Stephens <nigel@mips.com>
4256
4257 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
4258 * Makefile.in (fixed_point): Define.
4259 Check if fixed_point is yes to build support functions.
4260 * configure.ac: Check for fixed_point support.
4261 * configure: Regenerated.
4262 * gen-fixed.sh: New file to generate lists of fixed-point labels,
4263 funcs, modes, from, to.
4264
4265 2007-09-11 Janis Johnson <janis187@us.ibm.com
4266
4267 * Makefile.in (dfp-filenames): Add bid128_noncomp.
4268
4269 2007-09-10 Janis Johnson <janis187@us.ibm.com>
4270
4271 * Makefile.in (dfp-filenames): Remove decUtility, add
4272 decDouble, decPacked, decQuad, decSingle.
4273
4274 2007-08-27 Hans Kester <hans.kester@ellips.nl>
4275
4276 * config.host : Add x86_64-elf target.
4277
4278 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4279
4280 * configure.ac (set_have_cc_tls): Add a missing =.
4281 * configure: Regenerated.
4282
4283 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4284
4285 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4286 and x86_64-*-linux*.
4287
4288 * config/t-tls: New file.
4289
4290 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
4291
4292 * configure.ac: Include ../config/enable.m4 and
4293 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
4294 supports TLS and substitute set_have_cc_tls.
4295 * configure: Regenerated.
4296
4297 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
4298
4299 * Makefile.in: Use libbid for DFP when BID is enabled.
4300
4301 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
4302
4303 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
4304 extra_parts. Add config/i386/t-cygming to tmake_file.
4305 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4306
4307 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
4308 Danny Smith <dannysmith@users.sourceforge.net>
4309
4310 PR target/29498
4311 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4312 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
4313 * config/i386/t-crtfm: Compile crtfastmath.o with
4314 -minline-all-stringops.
4315
4316 2007-05-10 Richard Sandiford <richard@codesourcery.com>
4317
4318 * config.host (sparc-wrs-vxworks): New target.
4319
4320 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
4321
4322 * config.host: Recognize fido.
4323
4324 2007-04-04 Janis Johnson <janis187@us.ibm.com>
4325
4326 * configure: Check host, not target, for decimal float support.
4327
4328 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
4329
4330 * config/i386/t-crtpc: New file.
4331 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
4332 (x86_64-*-linux*): Ditto.
4333
4334 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
4335
4336 * config.host (x86_64-*-mingw*): New target.
4337
4338 2007-03-23 Michael Meissner <michael.meissner@amd.com>
4339 H.J. Lu <hongjiu.lu@intel.com>
4340
4341 * Makefile.in (enable_decimal_float): New.
4342 (DECNUMINC): Add
4343 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4344 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4345 (decbits-filenames): This.
4346 (decbits-objects): New.
4347 (libgcc-objects): Add $(decbits-objects).
4348
4349 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4350 Substitute enable_decimal_float.
4351 * configure: Regenerated.
4352
4353 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
4354
4355 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4356
4357 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
4358
4359 * Makefile.in (install-info): New dummy target.
4360
4361 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
4362
4363 * config.host (bfin*-linux-uclibc*): Set extra_parts.
4364
4365 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
4366
4367 * Makefile.in: Add install-html and install-pdf dummy
4368 targets.
4369
4370 2007-02-05 Roger Sayle <roger@eyesopen.com>
4371 Daniel Jacobowitz <dan@codesourcery.com>
4372
4373 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
4374 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
4375 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
4376
4377 2007-01-29 Janis Johnson <janis187@us.ibm.com>
4378
4379 * Makefile.in (dec-filenames): Add decExcept.
4380
4381 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4382
4383 PR bootstrap/30469
4384 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
4385 -fprofile-use.
4386
4387 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
4388
4389 * configure.ac: Add --enable-version-specific-runtime-libs.
4390 Correct $slibdir default.
4391 * configure: Regenerated.
4392
4393 2007-01-23 Joseph Myers <joseph@codesourcery.com>
4394
4395 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
4396
4397 2007-01-21 Andrew Pinski <pinskia@gmail.com>
4398
4399 PR target/30519
4400 * config.host (alpha*-*-linux*): Set extra_parts.
4401
4402 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
4403
4404 * config/sh/t-linux: New.
4405 * config.host (sh*-*-linux*): Set tmake_file.
4406
4407 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
4408
4409 * Makefile.in (install): Handle multilibs.
4410
4411 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4412
4413 * Makefile.in: Added .PHONY entry for documentation targets.
4414
4415 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4416
4417 * Makefile.in: Add empty info, html, dvi, pdf targets.
4418
4419 2007-01-04 Mike Stump <mrs@apple.com>
4420
4421 * Makefile.in (MAKEINFO): Remove.
4422 (PERL): Likewise.
4423
4424 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
4425
4426 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
4427 * configure: Regenerate.
4428 * Makefile.in (host_subdir): Substitute it.
4429 (gcc_objdir): Use it.
4430
4431 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4432
4433 * config.host (ia64*-*-linux*): Set tmake_file.
4434
4435 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4436
4437 * Makefile.in (version): Define.
4438
4439 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
4440 Paolo Bonzini <bonzini@gnu.org>
4441
4442 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
4443 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
4444 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
4445 config/sparc/t-crtfm, config/t-slibgcc-darwin,
4446 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
4447 shared-object.mk, siditi-object.mk, static-object.mk: New files.
4448 * configure: Generated.