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