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