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